/* FORCE DEFAULT CURSOR */
*, *::before, *::after { cursor: auto !important; }
body, html { cursor: default !important; }
a, button, [role="button"] { cursor: pointer !important; }

/* ===========================================
   SUBCONSCIOUS GAMES - Premium Stylesheet
   "Genius-Level" Website Design
   =========================================== */

/* CSS Custom Properties */
:root {
    /* Colors - Rich, vibrant palette */
    --color-bg-dark: #050508;
    --color-bg-primary: #0a0a12;
    --color-bg-secondary: #12121f;
    --color-bg-tertiary: #1a1a2e;

    --color-accent-primary: #00d4ff;
    --color-accent-secondary: #7b2cbf;
    --color-accent-tertiary: #e040fb;
    --color-accent-gold: #ffd700;
    --color-accent-green: #00ff88;

    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.75);
    --color-text-muted: rgba(255, 255, 255, 0.5);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 50%, #e040fb 100%);
    --gradient-primary-reverse: linear-gradient(135deg, #e040fb 0%, #7b2cbf 50%, #00d4ff 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(123, 44, 191, 0.3) 100%);
    --gradient-dark: linear-gradient(180deg, #050508 0%, #0a0a12 50%, #12121f 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Orbitron', sans-serif;
    --font-modern: 'Space Grotesk', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 20px;

    /* Shadows */
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.3);
    --shadow-deep: 0 25px 80px rgba(0, 0, 0, 0.5);
}

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

/* Prevent any horizontal overflow */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Prevent iOS text size inflation */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg-dark);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Safe area for notched devices */
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

/* Custom cursor only when JS successfully loads it */
body.custom-cursor-active {
    cursor: default !important;
}

/* Respect user's motion preferences */
@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;
    }

    .cursor,
    .noise-overlay,
    #particles {
        display: none !important;
    }
}

body.loading {
    overflow: hidden;
}

body.loaded .cursor { display: none !important; visibility: hidden !important;
    opacity: 1;
}

/* Custom Scrollbar - Thin and elegant */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-accent-primary), var(--color-accent-secondary));
    border-radius: 3px;
}

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

/* Selection */
::selection {
    background: var(--color-accent-primary);
    color: var(--color-bg-dark);
}

/* ===========================================
   Loading Screen - Impressive Entry
   =========================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-dark);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.loader-logo {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.loader-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.loader-circle {
    fill: none;
    stroke: var(--color-accent-primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: loaderCircle 2s ease-out forwards;
}

@keyframes loaderCircle {
    0% {
        stroke-dashoffset: 283;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.loader-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
}

.loader-progress {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.loader-progress-bar {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 1px;
    animation: loaderProgress 2s ease-out forwards;
}

@keyframes loaderProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

.loader-status {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: pulse 1.5s ease-in-out infinite;
}

/* ===========================================
   Custom Cursor - Sleek and Modern
   =========================================== */
.cursor { display: none !important; visibility: hidden !important;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 100001;
    opacity: 0;
    transition: opacity 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-accent-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
}

.cursor-ring {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 212, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor.hover .cursor-dot {
    transform: translate(-50%, -50%) scale(2);
    background: var(--color-accent-tertiary);
}

.cursor.hover .cursor-ring {
    width: 60px;
    height: 60px;
    border-color: var(--color-accent-tertiary);
}

.cursor.click .cursor-dot {
    transform: translate(-50%, -50%) scale(0.5);
}

.cursor.click .cursor-ring {
    width: 30px;
    height: 30px;
}

/* Hide cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .cursor { display: none !important; visibility: hidden !important;
        display: none !important;
    }
    body {
        cursor: default !important;
    }
}

/* ===========================================
   Noise Overlay - Texture
   =========================================== */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ===========================================
   Particle Canvas
   =========================================== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ===========================================
   Navigation - Floating Glass Effect
   =========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    background: rgba(5, 5, 8, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.nav.scrolled {
    padding: 0.75rem 2rem;
    background: rgba(5, 5, 8, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    display: flex;
    gap: 0.5rem;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
    transition: var(--transition-normal);
}

.nav-logo:hover {
    transform: scale(1.02);
}

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

.logo-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-link {
    position: relative;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: var(--transition-normal);
    overflow: hidden;
}

.nav-link span {
    position: relative;
    z-index: 1;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    border-radius: 6px;
}

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

.nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-contact {
    background: var(--gradient-primary);
    color: var(--color-bg-dark) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition-spring);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.nav-contact:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

.nav-steam {
    background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
    color: #66c0f4 !important;
    border: 1px solid #66c0f4;
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
}

.nav-steam:hover {
    background: linear-gradient(135deg, #2a475e 0%, #1b2838 100%);
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(102, 192, 244, 0.4);
}

.nav-steam::before {
    display: none;
}

/* Discord Link */
.nav-discord {
    background: linear-gradient(135deg, #5865F2 0%, #7289da 100%);
    color: #fff !important;
    border: 1px solid #5865F2;
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
}

.nav-discord:hover {
    background: linear-gradient(135deg, #7289da 0%, #5865F2 100%);
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.nav-discord::before {
    display: none;
}

/* Linktree Link */
.nav-linktree {
    background: linear-gradient(135deg, #43e660 0%, #1c8a2e 100%);
    color: #fff !important;
    border: 1px solid #43e660;
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
}

.nav-linktree:hover {
    background: linear-gradient(135deg, #1c8a2e 0%, #43e660 100%);
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(67, 230, 96, 0.4);
}

.nav-linktree::before {
    display: none;
}


/* Sound Toggle Button */
.sound-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-normal);
    margin-left: 1rem;
}

.sound-toggle:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
    transform: scale(1.1);
}

.sound-toggle .sound-icon {
    width: 18px;
    height: 18px;
    stroke: var(--color-text-primary);
    transition: var(--transition-normal);
}

.sound-toggle .sound-off {
    display: none;
}

.sound-toggle.muted .sound-on {
    display: none;
}

.sound-toggle.muted .sound-off {
    display: block;
    stroke: var(--color-text-muted);
}

.sound-toggle.muted {
    opacity: 0.6;
}

/* Mobile Menu Button */
.nav-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    background: none;
    border: none;
}

.nav-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 1px;
    transition: var(--transition-normal);
}

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

/* Background Layers */
.hero-bg-layers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-gradient-1 {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(123, 44, 191, 0.15) 0%, transparent 50%);
    animation: gradientMove1 20s ease-in-out infinite;
}

.hero-gradient-2 {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 70% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    animation: gradientMove2 25s ease-in-out infinite;
}

@keyframes gradientMove1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(5%, 5%) rotate(5deg); }
}

@keyframes gradientMove2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-5%, -5%) rotate(-5deg); }
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(180deg, transparent 0%, white 30%, white 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, white 30%, white 70%, transparent 100%);
}

/* Hero Content */
.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--color-accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--color-accent-green);
}

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

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo-image {
    max-width: 450px;
    width: 90%;
    height: auto;
    filter: drop-shadow(0 0 60px rgba(0, 212, 255, 0.4));
    animation: logoFloat 6s ease-in-out infinite, logoGlow 4s ease-in-out infinite;
}

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

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.4)); }
    50% { filter: drop-shadow(0 0 80px rgba(0, 212, 255, 0.6)) drop-shadow(0 0 120px rgba(123, 44, 191, 0.4)); }
}

.hero-title {
    font-family: var(--font-modern);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.gradient-text {
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-bg-dark);
    box-shadow: 0 4px 30px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 50px rgba(0, 212, 255, 0.5);
}

.btn-primary .btn-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-bg-dark);
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon svg {
    transform: translateX(4px);
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover .btn-glow {
    width: 300px;
    height: 300px;
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.scroll-indicator {
    width: 26px;
    height: 40px;
}

.scroll-mouse {
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 13px;
    position: relative;
}

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

@keyframes scrollWheel {
    0%, 100% { opacity: 1; top: 6px; }
    50% { opacity: 0.3; top: 18px; }
}

.scroll-text {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Floating Elements */
.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    filter: blur(60px);
}

.float-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 5%;
    animation: float1 15s ease-in-out infinite;
}

.float-2 {
    width: 300px;
    height: 300px;
    top: 60%;
    right: 10%;
    animation: float2 18s ease-in-out infinite;
}

.float-3 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 30%;
    animation: float3 12s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 20px); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -30px); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, -15px); }
}

/* ===========================================
   Reveal Animations
   =========================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================
   Sections Common
   =========================================== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem;
    width: 100%;
    box-sizing: border-box;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent-primary);
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.section-title {
    font-family: var(--font-modern);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

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

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

/* ===========================================
   Games Section
   =========================================== */
.games {
    position: relative;
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-primary) 50%, var(--color-bg-secondary) 100%);
}

.game-showcase {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

/* Premium Game Card with Tilt */
.game-card {
    position: relative;
    max-width: 900px;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease-out, box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.game-card:hover {
    box-shadow:
        0 40px 100px rgba(0, 212, 255, 0.15),
        0 20px 50px rgba(123, 44, 191, 0.1);
}

.game-card-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.03) 45%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.03) 55%,
        transparent 60%
    );
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    pointer-events: none;
}

.game-card:hover .game-card-shine {
    transform: translateX(100%);
}

.game-card-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(123, 44, 191, 0.3), rgba(0, 212, 255, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.game-card:hover .game-card-border {
    opacity: 1;
}

.game-card-content {
    padding: 2.5rem 3rem 3rem;
    z-index: 1;
}

/* Game Header */
.game-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.game-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    text-transform: uppercase;
}

.badge-live {
    background: rgba(0, 255, 136, 0.15);
    color: var(--color-accent-green);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.badge-pulse {
    width: 6px;
    height: 6px;
    background: var(--color-accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.badge-rating {
    background: rgba(255, 215, 0, 0.15);
    color: var(--color-accent-gold);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.badge-rating svg {
    fill: var(--color-accent-gold);
}

.game-platform {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

/* Game Title with Character Animation */
.game-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: 6px;
    margin-bottom: 0.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    overflow: visible;
}

.title-char {
    display: inline-block;
}

.game-card:hover .title-char {
    animation: charBounce 0.6s ease calc(var(--i) * 0.05s);
}

@keyframes charBounce {
    0% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

.game-tagline {
    font-size: 1.05rem;
    color: var(--color-accent-primary);
    font-weight: 500;
    margin-bottom: 1.25rem;
    font-style: italic;
    opacity: 0.9;
}

.game-description {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.75rem;
    max-width: 540px;
}

/* Game Features */
.game-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.9rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition-normal);
}

.feature:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.15);
    transform: translateX(3px);
}

.feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 8px;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-accent-primary);
}

.feature span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

/* Store Section */
.store-section {
    margin-bottom: 1.25rem;
}

.store-section:last-child {
    margin-bottom: 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.store-coming-soon .store-label {
    color: var(--color-accent-primary);
}

.store-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Store Button Base */
.store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.store-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.store-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.store-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: inherit;
}

.store-price {
    font-size: 0.75rem;
    opacity: 0.8;
}

.store-status {
    font-size: 0.7rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Steam Button */
.store-steam {
    background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
    color: #66c0f4;
    border-color: rgba(102, 192, 244, 0.2);
}

.store-steam:hover {
    background: linear-gradient(135deg, #2a475e 0%, #3d6a8e 100%);
    border-color: rgba(102, 192, 244, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 192, 244, 0.25);
}

.store-steam .store-icon {
    fill: #66c0f4;
}

/* Humble Bundle Button */
.store-humble {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #e85050;
    border-color: rgba(232, 80, 80, 0.2);
}

.store-humble:hover {
    background: linear-gradient(135deg, #2d2d2d 0%, #3d3d3d 100%);
    border-color: rgba(232, 80, 80, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 80, 80, 0.2);
}

.store-humble .store-icon {
    fill: #e85050;
}

/* Epic Games Button */
.store-epic {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
}

.store-epic:hover {
    background: linear-gradient(135deg, #2d2d2d 0%, #3d3d3d 100%);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.store-epic .store-icon {
    fill: #ffffff;
}

/* Nintendo Switch Button */
.store-switch {
    background: linear-gradient(135deg, #e60012 0%, #c4000f 100%);
    color: #ffffff;
    border-color: rgba(230, 0, 18, 0.4);
    cursor: default;
}

.store-switch:hover {
    background: linear-gradient(135deg, #ff1a1a 0%, #e60012 100%);
    border-color: rgba(230, 0, 18, 0.6);
}

/* Coming Soon Section Styling */
.store-coming-soon .store-btn {
    opacity: 0.85;
}

.store-coming-soon .store-btn:hover {
    opacity: 1;
}

/* Game Card Visual */
.game-card-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1.5rem 0;
    order: -1; /* Put image on top */
}

.visual-frame {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.game-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    filter: drop-shadow(0 10px 40px rgba(0, 212, 255, 0.3));
    transition: filter 0.4s ease, transform 0.4s ease;
}

.game-card:hover .game-image {
    filter: drop-shadow(0 20px 60px rgba(0, 212, 255, 0.5));
    transform: scale(1.02);
}

.visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 200px;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(40px);
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
}

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

/* ===========================================
   Demo Button
   =========================================== */
.demo-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.demo-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

/* Subtle pulse animation for demo button */
@keyframes demoPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(0, 255, 136, 0.4); }
}

.demo-btn {
    animation: demoPulse 3s ease-in-out infinite;
}

.demo-btn:hover {
    animation: none;
}

.demo-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-icon svg {
    width: 20px;
    height: 20px;
    stroke: #0a0a12;
    fill: #0a0a12;
}

.demo-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.demo-label {
    font-size: 0.75rem;
    color: rgba(10, 10, 18, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.demo-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a0a12;
    letter-spacing: 1px;
}

/* ===========================================
   Steam Widget Section
   =========================================== */
.steam-widget-section {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.steam-widget {
    width: 100%;
    max-width: 646px;
    height: 190px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: none;
}

/* ===========================================
   Community Links
   =========================================== */
.community-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.community-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.discord-btn {
    background: #5865F2;
    color: #fff;
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

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

/* ===========================================
   Sticky CTA Bar
   =========================================== */
.sticky-cta {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.875rem 2rem;
    z-index: 1000;
    transition: bottom 0.4s ease;
}

.sticky-cta.visible {
    bottom: 0;
}

.sticky-cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.sticky-cta-text {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.sticky-cta-text strong {
    color: var(--color-accent-primary);
}

.sticky-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
    color: #0a0a12;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sticky-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

/* Subtle attention animation for sticky CTA */
@keyframes stickyPulse {
    0%, 100% { box-shadow: 0 2px 10px rgba(0, 212, 255, 0.2); }
    50% { box-shadow: 0 2px 15px rgba(0, 255, 136, 0.3); }
}

.sticky-cta-btn {
    animation: stickyPulse 2.5s ease-in-out infinite;
}

.sticky-cta-btn:hover {
    animation: none;
}

@media (max-width: 600px) {
    .sticky-cta {
        padding: 0.75rem 1rem;
    }

    .sticky-cta-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .sticky-cta-text {
        font-size: 0.8rem;
    }

    .sticky-cta-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

/* ===========================================
   Screenshots Section
   =========================================== */
.screenshots-section {
    margin-top: 6rem;
    text-align: center;
}

.screenshots-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-family: var(--font-modern);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.screenshots-title .title-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

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

.screenshot-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.screenshot-inner {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.screenshot-item:hover .screenshot-inner {
    border-color: var(--color-accent-primary);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.2);
    transform: translateY(-5px);
}

.screenshot-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.screenshot-zoom {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.screenshot-item:hover .screenshot-zoom {
    transform: scale(1);
}

.screenshot-zoom svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

/* ===========================================
   Reviews Section
   =========================================== */
.reviews {
    position: relative;
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
}

/* Stats Cards */
.reviews-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: var(--transition-normal);
}

.stat-card:hover {
    background: rgba(0, 212, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-5px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0.75rem 0;
}

.stat-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 1rem;
}

.stat-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 1.5s ease;
}

.stat-card.revealed .stat-fill {
    width: var(--fill);
}

/* Reviews Carousel */
.reviews-carousel {
    overflow: hidden;
}

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

.review-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: var(--transition-normal);
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-5px);
}

.review-rating {
    margin-bottom: 1rem;
}

.review-rating .star {
    color: var(--color-accent-gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-text {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
    border: none;
    padding: 0;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.review-source {
    color: var(--color-text-muted);
}

.review-hours {
    color: var(--color-accent-primary);
    font-weight: 500;
}

/* ===========================================
   About Section
   =========================================== */
.about {
    position: relative;
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
}


    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        margin: 0 auto 4rem;
    }

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    perspective: 1000px;
}

.about-card-inner {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-normal);
    transform-style: preserve-3d;
}

.about-card:hover .about-card-inner {
    background: rgba(0, 212, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-10px);
}

.about-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.about-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-accent-primary);
}

.about-card h3 {
    font-family: var(--font-modern);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

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

/* About Statement */
.about-statement {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 4rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
}

.statement-quote {
    position: absolute;
    top: -20px;
    left: 40px;
    font-family: serif;
    font-size: 6rem;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.5;
}

.about-statement p {
    color: var(--color-text-secondary);
    font-size: 1.15rem;
    line-height: 2;
    text-align: center;
}

.about-statement .highlight {
    color: var(--color-accent-primary);
    font-weight: 600;
}

/* ===========================================
   FAQ Section
   =========================================== */
.faq {
    position: relative;
    background: var(--color-bg-primary);
    padding: 6rem 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-item.active {
    border-color: rgba(0, 212, 255, 0.4);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-family: var(--font-modern);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin: 0;
    padding-right: 1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--color-accent-primary);
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

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

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

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

.faq-answer a {
    color: var(--color-accent-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.faq-answer a:hover {
    color: var(--color-accent-tertiary);
    text-decoration: underline;
}

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

/* ===========================================
   Newsletter Section
   =========================================== */
.newsletter-section {
    position: relative;
    background: var(--color-bg-primary);
    padding: 6rem 2rem;
}

.newsletter-embed-container {
    display: flex;
    justify-content: center;
    max-width: 650px;
    margin: 0 auto;
}

.newsletter-embed-container .beehiiv-embed {
    width: 100%;
    max-width: 602px;
    height: 221px;
    border: none;
    border-radius: 12px;
    background: transparent;
}

@media (max-width: 640px) {
    .newsletter-embed-container .beehiiv-embed {
        height: 280px;
    }
}

/* ===========================================
   Contact Section
   =========================================== */
.contact {
    position: relative;
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-dark) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

.contact-info .section-tag {
    margin-bottom: 1.5rem;
}

.contact-title {
    font-family: var(--font-modern);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-subtitle {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: var(--color-accent-primary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.contact-email:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--color-accent-primary);
    transform: translateX(10px);
}

.email-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
}

.email-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-accent-primary);
}

/* Quick Links */
.contact-links h3 {
    font-family: var(--font-modern);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.links-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: var(--transition-normal);
}

.quick-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
    transform: translateX(10px);
}

.quick-link svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-text-muted);
    fill: none;
    transition: stroke 0.3s ease;
}

.quick-link:hover svg {
    stroke: var(--color-accent-primary);
}

/* ===========================================
   Footer
   =========================================== */
.footer {
    position: relative;
    padding: 4rem 2rem 5rem; /* Extra bottom padding for sticky CTA */
    background: var(--color-bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

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

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    display: flex;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 3px;
}

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

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: var(--transition-spring);
}

.social-link img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(0.6);
    transition: filter 0.3s ease;
}

.social-link:hover {
    background: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
    transform: translateY(-5px);
}

.social-link:hover img {
    filter: brightness(0) invert(0.1);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: center;
}

.footer-legal {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    line-height: 1.5;
    text-align: center;
    max-width: 900px;
}

.footer-legal-secondary {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-credit {
    color: var(--color-text-muted);
}

.footer-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 200px;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ===========================================
   Lightbox
   =========================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* iOS/modern mobile browsers: use dynamic viewport height when available */
    height: 100dvh;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
}

.lightbox-content {
    position: relative;
    max-width: calc(100vw - 120px);
    max-height: 90vh;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
}

.lightbox-caption {
    text-align: center;
    color: var(--color-text-secondary);
    margin-top: 1.5rem;
    font-size: 1rem;
}

.lightbox-counter {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition-normal);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.lightbox-close:hover {
    background: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
    transform: rotate(90deg);
}

.lightbox-close:hover svg {
    stroke: var(--color-bg-dark);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    touch-action: manipulation;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition-normal);
}

.lightbox-nav svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-nav:hover {
    background: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
}

.lightbox-nav:hover svg {
    stroke: var(--color-bg-dark);
}

/* ===========================================
   Magnetic Button Effect
   =========================================== */
[data-magnetic] {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===========================================
   Responsive Design
   =========================================== */
@media (max-width: 1024px) {
    .game-card {
        grid-template-columns: 1fr;
    }

    .game-card-visual {
        order: -1;
        padding: 2rem;
    }

    .game-card-content {
        text-align: center;
    }

    .game-header {
        justify-content: center;
    }

    .game-features {
        justify-content: center;
    }

    .game-cta-group {
        justify-content: center;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-stats {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 4rem;
    }

    .reviews-track {
        grid-template-columns: 1fr;
    }

    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        margin: 0 auto 4rem;
    }


    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-links h3 {
        text-align: center;
    }

    .links-grid {
        align-items: center;
    }

    .quick-link {
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }
}

/* Nav switches to hamburger at 1024px - prevents overflow */
@media (max-width: 1024px) {
    .nav {
        padding: 0.75rem 1rem;
    }

    .nav-links {
        display: none;
    }

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

    /* Keep logo left, controls right */
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* Group sound toggle and hamburger together on right */
    .sound-toggle {
        margin-left: auto;
        margin-right: 0.75rem;
    }

    .nav-logo {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    /* Larger touch targets */
    .nav-menu-btn {
        padding: 12px;
        min-width: 44px;
        min-height: 44px;
    }

    .sound-toggle {
        min-width: 44px;
        min-height: 44px;
    }

    /* Contact section stacks */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

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

    .hero-logo-image {
        max-width: 300px;
    }
.about-grid {        grid-template-columns: 1fr;        max-width: 500px;    }

    .game-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        letter-spacing: 2px;
        /* Prevent mobile/tablet clipping inside the card */
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        white-space: normal;
    }

    .game-features {
        grid-template-columns: 1fr;
    }

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

    .store-section {
        flex-direction: column;
        align-items: center;
    }

    .store-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Demo button mobile */
    .demo-section {
        margin-top: 1rem;
        padding-top: 1rem;
    }

    .demo-btn {
        padding: 0.875rem 1.5rem;
        gap: 0.75rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .demo-icon {
        width: 36px;
        height: 36px;
    }

    .demo-title {
        font-size: 1.1rem;
    }

    /* Steam widget mobile */
    .steam-widget-section {
        margin-top: 1.5rem;
        padding: 0 1rem;
    }

    .steam-widget {
        width: 100%;
        max-width: 100%;
        height: 190px;
    }

    /* Community links mobile */
    .community-links {
        margin-top: 1rem;
    }

    .community-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    /* FAQ mobile */
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: 1rem 1.25rem;
    }

    .faq-question h3 {
        font-size: 0.95rem;
    }

    .faq-answer p {
        padding: 0 1.25rem 1rem;
        font-size: 0.9rem;
    }

    .footer-main {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        max-width: 100%;
    }

    .about-statement {
        padding: 2rem;
    }

    .statement-quote {
        position: static;
        display: block;
        font-size: 4rem;
        margin-bottom: -2rem;
    }

    /* Lightbox tablet fix */
    .lightbox-content {
        width: 100%;
        max-width: 100vw;
        max-height: 100vh;
        max-height: 100dvh;
        /* Reserve space for close + nav buttons while keeping content centered */
        padding: calc(70px + env(safe-area-inset-top)) calc(70px + env(safe-area-inset-right)) calc(50px + env(safe-area-inset-bottom)) calc(70px + env(safe-area-inset-left));
    }

    .lightbox-content img {
        max-width: 100%;
        /* Fit image + caption/counter within the viewport */
        max-height: calc(100vh - 220px);
        max-height: calc(100dvh - 220px);
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 4rem 1rem;
    }

    .game-card-content {
        /* More usable width on small phones so the title doesn't clip */
        padding: 1.25rem 1rem 1.5rem;
    }

    .game-title {
        /* Ensure CORNUCOPIA fits even on ~320px wide devices */
        font-size: clamp(1.05rem, 6.2vw, 1.65rem);
        letter-spacing: 1px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        white-space: normal;
        width: 100%;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

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

    .stat-suffix {
        font-size: 1.5rem;
    }

    /* Demo button small screens */
    .demo-btn {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .demo-icon {
        width: 32px;
        height: 32px;
    }

    .demo-text {
        align-items: center;
    }

    .demo-label {
        font-size: 0.7rem;
    }

    .demo-title {
        font-size: 1rem;
    }

    /* Steam widget small screens */
    .steam-widget {
        height: 190px;
        min-height: 190px;
    }

    /* Community button small screens */
    .community-btn {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
        gap: 0.5rem;
    }

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

    /* FAQ small screens */
    .faq-question h3 {
        font-size: 0.9rem;
    }

    .faq-answer p {
        font-size: 0.85rem;
    }

    /* Section titles small screens */
    .section-title {
        font-size: 1.75rem;
    }

    .contact-email {
        flex-direction: column;
        text-align: center;
    }

    /* Hero mobile */
    .hero {
        padding: 6rem 1rem 3rem;
        min-height: auto;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.4rem 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    /* Newsletter mobile */
    .newsletter-native {
        margin: 0 auto;
        max-width: 100%;
    }

    .newsletter-btn {
        width: 100%;
        justify-content: center;
    }

    /* Nav logo mobile */
    .nav-logo {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    .nav {
        padding: 0.5rem 0.75rem;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
    }

    .lightbox-prev {
        left: calc(10px + env(safe-area-inset-left));
    }

    .lightbox-next {
        right: calc(10px + env(safe-area-inset-right));
    }

    /* Lightbox mobile centering fix */
    .lightbox {
        padding: 0;
        overflow: hidden;
    }

    .lightbox-content {
        width: 100%;
        max-width: 100vw;
        max-height: 100vh;
        max-height: 100dvh;
        /* Keep image/caption centered and avoid nav overlap */
        padding: calc(60px + env(safe-area-inset-top)) calc(60px + env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) calc(60px + env(safe-area-inset-left));
        margin: 0;
        box-sizing: border-box;
    }

    .lightbox-content img {
        max-width: 100%;
        max-height: calc(100vh - 210px);
        max-height: calc(100dvh - 210px);
        width: auto;
        height: auto;
        margin: 0 auto;
        display: block;
        object-fit: contain;
    }

    .lightbox-caption {
        font-size: 0.85rem;
        padding: 0 10px;
        max-width: 100%;
        margin-top: 0.9rem;
    }

    .lightbox-counter {
        font-size: 0.75rem;
    }

    .lightbox-close {
        top: calc(10px + env(safe-area-inset-top));
        right: calc(10px + env(safe-area-inset-right));
        width: 40px;
        height: 40px;
    }
}

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

    html {
        scroll-behavior: auto;
    }

    .cursor { display: none !important; visibility: hidden !important;
        display: none;
    }

    body {
        cursor: default !important;
    }
}

/* ===========================================
   Easter Egg Effects
   =========================================== */

/* Achievement Popup - Desktop: small, right side */
.easter-achievement {
    position: fixed;
    top: 20px;
    right: 20px;
    left: auto;
    transform: translateX(20px);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 44, 191, 0.15));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    max-width: 280px;
}

.easter-achievement.show {
    opacity: 1;
    transform: translateX(0);
}

.achievement-icon {
    font-size: 1.5rem;
    animation: achievementBounce 0.6s ease;
}

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

.achievement-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent-primary);
    letter-spacing: 0.5px;
}

.achievement-subtitle {
    font-size: 0.7rem;
    color: var(--color-text-secondary);
    margin-top: 0.15rem;
}

/* Mobile achievement popup - even smaller, bottom position */
@media (max-width: 768px) {
    .easter-achievement {
        top: auto;
        bottom: 20px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 0.5rem 0.8rem;
        gap: 0.5rem;
        border-radius: 10px;
        transform: translateY(20px);
    }

    .easter-achievement.show {
        transform: translateY(0);
    }

    .achievement-icon {
        font-size: 1.2rem;
    }

    .achievement-title {
        font-size: 0.75rem;
    }

    .achievement-subtitle {
        font-size: 0.65rem;
    }
}

/* Floating Emojis */
.floating-emoji {
    position: fixed;
    bottom: -50px;
    animation: floatUp linear forwards;
    z-index: 9999;
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(-10vh) rotate(20deg) scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-110vh) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

/* Rainbow Mode */
.rainbow-mode {
    animation: rainbowShift 2s linear infinite;
}

@keyframes rainbowShift {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Party Mode */
.party-mode {
    animation: partyPulse 0.3s ease infinite;
}

@keyframes partyPulse {
    0%, 100% { filter: brightness(1) saturate(1); }
    50% { filter: brightness(1.1) saturate(1.3); }
}

.party-mode::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(255, 0, 0, 0.1),
        rgba(255, 127, 0, 0.1),
        rgba(255, 255, 0, 0.1),
        rgba(0, 255, 0, 0.1),
        rgba(0, 0, 255, 0.1),
        rgba(75, 0, 130, 0.1),
        rgba(148, 0, 211, 0.1)
    );
    background-size: 400% 400%;
    animation: gradientParty 1s ease infinite;
    pointer-events: none;
    z-index: 9998;
}

@keyframes gradientParty {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Logo Bark Effect */
.nav-logo.logo-bark {
    animation: logoBark 0.6s ease;
}

@keyframes logoBark {
    0% { transform: scale(1) rotate(0deg); }
    15% { transform: scale(1.15) rotate(-5deg); }
    30% { transform: scale(1.1) rotate(5deg); }
    45% { transform: scale(1.12) rotate(-3deg); }
    60% { transform: scale(1.08) rotate(3deg); }
    75% { transform: scale(1.05) rotate(-1deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.nav-logo.logo-bark .logo-text,
.nav-logo.logo-bark .logo-accent {
    animation: logoTextWiggle 0.6s ease;
}

@keyframes logoTextWiggle {
    0%, 100% { transform: translateY(0); }
    20% { transform: translateY(-3px); }
    40% { transform: translateY(2px); }
    60% { transform: translateY(-2px); }
    80% { transform: translateY(1px); }
}

/* Floating Paw Effect */
.floating-paw {
    position: fixed;
    font-size: 1.5rem;
    pointer-events: none;
    z-index: 10001;
    animation: pawFloat 1s ease-out forwards;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
}

@keyframes pawFloat {
    0% {
        opacity: 1;
        transform: scale(0) rotate(0deg);
    }
    30% {
        opacity: 1;
        transform: scale(1.3) rotate(20deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) rotate(-20deg) translateY(-60px);
    }
}

/* ===== NEW EASTER EGG EFFECTS ===== */

/* Harvest Item Explosion */
.harvest-item {
    position: fixed;
    font-size: 2rem;
    pointer-events: none;
    z-index: 10002;
    animation: harvestBurst 1.5s ease-out forwards;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
    transform-origin: center center;
}

@keyframes harvestBurst {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0) rotate(0deg);
    }
    20% {
        opacity: 1;
        transform: translate(calc(var(--tx) * 0.4), calc(var(--ty) * 0.4)) scale(1.3) rotate(180deg);
    }
    50% {
        opacity: 1;
        transform: translate(calc(var(--tx) * 0.8), calc(var(--ty) * 0.6)) scale(1) rotate(360deg);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), calc(var(--ty) + 150px)) scale(0.3) rotate(720deg);
    }
}

/* Game Image Click Animation */
.game-image-clicked {
    animation: gameImagePop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes gameImagePop {
    0% {
        transform: scale(1) rotate(0deg);
        filter: brightness(1) saturate(1);
    }
    20% {
        transform: scale(1.08) rotate(-2deg);
        filter: brightness(1.3) saturate(1.5);
    }
    40% {
        transform: scale(0.95) rotate(2deg);
        filter: brightness(1.2) saturate(1.3);
    }
    60% {
        transform: scale(1.05) rotate(-1deg);
        filter: brightness(1.1) saturate(1.2);
    }
    80% {
        transform: scale(0.98) rotate(0.5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        filter: brightness(1) saturate(1);
    }
}

/* Gravity Flip - Whole Page Flip */
.gravity-flip {
    animation: gravityFlipAnim 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes gravityFlipAnim {
    0% {
        transform: perspective(1000px) rotateX(0deg);
    }
    25% {
        transform: perspective(1000px) rotateX(90deg);
    }
    50% {
        transform: perspective(1000px) rotateX(180deg);
    }
    75% {
        transform: perspective(1000px) rotateX(270deg);
    }
    100% {
        transform: perspective(1000px) rotateX(360deg);
    }
}

/* Hero Title Spin Animation */
.hero-title-spin {
    animation: heroSpin 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

@keyframes heroSpin {
    0% {
        transform: scale(1) rotateY(0deg);
        filter: hue-rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotateY(90deg);
        filter: hue-rotate(90deg);
        text-shadow: 0 0 30px var(--color-accent-primary);
    }
    50% {
        transform: scale(1.2) rotateY(180deg);
        filter: hue-rotate(180deg);
        text-shadow: 0 0 50px var(--color-accent-secondary);
    }
    75% {
        transform: scale(1.1) rotateY(270deg);
        filter: hue-rotate(270deg);
        text-shadow: 0 0 30px var(--color-accent-primary);
    }
    100% {
        transform: scale(1) rotateY(360deg);
        filter: hue-rotate(360deg);
        text-shadow: none;
    }
}

/* Secret Click Counter Effect */
.secret-click-glow {
    animation: secretGlow 0.5s ease;
}

@keyframes secretGlow {
    0%, 100% {
        box-shadow: 0 0 0 rgba(0, 212, 255, 0);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 60px rgba(224, 64, 251, 0.3);
    }
}

/* Firework Particles */
.firework-particle {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10003;
    animation: fireworkBurst 1.5s ease-out forwards;
    box-shadow: 0 0 10px var(--color), 0 0 20px var(--color);
}

@keyframes fireworkBurst {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(calc(var(--tx) * 0.7), calc(var(--ty) * 0.7)) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), calc(var(--ty) + 50px)) scale(0);
    }
}

/* Warp Speed Effect */
.warp-speed {
    animation: warpPulse 0.3s ease infinite;
}

@keyframes warpPulse {
    0%, 100% {
        filter: blur(0px) brightness(1);
    }
    50% {
        filter: blur(1px) brightness(1.1);
    }
}

/* Speed Lines */
.speed-line {
    position: fixed;
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, transparent, var(--color-accent-primary), transparent);
    pointer-events: none;
    z-index: 10002;
    top: 0;
    animation: speedLineStretch 1s ease-out forwards;
}

@keyframes speedLineStretch {
    0% {
        height: 0;
        opacity: 0;
    }
    20% {
        height: 30vh;
        opacity: 1;
    }
    100% {
        height: 100vh;
        opacity: 0;
        transform: translateY(50vh);
    }
}

/* Spotlight Effect */
.spotlight-effect {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 9999;
    background: radial-gradient(
        circle at 50% 50%,
        transparent 0%,
        transparent 20%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    animation: spotlightPulse 2s ease-out forwards;
}

@keyframes spotlightPulse {
    0% {
        opacity: 0;
        background-size: 200% 200%;
    }
    30% {
        opacity: 1;
        background-size: 100% 100%;
    }
    70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Hero Logo Wiggle */
.hero-logo-wiggle {
    animation: heroLogoWiggle 0.6s ease;
}

@keyframes heroLogoWiggle {
    0% { transform: rotate(0deg) scale(1); }
    15% { transform: rotate(-10deg) scale(1.05); }
    30% { transform: rotate(10deg) scale(1.08); }
    45% { transform: rotate(-8deg) scale(1.05); }
    60% { transform: rotate(6deg) scale(1.03); }
    75% { transform: rotate(-3deg) scale(1.01); }
    100% { transform: rotate(0deg) scale(1); }
}

/* Easter Egg Hints */
.easter-egg-hints {
    font-size: 0.9rem;
    color: var(--color-accent-primary);
    opacity: 0.7;
    margin-top: 1.5rem;
    font-style: italic;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    animation: hintPulse 3s ease-in-out infinite;
    text-align: center;
}

.easter-egg-hints:hover {
    opacity: 1;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.9; }
}

.easter-egg-code-hint {
    font-size: 0.85rem;
    color: var(--color-accent-secondary);
    opacity: 0.8;
    margin-top: 0.5rem;
    font-family: var(--font-mono, monospace);
    letter-spacing: 1px;
    transition: all 0.5s ease;
    min-height: 1.2em;
    text-align: center;
}

.easter-egg-code-hint:hover {
    opacity: 1;
    color: var(--color-accent-primary);
}

/* ===========================================
   Newsletter Section
   =========================================== */
.contact-newsletter {
    text-align: center;
}

.newsletter-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.beehiiv-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.beehiiv-embed {
    display: block;
    height: 221px !important;
}

.newsletter-native {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-native h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-native p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.newsletter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--color-bg-dark);
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-spring);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.newsletter-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

.newsletter-btn svg {
    transition: transform 0.3s ease;
}

.newsletter-btn:hover svg {
    transform: translateX(4px);
}

/* Newsletter Responsive */
@media (max-width: 768px) {
    .newsletter-title {
        font-size: 1.25rem;
    }

    .beehiiv-embed {
        max-width: 100%;
        height: 250px;
    }

    .newsletter-native {
        padding: 1.5rem;
        max-width: 100%;
    }

    .newsletter-native h3 {
        font-size: 1.25rem;
    }

    .newsletter-native p {
        font-size: 0.9rem;
    }

    .newsletter-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .newsletter-title {
        font-size: 1.1rem;
    }

    .beehiiv-embed {
        height: 280px;
    }

    .newsletter-native {
        padding: 1.25rem;
    }

    .newsletter-native h3 {
        font-size: 1.1rem;
    }

    .newsletter-btn {
        font-size: 0.9rem;
        padding: 0.875rem 1.25rem;
    }
}

/* ===========================================
   Accessibility: Focus States
   =========================================== */
:focus-visible {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 3px;
}

:focus:not(:focus-visible) {
    outline: none;
}

.btn:focus-visible,
.store-btn:focus-visible,
.quick-link:focus-visible,
.social-link:focus-visible {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(0, 212, 255, 0.2);
}

.nav-link:focus-visible {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent-primary);
    color: var(--color-bg);
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    z-index: 100001;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}


/* ===========================================
   Mobile Menu Styles
   =========================================== */
@media (max-width: 1024px) {
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(5, 5, 8, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 99;
        padding: 100px 2rem 2rem;
        gap: 0.5rem;
        align-items: center;
        justify-content: flex-start;
        overflow-y: auto;
        animation: slideIn 0.3s ease-out;
    }
    
    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-links.active li {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .nav-links.active .nav-link,
    .nav-links.active .nav-contact {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .nav-links.active .nav-link:hover,
    .nav-links.active .nav-contact:hover {
        background: rgba(0, 212, 255, 0.1);
        border-color: var(--color-accent-primary);
        transform: translateY(-2px);
    }
    
    .nav-links.active .nav-linktree,
    .nav-links.active .nav-steam {
        background: linear-gradient(135deg, #43e660 0%, #1c8a2e 100%);
        border-color: #43e660;
    }
    
    .nav-links.active .nav-steam {
        background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
        border-color: #66c0f4;
    }
    
    .nav-links.active .nav-contact {
        background: var(--gradient-primary);
        border: none;
        color: #fff;
        font-weight: 600;
    }
    
    .nav-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .nav.menu-open {
        background: transparent;
    }
}



/* Linktree Icon in Footer */
.social-link[aria-label="Linktree"] img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.social-link[aria-label="Linktree"]:hover img {
    filter: brightness(0) saturate(100%) invert(77%) sepia(66%) saturate(497%) hue-rotate(83deg) brightness(104%) contrast(91%);
    transform: scale(1.1);
}

/* Enhanced Linktree nav button animation */
.nav-linktree {
    position: relative;
    overflow: hidden;
}

.nav-linktree::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: width 0.6s ease, height 0.6s ease;
}

.nav-linktree:hover::after {
    width: 300%;
    height: 300%;
}

