/* ========================================
   Demon Pavilion Strange Tales - Style Sheet
   Light/Dark Dual Theme, Responsive Design
   ======================================== */

/* ========== CSS Variables & Theme System ========== */
:root {
    /* Light Theme - Oriental Elegant Style */
    --primary-color: #8B4513;
    --primary-light: #A0522D;
    --primary-dark: #5D4037;
    --secondary-color: #D4AF37;
    --secondary-light: #FFD700;
    --accent-color: #1A237E;
    --accent-light: #3949AB;
    
    /* Backgrounds */
    --bg-primary: #FDF8F3;
    --bg-secondary: #F5EBE0;
    --bg-card: #FFFFFF;
    --bg-overlay: rgba(93, 64, 55, 0.85);
    
    /* Text */
    --text-primary: #3E2723;
    --text-secondary: #5D4037;
    --text-muted: #8D6E63;
    --text-inverse: #FFFFFF;
    
    /* UI Elements */
    --border-color: #D7CCC8;
    --shadow-color: rgba(93, 64, 55, 0.15);
    --shadow-hover: rgba(93, 64, 55, 0.25);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8B4513 0%, #5D4037 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #D4AF37 100%);
    --gradient-hero: linear-gradient(180deg, rgba(93, 64, 55, 0.4) 0%, rgba(93, 64, 55, 0.8) 100%);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Dark Theme */
[data-theme="dark"] {
    /* Dark Theme - Mysterious Fantasy */
    --primary-color: #A0522D;
    --primary-light: #CD853F;
    --primary-dark: #3E2723;
    --secondary-color: #FFD700;
    --secondary-light: #FFE44D;
    --accent-color: #4FC3F7;
    --accent-light: #81D4FA;
    
    /* Backgrounds */
    --bg-primary: #1A1210;
    --bg-secondary: #2D1F1B;
    --bg-card: #3E2723;
    --bg-overlay: rgba(26, 18, 16, 0.92);
    
    /* Text */
    --text-primary: #FDF8F3;
    --text-secondary: #EFEBE9;
    --text-muted: #BCAAA4;
    --text-inverse: #1A1210;
    
    /* UI Elements */
    --border-color: #5D4037;
    --shadow-color: rgba(0, 0, 0, 0.4);
    --shadow-hover: rgba(0, 0, 0, 0.6);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #5D4037 0%, #3E2723 100%);
    --gradient-hero: linear-gradient(180deg, rgba(26, 18, 16, 0.6) 0%, rgba(26, 18, 16, 0.95) 100%);
}

/* ========== Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif', 'Cinzel', Georgia, serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== Container & Layout ========== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Navigation ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all var(--transition-normal);
    padding: 20px 0;
}

.navbar.scrolled {
    background: var(--bg-card);
    box-shadow: 0 4px 20px var(--shadow-color);
    padding: 12px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
}

.logo-text {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-inverse);
    transition: color var(--transition-normal);
}

.navbar.scrolled .logo-text {
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-inverse);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-fast);
}

.navbar.scrolled .nav-link {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width var(--transition-fast);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-inverse);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.navbar.scrolled .theme-toggle {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.theme-toggle:hover {
    background: var(--secondary-color);
    color: var(--text-inverse);
    transform: rotate(15deg);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

.theme-toggle .moon-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: block;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-inverse);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.navbar.scrolled .hamburger span {
    background: var(--text-primary);
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--text-inverse);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-inverse);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
}

.hero-content {
    text-align: center;
    color: var(--text-inverse);
    padding: 0 24px;
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-inverse);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 10px rgba(255, 215, 0, 0.3));
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-inverse);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
}

/* ========== Game Section ========== */
.game-section {
    background: var(--bg-secondary);
}

.game-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.game-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-main {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-color);
    aspect-ratio: 16/9;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-main:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
}

.thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.thumb:hover, .thumb.active {
    opacity: 1;
    border-color: var(--secondary-color);
}

.game-description h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.game-description p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.game-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.feature-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-card);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-color);
    transition: transform var(--transition-fast);
}

.feature-mini:hover {
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.4rem;
}

/* ========== Features Section ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px var(--shadow-color);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-hover);
    border-color: var(--secondary-color);
}

.feature-icon-large {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========== Support Section ========== */
.support-section {
    background: var(--bg-secondary);
}

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

.support-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 30px var(--shadow-color);
}

.support-card h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    color: var(--primary-color);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--secondary-color);
}

.req-section {
    margin-bottom: 24px;
}

.req-section h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.req-section ul {
    padding-left: 20px;
}

.req-section li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    list-style: disc;
}

/* FAQ */
.faq-item {
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 16px;
    background: var(--bg-secondary);
    border: none;
    text-align: left;
    font-family: 'Noto Serif', serif;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition-fast);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform var(--transition-fast);
}

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

.faq-question:hover {
    background: var(--border-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    background: var(--bg-card);
}

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

.faq-answer p {
    padding: 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Card */
.contact-info {
    margin: 24px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 12px;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item strong {
    color: var(--text-primary);
}

.contact-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.maintenance-notice {
    margin-top: 24px;
    padding: 16px;
    background: var(--gradient-primary);
    border-radius: 8px;
    color: var(--text-inverse);
}

.maintenance-notice h4 {
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.maintenance-notice p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 4px;
}

/* ========== Privacy Section ========== */
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 8px 40px var(--shadow-color);
}

.privacy-intro {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.privacy-intro p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.privacy-section {
    margin-bottom: 32px;
}

.privacy-section h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.privacy-section h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin: 16px 0 12px;
}

.privacy-section p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.8;
}

.privacy-section ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.privacy-section li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    list-style: disc;
    line-height: 1.7;
}

/* ========== Footer ========== */
.footer {
    background: var(--primary-dark);
    color: var(--text-inverse);
    padding: 60px 0 30px;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-column a {
    display: block;
    color: var(--text-inverse);
    opacity: 0.7;
    margin-bottom: 12px;
    transition: all var(--transition-fast);
}

.footer-column a:hover {
    opacity: 1;
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    opacity: 0.7;
}

.footer-legal {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer-legal span {
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-legal a {
    color: var(--text-inverse);
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* ========== Floating Download Button ========== */
.floating-download {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-gold);
    border: none;
    color: var(--text-inverse);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
    transition: all var(--transition-normal);
    font-size: 0.7rem;
    font-weight: 600;
    gap: 2px;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.6);
}

.floating-btn svg {
    width: 24px;
    height: 24px;
}

.download-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--shadow-hover);
    padding: 8px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

.floating-download:hover .download-menu,
.download-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.download-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-primary);
    transition: background var(--transition-fast);
}

.download-option:hover {
    background: var(--bg-secondary);
}

.platform-icon {
    font-size: 1.5rem;
}

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

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

.modal {
    background: var(--bg-card);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    padding: 40px;
    position: relative;
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.modal-overlay.show .modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--text-inverse);
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-header h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.modal-header p {
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: border-color var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

.modal-success {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    color: white;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.modal-success h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.modal-success p {
    color: var(--text-muted);
}

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

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

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .game-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        padding: 80px 30px;
        gap: 24px;
        transition: right var(--transition-normal);
        box-shadow: -5px 0 30px var(--shadow-color);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--text-primary) !important;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .game-features-list {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .privacy-content {
        padding: 32px 24px;
    }
    
    .modal {
        padding: 30px 24px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .nav-actions .preorder-btn {
        display: none;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .floating-download {
        bottom: 20px;
        right: 20px;
    }
}
