/* ==========================================================================
   Doxx 2026 — Design System
   A minimal, dogeos-inspired redesign. Cream + orange + dark breaks.
   ========================================================================== */

/* ---------- Tokens ------------------------------------------------------- */

:root {
    --cream:        #F7F3EC;
    --cream-soft:   #F0EAD9;
    --ink:          #0E0E12;
    --ink-soft:     #1A1A22;
    --ink-line:     #E5DDCB;

    --orange:       #FF5B14;
    --orange-soft:  #FFD4BF;
    --violet:       #6A5BFF;
    --violet-soft:  #E4E1FF;
    --cyan:         #55E6C1;
    --yellow:       #FFE03A;

    --rule:         rgba(14, 14, 18, 0.08);
    --rule-dark:    rgba(247, 243, 236, 0.12);

    --font-display: 'Space Grotesk', 'SF Pro Display', system-ui, -apple-system, sans-serif;
    --font-body:    'Inter', system-ui, -apple-system, sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

    --maxw:         1360px;
    --gutter:       clamp(20px, 4vw, 64px);
    --radius:       16px;
    --radius-lg:    28px;

    --ease:         cubic-bezier(.2, .7, .2, 1);
    --ease-out:     cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset & base ------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    /* Prevent mobile horizontal scroll at the root. `clip` (unlike `hidden`)
       keeps position: sticky working on the nav. Needs to be on BOTH html
       and body because iOS Safari treats them as separate scroll containers. */
    overflow-x: clip;
    max-width: 100vw;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    max-width: 100vw;
    /* Establish a containing block so any rogue absolutely-positioned
       descendants (e.g. decorative glows) are contained by the viewport. */
    position: relative;
}

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

a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.02;
    color: var(--ink);
}
p { max-width: 62ch; }

.container {
    width: min(100% - 2 * var(--gutter), var(--maxw));
    margin-inline: auto;
}

/* ---------- Reveal on scroll -------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
    transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Horizontal slide variants — override the base translateY */
.reveal.reveal--slide-left  { transform: translateX(-52px); }
.reveal.reveal--slide-right { transform: translateX( 52px); }
.reveal.reveal--slide-left.is-visible,
.reveal.reveal--slide-right.is-visible { transform: translateX(0); }

/* ---------- Pill / tag --------------------------------------------------- */

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: transparent;
    color: var(--ink);
}
.pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    display: inline-block;
}
/* Pulsing variant used by the "Live" token-stats pill */
.pill .dot--pulse {
    position: relative;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
    animation: dotPulse 1.8s ease-out infinite;
}
@keyframes dotPulse {
    0%   { box-shadow: 0 0 0 0   rgba(34, 197, 94, 0.55); }
    70%  { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0);    }
    100% { box-shadow: 0 0 0 0   rgba(34, 197, 94, 0);    }
}

section[data-theme="dark"] .pill {
    border-color: var(--cream);
    color: var(--cream);
}

/* ---------- Buttons ------------------------------------------------------ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
    white-space: nowrap;
}
.btn .arrow {
    display: inline-block;
    transition: transform .35s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary {
    background: var(--orange);
    color: var(--cream);
    border: 1px solid var(--orange);
}
.btn--primary:hover {
    background: var(--ink);
    border-color: var(--ink);
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
}
.btn--ghost:hover {
    background: var(--ink);
    color: var(--cream);
}

section[data-theme="dark"] .btn--ghost {
    color: var(--cream);
    border-color: var(--cream);
}
section[data-theme="dark"] .btn--ghost:hover {
    background: var(--cream);
    color: var(--ink);
}

/* ---------- Typography utilities ----------------------------------------- */

.h-display {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.6rem, 7.2vw, 7.5rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
}
.h-section {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2rem, 5vw, 4.25rem);
    line-height: 1;
    letter-spacing: -0.03em;
}
.h-card {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    line-height: 1.1;
}
.lead {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    color: rgba(14, 14, 18, 0.72);
    max-width: 58ch;
}
.eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(14, 14, 18, 0.55);
}
.mark-orange {
    position: relative;
    display: inline-block;
    padding: 0 .12em;
    color: var(--orange);
    font-style: italic;
}
.mark-orange::before {
    content: "";
    position: absolute;
    inset: 8% -4% 6% -4%;
    background: var(--orange-soft);
    border-radius: 8px;
    z-index: -1;
    transform: rotate(-1.5deg);
}
.mark-orange::after {
    content: "";
    position: absolute;
    left: -2%;
    right: -2%;
    bottom: 2%;
    height: 6px;
    background: var(--orange);
    border-radius: 3px;
    transform: rotate(-0.8deg);
    opacity: .9;
}

/* ---------- Nav ---------------------------------------------------------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(247, 243, 236, 0.78);
    border-bottom: 1px solid transparent;
    transition: border-color .4s var(--ease), background .4s var(--ease);
}
.nav.is-scrolled {
    border-bottom-color: var(--rule);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 0.06em;
}
.nav__logo img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ink);
}
.nav__links {
    display: flex;
    gap: 36px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.nav__links a {
    position: relative;
    padding: 4px 0;
}
.nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.is-active::after { transform: scaleX(1); }

.nav__cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

@media (max-width: 900px) {
    .nav__links { display: none; }
}

/* ---------- Hero (cinematic centered) ----------------------------------- */

.hero--cinematic {
    position: relative;
    padding: clamp(90px, 11vw, 160px) 0 0;
    overflow: hidden;
    background: var(--cream);
    isolation: isolate;
}

.hero__bg-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(55% 45% at 50% 30%, rgba(255, 91, 20, 0.22) 0%, transparent 65%),
        radial-gradient(45% 45% at 82% 18%, rgba(106, 91, 255, 0.22) 0%, transparent 70%),
        radial-gradient(45% 45% at 18% 22%, rgba(106, 91, 255, 0.18) 0%, transparent 70%),
        radial-gradient(90% 70% at 50% 95%, rgba(255, 91, 20, 0.16) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
}
/* Subtle grain — keeps the cream background from looking flat */
.hero__grain {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .55;
    background-image:
        radial-gradient(rgba(14,14,18,.035) 1px, transparent 1px),
        radial-gradient(rgba(14,14,18,.025) 1px, transparent 1px);
    background-size: 3px 3px, 7px 7px;
    background-position: 0 0, 1px 2px;
    mix-blend-mode: multiply;
}

.hero__center {
    position: relative;
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__pill { margin-bottom: 30px; }

.hero__title--big {
    font-size: clamp(3.2rem, 12.5vw, 13rem);
    line-height: 0.88;
    letter-spacing: -0.05em;
    margin: 0 auto 28px;
    max-width: 18ch;
    font-weight: 500;
}

.hero__lead {
    margin: 0 auto 36px;
    max-width: 62ch;
    text-align: center;
    font-size: clamp(1.15rem, 1.6vw, 1.5rem);
    line-height: 1.5;
}

.hero__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 44px;
}

/* Credentials strip — 4 stats below the CTAs to add substance */
.hero__creds {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 3vw, 44px);
    flex-wrap: wrap;
    padding: 22px clamp(22px, 3vw, 36px);
    border: 1px solid rgba(14, 14, 18, 0.1);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    box-shadow: 0 18px 50px rgba(14, 14, 18, 0.06);
    margin-bottom: 10px;
}
.hero__cred {
    text-align: center;
    min-width: 70px;
}
.hero__cred-val {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink);
    font-weight: 500;
}
.hero__cred-val span { color: var(--orange); margin-left: 2px; }
.hero__cred-lab {
    margin-top: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(14, 14, 18, 0.55);
}
.hero__cred-sep {
    width: 1px;
    height: 34px;
    background: rgba(14, 14, 18, 0.15);
}
@media (max-width: 720px) {
    .hero__creds { gap: 18px; padding: 16px 20px; border-radius: var(--radius); }
    .hero__cred-sep { display: none; }
}

/* The big motorcycle */
.hero__moto-wrap {
    width: min(1200px, 98%);
    margin: 36px auto 0;
    position: relative;
    z-index: 1;
}
.hero__moto-glow {
    position: absolute;
    inset: -8% -4% -14% -4%;
    background:
        radial-gradient(60% 55% at 50% 60%, rgba(255, 91, 20, 0.35) 0%, transparent 62%),
        radial-gradient(40% 40% at 50% 90%, rgba(14, 14, 18, 0.28) 0%, transparent 70%);
    filter: blur(20px);
    z-index: -1;
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: .85; transform: scale(1); }
    50%      { opacity: 1;  transform: scale(1.03); }
}
.hero__moto-big {
    width: 100%;
    height: auto;
    display: block;
    filter:
        drop-shadow(0 30px 80px rgba(255, 91, 20, 0.28))
        drop-shadow(0 60px 100px rgba(14, 14, 18, 0.4));
    animation: floatBig 8s ease-in-out infinite;
}
@keyframes floatBig {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

/* Floating mascots in the corners */
.hero__float {
    position: absolute;
    width: clamp(70px, 8vw, 120px);
    height: clamp(70px, 8vw, 120px);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--ink);
    background: var(--cream);
    box-shadow: 0 20px 50px rgba(14, 14, 18, 0.18);
    animation: float 6s ease-in-out infinite;
    z-index: 3;
}
.hero__float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__float--tl { top: 16%;  left: 5%;  animation-delay: 0s; }
.hero__float--tr { top: 14%;  right: 6%; animation-delay: -1.5s; }
.hero__float--bl { bottom: 26%; left: 4%; animation-delay: -3s; }
.hero__float--br { bottom: 30%; right: 5%; animation-delay: -4.5s; }

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

@media (max-width: 900px) {
    .hero--cinematic { padding-top: clamp(70px, 9vw, 110px); }
    .hero__title--big { font-size: clamp(2.6rem, 13vw, 5rem); }
    .hero__float { width: 56px; height: 56px; border-width: 2px; }
    .hero__float--tl { top: 10%; left: 3%; }
    .hero__float--tr { top: 9%;  right: 3%; }
    .hero__float--bl, .hero__float--br { display: none; }
}

/* ---------- Video backgrounds ------------------------------------------- */

.video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}
.video-bg--dim::after {
    content: "";
    position: absolute;
    inset: 0;
}
/* Overlay used above a video to ensure text is legible */
.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 14, 18, 0.35) 0%, rgba(14, 14, 18, 0.75) 100%);
    z-index: 1;
    pointer-events: none;
}

/* ---------- Reel (full-bleed video section) ----------------------------- */

.reel {
    position: relative;
    padding: 0;
    aspect-ratio: 21 / 9;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin: 0;
    background: var(--ink);
}
.reel video, .reel img.poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.reel__content {
    position: relative;
    z-index: 2;
    padding: clamp(40px, 6vw, 90px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--cream);
}
.reel__content h2 { color: var(--cream); }
.reel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14,14,18,.25) 0%, rgba(14,14,18,.85) 100%);
    z-index: 1;
}

/* ---------- Motion grid (mixed videos + stills) ------------------------- */

.motion {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 30px;
}
.motion__tile {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--ink);
    position: relative;
}
.motion__tile video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.motion__tile .tile__cap {
    position: absolute;
    left: 18px;
    bottom: 16px;
    padding: 6px 12px;
    background: rgba(14, 14, 18, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(247, 243, 236, 0.2);
    border-radius: 999px;
    color: var(--cream);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
@media (max-width: 900px) {
    .motion { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .hero { padding: 40px 0 80px; }
    .hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .hero__mascot { width: 80px; height: 80px; }
}

/* ---------- Marquee ticker ----------------------------------------------- */

.ticker {
    border-block: 1px solid var(--rule);
    overflow: hidden;
    padding: 22px 0;
    background: var(--cream-soft);
}
.ticker__inner {
    display: flex;
    gap: 60px;
    animation: ticker 45s linear infinite;
    white-space: nowrap;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.4rem, 2.4vw, 2.1rem);
    letter-spacing: -0.02em;
}
.ticker__inner span { display: flex; align-items: center; gap: 60px; }
.ticker__inner span::after {
    content: "●";
    font-size: .6em;
    color: var(--orange);
}
@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- Section primitives ------------------------------------------- */

.section {
    padding: clamp(80px, 10vw, 160px) 0;
    position: relative;
    /* Offset for sticky .nav so anchor jumps land below the header */
    scroll-margin-top: 100px;
}
.section[data-theme="dark"] {
    background: var(--ink);
    color: var(--cream);
}
.section[data-theme="dark"] h1,
.section[data-theme="dark"] h2,
.section[data-theme="dark"] h3,
.section[data-theme="dark"] h4 { color: var(--cream); }
.section[data-theme="dark"] .lead { color: rgba(247, 243, 236, 0.7); }
.section[data-theme="dark"] .eyebrow { color: rgba(247, 243, 236, 0.55); }

.section__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 60px;
}
.section__head .lead { justify-self: end; }
@media (max-width: 900px) {
    .section__head { grid-template-columns: 1fr; }
    .section__head .lead { justify-self: start; }
}

/* ---------- Stats row ---------------------------------------------------- */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 40px 0;
    border-block: 1px solid var(--rule);
    margin: 60px 0;
}
.stat__value {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.03em;
}
.stat__label {
    margin-top: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(14, 14, 18, 0.55);
}
@media (max-width: 700px) {
    .stats { grid-template-columns: 1fr 1fr; }
}

/* ---------- Timeline ----------------------------------------------------- */

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}
.timeline::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--rule);
}
.timeline__item {
    position: relative;
    padding-top: 56px;
}
.timeline__item::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--orange);
    outline: 4px solid var(--cream);
}
.timeline__year {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(14, 14, 18, 0.55);
}
.timeline__desc {
    margin-top: 8px;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.4vw, 1.4rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
@media (max-width: 800px) {
    .timeline { grid-template-columns: 1fr 1fr; }
}

/* ---------- Chain cards (3-col) ----------------------------------------- */

/* ---------- Chains — editorial timeline --------------------------------- */

.chains--editorial {
    display: flex;
    flex-direction: column;
    gap: clamp(90px, 11vw, 160px);
    margin-top: 70px;
}
.chain-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: clamp(40px, 5vw, 90px);
    position: relative;
}
.chain-row--reverse .chain-row__art  { order: 2; }
.chain-row--reverse .chain-row__body { order: 1; }

.chain-row__art {
    position: relative;
    aspect-ratio: 5 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--cream-soft);
    box-shadow:
        0 30px 80px rgba(14, 14, 18, 0.14),
        0 0 0 1px rgba(14, 14, 18, 0.05);
}
.chain-row__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-out);
}
.chain-row__art--contain img {
    object-fit: contain;
    padding: clamp(30px, 5vw, 70px);
}
.chain-row:hover .chain-row__art img { transform: scale(1.04); }

.chain-row__body {
    position: relative;
    padding: 8px 0;
}
.chain-row__num {
    position: absolute;
    top: -40px;
    left: -28px;
    font-family: var(--font-display);
    font-size: clamp(9rem, 15vw, 18rem);
    line-height: 0.75;
    letter-spacing: -0.06em;
    font-weight: 500;
    color: var(--orange);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}
.chain-row--reverse .chain-row__num {
    left: auto;
    right: -28px;
}

.chain-row__tag,
.chain-row__title,
.chain-row__desc,
.chain-row__cta { position: relative; z-index: 1; }

.chain-row__tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--orange);
    margin-bottom: 18px;
}
.chain-row__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.2vw, 3.8rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
    margin: 0 0 22px;
    font-weight: 500;
    color: var(--ink);
}
.chain-row__desc {
    color: rgba(14, 14, 18, 0.7);
    font-size: clamp(1rem, 1.15vw, 1.1rem);
    line-height: 1.65;
    margin: 0 0 30px;
    max-width: 46ch;
}
.chain-row__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--ink);
    transition: color .3s, border-color .3s, gap .3s var(--ease-out);
}
.chain-row__cta:hover {
    color: var(--orange);
    border-color: var(--orange);
    gap: 14px;
}
.chain-row__cta .arrow { transition: transform .35s var(--ease-out); }
.chain-row__cta:hover .arrow { transform: translateX(4px); }

@media (max-width: 900px) {
    .chains--editorial { gap: 80px; margin-top: 50px; }
    .chain-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .chain-row--reverse .chain-row__art  { order: 1; }
    .chain-row--reverse .chain-row__body { order: 2; }
    .chain-row__num {
        font-size: clamp(7rem, 22vw, 10rem);
        top: -24px;
        left: -8px;
    }
    .chain-row--reverse .chain-row__num { left: -8px; right: auto; }
    /* Mobile: all rows slide from same direction to avoid zig-zag confusion */
    .reveal.reveal--slide-left,
    .reveal.reveal--slide-right { transform: translateY(28px); }
    .reveal.reveal--slide-left.is-visible,
    .reveal.reveal--slide-right.is-visible { transform: translateY(0); }
}

/* ---------- (legacy .chain-card — kept in case of external references) --- */

.chain-card {
    position: relative;
    padding: 36px 30px 40px;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    background: var(--cream);
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 440px;
}
.chain-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(14, 14, 18, 0.08);
    border-color: var(--ink);
}
.chain-card__art {
    height: 180px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--cream-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}
.chain-card__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.chain-card__art--contain img { object-fit: contain; padding: 20px; }
.chain-card__tag {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--orange);
}
.chain-card__title {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    letter-spacing: -0.025em;
}
.chain-card__desc {
    color: rgba(14, 14, 18, 0.7);
    font-size: 15px;
}
.chain-card__cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-top: 10px;
    border-top: 1px solid var(--rule);
}
.chain-card__cta .arrow { transition: transform .35s var(--ease-out); }
.chain-card:hover .chain-card__cta .arrow { transform: translateX(4px); }
@media (max-width: 900px) {
    .chains { grid-template-columns: 1fr; }
    .chain-card { min-height: 0; }
}

/* ---------- OSPTD dark section ------------------------------------------- */

.osptd__hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1920 / 1080;
    margin: 60px 0;
}
.osptd__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.osptd__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(14, 14, 18, 0.85));
}
.osptd__hero .label {
    position: absolute;
    left: 30px;
    bottom: 28px;
    display: flex;
    gap: 16px;
    align-items: center;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream);
}
.osptd__hero .label .chip {
    padding: 6px 12px;
    border: 1px solid var(--cream);
    border-radius: 999px;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 40px 0;
    border-top: 1px solid var(--rule-dark);
}
.feature__no {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--orange);
    margin-bottom: 14px;
}
.feature__title {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.feature__text {
    font-size: 14px;
    color: rgba(247, 243, 236, 0.65);
    line-height: 1.5;
}
@media (max-width: 900px) {
    .features { grid-template-columns: 1fr 1fr; }
}

/* ---------- Solana contract pill ---------------------------------------- */

.solana {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}
/* Prevent grid cells from expanding to min-content (the long unbreakable
   contract address + COPY button was forcing the cell to ~460px wide on
   mobile, overflowing the 375px viewport). */
.solana > * { min-width: 0; }
.solana__logo {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    background: var(--cream);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 40px 90px rgba(106, 91, 255, 0.25);
}
.solana__logo img { width: 100%; height: auto; }

/* Bare variant: transparent PNG sitting directly on the dark section */
.solana__logo--bare {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}
.solana__logo--bare img {
    /* Subtle blue glow so the cat pops against the dark background */
    filter: drop-shadow(0 20px 50px rgba(106, 91, 255, 0.35))
            drop-shadow(0 0 30px rgba(106, 91, 255, 0.2));
}
.solana__quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.5rem, 2.6vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 30px 0 40px;
    color: var(--cream);
}
.contract {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px 12px 22px;
    background: rgba(247, 243, 236, 0.08);
    border: 1px solid rgba(247, 243, 236, 0.2);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 13px;
    max-width: 100%;
    overflow: hidden;
}
.contract code {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}
.contract button {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: background .25s var(--ease);
    white-space: nowrap;
}
.contract button:hover { background: var(--orange); color: var(--cream); }
.contract .copied { color: var(--cyan); }

.solana__body {
    margin-top: 20px;
    max-width: 54ch;
    color: rgba(247, 243, 236, 0.78);
    font-size: 1.02rem;
    line-height: 1.65;
}
.solana__body strong { color: var(--cream); font-weight: 600; }

.venues {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 36px;
    margin-top: 30px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(247, 243, 236, 0.6);
}
.venues > * {
    position: relative;
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.venues a:hover { color: var(--orange); }
.venues > * + *::before {
    content: "•";
    position: absolute;
    left: -20px;
    color: var(--orange);
}

.solana__ctas {
    margin-top: 36px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    /* Stack to 1 column and center every text child so it aligns with the
       centered cat logo above. On desktop (2-col), text stays left-aligned
       next to the logo — don't touch that layout. */
    .solana { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .solana__logo { max-width: 260px; margin: 0 auto; }
    .solana__body { margin-left: auto; margin-right: auto; }
    .venues { justify-content: center; }
    .solana__ctas { justify-content: center; }
    /* Kill the absolute-positioned bullets between venue items on mobile
       (they assume a wrapped horizontal row, which breaks when centered). */
    .venues > * + *::before { display: none; }
}

/* ---------- Token stats (snapshot from AnonCoin) ------------------------ */

.token-stats {
    margin-top: 90px;
    padding: 36px 40px 32px;
    border: 1px solid rgba(247, 243, 236, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(247, 243, 236, 0.03);
    position: relative;
    overflow: hidden;
}
.token-stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(70% 100% at 0% 0%, rgba(255, 91, 20, 0.09), transparent 60%),
        radial-gradient(60% 100% at 100% 100%, rgba(106, 91, 255, 0.08), transparent 60%);
    pointer-events: none;
}
.token-stats > * { position: relative; z-index: 1; }

.token-stats__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.token-stats__live {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: .8;
    text-decoration: none;
    transition: color .2s, opacity .2s;
}
.token-stats__live:hover { opacity: 1; color: var(--orange); }
.token-stats__live .arrow {
    display: inline-block;
    margin-left: 6px;
    transition: transform .2s;
}
.token-stats__live:hover .arrow { transform: translateX(4px); }

.token-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.token-stat {
    padding: 26px 24px;
    border: 1px solid rgba(247, 243, 236, 0.1);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.25);
    transition: border-color .3s, transform .3s var(--ease-out);
}
.token-stat:hover {
    border-color: rgba(255, 91, 20, 0.5);
    transform: translateY(-3px);
}
.token-stat__label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
}
.token-stat__value {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    line-height: 1;
    color: var(--cream);
    letter-spacing: -0.02em;
}
.token-stat__sub {
    margin-top: 12px;
    font-size: 12px;
    color: rgba(247, 243, 236, 0.55);
    line-height: 1.4;
    transition: color .3s;
}
.token-stat__sub.is-up   { color: #4ade80; }
.token-stat__sub.is-down { color: #f87171; }

.token-stats__note {
    margin: 26px 0 0;
    font-size: 12px;
    color: rgba(247, 243, 236, 0.45);
    font-style: italic;
}

@media (max-width: 900px) {
    .token-stats { padding: 28px 24px; margin-top: 60px; }
    .token-stats__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .token-stats__grid { grid-template-columns: 1fr; }
}

/* ---------- Passes ------------------------------------------------------- */

/* Two-column row for Gold + Diamond, then a big Sold Out beneath. */
.passes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 60px;
}
.pass {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    position: relative;
    padding: 34px 34px 0;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.pass:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(14, 14, 18, 0.12);
}
.pass img.pass__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}
.pass__tag {
    position: relative;
    z-index: 1;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: .6;
    margin-bottom: 6px;
}
.pass__title {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: -0.025em;
    line-height: .95;
}

/* Exact colours sampled from the GIF backgrounds so the card and the
   image blend into one continuous field. */
.pass--gold     { background: #F4D945; }
.pass--diamond  { background: #45F0FF; }

/* Sold-out hero: just the purchase-widget screenshot, no frame — sized
   large so it dominates the section and reads as the key visual. */
.passes__soldout {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform .4s var(--ease-out);
}
.passes__soldout:hover { transform: translateY(-4px) scale(1.01); }
.passes__soldout img {
    width: min(1100px, 100%);
    height: auto;
    border-radius: 24px;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.25),
        0 10px 30px rgba(0, 0, 0, 0.12);
    background: #fff;
}

@media (max-width: 800px) {
    .passes { grid-template-columns: 1fr; }
    .pass   { aspect-ratio: 1 / 1; }
    .passes__soldout { margin-top: 36px; }
}

/* ---------- Gallery (Doxxuki) ------------------------------------------- */

.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
.tile {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--ink);
    cursor: pointer;
    transition: transform .5s var(--ease-out);
    width: 100%;
    max-width: 1000px;
}
.tile img,
.tile video {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .9s var(--ease-out);
}
.tile:hover img,
.tile:hover video { transform: scale(1.04); }
.tile__cap {
    position: absolute;
    left: 20px;
    bottom: 18px;
    padding: 6px 12px;
    background: rgba(14, 14, 18, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(247, 243, 236, 0.2);
    border-radius: 999px;
    color: var(--cream);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.tile:hover .tile__cap { opacity: 1; transform: translateY(0); }
@media (max-width: 700px) {
    .gallery { gap: 18px; }
}

/* ---------- Team cloud --------------------------------------------------- */

.cloud {
    position: relative;
    margin-top: 70px;
    min-height: 520px;
}
.cloud__quote {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto 80px;
    text-align: center;
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    line-height: 1.3;
    color: var(--ink);
}
.cloud__quote::before, .cloud__quote::after {
    content: '"';
    color: var(--orange);
    font-size: 1.6em;
    vertical-align: -0.25em;
    padding: 0 0.1em;
}
.cloud__ring {
    position: relative;
    width: min(720px, 100%);
    aspect-ratio: 1.4 / 1;
    margin: 0 auto;
}
.cloud__avatar {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--ink);
    background: var(--cream);
    box-shadow: 0 20px 40px rgba(14, 14, 18, 0.12);
    transition: transform .4s var(--ease-out);
}
.cloud__avatar img { width: 100%; height: 100%; object-fit: cover; }
.cloud__avatar:hover { transform: scale(1.06); }
.cloud__avatar:nth-child(1) { top: 0;    left: 12%; }
.cloud__avatar:nth-child(2) { top: 10%;  right: 10%; }
.cloud__avatar:nth-child(3) { top: 40%;  left: 0; }
.cloud__avatar:nth-child(4) { top: 45%;  right: 0; }
.cloud__avatar:nth-child(5) { bottom: 0; left: 30%; }
.cloud__avatar:nth-child(6) { bottom: 6%; right: 28%; }
@media (max-width: 700px) {
    .cloud__avatar { width: 80px; height: 80px; }
}

/* ---------- Final CTA ---------------------------------------------------- */

.cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: clamp(60px, 8vw, 120px);
    background: var(--ink);
    color: var(--cream);
    border-radius: var(--radius-lg);
}
.cta h2 { color: var(--cream); }
.cta img {
    border-radius: var(--radius);
    aspect-ratio: 3/2;
    object-fit: cover;
}
@media (max-width: 900px) {
    .cta { grid-template-columns: 1fr; padding: 48px; }
}

/* ---------- CTA banner (full-bleed video) ------------------------------- */

.cta-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--ink);
    aspect-ratio: 21 / 9;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta-banner__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.cta-banner__shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(closest-side at 50% 50%, rgba(14, 14, 18, 0.55), rgba(14, 14, 18, 0.85)),
        linear-gradient(180deg, rgba(14, 14, 18, 0.4), rgba(14, 14, 18, 0.7));
    z-index: 1;
}
.cta-banner__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: clamp(40px, 6vw, 90px);
    color: var(--cream);
    max-width: 760px;
}
.cta-banner__content .btn--ghost {
    color: var(--cream);
    border-color: var(--cream);
}
.cta-banner__content .btn--ghost:hover {
    background: var(--cream);
    color: var(--ink);
}
@media (max-width: 700px) {
    .cta-banner { aspect-ratio: auto; min-height: 540px; }
}

/* ---------- Footer ------------------------------------------------------- */

.footer {
    background: var(--cream);
    border-top: 1px solid var(--rule);
    padding: 80px 0 40px;
}
.footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--rule);
}
.footer__brand p { margin-top: 16px; max-width: 36ch; color: rgba(14,14,18,.65); font-size: 14px; }
.footer__col h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    color: rgba(14,14,18,.5);
    margin-bottom: 18px;
}
.footer__col a {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: 15px;
    transition: color .25s var(--ease);
}
.footer__col a:hover { color: var(--orange); }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(14, 14, 18, 0.5);
}
@media (max-width: 900px) {
    .footer__top { grid-template-columns: 1fr 1fr; }
    .footer__bottom { flex-direction: column; gap: 16px; }
}

/* ---------- Two-column generic (used on subpages) ----------------------- */

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.two-col--reverse .two-col__media { order: 2; }
.two-col__media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--cream-soft);
    aspect-ratio: 4 / 3;
}
.two-col__media img { width: 100%; height: 100%; object-fit: contain; padding: 32px; }
.two-col__media--cover img { object-fit: cover; padding: 0; }
@media (max-width: 900px) {
    .two-col { grid-template-columns: 1fr; gap: 32px; }
    .two-col--reverse .two-col__media { order: 0; }
}

/* ---------- Services list (agency page) --------------------------------- */

.services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    margin-top: 50px;
}
.service {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 24px 0;
    border-bottom: 1px solid var(--rule);
}
.service__no {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--orange);
    padding-top: 4px;
    min-width: 28px;
}
.service__name {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    letter-spacing: -0.02em;
}
@media (max-width: 700px) { .services { grid-template-columns: 1fr; } }

/* ---------- Partner logo grid ------------------------------------------- */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}
.partner {
    aspect-ratio: 1 / 1;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    transition: transform .4s var(--ease-out), border-color .4s var(--ease-out);
}
.partner:hover { transform: translateY(-4px); border-color: var(--ink); }
.partner img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 900px) { .partners-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Contact form ------------------------------------------------- */

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 28px;
    margin-top: 40px;
}
.contact-form label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(14,14,18,.55);
    margin-bottom: 8px;
}
.contact-form .field { display: flex; flex-direction: column; }
.contact-form .field--wide { grid-column: span 2; }
.contact-form input,
.contact-form textarea {
    font: inherit;
    font-family: var(--font-body);
    padding: 14px 18px;
    border: 1px solid var(--ink);
    background: transparent;
    border-radius: 12px;
    color: var(--ink);
    transition: background .3s var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 91, 20, 0.06);
}
.contact-form textarea { min-height: 180px; resize: vertical; }
.contact-form .submit-row { grid-column: span 2; }

@media (max-width: 700px) {
    .contact-form { grid-template-columns: 1fr; }
    .contact-form .field--wide, .contact-form .submit-row { grid-column: auto; }
}

/* ---------- Doxx Casino (dark section) ---------------------------------- */

.casino { position: relative; overflow: hidden; }
.casino::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(55% 40% at 15% 10%, rgba(255, 204, 0, 0.07) 0%, transparent 70%),
        radial-gradient(50% 40% at 85% 90%, rgba(255, 91, 20, 0.10) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.casino > .container { position: relative; z-index: 1; }

/* Casino hero shot */
.casino__hero {
    position: relative;
    margin-top: 70px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 40px 110px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(247, 243, 236, 0.08);
}
.casino__hero img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 1.2s var(--ease-out);
}
.casino__hero:hover img { transform: scale(1.02); }
.casino__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(14, 14, 18, 0.35) 0%,
        transparent 30%,
        transparent 70%,
        rgba(14, 14, 18, 0.5) 100%);
    pointer-events: none;
}
/* Three pillars */
.casino__pillars {
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.casino__pillar {
    position: relative;
    padding: 36px 32px 34px;
    border: 1px solid rgba(247, 243, 236, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    transition: transform .4s var(--ease-out), border-color .3s, background .3s;
    overflow: hidden;
}
.casino__pillar::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    opacity: 0;
    transition: opacity .3s;
}
.casino__pillar:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 91, 20, 0.5);
    background: rgba(255, 91, 20, 0.04);
}
.casino__pillar:hover::before { opacity: 1; }
.casino__pillar-no {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    color: var(--orange);
    margin-bottom: 20px;
}
.casino__pillar-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin: 0 0 14px;
    color: var(--cream);
    font-weight: 500;
}
.casino__pillar-text {
    color: rgba(247, 243, 236, 0.72);
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0;
}
.casino__pillar-text strong { color: var(--cream); font-weight: 600; }

/* Win reel — second image with caption overlay */
.casino__reel {
    position: relative;
    margin-top: 80px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 40px 110px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(247, 243, 236, 0.08);
}
.casino__reel img {
    display: block;
    width: 100%;
    height: auto;
}
.casino__reel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        transparent 25%,
        rgba(14, 14, 18, 0.55) 65%,
        rgba(14, 14, 18, 0.88) 100%);
    pointer-events: none;
}
.casino__reel-caption {
    position: absolute;
    bottom: 44px;
    left: 44px;
    right: 44px;
    z-index: 2;
    max-width: 560px;
}
.casino__reel-caption .pill { margin-bottom: 18px; }
.casino__reel-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.8vw, 3.2rem);
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 0 0 14px;
    color: var(--cream);
    font-weight: 500;
}
.casino__reel-sub {
    color: rgba(247, 243, 236, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    max-width: 52ch;
}

/* Footer: DogeOS badge + CTAs */
.casino__footer {
    margin-top: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 36px;
    padding: 36px 44px;
    border: 1px solid rgba(247, 243, 236, 0.12);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg,
            rgba(255, 204, 0, 0.08) 0%,
            rgba(255, 91, 20, 0.05) 55%,
            transparent 100%),
        rgba(0, 0, 0, 0.2);
}
.casino__built-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(247, 243, 236, 0.55);
    margin-bottom: 10px;
}
.casino__built-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--cream);
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    letter-spacing: -0.02em;
    transition: transform .3s var(--ease-out), color .3s;
}
.casino__built-badge:hover { color: #FFCC00; transform: translateX(4px); }
.casino__built-coin {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(145deg, #FFD93D 0%, #FFCC00 45%, #C8A600 100%);
    color: var(--ink);
    font-weight: 900;
    font-size: 22px;
    font-family: var(--font-display);
    box-shadow:
        0 8px 24px rgba(255, 204, 0, 0.4),
        inset 0 0 0 2px rgba(255, 255, 255, 0.3),
        inset 0 -4px 8px rgba(0, 0, 0, 0.15);
}
.casino__built-sub {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(247, 243, 236, 0.5);
    font-style: italic;
}
.casino__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 1000px) {
    .casino__pillars { grid-template-columns: 1fr; gap: 16px; }
    .casino__pillar { padding: 30px 26px; }
    .casino__reel-caption { bottom: 28px; left: 28px; right: 28px; }
    .casino__footer {
        padding: 28px;
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }
}
/* ---------- Niches (dispersed chain logos on plain white) -------------- */
.niches-plain {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 64px 88px;
    padding: 60px 20px 20px;
    margin-top: 40px;
}
.niche {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    transition: transform .4s var(--ease-out);
}
.niche img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(14, 14, 18, 0.10));
    transition: transform .4s var(--ease-out), filter .4s var(--ease-out);
}
.niche span {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(14, 14, 18, 0.55);
    transition: color .4s var(--ease-out);
}
.niche:hover {
    transform: translateY(-10px);
}
.niche:hover img {
    transform: scale(1.12);
    filter: drop-shadow(0 18px 38px rgba(14, 14, 18, 0.18));
}
.niche:hover span {
    color: var(--ink);
}
@media (max-width: 900px) {
    .niches-plain { gap: 48px 56px; padding: 40px 16px 16px; }
    .niche img { width: 96px; height: 96px; }
}
@media (max-width: 600px) {
    .niches-plain { gap: 36px 36px; }
    .niche img { width: 80px; height: 80px; }
    .niche { gap: 14px; }
}

/* ---------- Floating "Buy Doxx" Doge CTA -------------------------------- */

.doge-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    /* Hidden until scrolled past the hero */
    opacity: 0;
    transform: translateY(24px) scale(.9);
    transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
    pointer-events: none;
    will-change: transform, opacity;
}
.doge-cta.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Speech-bubble-ish label next to the doge */
.doge-cta__bubble {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--ink);
    color: var(--cream);
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.01em;
    box-shadow:
        0 12px 30px rgba(14, 14, 18, 0.25),
        0 0 0 1px rgba(14, 14, 18, 0.08);
    position: relative;
    transition: transform .3s var(--ease-out);
}
.doge-cta:hover .doge-cta__bubble {
    transform: translateX(-2px);
}
.doge-cta__label {
    white-space: nowrap;
}
.doge-cta__arrow {
    color: var(--orange);
    transition: transform .3s var(--ease-out);
}
.doge-cta:hover .doge-cta__arrow {
    transform: translateX(4px);
}

/* Circular doge face */
.doge-cta__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--orange);
    background: #FFCC00;
    box-shadow:
        0 14px 34px rgba(14, 14, 18, 0.28),
        0 0 0 5px rgba(255, 91, 20, 0.14);
    animation: dogeWiggle 4.5s ease-in-out infinite;
    transition: transform .35s var(--ease-out);
    flex-shrink: 0;
}
.doge-cta__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
}
.doge-cta:hover .doge-cta__avatar {
    transform: scale(1.08) rotate(-4deg);
    animation-play-state: paused;
}

@keyframes dogeWiggle {
    0%, 100% { transform: rotate(0deg); }
    20%      { transform: rotate(-5deg); }
    40%      { transform: rotate(3deg); }
    60%      { transform: rotate(-2deg); }
    80%      { transform: rotate(4deg); }
}

@media (max-width: 600px) {
    .doge-cta { bottom: 16px; right: 16px; gap: 8px; }
    .doge-cta__avatar { width: 56px; height: 56px; border-width: 2px; }
    .doge-cta__bubble { padding: 10px 14px; font-size: 13px; }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .doge-cta__avatar { animation: none; }
    .doge-cta { transition-duration: .2s; }
}
