@font-face {
    font-family: Bombardies;
    src: url('assets/Bombardies.otf');
}

:root {
    --bg: #070a12;
    --text: #eef3fb;
    --muted: #9aa7c4;
    --primary: #71f3ff;
    --accent: #7c4dff;
    --ring: rgba(124, 77, 255, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.22);
    --sheen: rgba(255, 255, 255, 0.6);
}


* {
    box-sizing: border-box;
}

html,
body {
    padding: 0;
    margin: 0;
    color: var(--text);
    background: radial-gradient(1200px 800px at 70% -10%, #0e1430, #070a12) no-repeat fixed;
    font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, Arial,
        sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

manrope-font {
    font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, Arial,
        sans-serif;
}

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

/* NAV makeover (centered brand, quantum ring icon) */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    backdrop-filter: saturate(1.2) blur(12px);
    background: linear-gradient(to bottom,
            rgba(7, 10, 18, 0.75),
            rgba(7, 10, 18, 0.25)),
        radial-gradient(800px 300px at 50% 0%,
            rgba(113, 243, 255, 0.06),
            transparent 70%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-center {
    display: inline-flex;
    align-items: center;
}

.brand-name {
    font-family: Bombardies;
    font-size: 30px;
    letter-spacing: 1.5px;
    background: linear-gradient(180deg, #eaf3ff, #bfe7ff 50%, #cbb7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 4px 24px rgba(113, 243, 255, 0.18),
        0 0 1px rgba(255, 255, 255, 0.8);
    position: relative;
    margin: -11px 0;
}


@keyframes glint {
    from {
        left: -120%;
    }

    to {
        left: 140%;
    }
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    perspective: 1400px;
    isolation: isolate;
    padding-top: 80px;
    padding-bottom: 40px;
}

.hero-stage {
    position: relative;
    width: 100%;
    max-width: min(75vw);
    max-height: min(85vh);
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.glass-card {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--glass-bg), rgba(0, 0, 0, 0.25));
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 1px 0 rgba(255, 255, 255, 0.25) inset;
    backdrop-filter: blur(14px) saturate(1.2);
    transform-style: preserve-3d;
    transform: rotateX(0) rotateY(0) translateZ(-100px);
    transition: transform 220ms ease, box-shadow 220ms ease;
    z-index: 1;
    pointer-events: auto;
}

.glass-card .video-host {
    position: absolute;
    inset: 10px;
    border-radius: 22px;
    overflow: hidden;
}

.glass-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05) contrast(1.05) brightness(0.5);
    transform: scale(1.2);
    transform-origin: center;
    pointer-events: none;
}



.hero-grid {
    position: absolute;
    inset: -20% -10% 0 -10%;
    top: 64%;
    height: 70vh;
    background:
        linear-gradient(to right,
            rgba(113, 243, 255, 0.3) 1px,
            transparent 1px) 0 0 / 100px 100%,
        linear-gradient(to top,
            rgba(124, 77, 255, 0.3) 1px,
            transparent 1px) 0 0 / 100% 100px;
    transform: rotateX(72deg);
    filter: drop-shadow(0 0 14px rgba(113, 243, 255, 0.25));
    animation: gridGlow 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes gridGlow {
    0% {
        opacity: 0.4;
        transform: rotateX(72deg) translateY(0);
    }

    100% {
        opacity: 0.75;
        transform: rotateX(72deg) translateY(-8px);
    }
}

.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
            #fff,
            rgba(255, 255, 255, 0.3) 40%,
            transparent 60%);
    box-shadow: 0 0 16px rgba(113, 243, 255, 0.55),
        0 0 30px rgba(124, 77, 255, 0.3);
    animation: float 8s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) scale(0.9);
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(-140vh) translateX(40px) scale(1);
        opacity: 0;
    }
}

.hero-text {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 2;
    pointer-events: none;
}

.hero-inner {
    text-align: center;
    align-items: center;
    padding: 24px;
    max-width: min(900px, 92vw);
    position: relative;
    z-index: 1;
    border-radius: 16px;
    backdrop-filter: blur(10px) saturate(1.2) brightness(0.9);
    background: linear-gradient(180deg,
            rgba(10, 14, 22, 0.45),
            rgba(10, 14, 22, 0.25));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    display: inline-block;
}

.hero-title {
    font-family: Purple Purse, serif;
    font-weight: 400;
    font-size: clamp(68px, 12vw, 160px);
    line-height: 0.9;
    letter-spacing: 1px;
    margin: 0;
    color: #f2f6ff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45),
        0 0 1px rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    animation: heroIn 1s ease forwards 200ms,
        titleGlow 4s ease-in-out infinite 1s;
}

.hero-title-video {
    height: clamp(68px, 18vw, 360px);
    width: auto;
    transform: translate(-2px);
    filter: drop-shadow(0 2px 24px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 1px rgba(255, 255, 255, 0.8));
    pointer-events: none;
    margin: -35px;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45),
            0 0 1px rgba(255, 255, 255, 0.8);
    }

    50% {
        text-shadow: 0 10px 64px rgba(113, 243, 255, 0.32),
            0 0 2px rgba(255, 255, 255, 0.95);
    }

    100% {
        text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45),
            0 0 1px rgba(255, 255, 255, 0.8);
    }
}

.hero-sub {
    position: relative;
    overflow: hidden;
    max-width: 720px;
    margin: 0 0 24px;
    color: var(--muted);
    font-size: clamp(14px, 2.1vw, 18px);
    letter-spacing: 0.2px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 900ms ease forwards 500ms;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-sub .flavor-line {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 500ms ease, transform 500ms ease;
    will-change: opacity, transform;
}

/* Currently visible */
.hero-sub .flavor-line.show {
    opacity: 1;
    transform: translateY(0);
}

/* Outgoing (slides slightly upward while fading out) */
.hero-sub .flavor-line.out {
    opacity: 0;
    transform: translateY(-8px);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-sub .flavor-line {
        transition: none;
        transform: none;
    }
}

.hero-cta {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    padding: 12px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg,
            rgba(113, 243, 255, 0.12),
            rgba(124, 77, 255, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text);
    font-weight: 800;
    letter-spacing: 0.4px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
    transition: transform 160ms ease, box-shadow 160ms ease;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 900ms ease forwards 700ms;
    pointer-events: auto;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(113, 243, 255, 0.22);
}

.hero-btns {
    display: flex;
    gap: 24px;
    justify-content: center
}

section {
    padding: 80px 20px;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.section-title {
    font-family: 'Bombardies';
    font-weight: 500;
    font-size: clamp(32px, 4vw, 44px);
    letter-spacing: 1.5px;
}

.section-desc {
    color: var(--muted);
    font-size: 14px;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

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

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

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

.member-card {
    background: linear-gradient(180deg, #11182b, #0f1424);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    transition: transform 160ms ease, box-shadow 160ms ease,
        border-color 160ms ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.member-card:hover {
    transform: translateY(-3px);
    border-color: rgba(113, 243, 255, 0.6);
    box-shadow: 0 14px 32px rgba(113, 243, 255, 0.18);
}

.member-avatar {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #1c2235;
    flex: 0 0 auto;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-info {
    min-width: 0;
}

.member-name {
    font-weight: 800;
    letter-spacing: 0.3px;
    margin: 0 0 4px;
}

.member-role {
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 10px;
}

.member-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pill {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: var(--text);
}

.pill:hover {
    background: rgba(113, 243, 255, 0.12);
    border-color: rgba(113, 243, 255, 0.5);
}

/* Transparent sections and blob field behind them */
#members,
#clips {
    background: transparent;
}

.content-blob {
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.blob-field {
    position: absolute;
    inset: -160px 0 -160px 0;
    z-index: -1;
    pointer-events: none;
    overflow: visible;
}

.blob {
    position: absolute;
    width: var(--w, 520px);
    height: var(--h, 520px);
    left: 0;
    top: 0;
    transform: translate3d(var(--x, 0px), var(--y, 0px), 0) scale(var(--s, 1));
    filter: blur(70px);
    opacity: var(--o, 0.7);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%,
            hsla(var(--hue, 190), 95%, 65%, 0.35),
            transparent 60%);
    will-change: transform, opacity;
    mix-blend-mode: screen;
}

.blob-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    z-index: -10;
    filter: opacity(0.25) brightness(0.5);
    background-color: #000;
}

/* Clips grid (normalized) */
.clips-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

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

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

.clip-card {
    display: flex;
    flex-direction: column;
    min-height: 360px;
    background: linear-gradient(180deg, #12182a, #0f1424);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.clip-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(124, 77, 255, 0.18);
}

.clip-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0c1020;
    overflow: hidden;
    flex: 0 0 auto;
}

.clip-media iframe,
.clip-media video,
.clip-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.clip-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px 16px;
    flex: 1 1 auto;
}

.clip-title {
    font-weight: 800;
    margin: 0;
}

.clip-meta {
    color: var(--muted);
    font-size: 12px;
    margin-top: auto;
}

footer {
    padding: 36px 20px 60px;
    color: var(--muted);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

a,
button {
    outline: none;
}

a:focus-visible,
button:focus-visible {
    box-shadow: 0 0 0 3px var(--ring);
    border-radius: 10px;
}

/* Glassmorphic overlay scrollbar (transparent track) */
:root {
    --sb-width: 10px;
    --sb-radius: 999px;
    --sb-blur: 10px;
    --sb-opacity-idle: 0.08;
    --sb-opacity-hover: 0.95;
    --sb-thumb-fill: rgba(255, 255, 255, 0.18);
    --sb-thumb-fill-strong: rgba(255, 255, 255, 0.28);
    --sb-thumb-border: rgba(255, 255, 255, 0.35);
    --sb-thumb-highlight: rgba(255, 255, 255, 0.55);
}

html {
    scrollbar-gutter: stable;
}

::-webkit-scrollbar {
    width: var(--sb-width);
    height: var(--sb-width);
    background: transparent;
}

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

::-webkit-scrollbar-thumb {
    border-radius: var(--sb-radius);
    background: linear-gradient(180deg,
            var(--sb-thumb-highlight),
            rgba(255, 255, 255, 0.12)),
        linear-gradient(180deg,
            var(--sb-thumb-fill),
            rgba(255, 255, 255, 0.12));
    border: 1px solid var(--sb-thumb-border);
    backdrop-filter: blur(var(--sb-blur)) saturate(1.2);
    -webkit-backdrop-filter: blur(var(--sb-blur)) saturate(1.2);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset,
        0 8px 24px rgba(0, 0, 0, 0.25);
    opacity: 0.12;
    transition: opacity 160ms ease, box-shadow 160ms ease,
        background-color 160ms ease, border-color 160ms ease;
}

::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.7),
            rgba(255, 255, 255, 0.22)),
        linear-gradient(180deg,
            var(--sb-thumb-fill-strong),
            rgba(255, 255, 255, 0.18));
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 10px 28px rgba(0, 0, 0, 0.35);
    opacity: var(--sb-opacity-hover);
}

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

* {
    scrollbar-width: thin;
}

@-moz-document url-prefix() {
    html:hover {
        scrollbar-color: rgba(255, 255, 255, 0.45) transparent;
    }
}

/* Gamer Scan Modal */
.gm-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
}

.gm-modal[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

.gm-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 60% at 50% 40%,
            rgba(113, 243, 255, 0.08),
            transparent),
        rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(20px) saturate(1.1) brightness(0.6);
    pointer-events: all;
}

.gm-dialog {
    position: relative;
    width: min(480px, 92vw);
    border-radius: 18px;
    background: linear-gradient(180deg,
            rgba(13, 18, 32, 0.95),
            rgba(10, 14, 24, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    pointer-events: auto;
}

/* Dialog accent border + soft top shine */
.gm-dialog::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(130deg,
            rgba(113, 243, 255, 0.65),
            rgba(124, 77, 255, 0.65),
            rgba(113, 243, 255, 0.65));
    background-size: 200% 100%;
    -webkit-mask: linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: gmBorderShift 8s linear infinite;
    pointer-events: none;
}

.gm-dialog::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 0;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent);
    opacity: 0.6;
    pointer-events: none;
}

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

    100% {
        background-position: -200% 50%;
    }
}

/* Idle layout polish */
.gm-state-idle {
    gap: 8px;
    padding: 18px 20px 28px;
}

/* Hero orb */
.gm-hero {
    height: 190px;
    display: grid;
    place-items: center;
    perspective: 900px;
    transform-style: preserve-3d;
    margin-bottom: 6px;
}

.gm-orb {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background:
        radial-gradient(55% 60% at 50% 45%,
            rgba(113, 243, 255, 0.16),
            rgba(124, 77, 255, 0.14) 46%,
            transparent 72%),
        rgba(7, 10, 18, 0.7);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 0 40px rgba(113, 243, 255, 0.25),
        0 20px 40px rgba(0, 0, 0, 0.45),
        0 0 60px rgba(124, 77, 255, 0.18);
    overflow: hidden;
    transform: translateZ(30px);
    will-change: transform, filter;
}

.gm-orb::after {
    content: "";
    position: absolute;
    inset: -10%;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
            rgba(113, 243, 255, 0.55),
            rgba(113, 243, 255, 0) 42%);
    animation: gmSweepSlow 3.2s linear infinite;
    filter: blur(2px);
}

.gm-orb::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        radial-gradient(6px 6px at 22% 34%,
            rgba(113, 243, 255, 0.9),
            transparent 40%),
        radial-gradient(6px 6px at 78% 58%,
            rgba(113, 243, 255, 0.9),
            transparent 40%),
        radial-gradient(6px 6px at 48% 80%,
            rgba(113, 243, 255, 0.9),
            transparent 40%);
    mix-blend-mode: screen;
    opacity: 0.7;
    animation: gmSpark 2.6s ease-in-out infinite;
}

@keyframes gmSweepSlow {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes gmSpark {

    0%,
    100% {
        filter: drop-shadow(0 0 0 rgba(113, 243, 255, 0));
    }

    50% {
        filter: drop-shadow(0 0 14px rgba(113, 243, 255, 0.9));
    }
}

.gm-orb .ring {
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    border: 1px solid rgba(113, 243, 255, 0.26);
}

.gm-orb .ring.r2 {
    inset: 18%;
    opacity: 0.7;
}

.gm-orb .ring.r3 {
    inset: 30%;
    opacity: 0.5;
}

.gm-orb .core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%,
            #71f3ff,
            #7c4dff 70%);
    box-shadow:
        0 0 30px rgba(113, 243, 255, 0.7),
        0 0 60px rgba(124, 77, 255, 0.35);
}

/* Title shimmer */
.gm-title {
    font-size: 24px;
    margin: 2px 0 0;
    background: linear-gradient(90deg,
            #eaf3ff,
            #71f3ff 35%,
            #7c4dff 70%,
            #eaf3ff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(113, 243, 255, 0.1);
    animation: gmShimmer 7s linear infinite;
    letter-spacing: 0.3px;
}

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

    100% {
        background-position: -200% 50%;
    }
}

/* CTA upgrade */
.gm-btn.gm-btn-primary {
    position: relative;
    padding: 14px 22px;
    font-size: 15px;
    border-radius: 14px;
    background: linear-gradient(135deg,
            rgba(113, 243, 255, 0.28),
            rgba(124, 77, 255, 0.28));
    border: 1px solid rgba(113, 243, 255, 0.38);
    box-shadow:
        inset 0 0 0 1px rgba(124, 77, 255, 0.2),
        0 10px 26px rgba(0, 0, 0, 0.5),
        0 12px 32px rgba(124, 77, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    isolation: isolate;
}

.gm-btn.gm-btn-primary .pulse {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(120px 80px at 50% 50%,
            rgba(113, 243, 255, 0.18),
            rgba(124, 77, 255, 0.18) 50%,
            transparent);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.gm-btn.gm-btn-primary:hover .pulse {
    opacity: 1;
    transform: scale(1.08);
}

.gm-btn.gm-btn-primary:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(113, 243, 255, 0.45),
        0 0 0 6px rgba(124, 77, 255, 0.28);
}

.gm-icon {
    display: inline-block;
}


.gm-body {
    position: relative;
    padding: 0 20px 24px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.gm-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    will-change: opacity, transform, filter;
}

.gm-state.anim-out {
    z-index: 1;
    animation: gmIdleOut 360ms cubic-bezier(0.22, 0.9, 0.24, 1) forwards;
}

.gm-state.anim-in {
    z-index: 2;
    animation: gmScanIn 460ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Flare that expands from the Begin Scan button */
.gm-body::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 600px at var(--fx-x, 50%) var(--fx-y, 50%),
            rgba(113, 243, 255, 0.16),
            rgba(124, 77, 255, 0.14) 35%,
            transparent 60%);
    opacity: 0;
    transform: scale(0.7);
    pointer-events: none;
}

.gm-body.fx-flare::after {
    animation: gmFlare 520ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes gmFlare {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }

    35% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(1.15);
    }
}

@keyframes gmIdleOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
        filter: blur(2px);
    }
}

@keyframes gmScanIn {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(1.02);
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

.gm-btn {
    margin: 16px 0 0;
    padding: 12px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg,
            rgba(113, 243, 255, 0.18),
            rgba(124, 77, 255, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #eaf3ff;
    font-weight: 800;
    letter-spacing: 0.4px;
    cursor: pointer;
    font-size: 14px;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.gm-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(113, 243, 255, 0.16);
}

.gm-radar {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(60% 60% at 50% 50%,
            rgba(113, 243, 255, 0.12),
            transparent 60%),
        rgba(7, 10, 18, 0.6);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 10px 30px rgba(0, 0, 0, 0.35);
}

.gm-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(113, 243, 255, 0.2);
}

.gm-ring.r2 {
    transform: scale(0.7);
    opacity: 0.7;
}

.gm-sweep {
    position: absolute;
    inset: -10%;
    background: conic-gradient(from 0deg,
            rgba(113, 243, 255, 0.5),
            rgba(113, 243, 255, 0) 40%);
    animation: gmSpin 1.6s linear infinite;
    filter: blur(2px);
}

@keyframes gmSpin {
    to {
        transform: rotate(-360deg);
    }
}

.gm-ping {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #71f3ff;
    box-shadow: 0 0 12px rgba(113, 243, 255, 0.9);
    animation: gmPing 1.6s ease-in-out infinite;
}

.gm-ping.p1 {
    left: 24%;
    top: 36%;
    animation-delay: 0.2s;
}

.gm-ping.p2 {
    right: 22%;
    top: 52%;
    animation-delay: 0.6s;
}

.gm-ping.p3 {
    left: 46%;
    bottom: 20%;
    animation-delay: 1s;
}

@keyframes gmPing {
    0% {
        transform: scale(0.6);
        opacity: 0.6;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0.6);
        opacity: 0.6;
    }
}

.gm-progress {
    width: 100%;
    max-width: 280px;
    display: grid;
    gap: 8px;
}

.gm-bar {
    margin: 16px 0 0;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.gm-bar-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #71f3ff, #7c4dff);
    box-shadow: 0 0 18px rgba(113, 243, 255, 0.6);
    transition: width 120ms linear;
}

.gm-bar-text {
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

.gm-status {
    font-size: 18px;
    text-align: center;
    margin-top: 8px;
}

.gm-check-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.gm-check {
    width: 100px;
    height: 100px;
    overflow: visible;
}

.gm-check .c {
    fill: none;
    stroke: rgba(113, 243, 255, 0.45);
    stroke-width: 4;
    stroke-dasharray: 176;
    stroke-dashoffset: 176;
    filter: drop-shadow(0 0 10px rgba(113, 243, 255, 0.6));
}

.gm-check .t {
    stroke: #71f3ff;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 44;
    stroke-dashoffset: 44;
    filter: drop-shadow(0 0 10px rgba(113, 243, 255, 0.9));
}

.gm-check.animate .c {
    animation: gmCircle 700ms ease forwards 120ms;
}

.gm-check.animate .t {
    animation: gmTick 600ms ease forwards 420ms;
}

@keyframes gmCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes gmTick {
    to {
        stroke-dashoffset: 0;
    }
}

.gm-alert {
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #eaf3ff;
    text-align: center;
    font-size: 16px;
    margin: 0;
}

#flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease-out;
    z-index: 9999999999999;
}

/* Ensure [hidden] hides elements even if display is set elsewhere */
[hidden],
.gm-state[hidden] {
    display: none !important;
}

.link-arrow p {
    transition: 0.1s ease-in;
}

.link-arrow:hover p {
    transform: translateX(20%) translateY(-20%);
}

/* Voices / Scroller (REPLACEMENT) */
:root {
    --mq-gap: 16px;
    --mq-radius: 16px;
    --mq-lane-bg: rgba(14, 18, 36, 0.3);
    --mq-border: rgba(255, 255, 255, 0.08);
    --mq-glow1: rgba(113, 243, 255, 0.15);
    --mq-glow2: rgba(124, 77, 255, 0.15);
    --mq-speed-pps: 80;
    /* pixels per second, JS sets duration */
}

.marquee-zone {
    position: relative;
    isolation: unset;
    /* allow stacking context to mix into the next section */
    z-index: 2;
    /* keep on top of next section background */
}

.marquee-zone::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-30px);
    right: 0;
    width: 100vw;
    height: 130px;
    z-index: 5;
    /* ensures it's on top of prev section backgrounds */

    background:
        radial-gradient(45% 60% at 18% 20%, rgba(124, 77, 255, 0.12), transparent),
        radial-gradient(40% 55% at 82% 22%, rgba(113, 243, 255, 0.12), transparent);
    filter: blur(28px) saturate(115%);
    opacity: 1;
}

.marquee-zone::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    right: 0;
    width: 100vw;
    height: 130px;
    z-index: 5;
    /* ensures it's on top of next section backgrounds */

    background:
        radial-gradient(45% 60% at 18% 20%, rgba(113, 243, 255, 0.12), transparent),
        radial-gradient(40% 55% at 82% 22%, rgba(124, 77, 255, 0.12), transparent);
    filter: blur(28px) saturate(115%);
    opacity: 1;
}

/* Full-bleed lane */
.marquee-surface {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
}

.marquee-viewport {
    position: relative;
    overflow: hidden;
    padding: 16px;
    border-radius: calc(var(--mq-radius) + 6px);
    background: linear-gradient(180deg,
            rgba(15, 20, 38, 0.6),
            rgba(10, 14, 28, 0.6)) padding-box;
    border: 1px solid var(--mq-border);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Soft aurora layer behind cards */
.marquee-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 80% at 50% 50%, rgba(113, 243, 255, 0.06), transparent),
        radial-gradient(60% 80% at 30% 20%, rgba(124, 77, 255, 0.06), transparent);
    filter: blur(24px);
    z-index: 0;
}

/* Track */
.marquee-track {
    position: relative;
    display: flex;
    width: max-content;
    gap: var(--mq-gap);
    will-change: transform;
    z-index: 1;
    /* JS applies: animation: mq-run var(--mq-dur) linear infinite; */
}

@keyframes mq-run {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(calc(-1 * var(--mq-w, 0px)), 0, 0);
    }
}

/* Two identical groups form a seamless loop */
.marquee-group {
    display: inline-flex;
    gap: var(--mq-gap);
}

/* Side glows */
.marquee-glow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(32px, 10vw, 120px);
    pointer-events: none;
    z-index: 2;
}

.marquee-glow.left {
    left: 0;
    background: linear-gradient(90deg,
            rgba(7, 10, 20, 0.85),
            rgba(7, 10, 20, 0));
}

.marquee-glow.right {
    right: 0;
    background: linear-gradient(270deg,
            rgba(7, 10, 20, 0.85),
            rgba(7, 10, 20, 0));
}

/* Cards */
.mq-card {
    flex: 0 0 auto;
    width: clamp(260px, 36vw, 360px);
    border-radius: var(--mq-radius);
    padding: 14px;
    color: #eaf2ff;
    background:
        linear-gradient(180deg,
            rgba(22, 26, 46, 0.92),
            rgba(14, 18, 36, 0.9)),
        var(--mq-lane-bg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
    transform-style: preserve-3d;
}

.mq-card:hover {
    transform: translateY(-4px) translateZ(0);
    border-color: rgba(113, 243, 255, 0.45);
    box-shadow:
        0 18px 40px rgba(113, 243, 255, 0.18),
        0 10px 26px rgba(0, 0, 0, 0.38);
}

/* Card header */
.mq-head {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.mq-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.mq-meta .name {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.2px;
}

.mq-meta .role {
    font-size: 12px;
    color: #a9b5d3;
}

.mq-tag {
    font-size: 12px;
    color: #0b1020;
    background: linear-gradient(180deg, #7dd3fc, #a78bfa);
    padding: 6px 8px;
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
}

/* Quote body */
.mq-quote {
    margin: 8px 0 8px;
    font-size: 15px;
    line-height: 1.45;
}

/* Footer row */
.mq-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.mq-link {
    color: #7dd3fc;
    font-weight: 800;
    text-decoration: none;
}

.mq-link:hover {
    text-decoration: underline;
}

/* Stars */
.mq-stars {
    display: inline-flex;
    gap: 3px;
    align-items: center;
}

.mq-stars svg {
    width: 16px;
    height: 16px;
}

/* Stats variant */
.mq-card.stat {
    display: grid;
    align-content: start;
    gap: 8px;
    background:
        linear-gradient(0deg, rgba(167, 139, 250, 0.08), rgba(167, 139, 250, 0)),
        linear-gradient(180deg, rgba(22, 26, 46, 0.92), rgba(14, 18, 36, 0.9));
}

.mq-kpi {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(180deg, #fff, #b5c7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mq-kpi-sub {
    font-size: 13px;
    color: #a9b5d3;
}

/* Pause on hover if motion allowed */
@media (hover: hover) and (pointer: fine) {
    .marquee-viewport:hover .marquee-track {
        animation-play-state: paused;
    }
}

/* Reduced motion: disable animation, allow manual swipe */
@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none !important;
    }

    .marquee-viewport {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .mq-card {
        scroll-snap-align: start;
    }
}

/* Small screens */
@media (max-width: 520px) {
    .mq-card {
        width: 80vw;
    }

    .mq-tag {
        display: none;
    }
}