@font-face {
    font-family: '霞鹜文楷';
    src: url('../fonts/霞鹜文楷.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --red-primary: #C41E3A;
    --red-dark: #8B0000;
    --red-deeper: #5C0011;
    --gold: #FFD700;
    --gold-light: #FFEC8B;
    --gold-dark: #B8860B;
    --bg-dark: #1a0a0a;
    --bg-card: rgba(30, 10, 10, 0.85);
    --text-light: #f5e6d3;
    --text-gold: #FFD700;
    --white: #ffffff;
    --shadow-red: rgba(196, 30, 58, 0.3);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "霞鹜文楷", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "STHeiti", sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.8;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(26, 10, 10, 0.95), rgba(26, 10, 10, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(196, 30, 58, 0.3);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(26, 10, 10, 0.98);
    box-shadow: 0 2px 20px rgba(196, 30, 58, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-gold);
}

.nav-brand .emblem {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-brand .emblem svg {
    width: 100%;
    height: 100%;
}

.nav-brand span {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.nav-dropbtn {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
    cursor: pointer;
}

.nav-dropbtn::after {
    content: '▾';
    font-size: 0.7rem;
    margin-left: 2px;
    opacity: 0.7;
}

.nav-dropbtn:hover {
    color: var(--gold);
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 100px;
    background: rgba(26, 10, 10, 0.95);
    border: 1px solid rgba(196, 30, 58, 0.3);
    border-radius: 6px;
    padding: 6px 0;
    z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

.nav-dropdown-content a {
    display: block;
    padding: 8px 16px;
    font-size: 0.8rem;
    text-align: center;
    color: var(--text-light);
}

.nav-dropdown-content a:hover {
    color: var(--gold);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 24px 60px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(196, 30, 58, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(139, 0, 0, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--red-deeper) 0%, var(--bg-dark) 70%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 80px,
        rgba(196, 30, 58, 0.05) 80px,
        rgba(196, 30, 58, 0.05) 82px
    );
    z-index: 0;
    animation: flagWave 8s ease-in-out infinite;
}

@keyframes flagWave {
    0%, 100% { transform: skewX(0deg); }
    50% { transform: skewX(1deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-star {
    margin-bottom: 24px;
    animation: starGlow 3s ease-in-out infinite;
}

@keyframes starGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6)); }
    50% { filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.9)); }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 8px;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    letter-spacing: 6px;
    margin-bottom: 12px;
    font-weight: 300;
}

.hero .sub-desc {
    font-size: 1rem;
    color: rgba(245, 230, 211, 0.7);
    letter-spacing: 2px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-divider {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 40px;
}

.hero-years {
    font-size: 1.2rem;
    color: var(--gold);
    letter-spacing: 8px;
    font-weight: 600;
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s infinite;
}

.scroll-hint span {
    font-size: 0.75rem;
    color: rgba(245, 230, 211, 0.5);
    letter-spacing: 2px;
}

.scroll-hint .arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 215, 0, 0.5);
    border-bottom: 2px solid rgba(255, 215, 0, 0.5);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.era-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 20px;
}

.era-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.era-title h2 {
    font-size: 2.2rem;
    letter-spacing: 8px;
    color: var(--gold);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding: 0 50px;
    text-shadow: 0 2px 20px rgba(255, 215, 0, 0.3);
}

.era-title h2::before,
.era-title h2::after {
    content: '★';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: var(--red-primary);
    animation: starPulse 2s ease-in-out infinite;
}

.era-title h2::before {
    left: 10px;
}

.era-title h2::after {
    right: 10px;
}

@keyframes starPulse {
    0%, 100% { opacity: 0.6; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.2); }
}

.era-title p {
    color: rgba(245, 230, 211, 0.6);
    font-size: 1rem;
    margin-top: 16px;
    letter-spacing: 3px;
}

.timeline-section {
    padding: 20px 24px 80px;
}

.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent, 
        var(--red-primary) 5%, 
        var(--gold) 50%, 
        var(--red-primary) 95%, 
        transparent
    );
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 60px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 60px;
    text-align: left;
}

.timeline-item .dot {
    position: absolute;
    top: 30px;
    width: 18px;
    height: 18px;
    background: var(--gold);
    border: 3px solid var(--red-primary);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5), inset 0 0 8px rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item:nth-child(odd) .dot {
    right: -9px;
}

.timeline-item:nth-child(even) .dot {
    left: -9px;
}

.timeline-item:hover .dot {
    transform: scale(1.5);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.9), inset 0 0 10px rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, var(--gold), #fff);
}

.event-card {
    background: var(--bg-card);
    border: 1px solid rgba(196, 30, 58, 0.2);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--red-primary), var(--gold));
}

.event-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.event-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 50px rgba(196, 30, 58, 0.35), 0 0 30px rgba(255, 215, 0, 0.1);
    border-color: rgba(196, 30, 58, 0.5);
}

.event-card:hover::after {
    opacity: 1;
}

.event-year {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 2px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(196, 30, 58, 0.3);
}

.event-year::before {
    content: '◆';
    font-size: 0.6rem;
}

.event-title {
    font-size: 1.35rem;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 8px;
}

.event-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.event-card:hover .event-title::after {
    width: 60px;
    transition: width 0.3s;
}

.event-desc {
    font-size: 0.95rem;
    color: rgba(245, 230, 211, 0.9);
    line-height: 1.9;
    margin-bottom: 14px;
}

.event-significance {
    font-size: 0.9rem;
    color: rgba(255, 215, 0, 0.85);
    border-left: 3px solid var(--gold);
    padding-left: 14px;
    margin-top: 10px;
    font-style: italic;
    background: rgba(255, 215, 0, 0.03);
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
}

.timeline-item:nth-child(odd) .event-significance {
    border-left: none;
    border-right: 3px solid var(--gold);
    padding-left: 0;
    padding-right: 14px;
    text-align: right;
    border-radius: 8px 0 0 8px;
    background: rgba(255, 215, 0, 0.03);
}

.event-image {
    width: 100%;
    height: 260px;
    border-radius: 8px;
    margin-top: 14px;
    object-fit: contain;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(196, 30, 58, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 8px;
}

.event-image:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.5);
    border-color: var(--gold);
}

.event-image-placeholder {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 215, 0, 0.3);
    border: 1px solid rgba(196, 30, 58, 0.2);
}

.milestones-section {
    padding: 100px 24px;
    background: linear-gradient(180deg, 
        var(--bg-dark), 
        rgba(92, 0, 17, 0.3), 
        var(--bg-dark)
    );
    position: relative;
}

.milestones-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.milestones-title {
    text-align: center;
    margin-bottom: 60px;
}

.milestones-title h2 {
    font-size: 2.2rem;
    color: var(--gold);
    letter-spacing: 8px;
    position: relative;
    display: inline-block;
}

.milestones-title h2::before,
.milestones-title h2::after {
    content: '★';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: var(--red-primary);
}

.milestones-title h2::before {
    left: -30px;
}

.milestones-title h2::after {
    right: -30px;
}

.milestones-title p {
    color: rgba(245, 230, 211, 0.6);
    margin-top: 16px;
    letter-spacing: 3px;
}

.milestones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.milestone-card {
    background: var(--bg-card);
    border: 1px solid rgba(196, 30, 58, 0.3);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.milestone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--red-primary), var(--gold), var(--red-primary));
}

.milestone-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.milestone-card:hover {
    transform: translateY(-8px);
    border-color: rgba(196, 30, 58, 0.5);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.25);
}

.milestone-card:hover::after {
    opacity: 1;
}

.milestone-num {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
    text-shadow: 0 2px 15px rgba(255, 215, 0, 0.3);
}

.milestone-unit {
    font-size: 1rem;
    color: var(--text-light);
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-weight: 500;
}

.milestone-label {
    font-size: 0.9rem;
    color: rgba(245, 230, 211, 0.7);
    border-top: 1px solid rgba(196, 30, 58, 0.2);
    padding-top: 14px;
    margin-top: 8px;
    letter-spacing: 1px;
}

.quote-section {
    padding: 100px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(196, 30, 58, 0.15) 0%, transparent 70%);
}

.quote-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.quote-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.quote-mark {
    font-size: 4rem;
    color: rgba(255, 215, 0, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-text {
    font-size: 1.4rem;
    color: var(--text-light);
    letter-spacing: 3px;
    line-height: 2;
    margin: 20px 0;
    font-weight: 300;
}

.quote-author {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 2px;
}

.footer {
    padding: 60px 24px 30px;
    text-align: center;
    border-top: 1px solid rgba(196, 30, 58, 0.2);
    background: linear-gradient(180deg, var(--bg-dark), rgba(92, 0, 17, 0.2));
}

.footer-tribute {
    font-size: 1.1rem;
    color: var(--gold);
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.footer p {
    color: rgba(245, 230, 211, 0.4);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.footer .footer-stars {
    margin-bottom: 16px;
    color: var(--red-primary);
    letter-spacing: 8px;
    font-size: 0.8rem;
}

.page-cta {
    padding: 100px 24px;
    background: var(--bg-dark);
    text-align: center;
}

.page-cta .cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.page-cta h2 {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 25px;
    letter-spacing: 4px;
    text-shadow: 0 2px 20px rgba(255, 215, 0, 0.3);
}

.page-cta p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 2;
    opacity: 0.9;
    margin-bottom: 40px;
}

.page-cta .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-cta .cta-btn {
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.page-cta .cta-btn.primary {
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    color: var(--gold);
    border: 2px solid var(--gold);
}

.page-cta .cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-red);
}

.page-cta .cta-btn.secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.page-cta .cta-btn.secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .page-cta {
        padding: 60px 24px;
    }

    .page-cta h2 {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .page-cta p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .page-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-cta .cta-btn {
        width: 100%;
        max-width: 250px;
    }
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    border: 2px solid var(--gold);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.6);
}

.back-to-top::before {
    content: '';
    width: 12px;
    height: 12px;
    border-left: 2px solid var(--gold);
    border-top: 2px solid var(--gold);
    transform: rotate(45deg) translateY(3px);
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.8; }
    90% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s, visibility 0.6s;
}

.page-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-star {
    font-size: 3rem;
    color: var(--gold);
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
}

.loader-text {
    color: var(--gold);
    letter-spacing: 6px;
    margin-top: 16px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: rgba(26, 10, 10, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid rgba(196, 30, 58, 0.3);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-dropdown {
        position: relative;
    }

    .nav-dropdown .nav-dropbtn::after {
        content: '▾';
        font-size: 0.7rem;
        margin-left: 2px;
        transition: transform 0.3s;
    }

    .nav-dropdown.active .nav-dropbtn::after {
        transform: rotate(180deg);
    }

    .nav-dropdown-content {
        display: none;
        position: static;
        transform: none;
        background: rgba(26, 10, 10, 0.6);
        border: none;
        border-radius: 6px;
        padding: 0 0 0 15px;
    }

    .nav-dropdown.active .nav-dropdown-content {
        display: block;
    }

    .nav-dropdown-content a {
        padding: 8px 12px;
        text-align: left;
        color: var(--text-light);
    }

    .nav-dropdown-content a:hover {
        color: var(--gold);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 4px;
    }

    .hero .subtitle {
        font-size: 1.1rem;
        letter-spacing: 3px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px !important;
        padding-right: 16px !important;
        text-align: left !important;
    }

    .timeline-item .dot {
        left: 12px !important;
        right: auto !important;
    }

    .timeline-item .event-significance {
        border-right: none;
        border-left: 3px solid var(--gold);
        padding-left: 12px;
        padding-right: 0;
        text-align: left;
    }

    .era-title h2 {
        font-size: 1.5rem;
        letter-spacing: 4px;
    }

    .milestones-title h2 {
        font-size: 1.6rem;
        letter-spacing: 4px;
    }

    .milestones-title h2::before,
    .milestones-title h2::after {
        display: none;
    }

    .milestones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 12px;
    }

    .milestone-card {
        padding: 24px 16px;
        border-radius: 12px;
    }

    .milestone-num {
        font-size: 2.2rem;
    }

    .milestone-unit {
        font-size: 0.9rem;
    }

    .milestone-label {
        font-size: 0.8rem;
        padding-top: 10px;
    }

    .quote-text {
        font-size: 1.15rem;
        letter-spacing: 2px;
        line-height: 1.9;
    }

    .quote-author {
        font-size: 1rem;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .milestones-grid {
        grid-template-columns: 1fr;
    }

    .nav-brand span {
        font-size: 1rem;
        letter-spacing: 2px;
    }
}

.guide-floating-btn {
    position: fixed;
    bottom: 100px;
    left: 60px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    border: 2px solid var(--gold);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    transition: all 0.3s;
}

.guide-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.6);
}

.guide-floating-btn svg {
    width: 30px;
    height: 30px;
    fill: var(--gold);
}

.guide-panel {
    position: fixed;
    bottom: 180px;
    left: 30px;
    right: auto;
    width: 380px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 220px);
    background: var(--bg-card);
    border: 2px solid var(--gold);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.guide-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.guide-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: move;
    user-select: none;
}

.guide-panel.dragging {
    transition: none !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.guide-header h3 {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide-header h3::before {
    content: '🎙️';
}

.guide-close {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.guide-close:hover {
    transform: rotate(90deg);
}

.guide-avatar {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.guide-avatar-figure {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    position: relative;
}

.guide-avatar-figure::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: #4CAF50;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
}

.guide-avatar-info h4 {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 4px;
}

.guide-avatar-info p {
    color: var(--text-light);
    font-size: 0.85rem;
    opacity: 0.8;
}

.guide-content {
    padding: 16px 20px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.guide-message {
    background: rgba(255, 215, 0, 0.1);
    border-left: 3px solid var(--gold);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    animation: slideIn 0.3s ease;
}

.guide-message p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.guide-message .guide-highlight {
    color: var(--gold);
    font-weight: 600;
}

.guide-controls {
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.guide-btn {
    flex: 1;
    min-width: 100px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    border: 1px solid var(--gold);
    border-radius: 8px;
    color: var(--gold);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.guide-btn:hover {
    background: linear-gradient(135deg, var(--red-dark), var(--red-deeper));
    transform: translateY(-2px);
}

.guide-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.guide-btn.speaking {
    animation: guidePulse 1s infinite;
}

@keyframes guidePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
}

.guide-progress {
    padding: 12px 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.guide-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.guide-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 3px;
    transition: width 0.3s;
}

.guide-progress-text {
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.8;
    text-align: center;
}

.guide-list {
    padding: 12px 20px;
    max-height: 180px;
    overflow-y: auto;
    flex-shrink: 0;
}

.guide-list-item {
    padding: 10px 12px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.guide-list-item:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
}

.guide-list-item.active {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--gold);
}

.guide-list-item h4 {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.guide-list-item p {
    color: var(--text-light);
    font-size: 0.8rem;
    opacity: 0.7;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    .guide-panel {
        left: 10px;
        right: 10px;
        width: auto;
        bottom: 160px;
        max-height: calc(100vh - 200px);
    }

    .guide-floating-btn {
        left: 20px;
        bottom: 80px;
        right: auto;
    }

    .guide-content {
        max-height: none;
        flex: 1;
    }

    .guide-avatar {
        padding: 16px;
    }

    .guide-avatar-figure {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .guide-avatar-info h4 {
        font-size: 0.9rem;
    }

    .guide-avatar-info p {
        font-size: 0.75rem;
    }

    .guide-message {
        padding: 10px 12px;
    }

    .guide-message p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .guide-controls {
        padding: 10px;
        gap: 6px;
    }

    .guide-btn {
        min-width: auto;
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .guide-list {
        max-height: 140px;
    }

    .guide-list-item {
        padding: 8px 10px;
    }

    .guide-list-item h4 {
        font-size: 0.8rem;
    }

    .guide-list-item p {
        font-size: 0.7rem;
    }
}

.image-viewer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-viewer.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.viewer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.viewer-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.viewer-image {
    max-width: 85vw;
    max-height: 75vh;
    object-fit: contain;
    border: 3px solid var(--gold);
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(196, 30, 58, 0.5), 0 0 100px rgba(255, 215, 0, 0.2);
    animation: viewerZoom 0.3s ease;
}

@keyframes viewerZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.viewer-caption {
    margin-top: 16px;
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    background: rgba(92, 0, 17, 0.8);
    padding: 10px 24px;
    border-radius: 25px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.viewer-close,
.viewer-prev,
.viewer-next {
    position: absolute;
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    border: 2px solid var(--gold);
    color: var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 2;
}

.viewer-close {
    top: -60px;
    right: -60px;
    width: 50px;
    height: 50px;
    font-size: 2rem;
}

.viewer-prev,
.viewer-next {
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
}

.viewer-prev {
    left: -80px;
}

.viewer-next {
    right: -80px;
}

.viewer-close:hover,
.viewer-prev:hover,
.viewer-next:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--red-dark);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.viewer-prev:hover,
.viewer-next:hover {
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .viewer-prev {
        left: 10px;
    }
    .viewer-next {
        right: 10px;
    }
    .viewer-close {
        top: 10px;
        right: 10px;
    }
    .viewer-caption {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #5C0011, #1a0a0a);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FFD700, #C41E3A, #8B0000, #5C0011);
    border-radius: 6px;
    border: 2px solid #1a0a0a;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFEC8B, #FFD700, #C41E3A, #8B0000);
}

::-moz-scrollbar {
    width: 12px;
}

::-moz-scrollbar-track {
    background: linear-gradient(180deg, #5C0011, #1a0a0a);
    border-radius: 6px;
}

::-moz-scrollbar-thumb {
    background: linear-gradient(180deg, #FFD700, #C41E3A, #8B0000, #5C0011);
    border-radius: 6px;
    border: 2px solid #1a0a0a;
}

::-moz-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFEC8B, #FFD700, #C41E3A, #8B0000);
}