/* ═══════════════════════════════════════════════
   SOLMAXXING — Livelier, Premium Solana Style v4
   ═══════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════
   SPLASH GATE
   ═══════════════════════════════════════════════ */
.splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #090014;
    transition: opacity .6s ease, visibility .6s ease;
}

.splash.gone {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-bgvid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .5;
    filter: saturate(1.5) brightness(.8);
}

.splash-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.splash-logo {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(193, 101, 255, .8));
    animation: float 4s ease-in-out infinite;
}

.splash-title {
    font-family: 'RaceSpace';
    font-size: clamp(2.5rem, 8vw, 5rem);
    letter-spacing: 6px;
    background: var(--grad-epic);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

.splash-btn {
    font-family: 'RaceSpace';
    font-size: 1.1rem;
    letter-spacing: 8px;
    padding: 18px 60px;
    background: var(--grad-premium);
    background-size: 200%;
    animation: gradMove 3s ease infinite;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all .3s;
    box-shadow: 0 10px 40px rgba(193, 101, 255, .4);
}

.splash-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 50px rgba(193, 101, 255, .6), 0 0 20px rgba(29, 252, 174, .4);
}

/* ── Fonts ── */
@font-face {
    font-family: 'RaceSpace';
    src: url('assets/fonts/RACESPACEREGULAR.otf') format('opentype');
    font-display: swap
}

@font-face {
    font-family: 'Racer';
    src: url('assets/fonts/RACER___.TTF') format('truetype');
    font-display: swap
}

/* ── Reset ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden
}

body {
    font-family: 'Racer', 'Segoe UI', sans-serif;
    background: #090014;
    /* slightly brighter dark base */
    color: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

::selection {
    background: rgba(20, 241, 149, .3);
    color: #fff
}

::-webkit-scrollbar {
    width: 6px
}

::-webkit-scrollbar-track {
    background: #090014
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d16aff, #1dfcae)
}

a {
    color: inherit;
    text-decoration: none
}

img,
video {
    display: block;
    max-width: 100%
}

/* ── Palette ── */
:root {
    --purple: #c165ff;
    /* Brighter, livelier */
    --green: #1dfcae;
    /* Livelier green */
    --pink: #ff59fc;
    --cyan: #00f5ff;
    --bg: #090014;
    --surface: rgba(20, 5, 35, .6);
    --border: rgba(193, 101, 255, .25);
    --text-dim: rgba(255, 255, 255, .6);
    --text-mid: rgba(255, 255, 255, .85);

    --grad-sol: linear-gradient(135deg, var(--purple) 0%, var(--green) 100%);
    --grad-premium: linear-gradient(135deg, #9b30ff 0%, var(--pink) 33%, var(--cyan) 66%, var(--green) 100%);
    --grad-epic: linear-gradient(90deg, var(--purple), var(--pink), var(--cyan), var(--green), var(--purple));
}

/* ── Keyframes ── */
@keyframes shimmer {
    0% {
        background-position: 0 0
    }

    100% {
        background-position: 300% 0
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

@keyframes gradMove {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@keyframes glowBurst {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(193, 101, 255, .3)
    }

    50% {
        box-shadow: 0 0 80px rgba(193, 101, 255, .6), 0 0 120px rgba(29, 252, 174, .3)
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

@keyframes pulseGleam {

    0%,
    100% {
        opacity: .5;
        filter: brightness(1)
    }

    50% {
        opacity: .9;
        filter: brightness(1.5)
    }
}

@keyframes borderPulse {

    0%,
    100% {
        border-color: rgba(193, 101, 255, .2)
    }

    50% {
        border-color: rgba(29, 252, 174, .6)
    }
}

/* ── Scroll Reveal ── */
[data-r] {
    opacity: 0;
    transition: all .8s cubic-bezier(.22, 1, .36, 1)
}

[data-r="up"] {
    transform: translateY(50px)
}

[data-r="left"] {
    transform: translateX(-60px)
}

[data-r="right"] {
    transform: translateX(60px)
}

[data-r="scale"] {
    transform: scale(.9)
}

[data-r="fade"] {
    opacity: 0
}

[data-r].vis {
    opacity: 1;
    transform: none
}

/* ═══════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 52px;
    background: rgba(9, 0, 20, .6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    transition: all .3s;
}

.nav.scrolled {
    padding: 12px 52px;
    background: rgba(9, 0, 20, .9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .5);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 14px
}

.nav-left img {
    height: 36px;
    filter: drop-shadow(0 0 16px rgba(193, 101, 255, .8))
}

.nav-brand {
    font-family: 'RaceSpace';
    font-size: 1.4rem;
    letter-spacing: 2px;
    background: var(--grad-epic);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s linear infinite;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none
}

.nav-menu a {
    font-family: 'Racer';
    font-size: .78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-mid);
    position: relative;
    transition: color .3s;
}

.nav-menu a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--green)
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: width .3s;
    box-shadow: 0 0 10px var(--green);
}

.nav-menu a:hover::after {
    width: 100%
}

.buy-btn {
    font-family: 'RaceSpace';
    padding: 12px 34px;
    background: var(--grad-premium);
    background-size: 200%;
    animation: gradMove 3.5s ease infinite;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: .85rem;
    letter-spacing: 3px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all .3s;
    border-radius: 4px;
}

.buy-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 40px rgba(193, 101, 255, .6), 0 0 20px rgba(29, 252, 174, .4)
}

.buy-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
    transition: left .5s;
}

.buy-btn:hover::after {
    left: 100%
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: #fff;
    transition: all .3s;
    box-shadow: 0 0 5px var(--purple)
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px)
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px)
}

/* ═══════════════════════════════════════════════
   HERO 
   ═══════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 24px 60px;
}

/* More visible background video */
.hero-bgvid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.8;
    /* Vastly increased opacity */
    filter: saturate(2) contrast(1.2) brightness(1.2);
    /* Make it lively */
    mix-blend-mode: screen;
    /* Integrates beautifully with dark bg */
}

/* Reduced dark overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at center, transparent 30%, rgba(9, 0, 20, 0.6) 80%),
        linear-gradient(180deg, rgba(9, 0, 20, 0.2) 0%, transparent 40%, transparent 70%, rgba(9, 0, 20, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 940px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    max-width: 550px;
    width: 90%;
    margin: 0 auto 24px;
    filter: drop-shadow(0 10px 40px rgba(193, 101, 255, .6)) drop-shadow(0 0 80px rgba(0, 0, 0, .8));
}

/* Tagline with dark overlay background for readability */
.hero-tag {
    font-family: 'Racer';
    font-size: clamp(.8rem, 2vw, 1.1rem);
    color: #fff;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 44px;
    background: rgba(5, 0, 12, 0.65);
    /* Dark box */
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid rgba(193, 101, 255, .3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .6), inset 0 0 20px rgba(193, 101, 255, .1);
}

.hero-tag em {
    font-style: normal;
    color: var(--green);
    text-shadow: 0 0 15px var(--green)
}

/* ── Hero Embedded Player ── */
.hero-player-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
    border-radius: 12px;
    padding: 3px;
    /* Gradient border thickness */
    background: var(--grad-premium);
    background-size: 200%;
    animation: gradMove 5s linear infinite;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .8), 0 0 40px rgba(193, 101, 255, .4), 0 0 80px rgba(29, 252, 174, .2);
    transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}

.hero-player-wrapper:hover {
    transform: scale(1.02) translateY(-5px);
}

.hero-player {
    border-radius: 9px;
    background: #000;
    overflow: hidden;
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.hero-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 0, 20, .4);
    cursor: pointer;
    backdrop-filter: blur(2px);
    transition: all .4s;
}

.player-overlay.hide {
    opacity: 0;
    pointer-events: none
}

.play-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(29, 252, 174, .15);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(29, 252, 174, .4);
    transition: all .3s;
}

.play-circle:hover {
    background: rgba(29, 252, 174, .3);
    transform: scale(1.15);
    box-shadow: 0 0 50px rgba(29, 252, 174, .6)
}

.play-circle svg {
    width: 30px;
    height: 30px;
    fill: #fff;
    margin-left: 4px
}

/* Scroll hint */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: pulseGleam 2.5s ease-in-out infinite;
}

.hero-scroll span {
    font-size: .65rem;
    letter-spacing: 5px;
    color: rgba(255, 255, 255, .6);
    text-transform: uppercase;
    font-family: 'RaceSpace'
}

.hero-scroll i {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--green), transparent)
}

/* ═══════════════════════════════════════════════
   CA BAR
   ═══════════════════════════════════════════════ */
.ca {
    padding: 50px 24px;
    text-align: center;
    position: relative;
    background: rgba(9, 0, 20, .6);
    backdrop-filter: blur(20px);
    z-index: 4;
}

.ca::before,
.ca::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green), var(--purple), transparent);
}

.ca::before {
    top: 0;
}

.ca::after {
    bottom: 0;
}

.ca-label {
    font-family: 'RaceSpace';
    font-size: .8rem;
    letter-spacing: 8px;
    color: var(--text-mid);
    margin-bottom: 16px;
    text-transform: uppercase
}

.ca-pill {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 36px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
    cursor: pointer;
    transition: all .3s;
    animation: borderPulse 4s ease-in-out infinite;
}

.ca-pill:hover {
    background: rgba(29, 252, 174, .1);
    border-color: var(--green);
    box-shadow: 0 0 50px rgba(29, 252, 174, .3)
}

.ca-val {
    font-family: 'Racer', monospace;
    font-size: 1.1rem;
    color: var(--green);
    letter-spacing: 1px;
    word-break: break-all;
    user-select: all;
    text-shadow: 0 0 10px rgba(29, 252, 174, .5)
}

.ca-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--text-mid);
    transition: color .3s
}

.ca-pill:hover .ca-icon {
    color: var(--green)
}

.ca-msg {
    font-size: .7rem;
    color: var(--pink);
    margin-top: 10px;
    opacity: 0;
    transition: opacity .3s;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'RaceSpace'
}

.ca-msg.show {
    opacity: 1
}

/* ═══════════════════════════════════════════════
   LORE — Lively full-width alternating areas
   ═══════════════════════════════════════════════ */
.lore {
    position: relative;
    overflow: hidden;
}

.lore-bgvid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.25;
    /* more visible base video */
    filter: saturate(2) hue-rotate(-15deg) contrast(1.2);
    mix-blend-mode: color-dodge;
}

.lore::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, var(--bg), rgba(15, 0, 30, .8) 10%, rgba(5, 20, 30, .8) 50%, rgba(15, 0, 30, .8) 90%, var(--bg));
}

.lore-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 36px
}

.lore-hero-text {
    text-align: center;
    padding: 100px 0 60px;
}

.lore-hero-text h2 {
    font-family: 'RaceSpace';
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5));
}

.lore-hero-text h2 .pur {
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lore-hero-text h2 .grn {
    background: linear-gradient(90deg, var(--green), #a0ffcd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lore-hero-text .intro {
    font-family: 'Racer';
    font-size: 1.1rem;
    color: var(--text-mid);
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

/* ── Alternating Rows ── */
.lore-row {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .03);
}

.lore-row.flip {
    flex-direction: row-reverse
}

.lore-char {
    flex: 0 0 380px;
    position: relative;
}

.lore-char img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .8)) drop-shadow(0 0 40px rgba(193, 101, 255, .4));
    transition: transform .5s cubic-bezier(.22, 1, .36, 1), filter .5s;
    animation: float 6s ease-in-out infinite;
}

.lore-char:hover img {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .9)) drop-shadow(0 0 60px rgba(29, 252, 174, .5));
}

.lore-text {
    flex: 1;
    min-width: 0
}

.lore-text h3 {
    font-family: 'RaceSpace';
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 24px;
    background: var(--grad-epic);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradMove 8s linear infinite;
}

.lore-text p {
    font-family: 'Racer';
    font-size: 1rem;
    line-height: 2.4;
    color: var(--text-mid);
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}

.lore-text p strong {
    color: #fff;
    font-weight: normal;
    background: rgba(29, 252, 174, .1);
    padding: 0 5px;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(29, 252, 174, .2)
}

/* ── Lore divider ── */
.lore-divider {
    text-align: center;
    padding: 80px 24px;
    position: relative;
}

.lore-divider p {
    font-family: 'RaceSpace';
    font-size: clamp(1.6rem, 4vw, 3rem);
    background: var(--grad-premium);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradMove 5s linear infinite;
    line-height: 1.4;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .4));
}

/* ── Lore closer ── */
.lore-close {
    text-align: center;
    padding: 100px 0 120px;
}

.lore-close p {
    font-family: 'RaceSpace';
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

.lore-close .acc {
    color: var(--green);
    text-shadow: 0 0 30px var(--green)
}

/* ═══════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════ */
.gallery {
    padding: 110px 24px;
    background: linear-gradient(180deg, var(--bg), #0a0514);
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--grad-epic);
    box-shadow: 0 0 20px var(--purple);
}

.sec-title {
    font-family: 'RaceSpace';
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    text-align: center;
    letter-spacing: 8px;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, .9);
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1140px;
    margin: 0 auto;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, .05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
    aspect-ratio: 16/11;
    cursor: pointer;
    transition: all .4s cubic-bezier(.22, 1, .36, 1);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s, filter .6s
}

.gallery-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 10px 50px rgba(0, 245, 255, .3);
    transform: translateY(-8px)
}

.gallery-card:hover img {
    transform: scale(1.1);
    filter: brightness(1.1) saturate(1.3)
}

.gallery-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(9, 0, 20, .8));
    pointer-events: none;
}

/* ═══════════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════════ */
.marquee {
    padding: 80px 0;
    overflow: hidden;
    background: linear-gradient(180deg, #0a0514, var(--bg));
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.marquee-label {
    font-family: 'RaceSpace';
    font-size: clamp(.8rem, 1.5vw, 1rem);
    text-align: center;
    letter-spacing: 10px;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.marquee-track {
    display: flex;
    gap: 30px;
    animation: marquee 30s linear infinite;
    width: max-content
}

.marquee-track:hover {
    animation-play-state: paused
}

.m-card {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    padding: 20px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: all .3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}

.m-card:hover {
    border-color: var(--green);
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 15px 45px rgba(29, 252, 174, .3)
}

.m-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, .8))
}

.m-card:hover img {
    filter: drop-shadow(0 10px 25px rgba(29, 252, 174, .6))
}

/* ═══════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════ */
.cta {
    position: relative;
    padding: 140px 24px;
    text-align: center;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(29, 252, 174, .15), transparent 70%);
    pointer-events: none;
}

.cta h2 {
    font-family: 'RaceSpace';
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    background: var(--grad-epic);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradMove 5s linear infinite;
}

.cta .sub {
    font-family: 'Racer';
    font-size: 1.1rem;
    color: var(--text-mid);
    letter-spacing: 5px;
    margin-bottom: 60px;
    text-transform: uppercase
}

.cta-btn {
    font-family: 'RaceSpace';
    display: inline-block;
    padding: 24px 70px;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    letter-spacing: 6px;
    background: var(--grad-premium);
    background-size: 200% auto;
    animation: gradMove 3.5s ease infinite, glowBurst 3s ease-in-out infinite;
    color: #fff;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all .35s;
    border-radius: 6px;
}

.cta-btn:hover {
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 20px 70px rgba(193, 101, 255, .7), 0 0 30px var(--cyan)
}

.cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
    transition: left .6s;
}

.cta-btn:hover::after {
    left: 100%
}

/* ═══════════════════════════════════════════════
   SOCIALS
   ═══════════════════════════════════════════════ */
.socials {
    padding: 80px 24px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg), #05000a);
    position: relative;
    z-index: 2;
}

.socials-label {
    font-family: 'RaceSpace';
    font-size: 1rem;
    letter-spacing: 8px;
    color: var(--text-mid);
    margin-bottom: 32px
}

.socials-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap
}

.s-btn {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all .3s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .5);
}

.s-btn:hover {
    border-color: var(--pink);
    background: rgba(255, 89, 252, .15);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 15px 40px rgba(255, 89, 252, .4)
}

.s-btn svg {
    width: 28px;
    height: 28px;
    fill: var(--text-dim);
    transition: fill .3s
}

.s-btn:hover svg {
    fill: #fff
}

/* ═══════════════════════════════════════════════
   DISCLAIMER & FOOTER
   ═══════════════════════════════════════════════ */
.disclaimer {
    padding: 40px 24px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.disclaimer p {
    font-family: 'Racer';
    font-size: .65rem;
    color: rgba(255, 255, 255, .25);
    line-height: 2.2;
    letter-spacing: 1px
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, .05);
    padding: 30px 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #030006;
    position: relative;
    z-index: 2;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px
}

.footer-left img {
    height: 30px;
    filter: drop-shadow(0 0 10px rgba(193, 101, 255, .4))
}

.footer-left span {
    font-family: 'RaceSpace';
    font-size: .9rem;
    color: var(--text-mid);
    letter-spacing: 3px
}

.footer-copy {
    font-family: 'Racer';
    font-size: .7rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: 2px
}

/* ═══════════════════════════════════════════════
   LIVELY AMBIENT
   ═══════════════════════════════════════════════ */
.orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(130px)
}

/* Larger and more opaque orbs for lively vibes */
.orb-a {
    width: 600px;
    height: 600px;
    background: var(--purple);
    top: 5%;
    left: -10%;
    opacity: .15;
    animation: float 12s ease-in-out infinite
}

.orb-b {
    width: 500px;
    height: 500px;
    background: var(--cyan);
    top: 45%;
    right: -10%;
    opacity: .15;
    animation: float 14s ease-in-out infinite reverse
}

.orb-c {
    width: 550px;
    height: 550px;
    background: var(--green);
    bottom: -5%;
    left: 15%;
    opacity: .12;
    animation: float 16s ease-in-out infinite
}

/* ═══════════════════════════════════════════════
   RESPONSIVE (Mobile fixes)
   ═══════════════════════════════════════════════ */
@media(max-width:960px) {
    .lore-row {
        flex-direction: column !important;
        gap: 40px;
        text-align: center;
        padding: 50px 0
    }

    .lore-char {
        flex: 0 0 auto;
        max-width: 300px;
        margin: 0 auto
    }

    .lore-text h3 {
        text-align: center
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px
    }
}

@media(max-width:768px) {
    .nav {
        padding: 14px 20px
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        background: rgba(9, 0, 20, .98);
        backdrop-filter: blur(25px);
        padding: 40px;
        gap: 35px;
        border-left: 1px solid rgba(255, 255, 255, .1);
        transition: right .4s cubic-bezier(.22, 1, .36, 1);
    }

    .nav-menu.open {
        right: 0
    }

    .nav-toggle {
        display: flex
    }

    .hero {
        min-height: 100svh;
        padding: 110px 20px 50px
    }

    .hero-title {
        max-width: 320px
    }

    .hero-tag {
        font-size: .85rem;
        letter-spacing: 3px;
        padding: 10px 16px;
        margin-bottom: 30px
    }

    .hero-player-wrapper {
        max-width: 100%;
        border-radius: 8px;
    }

    .play-circle {
        width: 60px;
        height: 60px
    }

    .play-circle svg {
        width: 24px;
        height: 24px
    }

    .lore-inner {
        padding: 0 24px
    }

    .lore-char {
        max-width: 260px
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .m-card {
        width: 110px;
        height: 110px;
        padding: 15px;
        border-radius: 12px
    }

    .cta-btn {
        padding: 20px 40px;
        font-size: 1.1rem;
        letter-spacing: 3px
    }

    .footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 24px 20px
    }
}

@media(max-width:480px) {
    .nav-brand {
        font-size: 1.1rem
    }

    .nav-left img {
        height: 28px
    }

    .hero-title {
        max-width: 280px
    }

    .hero-tag {
        font-size: .7rem;
        letter-spacing: 2px
    }

    .ca-val {
        font-size: .85rem
    }

    .ca-pill {
        padding: 12px 20px;
        gap: 10px
    }

    .lore-hero-text h2 {
        font-size: 2.4rem
    }

    .lore-text h3 {
        font-size: 1.4rem
    }

    .lore-char {
        max-width: 220px
    }
}