/* ====== 深海猎手 - 主样式表 ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', 'PingFang SC', Roboto, 'Helvetica Neue', sans-serif;
    background: #0a1a2e;
    color: #caf0f8;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 导航栏 */
.navbar {
    background: rgba(10, 26, 46, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 180, 216, 0.25);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.6rem 0;
    transition: background 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #90e0ef;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.4rem 0.2rem;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffd700;
    border-bottom-color: #ffd700;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    color: #ffd700;
    cursor: pointer;
    user-select: none;
}

/* Hero 区域 */
.hero {
    padding: 3rem 0 1rem;
    text-align: center;
    background: linear-gradient(180deg, #0a1a2e 0%, #0d2b4a 100%);
}

.hero-logo {
    max-width: 300px;
    height: auto;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    margin: 0.5rem 0;
}

.hero-slogan {
    font-size: 1.4rem;
    font-weight: 300;
    color: #90e0ef;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    color: #48dbfb;
    font-size: 1.1rem;
}

/* 通用区块 */
.section {
    padding: 3rem 0;
}

/* 按钮通用 */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(0, 180, 216, 0.5);
}

/* 卡片 */
.card {
    background: #112b44;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* 页脚 */
.footer {
    background: #051525;
    border-top: 1px solid rgba(0, 180, 216, 0.15);
    padding: 2.5rem 0;
    margin-top: auto;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-logo {
    max-width: 160px;
    height: auto;
}

.footer-desc {
    color: #90e0ef;
    font-size: 0.9rem;
    max-width: 280px;
}

.footer-links h4 {
    color: #ffd700;
    margin-bottom: 0.8rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-links a {
    color: #90e0ef;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffd700;
}

.footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 1rem;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(10, 26, 46, 0.98);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem 2rem;
        gap: 1rem;
    }
    .nav-links.open {
        display: flex;
    }
    .hamburger {
        display: block;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-slogan {
        font-size: 1.1rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-desc {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2rem;
    }
    .hero-title {
        font-size: 1.6rem;
    }
    .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}