/* ===== Fonts ===== */
@font-face { font-family: "Relative Book";   src: url("/assets/fonts/relative-book.woff2")   format("woff2"); font-display: swap; font-weight: 400; }
@font-face { font-family: "Relative Faux";   src: url("/assets/fonts/relative-faux.woff2")   format("woff2"); font-display: swap; font-weight: 390; }
@font-face { font-family: "Relative Medium"; src: url("/assets/fonts/relative-medium.woff2") format("woff2"); font-display: swap; font-weight: 500; }
@font-face { font-family: "Relative Bold";   src: url("/assets/fonts/relative-bold.woff2")   format("woff2"); font-display: swap; font-weight: 700; }
@font-face { font-family: "unagiKlasik";     src: url("/assets/fonts/unagiklasik.woff2")     format("woff2"); font-display: swap; font-weight: 400; }
@font-face { font-family: "Jokker Medium";   src: url("/assets/fonts/jokker-medium.woff2")   format("woff2"); font-display: swap; font-weight: 500; }
@font-face { font-family: "Chillax";         src: url("/assets/fonts/chillax-semibold.woff2") format("woff2"); font-display: swap; font-weight: 600; }

:root {
  --bg-light:#ffffff;              /* page body: white, like the Framer source */
  --bg-light-2:#ece9e1;
  --ink:#0a0a0a;
  --muted:#6b6b6b;
  --card:#ffffff;
  --yellow:#f4a700;
  --cream:#f1eee2;
  --green:#9ed44b;
  --violet:#6b3df5;
  --bg-dark:#050507;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg-light); color: var(--ink); }
body {
  font-family: "Relative Book", Inter, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; cursor: pointer; }

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

/* ===== Layout helpers ===== */
.container-page { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* Continuous background bridge — single gradient spanning persona-cards bottom → token → games */
.bg-bridge {
  position: absolute;
  left: 0; right: 0;
  top: 3400px;
  height: 3000px;          /* extended past games end into licensed */
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    #efece6 0%,
    #efece6 6%,
    #d6c8f5 12%,
    #a892ed 20%,
    #6c52e0 32%,
    #4c39b8 50%,
    #1f1860 68%,
    #0a0a16 82%,
    #050507 92%,
    #050507 100%);
}
/* Body backdrop after the bridge should be dark to seamlessly continue */
body { background: var(--bg-light); }
body::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 6400px;
  bottom: 0;
  background: #050507;
  z-index: -1;
  pointer-events: none;
}

/* ===== Nav ===== */
.nav-wrap {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 28px;
  background: rgba(20,20,20,0.92);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  padding: 8px 8px 8px 24px;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.nav-logo { display:flex; align-items:center; gap:10px; font-family:"unagiKlasik", sans-serif; font-size:14px; letter-spacing:0.16em; color:#fff; }
.nav-logo .unagi-eel { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.nav-logo span { padding-top: 2px; }
.nav-links { display:flex; gap: 28px; }
.nav-links a { font-family: "Relative Medium", sans-serif; font-size: 14px; color: #e8e8e8; opacity: 0.9; }
.nav-links a:hover { opacity: 1; color: #fff; }
.nav-cta {
  background: linear-gradient(180deg, #fff, #d9d9d9);
  color: #0a0a0a;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: "Relative Medium", sans-serif;
  font-size: 14px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.08);
}
.nav-cta:hover { filter: brightness(1.05); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 180px 0 100px;
  overflow: visible;            /* let the glow extend visually past the hero box */
  min-height: 760px;
  background: transparent;      /* the page-wide hero-glow underlay paints this */
}
/* Hero glow — page-level underlay that paints the soft pastel hero gradient and
   feathers DOWN to white before the persona-frame so it doesn't tint the frame. */
.hero-glow {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 1000px;
  pointer-events: none;
  z-index: 0;
  background:
    /* central soft purple lobe BEHIND the subtitle */
    radial-gradient(42% 22% at 50% 50%, rgba(189,170,255,0.70) 0%, rgba(189,170,255,0) 78%),
    /* left pink lobe */
    radial-gradient(34% 22% at 20% 55%, rgba(255,180,220,0.65) 0%, rgba(255,180,220,0) 78%),
    /* right blue lobe */
    radial-gradient(34% 22% at 80% 48%, rgba(170,210,255,0.65) 0%, rgba(170,210,255,0) 78%),
    /* warm amber base wash below subtitle */
    radial-gradient(55% 18% at 50% 72%, rgba(255,210,180,0.40) 0%, rgba(255,210,180,0) 80%);
  /* feather the bottom so the glow disappears smoothly into white before the persona-frame */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 95%);
          mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 95%);
}
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; text-align: center; z-index: 2; }
.hero h1 {
  font-family: "Chillax", sans-serif;
  font-weight: 600;
  font-size: 72px;
  line-height: 1.1;
  letter-spacing: -0.06em;
  color: var(--ink);
  margin: 0;
}
.hero-sub {
  margin-top: 32px;
  font-family: "Relative Faux", "Relative Book", sans-serif;
  font-size: 24px;
  line-height: 1.55em;
  letter-spacing: -0.01em;
  color: rgba(0,0,0,0.72);                /* slightly stronger than source's 0.6 for readability over our saturated glow */
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
/* Highlighted "shimmer" words in the subtitle — match Framer source colour rgb(214,228,255)
   with a subtle slow shimmer animation. */
.hero-sub .shimmer {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: -0.02em;
  /* base + gradient that animates: gives a metallic / "shimmer" feel without losing the readable base colour */
  color: #6c80c7;                          /* readable fallback / static base */
  background-image: linear-gradient(110deg,
    #6c80c7 0%,
    #b8c8f0 35%,
    #ffffff 50%,
    #b8c8f0 65%,
    #6c80c7 100%
  );
  background-size: 220% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 220% 0; }
  100% { background-position: -220% 0; }
}

/* Polaroid avatars around hero — proper photo paper look */
.polaroids { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.polaroid {
  position: absolute;
  background: #fefdf9;
  padding: 10px 10px 28px;
  border-radius: 14px;
  box-shadow:
    0 20px 40px rgba(30,30,60,0.20),
    0 6px 14px rgba(0,0,0,0.10);
  pointer-events: auto;
  user-select: none;
  cursor: grab;
  touch-action: none;
  transition: box-shadow .2s, transform .25s cubic-bezier(.25,.8,.4,1);
}
.polaroid:active, .polaroid.dragging { cursor: grabbing; box-shadow: 0 30px 50px rgba(30,30,60,0.32), 0 10px 18px rgba(0,0,0,0.18); z-index: 30; }
.polaroid img { width: 132px; height: 156px; object-fit: cover; border-radius: 8px; pointer-events: none; }

.polaroid[data-pos="1"] { top: 215px; left: 80px;   transform: rotate(-9deg); }
.polaroid[data-pos="2"] { top: 195px; right: 90px;  transform: rotate(8deg); }
.polaroid[data-pos="3"] { top: 440px; left: 22px;   transform: rotate(8deg); }
.polaroid[data-pos="4"] { top: 420px; right: 35px;  transform: rotate(-7deg); }
.polaroid[data-pos="5"] { top: 615px; left: 160px;  transform: rotate(-5deg); }
.polaroid[data-pos="6"] { top: 600px; right: 170px; transform: rotate(6deg); }

/* ===== Persona intro ===== */
.persona-intro {
  position: relative;
  background: transparent;     /* page bg shows on the gutters around the inset frame */
  padding: 0 0 60px;
  text-align: center;
  z-index: 2;
}
/* Inset frame holds the badge, heading and rails. Matches the Framer source's
   "content" container: max 1280px, beige fill, 32px rounded corners. */
.persona-frame {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 0 60px;
  background: #f2f1ed;
  border-radius: 32px;
}
.persona-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px;
  margin: 0 auto 28px;
  box-shadow: 0 10px 24px rgba(244,167,0,0.35);
}
.persona-badge img { width: 100%; height: 100%; border-radius: inherit; }
.persona-intro h2 {
  font-family: "Chillax", sans-serif; font-weight: 600;
  font-size: 56px; line-height: 1.05; letter-spacing: -0.04em;
  margin: 0; color: var(--ink);
}
.persona-intro p {
  max-width: 620px; margin: 24px auto 0;
  font-family: "Relative Book", sans-serif;
  font-size: 18px; line-height: 1.55; color: #444;
}

/* Two marquees of anime stills + cloud + floating characters */
.anime-rails-wrap {
  position: relative;
  margin: 56px auto 0;
  width: calc(100% - 16px);     /* small breathing space inside the persona-frame */
  max-width: 1264px;
  border-radius: 24px;
  overflow: visible;             /* characters are allowed to overflow the frame */
}
.anime-rails {
  overflow: hidden;
  border-radius: 24px;
  position: relative;
}
.anime-rail { display: flex; gap: 16px; width: max-content; }
.anime-rail img {
  height: 320px; width: auto; border-radius: 0; object-fit: cover;
}
.anime-rail.row-1 { animation: marquee-left 50s linear infinite; }
.anime-rail.row-2 { animation: marquee-right 60s linear infinite; margin-top: 16px; }
@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Cloud strip — anchored to the BOTTOM of the rails frame, edge-to-edge */
.rail-cloud {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;            /* bottom of clouds aligns to bottom of rails frame */
  width: 100%;
  height: auto;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.08));
}

/* Floating characters in front of rails — Babe (female) bottom-left, Boi (male) top-right */
.rail-character {
  position: absolute;
  pointer-events: none;
  z-index: 6;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,0.2));
}
.rail-character.babe {
  width: 360px;       /* enlarged: source is 363w */
  height: auto;
  bottom: -160px;     /* sticks down past frame bottom */
  left: -10px;
  transform: rotate(-6deg);
}
.rail-character.boi {
  width: 470px;       /* enlarged: source is 481w */
  height: auto;
  top: -130px;        /* sticks up past frame top */
  right: -10px;
  transform: rotate(6deg);
}

/* ===== Persona cards ===== */
.persona-cards {
  padding: 80px 0 120px;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-light) 85%, rgba(239,236,230,0) 100%);
  position: relative; z-index: 1;
}
.persona-cards h2 {
  text-align: center;
  font-family: "Chillax", sans-serif; font-weight: 600;
  font-size: 56px; line-height: 1.05; letter-spacing: -0.04em;
  margin: 0; color: var(--ink);
}
.persona-cards .lead {
  text-align: center; max-width: 640px; margin: 24px auto 64px;
  font-family: "Relative Book", sans-serif;
  font-size: 18px; line-height: 1.55; color: #444;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.card {
  background: var(--card);
  border-radius: 28px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card.text-center > * { text-align: center; }
.card-yellow {
  background: linear-gradient(180deg,#f5a91e,#e89414);
  color: #ffffff;
}
.card-cream  { background: #efe9d7; color: #1a1a1a; }

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: "Relative Medium", sans-serif;
  font-size: 12px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.tag-light { background: #fff; color: #1a1a1a; border: none; box-shadow: 0 1px 3px rgba(0,0,0,0.05);}
.tag-violet{ background: #6b3df5; color: #fff; border: none; }

.card h3 {
  font-family: "Chillax", sans-serif; font-weight: 600;
  font-size: 32px; line-height: 1.1; letter-spacing: -0.03em;
  margin: 12px 0 0;
}
.card .desc {
  margin-top: 16px;
  font-family: "Relative Book", sans-serif;
  font-size: 15px; line-height: 1.55;
  opacity: 0.85;
  max-width: 420px;
}

/* Avatar collection — large featured avatar in center + name + chooser */
.card-yellow .collection-card {
  margin-top: 24px;
  width: 100%;
  display:flex; flex-direction:column; align-items:center; gap: 12px;
}
.big-avatar {
  background: rgba(255,255,255,0.18);
  width: 96px; height: 96px; border-radius: 18px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.3);
}
.big-avatar img { width: 100%; height: 100%; border-radius: 14px; object-fit: cover; }
.who-name { font-family: "Relative Medium", sans-serif; font-size: 15px; color:#fff;}
.who-handle { font-family:"Relative Book", sans-serif; font-size: 13px; color: rgba(255,255,255,0.75); }
.choose-row {
  display:flex; align-items:center; gap:10px;
  padding: 8px 12px 8px 8px;
  background:#fff; border-radius: 999px;
  margin-top: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}
.choose-row .pill-small { font-size: 12px; padding: 6px 12px; background: #1a1a1a; color: #fff; border-radius:999px; font-family:"Relative Medium", sans-serif;}
.choose-avatars { display:flex; }
.choose-avatars img { width:26px; height:26px; border-radius:50%; margin-left: -6px; border: 2px solid #fff; }

/* Persona Brand card — town image stack */
.town-card { padding-top: 32px; }
.town-stack {
  position: relative;
  width: calc(100% + 64px);
  margin: 18px -32px -36px;
  height: 280px;
  overflow: hidden;
  border-radius: 0;
}
.town-stack .town-bg {
  position: absolute; left: 0; right: 0; top: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  opacity: 0.85;
}
.town-stack .town-fg {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; height: auto;
  object-fit: contain; object-position: bottom;
}

/* Character row */
.character-row { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 20px; margin-top: 20px; }
.character-card { background: #ece3ff; border-radius: 28px; padding: 36px 32px; position:relative; overflow:hidden; display:flex; flex-direction:column; align-items:center; }
.character-card.text-center > * { text-align: center; }
.character-card h3 { font-family:"Chillax", sans-serif; font-weight:600; font-size: 32px; letter-spacing:-0.02em; margin: 12px 0 0;}
.character-card .desc { font-family:"Relative Book", sans-serif; font-size: 15px; color:#2a2a2a; margin-top: 16px; max-width: 460px;}
.btn.dark {
  display:inline-flex; align-items:center; gap:8px;
  background: #1a1a1a; color: #fff;
  padding: 10px 18px; border-radius:999px;
  font-family:"Relative Medium", sans-serif; font-size:14px;
  margin-top: 20px;
}

.feature-row { display:grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; width: 100%; max-width: 520px; }
.feature-row .feat { text-align: center; }
.feature-row .feat .icon { width: 28px; height: 28px; margin: 0 auto; }
.feature-row .feat h4 { font-family:"Chillax", sans-serif; font-size: 18px; margin: 14px 0 6px; letter-spacing:-0.02em;}
.feature-row .feat p  { font-family:"Relative Book", sans-serif; font-size: 13px; line-height: 1.55; color:#3a3a3a; margin: 0;}

.hana-img-wrap {
  background: linear-gradient(180deg,#e2d6ff,#d4c4ff);
  border-radius: 28px;
  padding: 20px;
  display:flex; align-items:flex-end; justify-content:center;
  min-height: 460px;
  overflow:hidden;
  position:relative;
}
.hana-img-wrap img { max-height: 480px; width: auto; transform: translateY(20px); }

/* Numbers + journey row */
.numbers-row { display:grid; grid-template-columns: 0.95fr 1.05fr; gap: 20px; margin-top: 20px; }

.numbers-card {
  background:#0c2e16; color:#e9f8d8;
  border-radius:28px; padding: 36px 32px;
  position:relative; overflow:hidden;
  min-height: 380px;
  display:flex; flex-direction:column; align-items:center;
}
.numbers-card .label { font-family:"Relative Medium", sans-serif; font-size:13px; color:#83c878;}
.numbers-track {
  flex: 1;
  margin: 24px 0 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.num-slide {
  position: absolute;
  inset: 0;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}
.num-slide.active { opacity: 1; pointer-events: auto; }
.num-slide .big {
  font-family:"Chillax", sans-serif; font-weight:600;
  font-size: 96px; line-height:1;
  letter-spacing:-0.04em; color:#e9f8d8;
}
.num-slide .sub {
  font-family:"Relative Book", sans-serif;
  font-size: 15px;
  max-width: 320px;
  color:#c5e2ad;
}
.numbers-card .dots { display:flex; gap:6px; margin-top: 24px;}
.numbers-card .dots span{ width: 8px; height: 8px; border-radius:50%; background: rgba(255,255,255,0.25); transition: background .3s;}
.numbers-card .dots span.active { background:#fff; }

/* Journey card — SOLID BEIGE BACKGROUND, centered */
.journey-card {
  background: #efe9d7;
  color: #1a1a1a;
  border-radius:28px; padding: 36px 32px;
  position:relative; overflow:hidden;
  display: flex; flex-direction: column; align-items: center;
}
.journey-card.text-center > * { text-align: center; }
.journey-card .heading {
  font-family:"Chillax", sans-serif; font-weight:600;
  font-size:32px; letter-spacing:-0.02em; line-height:1.1;
  color:#1a1a1a;
  margin: 12px 0 0;
}
.journey-card .desc { font-family:"Relative Book", sans-serif; font-size: 15px; color:#3a3a3a; margin-top: 16px; max-width: 420px;}

.journey-platform-img {
  width: 100%;
  margin-top: 24px;
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}
.platform-mock { display:flex; flex-direction:column; gap: 8px; font-family:"Relative Medium", sans-serif; color:#1a1a1a; text-align:left;}
.platform-mock .url-bar { font-family:"Relative Book", sans-serif; font-size:11px; color:#8a8a8a; padding:6px 10px; background:#f1eee2; border-radius:8px; text-align:center; }
.platform-mock .row1 { display:flex; align-items:center; gap: 10px; padding: 10px; background:#f4f1ea; border-radius: 12px; }
.platform-mock .row1 img { width: 38px; height: 38px; border-radius: 8px; }
.platform-mock .row1 .who { flex: 1; }
.platform-mock .row1 .who .n { font-size:13px;}
.platform-mock .row1 .who .b { font-size:11px; color:#8a8a8a; }
.platform-mock .row1 .pts { background:#1a1a1a; color:#fff; padding:4px 10px; border-radius:999px; font-size:12px; }
.platform-mock .quest-grid { display:grid; grid-template-columns: 1fr 1.2fr; gap: 8px; }
.platform-mock .quest {
  padding: 12px;
  border-radius: 12px;
  display:flex; align-items:center; gap:10px; justify-content:space-between;
}
.platform-mock .quest.blue { background:#eaf5ff; color:#225fb1; }
.platform-mock .quest.yellow { background:#fff5cc; color:#8a6c0a; }
.platform-mock .quest .l { font-size:10px; text-transform:uppercase; letter-spacing:0.08em; opacity:0.8; }
.platform-mock .quest .v { font-size:22px; font-family:"Chillax", sans-serif; font-weight:600; line-height:1; margin-top:4px;}
.platform-mock .quest.blue .v { color:#225fb1; }
.platform-mock .quest.yellow .v { color:#1a1a1a; }
.platform-mock .badges { display:flex; gap:4px; align-items:center; }
.platform-mock .badges .b { width:22px; height:22px; border-radius:50%; background:#1a1a1a; }
.platform-mock .badges .b.gold { background:#f1c44d;}
.platform-mock .badges .b.red  { background:#e05a4f;}
.platform-mock .badges .b.cyan { background:#5fcfe0;}
.platform-mock .badges .b.green { background:#5cc56e; }
.platform-mock .badges-label { font-size:11px; letter-spacing:.08em; color:#8a8a8a; text-transform:uppercase; margin-top: 4px; text-align:center;}

/* ===== Token section ===== */
.token-section {
  position: relative;
  color: #fff;
  padding: 200px 0 240px;        /* taller so coins fit fully */
  overflow: hidden;
  background: transparent;
  z-index: 2;
  min-height: 900px;             /* ensures coins atlas fits without cropping */
}
.token-section .container-page { position: relative; z-index: 3; }
.token-section h2 {
  font-family:"Chillax", sans-serif; font-weight:600;
  font-size: 72px; line-height:1.05; letter-spacing:-0.04em; margin: 0;
  color: #fff;
}
.token-section p {
  margin: 24px auto 0; max-width: 540px;
  font-family:"Relative Book", sans-serif; font-size:17px;
  opacity: 0.9;
}
.una-icon-large {
  width: 56px; height: 56px; border-radius: 16px;
  margin: 0 auto 24px;
  background: linear-gradient(225deg, #003cff 0%, #000 100%);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.una-icon-large img { width: 40px; height: 40px; }

.token-section .btn-kucoin {
  display:inline-flex; align-items:center; gap:10px;
  margin-top: 32px; padding: 12px 22px;
  background:#fff; color:#1a1a1a; border-radius: 999px;
  font-family:"Relative Medium", sans-serif; font-size: 15px;
}

/* Coins backdrop — the source uses the full coin atlas as one background image, centered */
.coins-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: url('/assets/images/token-coins.png');
  background-repeat: no-repeat;
  background-position: center center;
  /* contain so the full 1:1 atlas fits inside the section without cropping */
  background-size: contain;
  opacity: 0.95;
  animation: coins-drift 14s ease-in-out infinite;
}
.coin { display: none; }
@keyframes coins-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== Games / Multichain section ===== */
.games-section {
  /* fade from transparent at top (so the bridge purple shows) to opaque dark at bottom */
  background: linear-gradient(180deg, rgba(5,5,7,0) 0%, rgba(5,5,7,0.6) 30%, #050507 60%, #050507 100%);
  color: #fff;
  padding: 60px 0 120px;
  position: relative;
  z-index: 2;
}
.games-section .header { text-align:center; }
.games-section h2 {
  font-family:"unagiKlasik", "Chillax", sans-serif;
  font-weight:400; font-size: 64px; line-height:1.1; letter-spacing:-0.01em; margin: 0;
  color: #fff;
}
.games-section .lead { font-family:"Relative Book", sans-serif; max-width: 520px; margin: 18px auto 0; color:#bdbdbd; }
.chain-row { display:flex; justify-content:center; align-items:center; gap: 56px; margin: 60px 0 16px; opacity: 0.95;}
.chain-row .chainlogo { width: 40px; height: 40px; object-fit: contain; filter: brightness(0) invert(1); }
.chain-row .chainword { font-family:"Relative Bold", sans-serif; font-size: 18px; color: #fff; letter-spacing:0.03em; }
.future-line { text-align:center; color:#9b9b9b; font-family:"Relative Book", sans-serif; font-size:14px;}
.future-line em { font-style: italic; color:#cfcfcf; }

.tab-bar {
  margin: 64px auto 24px;
  display:inline-flex; padding: 6px; gap: 4px;
  background: rgba(255,255,255,0.04); border-radius: 999px; border:1px solid rgba(255,255,255,0.06);
}
.tab-bar .tab {
  padding: 8px 20px; border-radius:999px;
  font-family:"Relative Medium", sans-serif; font-size:13px; color:#9c9c9c;
  background: transparent;
}
.tab-bar .tab.active { background:#fff; color:#0a0a0a; }

.games-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.game-card { background: #0f0f12; border-radius: 28px; padding: 36px 32px; border: 1px solid #1c1c1f; display:flex; flex-direction:column; align-items:center;}
.game-card.text-center > * { text-align: center; }
.game-tag { display:inline-block; padding:4px 12px; border-radius:999px; font-family:"Relative Medium", sans-serif; font-size:12px;}
.game-tag.green { background:#22c55e; color:#fff; }
.game-tag.orange{ background:#ff7e34; color:#fff; }
.game-card h3 { font-family:"Chillax", sans-serif; font-weight:600; font-size:30px; margin: 16px 0 8px; letter-spacing:-0.02em;}
.game-card .desc { color:#a8a8a8; font-family:"Relative Book", sans-serif; font-size:15px; line-height:1.55; max-width: 440px;}

.game-mock {
  margin-top: 24px; width: 100%;
  background: linear-gradient(180deg,#1a1a1f,#101013);
  border:1px solid #232328; border-radius: 18px; padding: 16px;
  text-align: left;
}
.browser {
  background:#1c1c20; border-radius: 14px 14px 0 0;
  padding: 8px 12px; display:flex; align-items:center; gap:8px; border:1px solid #2a2a2f; border-bottom:none;
  margin: -16px -16px 0;
}
.browser .dots { display:flex; gap:6px; }
.browser .dots span { width: 10px; height: 10px; border-radius:50%; }
.browser .dot-r { background:#ff5a52; }
.browser .dot-y { background:#f6bd2f; }
.browser .dot-g { background:#28c940; }
.browser .url { flex:1; text-align:center; font-family:"Relative Book", sans-serif; font-size:12px; color:#9b9b9b; background:#26262b; padding:4px 10px; border-radius:8px;}

.browser-body { padding: 14px 0 0; color:#cfcfcf; }
.field-tabs { display:flex; gap: 8px; background:#15151a; border-radius:999px; padding:4px; width: max-content; margin-bottom: 12px;}
.field-tabs .tt { padding: 6px 14px; border-radius:999px; font-family:"Relative Medium", sans-serif; font-size:12px; color:#9c9c9c;}
.field-tabs .tt.active { background:#3b82f6; color:#fff; }
.player-row { display:flex; align-items:center; gap: 12px; padding: 8px 10px; border-radius: 10px; }
.player-row:hover { background:#19191e; }
.player-row img { width:34px; height:50px; object-fit:cover; border-radius:6px; }
.player-row .name { flex:1; font-family:"Relative Medium", sans-serif; font-size:14px; }
.player-row .badge { width: 22px; height: 22px; border-radius:50%; background:#262630;}
.player-row .pts { background:#22c55e; color:#fff; font-size:12px; padding:2px 10px; border-radius:999px; font-family:"Relative Medium", sans-serif;}
.player-row .pts.gray { background:#3a3a40; color:#cfcfcf;}

.leagues-row { display:flex; gap: 16px; align-items:center; justify-content:center; margin-top: 14px; }
.leagues-row img { height: 22px; width: auto; filter: brightness(0) invert(1); opacity: 0.85;}

.bball-list { width: 100%; margin-top: 18px; text-align:left;}
.bball-row { display:flex; align-items:center; gap: 14px; padding: 10px 12px; background:#0d0d11; border-radius:14px; border:1px solid #1c1c21; margin-top: 10px;}
.bball-row img { width: 50px; height: 50px; object-fit: cover; border-radius:10px;}
.bball-row .meta { flex: 1; }
.bball-row .meta .n { font-family:"Relative Medium", sans-serif; font-size:13px;}
.bball-row .meta .c { font-family:"Relative Book", sans-serif; font-size:12px; color:#9b9b9b;}
.bball-row .ct { color:#9b9b9b; font-family:"Relative Medium", sans-serif; font-size:12px;}
.bball-row .pts-purple { background:#a78bfa; color:#1a1a1a; font-family:"Relative Medium", sans-serif; padding:6px 12px; border-radius:8px; font-size:13px;}

/* ===== Licensed counter ===== */
.licensed-section { background:#050507; color:#fff; padding: 100px 0; }
.licensed-section h2 {
  font-family:"Chillax", sans-serif; font-weight:600;
  font-size: 56px; line-height:1.05; letter-spacing:-0.04em; margin: 0;
}
.licensed-section .lead { color:#bdbdbd; font-family:"Relative Book", sans-serif; max-width: 540px; margin: 18px auto 40px;}
.counter {
  margin: 0 auto; padding: 18px 32px;
  display:inline-flex; gap: 4px; align-items:center;
  background: linear-gradient(180deg,#1a1a22,#0f0f15);
  border: 1px solid #2c2c36; border-radius: 18px;
}
.counter span { font-family:"Chillax", sans-serif; font-weight:600; font-size: 64px; color:#a78bfa; letter-spacing:-0.04em;}

.club-row { display:flex; justify-content:center; align-items:center; gap: 18px; margin-top: 28px; }
.club-row img { width: 48px; height: 48px; object-fit: contain; }
.club-row .more { width: 48px; height: 48px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:#0e0e14; border:1px solid #2a2a32; color:#cfcfcf; font-family:"Relative Medium", sans-serif; font-size:13px;}
.club-section-label { font-family:"Relative Medium", sans-serif; font-size:13px; color:#9b9b9b; margin-top: 36px;}

/* ===== Whitelabel ===== */
.whitelabel-section { background:#050507; color:#fff; padding: 80px 0 120px; }
.whitelabel-section h2 {
  font-family:"Chillax", sans-serif; font-weight:600;
  font-size: 48px; line-height:1.1; letter-spacing:-0.04em; margin: 0 0 48px;
}
.whitelabel-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wl-card { background:#0f0f12; border:1px solid #1c1c1f; border-radius:28px; padding: 36px 32px; display:flex; flex-direction:column; align-items:center;}
.wl-card.text-center > * { text-align: center; }
.wl-card h3 { font-family:"Chillax", sans-serif; font-weight:600; font-size: 30px; margin: 14px 0 8px; letter-spacing:-0.02em;}
.wl-card .desc { color:#a8a8a8; font-family:"Relative Book", sans-serif; font-size:15px; line-height:1.55; max-width: 380px;}
.wl-card .preview { width: 100%; margin-top: 24px; }
.wl-card .preview img { width: 100%; border-radius: 16px; }
/* Euro 2024 fan layout */
.euro-fan {
  position: relative;
  width: 100%;
  height: 260px;
  margin-top: 24px;
}
.euro-fan .ec {
  position: absolute;
  top: 50%; left: 50%;
  width: 120px; height: auto;
  transform-origin: bottom center;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.35));
}
.euro-fan .ec1 { transform: translate(-50%, -50%) rotate(-22deg) translateX(-160px); }
.euro-fan .ec2 { transform: translate(-50%, -50%) rotate(-12deg) translateX(-80px); }
.euro-fan .ec3 { transform: translate(-50%, -50%) rotate(-3deg)  translateX(-10px); }
.euro-fan .ec4 { transform: translate(-50%, -50%) rotate(8deg)   translateX(60px); }
.euro-fan .ec5 { transform: translate(-50%, -50%) rotate(18deg)  translateX(140px); }
.euro-fan .ec6 { display:none; }

/* ===== About ===== */
.about-section { background: #050507; color:#fff; padding: 100px 0; }
.about-section h2 { font-family:"Chillax", sans-serif; font-weight:600; font-size: 56px; letter-spacing:-0.04em; margin: 0; }
.about-section .lead { color:#bdbdbd; max-width: 520px; margin: 18px auto 56px; font-family:"Relative Book", sans-serif; }
.founders { display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 880px; margin: 0 auto; }
.founder { display:flex; flex-direction:column; align-items:center; text-align:center; }
.founder img { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; background:#222; }
.founder .name { margin-top: 14px; font-family:"Relative Medium", sans-serif; font-size: 15px;}
.founder .role { font-family:"Relative Book", sans-serif; color:#9b9b9b; font-size:13px;}

.backed-by { text-align:center; margin-top: 72px; }
.backed-by .l { color:#9b9b9b; font-family:"Relative Medium", sans-serif; font-size:13px; margin-bottom: 24px;}
.backers { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap: 48px; opacity: 0.95; }
.backers img { height: 28px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }

.press { display:grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 80px auto 0;}
.press a { display:block; border-radius: 16px; overflow:hidden; }
.press a img { width:100%; height: 240px; object-fit: cover; }
.press a .meta { padding-top: 14px; text-align:left;}
.press a .ml { font-family:"Relative Book", sans-serif; font-size:12px; color:#9b9b9b;}
.press a .ttl { font-family:"Relative Medium", sans-serif; font-size:17px; margin-top:6px; }

/* ===== Footer ===== */
.footer { background: #0a0a0c; color:#cfcfcf; padding: 80px 0 0; position:relative; overflow:hidden;}
.footer-grid { display:flex; justify-content:space-between; align-items:flex-start; gap: 40px;}
.footer .logo img { width: 36px; height: 36px; filter: brightness(0) invert(1); }
.footer .tagline { margin-top: 28px; font-family:"Chillax", sans-serif; font-weight:600; font-size: 30px; letter-spacing:-0.03em; line-height:1.15; color:#fff;}
.footer .copy { font-family:"Relative Book", sans-serif; font-size: 13px; color:#7f7f7f; margin-top: 12px;}
.footer .links { display:flex; flex-direction:column; gap: 10px; align-items:flex-end; }
.footer .links a { font-family:"Relative Medium", sans-serif; font-size:14px; color:#cfcfcf; }
.footer .bigword {
  text-align:center; font-family:"unagiKlasik", "Chillax", sans-serif;
  font-weight: 400;
  font-size: 28vw; line-height: 0.85;
  color: rgba(255,255,255,0.05);
  letter-spacing: -0.04em;
  margin-top: 60px;
  pointer-events:none;
  user-select:none;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero h1 { font-size: 44px; }
  .polaroid { display:none; }
  .persona-intro h2, .persona-cards h2, .licensed-section h2, .about-section h2 { font-size: 38px; }
  .token-section h2, .games-section h2 { font-size: 44px; }
  .grid-2, .character-row, .numbers-row, .games-grid, .whitelabel-grid, .press { grid-template-columns: 1fr; }
  .founders { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display:none; }
  .rail-character.boi, .rail-character.babe { width: 140px; }
  .bg-bridge { display: none; }
  .games-section, .token-section { background: #050507; }
  .token-section { background: linear-gradient(180deg, var(--bg-light) 0%, #6c52e0 30%, #050507 100%); }
}
