/* Base Styles & Typography */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;800;900&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary-text: #0F172A;
    /* Very dark slate */
    --secondary-text: #334155;
    /* Slate */
    --light-text: #64748B;
    /* Light slate */
    --bg-color: #F8FAFC;
    /* Off-white */

    /* Option 3: Story Driven Palette */
    --accent-primary: #3B82F6;
    /* Bright Blue */
    --accent-secondary: #8B5CF6;
    /* Purple */
    --accent-dark: #1E293B;

    --card-bg: #FFFFFF;
    --border-radius-lg: 32px;
    --border-radius-md: 24px;
    --border-radius-sm: 12px;

    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--primary-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
.logo,
.btn {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: opacity 0.4s ease, background 0.4s ease, backdrop-filter 0.4s ease;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--primary-text);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

nav a {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--secondary-text);
    transition: all 0.2s ease;
}

nav a:hover {
    color: var(--accent-primary);
}

.nav-btn {
    padding: 10px 24px;
    background: var(--accent-dark);
    color: white;
    border-radius: 100px;
}

.nav-btn:hover {
    background: var(--accent-primary);
    color: white;
}

/* Story Hero Section (Fullscreen Immersive Feel) */
.story-hero {
    min-height: 100vh;
    padding-top: 100px;
    /* Offset for fixed header */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgb(248, 250, 252) 0%, rgb(226, 232, 240) 100%);
}

/* --- Organic Particles --- */
.organic-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: floatParticle 20s infinite alternate ease-in-out;
}

.particle.p1 {
    width: 400px;
    height: 400px;
    background: #8B5CF6;
    top: -100px;
    left: -100px;
}

.particle.p2 {
    width: 300px;
    height: 300px;
    background: #3B82F6;
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
    animation-duration: 25s;
}

.particle.p3 {
    width: 250px;
    height: 250px;
    background: #0ea5e9;
    top: 40%;
    left: 40%;
    animation-delay: -10s;
    animation-duration: 18s;
}

.particle.p4 {
    width: 350px;
    height: 350px;
    background: #c084fc;
    top: 10%;
    right: 20%;
    animation-delay: -15s;
    animation-duration: 22s;
}

@keyframes floatParticle {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, 50px) scale(1.1);
    }

    100% {
        transform: translate(-30px, 80px) scale(0.9);
    }
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(59, 130, 246, 0.4);
}

.hero-content h1 span {
    color: var(--accent-primary);
}

.hero-content p {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    color: #f1f5f9;
    margin-bottom: 48px;
    max-width: 500px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Live Counter Integration */
.live-counter-pill {
    display: inline-flex;
    align-items: center;
    background: #fff;
    padding: 12px 24px;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 32px;
    gap: 16px;
}

.pulse-dot-small {
    width: 12px;
    height: 12px;
    background: #22C55E;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.lc-text {
    font-family: 'Outfit';
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-text);
}

.lc-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Action Buttons */
.store-actions {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: #fff;
    color: var(--primary-text);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    border-color: var(--primary-text);
    transform: translateY(-4px);
}

/* Hero Image Showcase */
.hero-showcase {
    position: relative;
}

/* Stat Badges for Hero Phone */
.stat-badge {
    position: absolute;
    z-index: 30;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    color: #fff;
    pointer-events: none;
    transform-style: preserve-3d;
}

.stat-badge .stat-val {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--accent-primary);
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    line-height: 1.2;
}

.stat-badge .stat-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-badge-1 {
    top: 15%;
    left: -40px;
    animation: float-badge 4s ease-in-out infinite alternate;
}

.stat-badge-2 {
    top: 50%;
    right: -50px;
    animation: float-badge 5s ease-in-out infinite alternate-reverse;
}

.stat-badge-3 {
    bottom: 20%;
    left: -30px;
    animation: float-badge 3.5s ease-in-out infinite alternate;
}

@keyframes float-badge {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    100% {
        transform: translateY(-15px) rotate(3deg);
    }
}

.phone-mockup {
    background: #000;
    border-radius: 44px;
    padding: 12px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 0 2px #475569,
        inset 0 0 0 4px #0f172a,
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    aspect-ratio: 736 / 1600;
    max-width: 320px;
    margin: 0 auto;
}

/* iPhone Notch / Dynamic Island */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 35%;
    height: 25px;
    background: #000;
    border-radius: 20px;
    z-index: 20;
    box-shadow: inset 0 -2px 5px rgba(255, 255, 255, 0.1);
}

/* Side Buttons */
.phone-mockup::after {
    content: '';
    position: absolute;
    left: -3px;
    top: 100px;
    width: 3px;
    height: 30px;
    background: #475569;
    border-radius: 3px 0 0 3px;
    box-shadow:
        0 50px 0 0 #475569,
        0 100px 0 0 #475569;
}

/* Tilt handles the hover 3D effect, so we remove the static hover transform here. */

.phone-screen {
    background: #0f172a;
    border-radius: 34px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
    isolation: isolate;
    /* Fixes safari/chrome border-radius overflow during transforms */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    /* Another hack for webkit overflow */
    transform: translateZ(0);
    /* Force hardware acceleration on the child itself */
}

/* Generic game placeholder blocks inside screen */
.screen-header {
    height: 60px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: white;
    font-family: 'Outfit';
    font-weight: bold;
}

.screen-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(10, 1fr);
    gap: 2px;
    padding: 10px;
}

.grid-cell {
    background: #222;
    border-radius: 4px;
}

.grid-cell.active-blue {
    background: #3B82F6;
}

.grid-cell.active-purple {
    background: #8B5CF6;
}

/* Story Sections (Scroll down features) */
.story-section {
    padding: 140px 0;
}

.story-section:nth-child(even) {
    background: #fff;
}

.story-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-row.reverse {
    grid-template-columns: 1fr 1fr;
}

.story-row.reverse .story-text {
    order: 2;
}

.story-row.reverse .story-visual {
    order: 1;
}

.story-text h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
    line-height: 1.1;
}

.story-text p {
    font-size: 1.25rem;
    color: var(--secondary-text);
    max-width: 480px;
}

.story-visual {
    position: relative;
}

/* Abstract visuals for features */
.feature-box {
    background: var(--bg-color);
    border-radius: var(--border-radius-lg);
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.feature-box.dark {
    background: #0F172A;
    color: white;
}

.abstract-blocks {
    display: flex;
    gap: 10px;
}

.block-shape {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--accent-primary);
    animation: float-block 3s ease-in-out infinite alternate;
}

.block-shape:nth-child(2) {
    background: var(--accent-secondary);
    animation-delay: 1s;
    height: 80px;
}

.block-shape:nth-child(3) {
    background: #10B981;
    animation-delay: 2s;
}

@keyframes float-block {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-20px);
    }
}

/* About / Footer Setup */
.studio-box {
    background: var(--accent-dark);
    color: white;
    text-align: center;
    padding: 100px 40px;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    margin-top: 60px;
}

.studio-box h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.studio-box p {
    font-size: 1.2rem;
    color: #94A3B8;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    color: #666;
    font-size: 0.9rem;
    background: #0B1120;
}

/* --- Themes Carousel (Side Controls) --- */
.themes-carousel-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.side-control:hover {
    background: var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
    border-color: var(--accent-primary);
    color: #fff;
}

.left-control {
    left: 20px;
}

.right-control {
    right: 20px;
}

.themes-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 40px;
    padding: 60px 80px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
    max-width: 100%;
}

.themes-carousel::-webkit-scrollbar {
    display: none;
}

.theme-slide {
    flex: 0 0 auto;
    scroll-snap-align: center;
    width: 250px;
}

.carousel-phone {
    width: 100%;
    height: auto;
    margin: 0;
    transition: transform 0.3s ease;
}

.theme-slide:hover .carousel-phone {
    transform: translateY(-10px);
}

.theme-screen {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.theme-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.theme-overlay {
    position: relative;
    z-index: 2;
    padding: 24px;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    backdrop-filter: blur(2px);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.theme-overlay h3 {
    font-size: 1.2rem;
    font-family: 'Outfit';
    margin: 0;
}

/* --- Luma League Leaderboard --- */
.bg-dark {
    background-color: #0B1120;
}

.text-light h2,
.text-light p {
    color: #fff;
}

.league-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    color: #C4B5FD;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    border: 1px solid rgba(139, 92, 246, 0.5);
}

.league-leaderboard-mockup {
    background: #1E293B;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Add a subtle glow behind the leaderboard */
.league-leaderboard-mockup::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.lb-header {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.lb-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
}

.lb-time {
    font-size: 0.85rem;
    color: #94A3B8;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
}

.lb-list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lb-item {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.lb-item:hover {
    transform: translateX(5px);
    background: rgba(30, 41, 59, 0.8);
}

.lb-item .rank {
    font-weight: 700;
    color: #64748B;
    font-size: 1.1rem;
}

.lb-item.rank-1 .rank {
    color: #F59E0B;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.lb-item.rank-2 .rank {
    color: #E2E8F0;
}

.lb-item.rank-3 .rank {
    color: #B45309;
}

.lb-item .player {
    font-weight: 600;
    color: #F8FAFC;
}

.lb-item .score {
    font-family: monospace;
    font-weight: 700;
    color: #38BDF8;
    font-size: 1.1rem;
}

.lb-item.highlight {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    border: 1px solid rgba(139, 92, 246, 0.4);
    margin-top: 10px;
}

.lb-item.highlight .player {
    color: #C4B5FD;
}

.lb-item.highlight .score {
    color: #C4B5FD;
}

/* Responsive constraints */
@media (max-width: 968px) {

    .hero-grid,
    .story-row,
    .story-row.reverse {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .story-row.reverse .story-text,
    .story-row.reverse .story-visual {
        order: unset;
        /* reset on mobile */
    }

    .hero-content p,
    .story-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .store-actions {
        justify-content: center;
    }

    nav ul {
        display: none;
    }
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0F172A;
    /* Dark premium background */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-logo {
    font-size: 2.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    letter-spacing: -1.5px;
    animation: pulseLogo 2s infinite ease-in-out;
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.preloader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: var(--accent-primary);
    border-radius: 4px;
    animation: loadingBar 1.5s infinite ease-in-out;
}

@keyframes pulseLogo {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes loadingBar {
    0% {
        left: -50%;
    }

    100% {
        left: 100%;
    }
}

/* Mouse Glow Tracker */
.mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1000;
    mix-blend-mode: color-dodge;
    will-change: transform;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body:hover .mouse-glow {
    opacity: 0.8;
}

/* Glitch Reveal Animation */
.glitch-reveal {
    opacity: 0;
    transform: translateY(20px) skewX(-10deg);
    filter: blur(10px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.glitch-reveal.is-revealed {
    opacity: 1;
    transform: translateY(0) skewX(0);
    filter: blur(0);
    animation: textGlitch 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes textGlitch {
    0% {
        clip-path: polygon(0 20%, 100% 20%, 100% 21%, 0 21%);
        transform: translate(2px, 2px);
    }

    20% {
        clip-path: polygon(0 33%, 100% 33%, 100% 33%, 0 33%);
        transform: translate(-2px, -2px);
    }

    40% {
        clip-path: polygon(0 44%, 100% 44%, 100% 44%, 0 44%);
        transform: translate(2px, -2px);
    }

    60% {
        clip-path: polygon(0 50%, 100% 50%, 100% 20%, 0 20%);
        transform: translate(-2px, 2px);
    }

    80% {
        clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
        transform: translate(2px, 2px);
    }

    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        transform: translate(0);
    }
}

/* Neon Glassmorphism Border */
.card-neon-border {
    position: relative;
    border: none !important;
    /* Override inline solid borders to let glow act as border */
}

.card-neon-border::before {
    content: "";
    position: absolute;
    inset: -3px;
    /* Slightly expand outwards */
    border-radius: inherit;
    padding: 3px;
    /* width of neon border */
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.4), rgba(245, 158, 11, 0.1), rgba(59, 130, 246, 0.1));
    background-size: 300% 100%;
    animation: neon-pan 6s linear infinite;
    /* Slower animation */
    -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;
    pointer-events: none;
    z-index: 10;
    filter: blur(2px);
    /* Soften the edges significantly */
}

@keyframes neon-pan {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}