* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    background: #0a0a0c;
    color: #e8e8ec;
    line-height: 1.5;
}

/* ==================== 导航栏（与原站一致） ==================== */
.TopBar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #0a0a0c !important; /* 您的红色背景 */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(180, 60, 30, 0.3);
}
    .TopBar .container,
    .TopBar .navbar,
    .TopBar .navbar > div,
    .TopBar .nav-links,
    .TopBar .nav-links a:not(.btn-outline) {
        background: transparent !important;
        background-color: transparent !important;
    }
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;

}
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 62%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 0px solid transparent;
    border-right: 0px solid transparent;
    border-bottom: 0px solid #94a3b8;
    filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.02));

}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #e8e8ec;
    text-decoration: none;
    letter-spacing: 4px;
    position: relative;
    z-index: 99999;
    background: linear-gradient(145deg, #ff5200, #eb9c25);
    pointer-events: auto;
    font-size: 1.8rem;
    font-weight: 800;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

    .logo span {
        color: #c43c1a;
    }

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    position: relative;
    z-index: 2;
}

    .nav-links a {
        text-decoration: none;
        color: #c8c8d0;
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 1px;
        transition: color 0.2s;
    }

        .nav-links a:hover {
            color: #c43c1a;
        }

.btn-outline {
    border: 1px solid #c43c1a;
    color: #c43c1a;
    padding: 8px 20px;
    border-radius: 40px;
    transition: all 0.2s;
}

    .btn-outline:hover {
      
        color: #0a0a0c;
    }

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menubox {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menubox {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu {
    background: #0f0f12;
    border: 1px solid #2a2a2e;
    border-radius: 12px;
    padding: 20px;
    min-width: 420px;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.5);
}

.docs-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.doc-item {
    display: flex;
    gap: 16px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

    .doc-item:hover {
        background: #1a1a1e;
    }

.doc-icon {
    width: 40px;
    height: 40px;
    background: rgba(196, 60, 26, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .doc-icon i {
        font-size: 1.2rem;
        color: #c43c1a;
    }

.doc-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e8e8ec;
    margin-bottom: 4px;
}

.doc-content p {
    font-size: 0.75rem;
    color: #8a8a96;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 12px;
        padding: 12px 0;
    }

    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .dropdown-menu {
        min-width: 300px;
        right: 0;
        left: auto;
    }
}

/* ==================== 英雄区 ==================== */
.hero-savage {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(ellipse at 30% 20%, #1a1210 0%, #050505 100%);
    overflow: hidden;
    margin-top: 70px;
}

    .hero-savage::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: repeating-linear-gradient(45deg, rgba(180, 60, 30, 0.02) 0px, rgba(180, 60, 30, 0.02) 2px, transparent 2px, transparent 12px);
        pointer-events: none;
    }

    .hero-savage::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(ellipse at 70% 80%, rgba(180, 60, 30, 0.06) 0%, transparent 70%);
    }

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 24px;
}

.hero-badge {
    font-size: 0.7rem;
    letter-spacing: 6px;
    color: #9a6a5a;
    margin-bottom: 40px;
}

.hero-original {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 8px;
    color: #c8c8d0;
    margin-bottom: 30px;
}

.hero-sword {
    margin: 30px 0;
    font-size: 2rem;
    color: #c43c1a;
    opacity: 0.7;
}

.hero-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c43c1a, #c43c1a, transparent);
    margin: 30px auto;
}

.hero-modern {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 12px;
    color: #f0f0f0;
    margin-bottom: 20px;
}

    .hero-modern span {
        color: #c43c1a;
    }

.hero-sub {
    font-size: 1.2rem;
    letter-spacing: 6px;
    color: #a0a0ac;
    font-weight: 300;
}

@media (max-width: 768px) {
    .hero-modern {
        font-size: 1.8rem;
        letter-spacing: 6px;
    }

    .hero-original {
        font-size: 1rem;
        letter-spacing: 4px;
    }
}

/* ==================== 内容区块 ==================== */
.scroll-section {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 24px;
}

.military-card {
    background: #0f0f12;
    border: 1px solid #2a2a2e;
    padding: 48px;
    position: relative;
    box-shadow: 0 20px 35px -15px rgba(0,0,0,0.5);
}

    .military-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: #c43c1a;
    }

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 16px;
    color: #c43c1a;
}

.section-sub {
    font-size: 0.7rem;
    color: #6a6a74;
    letter-spacing: 2px;
    margin-bottom: 32px;
}

.warrior-text {
    font-size: 1rem;
    line-height: 1.9;
    color: #c8c8d0;
    margin-bottom: 24px;
}

.three-legions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0 20px;
}

@media (max-width: 768px) {
    .three-legions {
        grid-template-columns: 1fr;
    }

    .military-card {
        padding: 32px 24px;
    }
}

.legion {
    text-align: center;
    padding: 32px 20px;
    border: 1px solid #2a2a2e;
    background: #0a0a0c;
}

.legion-icon {
    font-size: 2.5rem;
    color: #c43c1a;
    margin-bottom: 20px;
}

.legion h3 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.legion p {
    font-size: 0.85rem;
    color: #8a8a96;
}

.discipline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 50px 0;
}

@media (max-width: 768px) {
    .discipline-grid {
        grid-template-columns: 1fr;
    }
}

.discipline {
    padding: 24px 16px;
    text-align: center;
    border-left: 2px solid #c43c1a;
    background: #0a0a0c;
}

.discipline-num {
    font-size: 2rem;
    font-weight: 800;
    color: #c43c1a;
    margin-bottom: 12px;
}

.discipline h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.oath-box {
    background: #08080a;
    border: 1px solid #c43c1a;
    padding: 48px;
    text-align: center;
}

.oath-text {
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: #e0e0e8;
    margin-bottom: 24px;
}

.oath-seal {
    font-size: 0.8rem;
    color: #c43c1a;
    letter-spacing: 2px;
}

.letter-section {
    background: #0a0a0c;
    border-top: 1px solid #2a2a2e;
    border-bottom: 1px solid #2a2a2e;
    padding: 80px 24px;
    margin: 60px 0;
}

.letter-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.letter-title {
    font-size: 1.2rem;
    letter-spacing: 6px;
    color: #c43c1a;
    margin-bottom: 40px;
}

.letter-body {
    color: #c0c0c8;
    line-height: 1.9;
    text-align: left;
}

    .letter-body p {
        margin-bottom: 24px;
    }

.letter-sign {
    text-align: right;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #2a2a2e;
}

.footer-military {
    background: #050508;
    padding: 48px 24px;
    text-align: center;
    font-size: 0.75rem;
    color: #6a6a74;
    letter-spacing: 2px;
}
