/* ============================================
   群青的魔女 Dusk City - 黑金私人订制风格
   Private VIP Style: Charcoal + Gold Foil
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Primary Colors - Black Gold Theme */
    --bg-primary: #0a0a0a;
    --bg-secondary: #121212;
    --bg-tertiary: #1a1a1a;
    --bg-card: #151515;
    
    /* Gold Foil Colors */
    --gold-primary: #D4AF37;
    --gold-light: #F4E5B2;
    --gold-dark: #B8962E;
    --gold-accent: #E8C547;
    --gold-glow: rgba(212, 175, 55, 0.4);
    
    /* Text Colors */
    --text-primary: #FAFAFA;
    --text-secondary: #B0B0B0;
    --text-muted: #707070;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;
    
    /* Typography */
    --font-serif: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
    --font-sans: 'Noto Serif SC', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.02) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    pointer-events: none;
    z-index: -1;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 24px;
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-brand {
    display: none;
}

.brand-text {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-primary);
    letter-spacing: 2px;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
}

.nav-link.cta-link {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--bg-primary);
    font-weight: 600;
}

.nav-link.cta-link:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--gold-glow);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold-primary);
    position: relative;
    transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--gold-primary);
    left: 0;
    transition: var(--transition-fast);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 998;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid rgba(212, 175, 55, 0.3);
    padding: 80px 30px 40px;
    transition: var(--transition-normal);
    z-index: 999;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--gold-primary);
    font-size: 32px;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.mobile-nav-links {
    list-style: none;
}

.mobile-nav-links li {
    margin-bottom: 20px;
}

.mobile-nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.125rem;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.mobile-nav-links a:hover {
    color: var(--gold-primary);
    padding-left: 10px;
}

.mobile-cta {
    display: inline-block !important;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)) !important;
    color: var(--bg-primary) !important;
    padding: 12px 24px !important;
    border-radius: var(--radius-md) !important;
    border: none !important;
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: 4px;
    text-shadow: 0 0 60px rgba(212, 175, 55, 0.3);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--gold-primary);
    letter-spacing: 8px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-tagline {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-cta-group {
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-image-container {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 500px;
    z-index: 1;
    opacity: 0.6;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-image-frame {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    animation: fadeInUp 0.8s ease 1s both;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gold-primary);
    border-bottom: 2px solid var(--gold-primary);
    transform: rotate(45deg);
    margin: 10px auto 0;
    animation: scrollBounce 2s infinite;
}

/* ============================================
   Glow Button Component
   ============================================ */
.glow-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--bg-primary);
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: 0 4px 30px var(--gold-glow);
}

.glow-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px var(--gold-glow);
}

.glow-button:active {
    transform: translateY(-1px);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shine 3s infinite;
}

.btn-icon {
    font-size: 1.25rem;
}

/* Download Hero Button - Larger */
.btn-download-hero {
    padding: 18px 50px;
    font-size: 1.25rem;
}

/* Download Main Button - Largest */
.btn-download-main {
    padding: 24px 60px;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

/* Footer Download Button */
.btn-footer-download {
    padding: 14px 32px;
    font-size: 1rem;
}

/* ============================================
   Info Section - Grid Cards
   ============================================ */
.info-section {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition-normal);
}

.info-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.info-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.info-value {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--gold-primary);
    font-weight: 600;
}

/* ============================================
   Section Header Component
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-primary);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

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

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: var(--section-padding);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.about-block {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition-normal);
}

.about-block:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.about-heading {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--gold-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.about-block p {
    color: var(--text-secondary);
    line-height: 1.9;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition-normal);
}

.gallery-item:hover {
    border-color: var(--gold-primary);
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.gallery-caption {
    color: var(--gold-primary);
    font-size: 0.875rem;
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: var(--gold-primary);
    font-size: 48px;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.lightbox-image {
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.3);
}

.lightbox-caption {
    color: var(--text-secondary);
    margin-top: 20px;
    font-size: 0.875rem;
}

/* ============================================
   Download Section
   ============================================ */
.download-section {
    padding: var(--section-padding);
    background: 
        radial-gradient(ellipse at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%),
        var(--bg-primary);
}

.download-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.download-version {
    margin-bottom: 30px;
}

.version-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.version-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold-primary);
}

.download-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 30px;
    margin-bottom: 40px;
}

.download-features li {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.download-note {
    margin-top: 20px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ============================================
   Updates Section - Timeline
   ============================================ */
.updates-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold-primary), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -46px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--gold-glow);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition-normal);
}

.timeline-content:hover {
    border-color: rgba(212, 175, 55, 0.4);
}

.timeline-date {
    font-size: 0.8125rem;
    color: var(--gold-primary);
    margin-bottom: 8px;
}

.timeline-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.timeline-list {
    list-style: none;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.timeline-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.timeline-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
}

/* ============================================
   FAQ Section - Accordion
   ============================================ */
.faq-section {
    padding: var(--section-padding);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--gold-primary);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--gold-primary);
    transition: var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.system-requirements {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 24px 20px;
}

.req-column h4 {
    color: var(--gold-primary);
    font-size: 0.9375rem;
    margin-bottom: 12px;
}

.req-column ul {
    list-style: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.req-column li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold-primary);
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-heading {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.related-games {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.related-games a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.related-games a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.footer-download {
    text-align: right;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.copyright {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* ============================================
   Download Modal
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border: 2px solid var(--gold-primary);
    border-radius: var(--radius-lg);
    padding: 40px 50px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 80px rgba(212, 175, 55, 0.3);
}

.modal-header {
    margin-bottom: 30px;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold-primary);
}

.modal-status {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    min-height: 24px;
}

.progress-container {
    width: 100%;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
    border-radius: 4px;
    transition: width 0.1s linear;
    box-shadow: 0 0 20px var(--gold-glow);
}

.modal-hint {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(10px); }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-image-container {
        display: none;
    }
    
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-download {
        grid-column: span 2;
        text-align: center;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .navbar {
        top: 10px;
        right: 10px;
        left: 10px;
        justify-content: space-between;
        padding: 10px 16px;
    }
    
    .nav-brand {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-section {
        padding: 100px 20px 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 4px;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-image {
        height: 220px;
    }
    
    .btn-download-main {
        padding: 18px 40px;
        font-size: 1.25rem;
    }
    
    .system-requirements {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-download {
        grid-column: 1;
        text-align: center;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
    
    .related-games {
        justify-content: center;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline-marker {
        left: -36px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-badge {
        font-size: 0.65rem;
        padding: 6px 14px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-download-hero {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .btn-download-main {
        padding: 16px 30px;
        font-size: 1.125rem;
        letter-spacing: 1px;
    }
    
    .download-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-content {
        padding: 30px 24px;
    }
}

/* ============================================
   Lazy Loading Images
   ============================================ */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([data-src]) {
    opacity: 1;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .navbar,
    .modal-overlay,
    .lightbox,
    .scroll-indicator,
    .glow-button {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}
