/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #080812;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hex-spinner {
    width: 80px;
    height: 80px;
    position: relative;
}

.hex-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 3px solid transparent;
    animation: hexSpin 1.5s ease-in-out infinite;
}

.hex-ring:nth-child(1) {
    background: linear-gradient(135deg, #00e5ff, #ff2d7a) border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation-delay: 0s;
}

.hex-ring:nth-child(2) {
    background: linear-gradient(135deg, #ff2d7a, #00e5ff) border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation-delay: -0.5s;
    transform: scale(0.7);
}

.hex-ring:nth-child(3) {
    background: linear-gradient(135deg, #00e5ff, #9d4edd) border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation-delay: -1s;
    transform: scale(0.4);
}

@keyframes hexSpin {
    0% { transform: rotate(0deg) scale(1); opacity: 1; }
    50% { transform: rotate(180deg) scale(0.8); opacity: 0.5; }
    100% { transform: rotate(360deg) scale(1); opacity: 1; }
}

.hex-ring:nth-child(2) { animation-name: hexSpinReverse; }

@keyframes hexSpinReverse {
    0% { transform: rotate(0deg) scale(0.7); opacity: 0.8; }
    50% { transform: rotate(-180deg) scale(0.5); opacity: 1; }
    100% { transform: rotate(-360deg) scale(0.7); opacity: 0.8; }
}

.preloader-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: #00e5ff;
    text-transform: uppercase;
    animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(16, 16, 32, 0.9);
    border: 2px solid rgba(0, 229, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: #00e5ff;
    transition: transform 0.2s ease;
}

.back-to-top:hover {
    border-color: #00e5ff;
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4), 0 0 40px rgba(0, 229, 255, 0.2);
    transform: translateY(-3px);
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

.back-to-top:active {
    transform: translateY(0);
}

/* ===== CSS Variables ===== */
:root {
    /* Colors - Matched to game's cyberpunk palette */
    --bg-primary: #080812;
    --bg-secondary: #0c0c1a;
    --bg-tertiary: #101020;
    --bg-card: rgba(16, 16, 32, 0.85);
    
    /* Primary: Cyan/Teal - matches hex grid glow */
    --cyan: #00e5ff;
    --cyan-glow: rgba(0, 229, 255, 0.6);
    --cyan-dark: #00a8bd;
    
    /* Secondary: Hot Pink - matches neon signs */
    --magenta: #ff2d7a;
    --magenta-glow: rgba(255, 45, 122, 0.5);
    --pink: #ff1493;
    
    /* Accent colors from game tiles */
    --purple: #9d4edd;
    --orange: #ff6b35;
    --green: #00ff88;
    --yellow: #ffd700;
    --red: #ff3366;
    
    --text-primary: #ffffff;
    --text-secondary: #e8eef6;
    --text-muted: #b8c4d8;
    
    /* Gradients - cyberpunk atmosphere */
    --gradient-neon: linear-gradient(135deg, var(--cyan), var(--magenta));
    --gradient-rainbow: linear-gradient(135deg, var(--cyan), var(--green), var(--yellow), var(--magenta));
    --gradient-atmosphere: linear-gradient(180deg, rgba(0, 100, 150, 0.15) 0%, rgba(150, 0, 100, 0.1) 100%);
    --gradient-bg: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    
    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    
    /* Spacing */
    --section-padding: clamp(4rem, 10vw, 8rem);
    --container-max: 1400px;
    
    /* Effects */
    --glow-cyan: 0 0 20px var(--cyan-glow), 0 0 40px var(--cyan-glow);
    --glow-magenta: 0 0 20px var(--magenta-glow), 0 0 40px var(--magenta-glow);
    --glow-neon: 0 0 10px var(--cyan-glow), 0 0 20px var(--magenta-glow);
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

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

html {
    scroll-behavior: smooth;
}

/* ===== Parallax Effects ===== */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -1;
    will-change: transform;
}

.parallax-element {
    will-change: transform;
    transition: transform 0.1s linear;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-visual {
        transform: translateZ(0);
    }
    
    .hex-float {
        animation: hexFloat 6s ease-in-out infinite;
    }
    
    .hex-float.hex-1 { animation-delay: 0s; }
    .hex-float.hex-2 { animation-delay: 2s; }
    .hex-float.hex-3 { animation-delay: 4s; }
}

@keyframes hexFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== Animated Background ===== */
.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(0, 100, 180, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(150, 0, 100, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 50, 100, 0.1) 0%, transparent 70%),
        var(--bg-primary);
}

.hex-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.hex-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(0, 240, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
    animation: bgPulse 8s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    opacity: 0.5;
}

.glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 0%, rgba(0, 150, 200, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 100%, rgba(255, 45, 122, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, transparent 0%, var(--bg-primary) 80%);
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: background var(--transition-medium), padding var(--transition-medium);
}

.nav.scrolled {
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.75rem 2rem;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-img {
    height: 36px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--cyan-glow));
    transition: filter var(--transition-fast);
}

.nav-logo:hover .nav-logo-img {
    filter: drop-shadow(0 0 15px var(--cyan-glow)) drop-shadow(0 0 25px var(--magenta-glow));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-link:hover {
    color: var(--cyan);
}

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

.cta-btn {
    position: relative;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--cyan);
    border-radius: 4px;
    overflow: hidden;
}

.cta-btn::after {
    display: none;
}

.cta-btn .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
    transition: left var(--transition-medium);
}

.cta-btn:hover .btn-glow {
    left: 100%;
}

.cta-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    color: var(--cyan);
    box-shadow: var(--glow-cyan);
}

.nav-lang {
    display: flex;
    gap: 0.25rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-lang-btn {
    padding: 0.4rem 0.6rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.nav-lang-btn:hover {
    color: var(--text-primary);
}

.nav-lang-btn.active {
    background: rgba(0, 240, 255, 0.1);
    color: var(--cyan);
}

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

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--cyan);
    transition: var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 50% 30%, rgba(0, 150, 200, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 45, 122, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out;
    order: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--cyan);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--cyan);
    margin-bottom: 2rem;
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-logo {
    display: none;
}

.game-logo {
    max-width: 700px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px var(--cyan-glow)) drop-shadow(0 0 80px var(--magenta-glow));
    animation: logoFloat 4s ease-in-out infinite;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-neon);
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--bg-primary);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-neon);
}

.primary-btn .btn-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.primary-btn:hover .btn-bg {
    left: 100%;
}

.steam-icon {
    width: 20px;
    height: 20px;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--text-muted);
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.secondary-btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.secondary-btn .arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.secondary-btn:hover .arrow-icon {
    transform: translate(3px, -3px);
}

.hero-visual {
    width: 100%;
    max-width: 1200px;
    animation: fadeInUp 1s ease-out 0.3s both;
    order: -1;
    margin-bottom: 2rem;
}

.hero-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.image-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-neon);
    border-radius: 18px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(20px);
    animation: glowPulse 3s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% { opacity: 0.3; filter: blur(20px); }
    100% { opacity: 0.6; filter: blur(30px); }
}

.hero-image {
    width: 100%;
    border-radius: 16px;
    border: 2px solid rgba(0, 240, 255, 0.3);
}

.hex-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hex-float {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-neon);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0.3;
    animation: hexFloat 6s ease-in-out infinite;
}

.hex-1 {
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.hex-2 {
    top: 60%;
    right: -3%;
    animation-delay: -2s;
    width: 40px;
    height: 40px;
}

.hex-3 {
    bottom: 5%;
    left: 5%;
    animation-delay: -4s;
    width: 50px;
    height: 50px;
}

@keyframes hexFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(30deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--cyan);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

/* ===== Section Styles ===== */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--cyan);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title .accent {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== Gameplay Video Section ===== */
.gameplay {
    padding: var(--section-padding) 0;
    position: relative;
}

.video-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
}

.video-glow {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-neon);
    border-radius: 18px;
    z-index: -1;
    opacity: 0.6;
    filter: blur(15px);
    animation: glowPulse 3s ease-in-out infinite alternate;
}

.gameplay-video {
    width: 100%;
    display: block;
    border-radius: 16px;
    border: 2px solid rgba(0, 240, 255, 0.3);
    background: var(--bg-secondary);
}

.gameplay-video::-webkit-media-controls-panel {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

/* ===== Features Section ===== */
.features {
    padding: var(--section-padding) 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08) 0%, rgba(255, 45, 122, 0.03) 100%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.feature-card:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.2), 0 0 60px rgba(0, 229, 255, 0.1);
}

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

.feature-icon {
    margin-bottom: 1.5rem;
}

.icon-hex {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(255, 0, 255, 0.2));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: var(--transition-medium);
}

.feature-card:hover .icon-hex {
    background: var(--gradient-neon);
}

.icon-hex svg {
    width: 28px;
    height: 28px;
    stroke: var(--cyan);
    transition: stroke var(--transition-medium);
}

.feature-card:hover .icon-hex svg {
    stroke: var(--bg-primary);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Power-ups Section ===== */
.powerups {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 240, 255, 0.02) 50%, transparent 100%);
}

.powerups-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1200px) {
    .powerups-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .powerups-showcase {
        grid-template-columns: 1fr;
    }
}

.powerup-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.powerup-card:hover {
    border-color: var(--cyan);
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.2), 0 0 60px rgba(0, 229, 255, 0.1);
}

.powerup-image {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 1.25rem;
}

.powerup-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: transform var(--transition-medium);
}

.powerup-card:hover .powerup-image img {
    transform: scale(1.1) rotate(5deg);
}

.powerup-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
    z-index: -1;
}

.powerup-glow.bomb {
    background: linear-gradient(135deg, var(--cyan), var(--yellow), var(--pink));
}

.powerup-glow.shuffle {
    background: linear-gradient(135deg, var(--green), var(--yellow), var(--pink));
}

.powerup-glow.undo {
    background: linear-gradient(135deg, var(--cyan), var(--green), var(--magenta));
}

.powerup-glow.upgrade {
    background: linear-gradient(135deg, var(--cyan), var(--yellow), var(--magenta));
}

.powerup-info {
    text-align: center;
    width: 100%;
}

.powerup-name {
    display: block;
    font-family: 'Orbitron', 'Rajdhani', Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--cyan);
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 0 0 20px var(--cyan-glow);
}

.powerup-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.powerup-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--cyan);
    font-weight: 600;
}

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

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

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tile-showcase {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-tile {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 0 30px var(--cyan-glow));
    animation: tileFloat 4s ease-in-out infinite;
    z-index: 2;
}

@keyframes tileFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.tile-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid;
    animation: ringPulse 3s ease-out infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    border-color: var(--cyan);
    opacity: 0.3;
    animation-delay: 0s;
}

.ring-2 {
    width: 260px;
    height: 260px;
    border-color: var(--magenta);
    opacity: 0.2;
    animation-delay: -1s;
}

.ring-3 {
    width: 320px;
    height: 320px;
    border-color: var(--purple);
    opacity: 0.1;
    animation-delay: -2s;
}

@keyframes ringPulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

.about-content .section-tag {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--cyan);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 50%;
    color: var(--cyan);
    font-size: 0.8rem;
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

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

.cta-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        var(--bg-primary) 0%,
        rgba(10, 10, 18, 0.8) 30%,
        rgba(10, 10, 18, 0.8) 70%,
        var(--bg-primary) 100%
    );
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

.steam-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
    border: 2px solid rgba(102, 192, 244, 0.5);
    border-radius: 8px;
    transition: var(--transition-medium);
}

.steam-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(102, 192, 244, 0.3);
    border-color: #66c0f4;
}

.steam-logo {
    width: 40px;
    height: 40px;
    color: #66c0f4;
}

.steam-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.steam-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.steam-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.1em;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    width: 140px;
    height: 20px;
    margin-bottom: 1rem;
    filter: grayscale(100%) brightness(2);
}

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

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

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--cyan);
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.3rem 0;
    transition: color var(--transition-fast);
}

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

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

.social-links .social-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links .social-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.social-link:hover {
    background: rgba(0, 229, 255, 0.2);
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 229, 255, 0.3);
}

.social-link::after {
    display: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.made-with .heart {
    color: var(--magenta);
    animation: heartbeat 1s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-visual {
        order: -1;
    }
    
    .about-content .section-tag,
    .about-content .section-title {
        text-align: center;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-features {
        justify-content: center;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 1rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 18, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid rgba(0, 240, 255, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .primary-btn,
    .secondary-btn {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
    
    .powerups-showcase {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ===== Utilities ===== */
.accent {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Animations on Scroll ===== */
.feature-card,
.powerup-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.visible,
.powerup-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }

.powerup-card:nth-child(1) { transition-delay: 0.1s; }
.powerup-card:nth-child(2) { transition-delay: 0.2s; }
.powerup-card:nth-child(3) { transition-delay: 0.3s; }
.powerup-card:nth-child(4) { transition-delay: 0.4s; }

/* ===== Screenshots Gallery ===== */
.screenshots {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.screenshot-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: var(--transition-base);
}

.screenshot-item:hover {
    border-color: var(--cyan);
    transform: scale(1.02);
    box-shadow: var(--glow-cyan);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

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

.screenshot-overlay svg {
    width: 48px;
    height: 48px;
    stroke: var(--cyan);
}

/* First item spans 2 columns */
.screenshot-item:first-child {
    grid-column: span 2;
}

@media (max-width: 992px) {
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .screenshot-item:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot-item:first-child {
        grid-column: span 1;
    }
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

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

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    background: var(--cyan);
    color: var(--bg-primary);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--cyan);
    border-color: var(--cyan);
}

.lightbox-prev svg,
.lightbox-next svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

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

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: rgba(0, 240, 255, 0.3);
}

.faq-item.active {
    border-color: var(--cyan);
}

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

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

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    stroke: var(--cyan);
    transition: transform var(--transition-fast);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium), padding var(--transition-medium);
}

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

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== System Requirements ===== */
.requirements {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.requirements-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-base);
}

.requirements-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateY(-4px);
}

.requirements-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.os-icon {
    width: 32px;
    height: 32px;
    fill: var(--cyan);
}

.requirements-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-primary);
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.requirements-list li:last-child {
    border-bottom: none;
}

.req-label {
    color: var(--text-muted);
    font-weight: 600;
    margin-right: 0.5rem;
}

.requirements-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 2rem;
}

.requirements-note strong {
    color: var(--cyan);
}

@media (max-width: 768px) {
    .requirements-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 18, 0.98);
    border-top: 1px solid rgba(0, 240, 255, 0.3);
    padding: 1.5rem 2rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 10000;
    backdrop-filter: blur(20px);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: var(--cyan);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

.cookie-btn.decline {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-secondary);
}

.cookie-btn.decline:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.cookie-btn.accept {
    background: var(--gradient-neon);
    color: var(--bg-primary);
}

.cookie-btn.accept:hover {
    box-shadow: var(--glow-neon);
    transform: translateY(-2px);
}

/* ===== Language Switcher ===== */
.language-switcher {
    position: fixed;
    bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
    right: 2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 9999;
    background: rgba(10, 10, 18, 0.9);
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    backdrop-filter: blur(10px);
}

.lang-btn {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-fast);
    text-decoration: none;
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--cyan);
    color: var(--cyan);
}

@media (max-width: 768px) {
    .cookie-banner {
        top: 0;
        bottom: unset !important;
        border-top: none;
        border-bottom: 1px solid rgba(0, 240, 255, 0.3);
        padding: 1rem 1.5rem;
        padding-top: calc(1rem + env(safe-area-inset-top, 0px));
    }
    
    .cookie-banner.hidden {
        transform: translateY(-100%);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .language-switcher {
        bottom: 1rem;
        right: 1rem;
    }
}

/* ===== Newsletter Section ===== */
.newsletter {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(0, 229, 255, 0.03) 50%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(0, 229, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(255, 45, 122, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(255, 45, 122, 0.15));
    border-radius: 50%;
    border: 2px solid rgba(0, 229, 255, 0.3);
    animation: newsletterIconPulse 3s ease-in-out infinite;
}

.newsletter-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--cyan);
}

@keyframes newsletterIconPulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.2), 0 0 40px rgba(0, 229, 255, 0.1);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(0, 229, 255, 0.4), 0 0 60px rgba(255, 45, 122, 0.2);
        transform: scale(1.05);
    }
}

.newsletter .section-header {
    margin-bottom: 2.5rem;
}

.newsletter-form {
    width: 100%;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: rgba(16, 16, 32, 0.8);
    border: 2px solid rgba(0, 229, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    outline: none;
}

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

.newsletter-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2), inset 0 0 20px rgba(0, 229, 255, 0.05);
}

.newsletter-input:invalid:not(:placeholder-shown) {
    border-color: var(--magenta);
}

.newsletter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-neon);
    border: none;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-primary);
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-neon);
}

.newsletter-btn:active {
    transform: translateY(0);
}

.newsletter-btn .btn-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.newsletter-btn:hover .btn-icon {
    transform: translateX(3px);
}

.newsletter-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.newsletter-message {
    min-height: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.newsletter-message.success {
    color: var(--green);
}

.newsletter-message.error {
    color: var(--magenta);
}

.newsletter-message.info {
    color: var(--cyan);
}

.newsletter-privacy {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.newsletter-privacy a {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.newsletter-privacy a:hover {
    color: var(--text-primary);
}

@media (max-width: 640px) {
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .newsletter-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Unsubscribe Page Styles ===== */
.unsubscribe-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.unsubscribe-container {
    max-width: 500px;
    width: 100%;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}

.unsubscribe-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 45, 122, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(255, 45, 122, 0.3);
}

.unsubscribe-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--magenta);
}

.unsubscribe-icon.success {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
}

.unsubscribe-icon.success svg {
    stroke: var(--green);
}

.unsubscribe-container h1 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.unsubscribe-container p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.unsubscribe-form {
    margin-bottom: 1.5rem;
}

.unsubscribe-form .form-group {
    margin-bottom: 1rem;
}

.unsubscribe-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(16, 16, 32, 0.8);
    border: 2px solid rgba(0, 229, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    outline: none;
}

.unsubscribe-input::placeholder {
    color: var(--text-muted);
}

.unsubscribe-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.unsubscribe-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--magenta);
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--magenta);
    cursor: pointer;
    transition: var(--transition-fast);
}

.unsubscribe-btn:hover {
    background: rgba(255, 45, 122, 0.1);
    box-shadow: var(--glow-magenta);
}

.unsubscribe-message {
    min-height: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.unsubscribe-message.success {
    color: var(--green);
}

.unsubscribe-message.error {
    color: var(--magenta);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cyan);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--text-primary);
}

.back-link svg {
    width: 16px;
    height: 16px;
}

/* ===== Enhanced Scroll Animations ===== */
.scroll-animate {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.fade-up {
    transform: translateY(40px);
}

.scroll-animate.fade-left {
    transform: translateX(-40px);
}

.scroll-animate.fade-right {
    transform: translateX(40px);
}

.scroll-animate.scale-in {
    transform: scale(0.9);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Section Headers Animation */
.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Grid Animations */
.features-grid .feature-card,
.powerups-showcase .powerup-card,
.screenshots-grid .screenshot-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.features-grid .feature-card.visible,
.powerups-showcase .powerup-card.visible,
.screenshots-grid .screenshot-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grid items */
.feature-card:nth-child(1) { transition-delay: 0.05s; }
.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.15s; }
.feature-card:nth-child(4) { transition-delay: 0.2s; }
.feature-card:nth-child(5) { transition-delay: 0.25s; }
.feature-card:nth-child(6) { transition-delay: 0.3s; }
.feature-card:nth-child(7) { transition-delay: 0.35s; }
.feature-card:nth-child(8) { transition-delay: 0.4s; }
.feature-card:nth-child(9) { transition-delay: 0.45s; }

.powerup-card:nth-child(1) { transition-delay: 0.05s; }
.powerup-card:nth-child(2) { transition-delay: 0.15s; }
.powerup-card:nth-child(3) { transition-delay: 0.25s; }
.powerup-card:nth-child(4) { transition-delay: 0.35s; }

.screenshot-item:nth-child(1) { transition-delay: 0.05s; }
.screenshot-item:nth-child(2) { transition-delay: 0.1s; }
.screenshot-item:nth-child(3) { transition-delay: 0.15s; }
.screenshot-item:nth-child(4) { transition-delay: 0.2s; }
.screenshot-item:nth-child(5) { transition-delay: 0.25s; }

/* CTA Section Scale-in */
.cta-content {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.cta-content.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===== Enhanced Hover Micro-interactions ===== */

/* Button Shine Effect */
.primary-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        transparent 40%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 60%,
        transparent
    );
    transform: translateX(-100%) rotate(45deg);
    transition: none;
}

.primary-btn:hover::after {
    animation: buttonShine 0.6s ease forwards;
}

@keyframes buttonShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Nav Link Underline Animation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    transition: width 0.3s ease, left 0.3s ease;
}

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

/* Feature Card Icon Pulse */
.feature-card:hover .icon-hex {
    animation: iconPulse 0.6s ease;
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Gallery Image Zoom */
.screenshot-item img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.screenshot-item:hover img {
    transform: scale(1.08);
}

/* FAQ Item Glow */
.faq-item {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.faq-item.active {
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.15), inset 0 0 20px rgba(0, 229, 255, 0.02);
}

/* Steam Button Rotating Gradient */
.steam-btn {
    position: relative;
    overflow: hidden;
}

.steam-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(102, 192, 244, 0.2),
        transparent,
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.steam-btn:hover::before {
    opacity: 1;
    animation: steamGradientRotate 2s linear infinite;
}

@keyframes steamGradientRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer Link Underlines */
.footer-column > a {
    position: relative;
}

.footer-column > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--cyan);
    transition: width 0.3s ease;
}

.footer-column > a:hover::after {
    width: 100%;
}

/* Powerup Card Hover Enhancement */
.powerup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05) 0%, rgba(255, 45, 122, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

/* Requirements Card Hover */
.requirements-card {
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.requirements-card:hover {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.1);
}

/* About Feature Check Animation */
.about-feature .check-icon {
    transition: transform 0.3s ease, background 0.3s ease;
}

.about-feature:hover .check-icon {
    transform: scale(1.2);
    background: rgba(0, 240, 255, 0.2);
}

/* Video Container Glow Pulse on Hover */
.video-container:hover .video-glow {
    animation: videoGlowPulse 1.5s ease-in-out infinite;
}

@keyframes videoGlowPulse {
    0%, 100% { opacity: 0.4; filter: blur(15px); }
    50% { opacity: 0.8; filter: blur(25px); }
}

/* Hero Badge Shimmer */
.hero-badge {
    position: relative;
    overflow: hidden;
}

.hero-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.2), transparent);
    animation: badgeShimmer 3s ease-in-out infinite;
}

@keyframes badgeShimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Responsive adjustments for back-to-top */
@media (max-width: 768px) {
    .back-to-top {
        bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
        right: 1rem;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* ===== Enhanced Mobile Fixes ===== */
@media (max-width: 768px) {
    /* Hide nav logo on mobile */
    .nav-logo {
        display: none;
    }
    
    /* Fix nav language buttons in mobile menu */
    .nav-lang {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: center;
        width: 100%;
    }
    
    
    /* Reduce hero subtitle size */
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    /* Fix section padding on mobile */
    .section-container {
        padding: 0 1rem;
    }
    
    /* Adjust section header text */
    .section-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
    
    .section-desc {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
    
    /* Fix CTA title on mobile */
    .cta-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .cta-desc {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Fix powerup cards on mobile */
    .powerup-card {
        padding: 1.5rem 1rem;
    }
    
    .powerup-name {
        font-size: 1.1rem;
    }
    
    .powerup-stats {
        gap: 1rem;
    }
    
    /* Fix about features grid on mobile */
    .about-features {
        gap: 0.75rem;
    }
    
    .about-feature {
        font-size: 0.9rem;
    }
    
    /* Fix requirements cards on mobile */
    .requirements-card {
        padding: 1.5rem;
    }
    
    .requirements-list li {
        font-size: 0.85rem;
    }
    
    /* Fix FAQ on mobile */
    .faq-question {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Fix newsletter on mobile */
    .newsletter-icon {
        width: 60px;
        height: 60px;
    }
    
    .newsletter-icon svg {
        width: 28px;
        height: 28px;
    }
}

/* Extra small screens (phones in portrait) */
@media (max-width: 480px) {
    /* Hero adjustments */
    .hero {
        padding: 5rem 1rem 2rem;
        min-height: auto;
    }
    
    .hero-badge {
        font-size: 0.65rem;
        padding: 0.4rem 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    /* Fix buttons */
    .primary-btn,
    .secondary-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
    
    /* Fix feature cards */
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-desc {
        font-size: 0.9rem;
    }
    
    /* Fix powerup image size */
    .powerup-image {
        width: 100px;
        height: 100px;
    }
    
    /* Steam button */
    .steam-btn {
        padding: 1rem 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .steam-logo {
        width: 32px;
        height: 32px;
    }
    
    .steam-name {
        font-size: 1.2rem;
    }
    
    /* Fix footer */
    .footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-logo {
        width: 100px;
    }
    
    /* Fix language switcher position */
    .language-switcher {
        bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
        right: 0.75rem;
        padding: 0.35rem;
    }
    
    .lang-btn {
        padding: 0.4rem 0.5rem;
        font-size: 0.7rem;
    }
    
    /* Fix scroll indicator */
    .scroll-indicator {
        display: none;
    }
    
    /* Fix video container */
    .video-container {
        border-radius: 8px;
    }
    
    .gameplay-video {
        border-radius: 8px;
    }
    
    /* Fix lightbox on small screens */
    .lightbox-prev,
    .lightbox-next {
        width: 36px;
        height: 36px;
    }
    
    .lightbox-close {
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
        top: 1rem;
        right: 1rem;
    }
    
    .lightbox-prev {
        left: 0.5rem;
    }
    
    .lightbox-next {
        right: 0.5rem;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .preloader .hex-ring,
    .preloader-text,
    .scroll-animate,
    .section-header,
    .feature-card,
    .powerup-card,
    .screenshot-item,
    .cta-content {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
    }
    
    .back-to-top {
        transition: opacity 0.2s ease;
    }
    
    .primary-btn::after,
    .steam-btn::before,
    .hero-badge::after {
        animation: none;
    }
}
