* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: #f0f2f5;
    background-image:
        radial-gradient(at 20% 20%, rgba(22, 119, 255, 0.08) 0px, transparent 50%),
        radial-gradient(at 80% 80%, rgba(22, 119, 255, 0.06) 0px, transparent 50%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #1f2937;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== 第一个div：Logo区域 ========== */
.header-card {
    width: 100%;
    max-width: 560px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 40px 32px 36px;
    box-shadow:
        0 8px 32px rgba(22, 119, 255, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: center;
    margin-bottom: 28px;
    transition: all 0.3s ease-out;
}

.header-card:hover {
    box-shadow:
        0 12px 40px rgba(22, 119, 255, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.logo-wrap img {
    display: block;
    width: 88px;
    height: 88px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow:
        0 6px 20px rgba(22, 119, 255, 0.18),
        0 2px 6px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease-out;
}

.logo-wrap img:hover {
    transform: scale(1.06) rotate(-2deg);
    box-shadow:
        0 10px 28px rgba(22, 119, 255, 0.25),
        0 4px 10px rgba(0, 0, 0, 0.08);
}

.site-title {
    font-size: 22px;
    font-weight: 700;
    color: #1677ff;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-align: center;
    line-height: 1.5;
    background: linear-gradient(135deg, #1677ff 0%, #4096ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(22, 119, 255, 0.15);
}

/* 红色域名文字，覆盖渐变文字效果 */
.site-title .domain-text {
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    color: #ff3333;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    background-color: rgba(255, 51, 51, 0.08);
    text-shadow: 0 1px 6px rgba(255, 51, 51, 0.2);
    letter-spacing: 0.8px;
}

.site-desc {
    font-size: 15px;
    color: #8c95a3;
    line-height: 1.7;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* ========== 第二个div：导航按钮区域 ========== */
.nav-card {
    width: 100%;
    max-width: 560px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow:
        0 8px 32px rgba(22, 119, 255, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease-out;
}

.nav-card:hover {
    box-shadow:
        0 12px 40px rgba(22, 119, 255, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.06);
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #1677ff 0%, #4096ff 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 14px rgba(22, 119, 255, 0.25),
        0 1px 3px rgba(22, 119, 255, 0.15);
    transition: all 0.25s ease-out;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    transition: left 0.5s ease-out;
}

.nav-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 24px rgba(22, 119, 255, 0.35),
        0 2px 6px rgba(22, 119, 255, 0.2);
    background: linear-gradient(135deg, #0958d9 0%, #1677ff 100%);
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow:
        0 2px 8px rgba(22, 119, 255, 0.3),
        0 1px 3px rgba(22, 119, 255, 0.15);
    background: linear-gradient(135deg, #003eb3 0%, #0958d9 100%);
}

.nav-btn.secondary {
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    color: #1677ff;
    border: 1.5px solid rgba(22, 119, 255, 0.3);
    box-shadow:
        0 4px 14px rgba(22, 119, 255, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.04);
}

.nav-btn.secondary:hover {
    background: linear-gradient(135deg, #e6f4ff 0%, #f0f7ff 100%);
    border-color: rgba(22, 119, 255, 0.5);
    transform: translateY(-3px);
    box-shadow:
        0 8px 24px rgba(22, 119, 255, 0.18),
        0 2px 6px rgba(0, 0, 0, 0.06);
}

.nav-btn.secondary:active {
    transform: translateY(-1px) scale(0.98);
    background: linear-gradient(135deg, #bae0ff 0%, #e6f4ff 100%);
}

/* ========== 响应式适配 ========== */
@media (max-width: 640px) {
    body {
        padding: 16px;
        justify-content: flex-start;
        padding-top: 40px;
    }

    .header-card {
        padding: 32px 20px 28px;
        border-radius: 16px;
        margin-bottom: 20px;
    }

    .logo-wrap {
        margin-bottom: 20px;
    }

    .logo-wrap img {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }

    .site-title {
        font-size: 18px;
        letter-spacing: 0.3px;
        margin-bottom: 10px;
    }

    .site-title .domain-text {
        letter-spacing: 0.5px;
    }

    .site-desc {
        font-size: 14px;
        line-height: 1.6;
    }

    .nav-card {
        padding: 20px;
        border-radius: 16px;
    }

    .nav-list {
        gap: 12px;
    }

    .nav-btn {
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 12px;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .header-card,
    .nav-card {
        max-width: 520px;
    }
}

@media (min-width: 1025px) {
    .header-card,
    .nav-card {
        max-width: 560px;
    }
}
