/* CSS Variables for Elite Theme */
:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff6b6b;
    --accent-color: #4ecdc4;
    --tertiary-color: #a855f7;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --light-bg: #1a1a1a;
    --lighter-bg: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #e5e7eb;
    --text-muted: #9ca3af;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 25px 50px rgba(0, 0, 0, 0.5);
    --shadow-soft: 0 4px 20px rgba(0, 212, 255, 0.1);
    --border-radius: 20px;
    --border-radius-sm: 12px;
    --border-radius-lg: 32px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #a855f7 50%, #ff6b6b 100%);
    --gradient-secondary: linear-gradient(135deg, #4ecdc4 0%, #00d4ff 100%);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    padding-left: 3rem;
    padding-right: 3rem;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(30px);
    border-bottom: 2px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar:hover {
    background: rgba(10, 10, 10, 0.98);
    border-bottom-color: var(--primary-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.8rem;
    text-shadow: 0 0 30px var(--primary-color);
    letter-spacing: -0.5px;
    position: relative;
}

.nav-logo h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

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

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    letter-spacing: 0.5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    transform: translateY(-2px);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 0 6rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 800px 600px at 20% 30%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 600px 800px at 80% 70%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 1000px 600px at 50% 50%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(78, 205, 196, 0.06) 0%, transparent 40%);
    animation: patternShift 25s linear infinite;
}

@keyframes patternShift {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(50px, -30px) rotate(120deg); }
    66% { transform: translate(-30px, 50px) rotate(240deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-block;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 1rem;
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.badge-text {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.05;
    letter-spacing: -0.02em;
    animation: titleSlideIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
}

@keyframes titleSlideIn {
    0% {
        transform: translateX(-60px) scale(0.9);
        opacity: 0;
        filter: blur(10px);
    }
    50% {
        transform: translateX(-10px) scale(1.02);
        opacity: 0.8;
        filter: blur(2px);
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

.title-main {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-main::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    opacity: 0.6;
}

.title-accent {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.6;
    animation: subtitleFadeIn 1s ease-out 0.3s both;
}

@keyframes subtitleFadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    animation: statsSlideUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s both;
}

@keyframes statsSlideUp {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.stat-item {
    text-align: center;
    padding: 1.5rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: var(--transition);
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: buttonsSlideIn 1s ease-out 0.9s both;
}

@keyframes buttonsSlideIn {
    0% { opacity: 0; transform: translateX(-30px); }
    100% { opacity: 1; transform: translateX(0); }
}

.btn-glow {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.6); }
}

.hero-scroll {
    margin-top: 3rem;
    text-align: center;
    animation: scrollIndicatorFade 1s ease-out 1.2s both;
}

@keyframes scrollIndicatorFade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.hero-scroll span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.scroll-indicator {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    margin: 0 auto;
    border-radius: 1px;
    animation: scrollBounce 2s ease-in-out infinite;
}

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

.btn {
    padding: 1.25rem 3rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark-bg);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.btn-primary::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    background: var(--glass-border);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

/* Game Preview */
.game-preview {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    animation: previewFloat 6s ease-in-out infinite;
}

@keyframes previewFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.preview-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-sm);
}

.score-display, .best-display {
    text-align: center;
}

.score-label, .best-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.score-value, .best-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    max-width: 300px;
    margin: 0 auto;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-sm);
}

.tile {
    aspect-ratio: 1;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    background: var(--light-bg);
    border: 2px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: var(--transition);
}

.tile:hover::before {
    left: 100%;
}

.tile:not(:empty) {
    animation: tileAppear 0.3s ease-out;
}

@keyframes tileAppear {
    0% { transform: scale(0) rotate(180deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(0deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.animate-tile {
    animation: tileFloat 4s ease-in-out infinite;
}

@keyframes tileFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

.pulse {
    animation: tilePulse 2s ease-in-out infinite;
}

@keyframes tilePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(237, 194, 46, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(237, 194, 46, 0); }
}

.tile-2 { background: #eee4da; color: #776e65; }
.tile-4 { background: #ede0c8; color: #776e65; }
.tile-8 { background: #f2b179; color: #f9f6f2; }
.tile-16 { background: #f59563; color: #f9f6f2; }
.tile-32 { background: #f67c5f; color: #f9f6f2; }
.tile-64 { background: #f65e3b; color: #f9f6f2; }
.tile-128 { background: #edcf72; color: #f9f6f2; }
.tile-256 { background: #edcc61; color: #f9f6f2; }
.tile-512 { background: #edc850; color: #f9f6f2; }
.tile-1024 { background: #edc53f; color: #f9f6f2; }
.tile-2048 { background: #edc22e; color: #f9f6f2; }

.preview-footer {
    text-align: center;
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-sm);
}

.control-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-badge {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    animation: badgeOrbit 8s linear infinite;
}

.badge-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.badge-2 {
    top: 60%;
    left: 5%;
    animation-delay: 2.6s;
}

.badge-3 {
    bottom: 20%;
    right: 5%;
    animation-delay: 5.3s;
}

@keyframes badgeOrbit {
    0% { transform: rotate(0deg) translateX(20px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(20px) rotate(-360deg); }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* About Section */
.about {
    background: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-features {
    list-style: none;
    margin-top: 1.5rem;
}

.about-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    border: 2px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(168, 85, 247, 0.05));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Gallery Section Removed */

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    border: 2px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.review-card:hover::before {
    opacity: 1;
}

.review-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.review-stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-author {
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 1rem;
}

/* Download Section */
.download {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--dark-bg);
}

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

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.download-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    color: var(--dark-bg);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(10, 10, 10, 0.8);
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section h5 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

/* Contact Info */
.contact-info {
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.contact-icon {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.contact-item a {
    color: var(--text-primary);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    font-size: 1.3rem;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    transform: scale(0);
    border-radius: 50%;
    transition: var(--transition);
    z-index: -1;
}

.social-link:hover {
    color: var(--dark-bg);
    transform: translateY(-3px) scale(1.1);
}

.social-link:hover::before {
    transform: scale(1);
}

/* Newsletter */
.newsletter {
    margin-top: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.newsletter-input::placeholder {
    color: var(--text-secondary);
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 0.9rem;
    margin: 0;
}

/* Policy Pages */
.policy-container {
    padding: 8rem 0 4rem;
    min-height: 100vh;
}

.policy-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.policy-container section {
    margin-bottom: 3rem;
}

.policy-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.policy-container h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
    color: var(--accent-color);
}

.policy-container ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-container li {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0;
        height: 70px;
    }

    .nav-logo h2 {
        font-size: 1.5rem;
    }

    .hero {
        min-height: auto;
        padding: 7rem 0 3rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        max-width: none;
        margin-bottom: 2rem;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .stat-item {
        padding: 1rem 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    .hero-scroll {
        margin-top: 2rem;
    }

    .game-preview {
        max-width: 320px;
        margin: 0 auto;
        padding: 1.5rem;
    }

    .game-grid {
        max-width: 280px;
    }

    .floating-elements {
        display: none; /* Hide floating elements on mobile for better performance */
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 3rem;
        transition: var(--transition);
        z-index: 999;
        border-top: 2px solid var(--glass-border);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        font-size: 1.3rem;
        margin: 1rem 0;
        padding: 0.75rem 2.5rem;
        width: 250px;
        text-align: center;
        border-radius: var(--border-radius);
        transition: var(--transition);
        font-weight: 600;
    }

    .nav-menu a:hover {
        background: var(--glass-bg);
        transform: scale(1.05);
        box-shadow: var(--shadow-soft);
    }

    .nav-toggle {
        display: flex;
        z-index: 1000;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .feature-card {
        padding: 2rem;
    }

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

    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .download-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .container {
        padding: 0 1rem;
    }

    section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .section-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .navbar {
        padding: 0 0.5rem;
    }

    .nav-container {
        padding: 0;
        height: 65px;
    }

    .nav-logo h2 {
        font-size: 1.3rem;
    }

    .hero {
        padding: 6rem 0 2rem;
    }

    .hero-container {
        gap: 2rem;
        padding: 0 0.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .stat-item {
        padding: 0.75rem 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.85rem;
    }

    .game-preview {
        padding: 1rem;
        max-width: 280px;
    }

    .game-grid {
        max-width: 240px;
        gap: 0.3rem;
        padding: 0.5rem;
    }

    .tile {
        font-size: 0.8rem;
    }

    .preview-header {
        padding: 0.5rem;
    }

    .score-value, .best-value {
        font-size: 1.1rem;
    }

    .features-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
        border-radius: var(--border-radius);
    }

    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .review-card {
        padding: 1.5rem;
        border-radius: var(--border-radius);
    }

    .download-content h2 {
        font-size: 1.8rem;
    }

    .btn-large {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .contact-item {
        padding: 0.75rem;
    }

    .container {
        padding: 0 0.5rem;
    }

    section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .policy-container {
        padding: 5rem 0 2rem;
    }

    .policy-container h1 {
        font-size: 1.8rem;
    }

    .nav-menu {
        top: 65px;
        height: calc(100vh - 65px);
        padding-top: 2rem;
    }

    .nav-menu a {
        font-size: 1.1rem;
        margin: 0.75rem 0;
        padding: 0.6rem 2rem;
        width: 220px;
    }
}

/* Ultra-wide screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }

    .hero-title {
        font-size: 5rem;
    }

    .hero-container {
        gap: 6rem;
    }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }

    .feature-card:hover,
    .review-card:hover,
    .gallery-item:hover {
        transform: none;
    }

    .social-link:hover {
        transform: none;
    }

    .contact-item:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #00ffff;
        --secondary-color: #ff00ff;
        --accent-color: #ffff00;
        --text-primary: #ffffff;
        --text-secondary: #cccccc;
        --glass-bg: rgba(0, 0, 0, 0.9);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}