/* My Meow — landing + legal pages */
:root {
  --bg0: #0a0520;
  --bg1: #140a38;
  --bg2: #1d1050;
  --text: #f4efff;
  --muted: #b8aee0;
  --dim: #8a7fb8;
  --violet: #8b5cf6;
  --violet-2: #b794ff;
  --cyan: #5ee7ff;
  --pink: #ff6ad5;
  --blue: #5b7cff;
  --glass: rgba(34, 20, 86, 0.48);
  --glass-2: rgba(255, 255, 255, 0.06);
  --line: rgba(190, 170, 255, 0.18);
  --common: #5ef08a;
  --rare: #4fd8ff;
  --epic: #c07bff;
  --legendary: #ffcf5a;
  --radius: 28px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-weight: 600;
  color: var(--text);
  background: radial-gradient(120% 80% at 50% 0%, #1e0f55 0%, var(--bg1) 38%, var(--bg0) 100%) fixed, var(--bg0);
  overflow-x: hidden;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 12px; }

#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.nebula {
  position: fixed; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 30% at 15% 20%, rgba(139, 92, 246, .22), transparent 70%),
    radial-gradient(35% 28% at 85% 35%, rgba(255, 106, 213, .13), transparent 70%),
    radial-gradient(45% 35% at 60% 90%, rgba(94, 231, 255, .10), transparent 70%);
  filter: blur(10px);
}

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* gradients for text */
.grad {
  background: linear-gradient(92deg, var(--cyan) 0%, var(--violet-2) 48%, var(--pink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-cool {
  background: linear-gradient(92deg, #8fd8ff 0%, #8b9bff 45%, #c08bff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1160px, 100% - 24px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 10px 8px 12px;
  border-radius: 999px;
  background: rgba(20, 10, 56, .55);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 40px rgba(5, 0, 25, .35);
  transition: background .3s;
}
.nav.scrolled { background: rgba(16, 8, 46, .82); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 18px; letter-spacing: .2px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 4px 16px rgba(139,92,246,.5); }
.nav-links { display: flex; gap: 6px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 800; font-size: 15px; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--glass-2); }
.nav-pill {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-weight: 900; font-size: 13px; letter-spacing: .4px; text-transform: uppercase;
  padding: 9px 14px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(91,124,255,.35), rgba(139,92,246,.35));
  border: 1px solid rgba(160,180,255,.35);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }


.soon-badge {
  position: relative; isolation: isolate; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px 11px 16px; border: 0; border-radius: 18px;
  background: linear-gradient(135deg, #2a1a6e, #17104a);
  box-shadow: 0 0 24px rgba(94, 231, 255, .35), 0 0 60px rgba(139, 92, 246, .35);
  transition: transform .25s cubic-bezier(.2,.9,.3,1.4), box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
}
.soon-badge:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 0 32px rgba(94, 231, 255, .55), 0 0 80px rgba(139, 92, 246, .5); }
.soon-badge:active { transform: scale(.97); }
.soon-ring {
  position: absolute; inset: -2px; border-radius: 20px; z-index: -1; overflow: hidden;
}
.soon-ring::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; translate: -50% -50%;
  background: conic-gradient(from 0deg, var(--cyan), var(--violet), var(--pink), var(--blue), var(--cyan));
  animation: spin 4s linear infinite;
}
.soon-ring::after { content: ""; position: absolute; inset: 2px; border-radius: 18px; background: linear-gradient(135deg, #2a1a6e, #120b3c); }
@keyframes spin { to { transform: rotate(1turn); } }
.soon-badge svg { width: 24px; height: 24px; fill: var(--cyan); filter: drop-shadow(0 0 6px var(--cyan)); flex: none; }
.soon-text { display: flex; flex-direction: column; text-align: left; font-weight: 900; font-size: 20px; line-height: 1.05; white-space: nowrap; }
.soon-text small { font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #c9c0f5; margin-bottom: 3px; }
.soon-badge.big { padding: 16px 30px 16px 22px; border-radius: 22px; }
.soon-badge.big .soon-ring { border-radius: 24px; }
.soon-badge.big .soon-ring::after { border-radius: 22px; }
.soon-badge.big .soon-text { font-size: 28px; }
.soon-badge.big .soon-text small { font-size: 12px; }
.soon-badge.big svg { width: 32px; height: 32px; }

/* ---------- SECTIONS (shared with the closing section) ---------- */
.section { position: relative; padding: clamp(60px, 8vw, 104px) 0; }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 900; letter-spacing: 2.4px; text-transform: uppercase; color: var(--cyan); text-shadow: 0 0 12px rgba(94,231,255,.5); }
.h2 { margin: 0 0 14px; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.05; font-weight: 900; letter-spacing: -.6px; }
.sub { margin: 0; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); max-width: 620px; }

/* final */
.final { overflow: hidden; isolation: isolate; padding-bottom: clamp(90px, 12vw, 160px); }
.final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url(/assets/bg_home.webp) center 70% / cover no-repeat;
  opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 80%, transparent 100%);
}
.final-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.final-icon { position: relative; margin-bottom: 18px; }
.final-icon::before { content: ""; position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(139,92,246,.55), transparent); filter: blur(10px); animation: breathe 5s ease-in-out infinite; }
.final-icon img { position: relative; width: 160px; height: 160px; border-radius: 38px; box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 20px 50px rgba(139,92,246,.55); animation: hover 6s ease-in-out infinite; }
.final .sub { margin: 0 auto 30px; }

/* footer */
.footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(8, 3, 26, .5); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer nav { display: flex; gap: 6px; }
.footer nav a { text-decoration: none; font-weight: 800; color: var(--muted); padding: 8px 14px; border-radius: 999px; }
.footer nav a:hover { color: var(--text); background: var(--glass-2); }
.copy { width: 100%; margin: 0; color: var(--dim); font-size: 13px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* paw burst */
.paw-burst { position: fixed; z-index: 100; pointer-events: none; width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.paw-burst svg { width: 100%; height: 100%; fill: var(--c, var(--cyan)); filter: drop-shadow(0 0 6px var(--c, var(--cyan))); }
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 101; transform: translate(-50%, 30px); opacity: 0;
  padding: 12px 20px; border-radius: 999px; font-weight: 900;
  background: rgba(30, 16, 80, .92); border: 1px solid rgba(160,180,255,.4); box-shadow: 0 10px 40px rgba(5,0,25,.5), 0 0 30px rgba(139,92,246,.35);
  transition: transform .4s cubic-bezier(.2,.9,.3,1.3), opacity .3s; white-space: nowrap;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- LEGAL PAGES ---------- */
.legal main { padding: 120px 0 80px; }
.legal-card {
  width: min(780px, 100% - 32px); margin-inline: auto;
  padding: clamp(24px, 5vw, 52px); border-radius: 32px;
  background: linear-gradient(180deg, rgba(42, 24, 108, .6), rgba(18, 9, 50, .7));
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(5, 0, 25, .5), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.legal-card h1 { margin: 0 0 6px; font-size: clamp(30px, 5vw, 44px); font-weight: 900; line-height: 1.1; letter-spacing: -.4px; }
.legal-card .updated { margin: 0 0 30px; color: var(--dim); font-size: 14px; font-style: italic; }
.legal-card h2 { margin: 28px 0 6px; font-size: 19px; font-weight: 900; color: #fff; }
.legal-card p { margin: 0 0 12px; color: #d6cdf5; font-size: 16.5px; }
.legal-card a { color: var(--cyan); text-decoration-color: rgba(94,231,255,.4); text-underline-offset: 3px; word-break: break-word; }
.legal-card .lead { font-size: 18px; color: var(--text); }
.ph { padding: 1px 8px; border-radius: 8px; background: rgba(255, 207, 90, .14); border: 1px dashed rgba(255, 207, 90, .6); color: #ffe1a0; font-style: normal; white-space: nowrap; }
.faq { display: grid; gap: 12px; margin: 26px 0 8px; }
.faq div { padding: 16px 20px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.faq h2 { margin: 0 0 4px; font-size: 18px; }
.faq p { margin: 0; }
.legal-cat { display: flex; justify-content: center; margin: 0 0 8px; }
.legal-cat img { width: 110px; filter: drop-shadow(0 10px 16px rgba(5,0,25,.5)); animation: hover 5s ease-in-out infinite; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; text-decoration: none; font-weight: 900; color: var(--muted) !important; }
.back:hover { color: var(--text) !important; }
.legal .nav-links a[aria-current="page"] { color: var(--text); background: var(--glass-2); }


/* shared motion */
@keyframes hover { 50% { transform: translateY(-14px) rotate(-1deg); } }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.985); } }

.r-common { --c: var(--common); } .r-rare { --c: var(--rare); } .r-epic { --c: var(--epic); } .r-legendary { --c: var(--legendary); }

/* ---------- BENTO ---------- */
.bento {
  width: min(1280px, 100% - 32px); margin: 16px auto 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(168px, auto); gap: 12px;
}
.tile {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden; isolation: isolate; min-width: 0;
  border-radius: 28px; padding: 22px;
  background: linear-gradient(160deg, rgba(48, 30, 122, .62), rgba(16, 8, 46, .82));
  border: 1px solid rgba(190, 170, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 20px 50px -20px rgba(3, 0, 20, .7);
  animation: rise .8s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
/* a soft light that follows the pointer */
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(170, 150, 255, .14), transparent 45%);
  box-shadow: inset 0 0 0 1px rgba(200, 185, 255, .14);
}
.tile:hover::after { opacity: 1; }
.label { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 900; letter-spacing: 2.2px; text-transform: uppercase; color: var(--cyan); text-shadow: 0 0 12px rgba(94,231,255,.45); }
.tile-title { position: relative; z-index: 2; margin: 8px 0 0; font-size: clamp(24px, 2.4vw, 38px); line-height: .98; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.tile-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }

/* placement (desktop) */
.t-brand { grid-column: 1 / 3; grid-row: 1 / 4; --i: 0; }
.t-play { grid-column: 3; grid-row: 1 / 5; --i: 1; }
.t-legend { grid-column: 4; grid-row: 1 / 3; --i: 2; }
.t-power { grid-column: 4; grid-row: 3; --i: 3; }
.t-400 { grid-column: 1; grid-row: 4; --i: 3; }
.t-ads { grid-column: 2; grid-row: 4; --i: 4; }
.t-10 { grid-column: 4; grid-row: 4; --i: 5; }
.t-chain { grid-column: 1 / 3; grid-row: 5 / 7; }
.t-adopt { grid-column: 3; grid-row: 5 / 8; }
.t-style { grid-column: 4; grid-row: 5 / 7; }
.t-rarity { grid-column: 1 / 3; grid-row: 7; }
.t-cloud { grid-column: 4; grid-row: 7; }
.t-collection { grid-column: 1 / 5; grid-row: 8 / 11; }
.t-club { grid-column: 1 / 3; grid-row: 11 / 13; }
.t-promise { grid-column: 3 / 5; grid-row: 11 / 13; }
.bento > .tile:nth-child(n+8) { animation: none; }

/* brand */
.t-brand { display: flex; flex-direction: column; padding: 26px 30px 30px; }
.t-brand .tile-bg { object-position: 50% 30%; opacity: .75; transform: scale(1.05); animation: kenburns 30s ease-in-out infinite alternate; }
.t-brand::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 6, 38, .35) 0%, rgba(12, 6, 38, .1) 40%, rgba(12, 6, 38, .85) 100%); }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.14) translate(-1.5%, 1%); } }
.brand-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand-mark img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 6px 20px rgba(139,92,246,.55); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: #d9ecff; background: rgba(10, 5, 32, .55); border: 1px solid rgba(160, 200, 255, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.brand-logo { margin: auto 0 0; line-height: 0; }
.brand-logo img { width: min(520px, 92%); filter: drop-shadow(0 0 34px rgba(255, 106, 213, .35)); }
.brand-line { margin: 8px 0 20px; font-size: clamp(28px, 3vw, 46px); font-weight: 900; text-transform: uppercase; line-height: .98; letter-spacing: -.015em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.play-btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 8px 18px 8px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22);
  background: rgba(10, 5, 32, .45); font-weight: 900; font-size: 15px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .25s, transform .25s;
}
.play-btn:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.play-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; }
.play-ico svg { width: 17px; height: 17px; fill: #2a1670; margin-left: 2px; }

/* media tiles */
.tile-media { padding: 0; background: #0a0520; }
.tile-media video, .tile-media .slides { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.t-play video { object-position: 50% 0%; }
.live-chip { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase; background: rgba(10, 5, 32, .72); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.live-chip i { width: 8px; height: 8px; border-radius: 50%; background: #ff5a7a; box-shadow: 0 0 10px #ff5a7a; animation: pulse 1.6s ease-in-out infinite; }
.expand { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 12px; cursor: pointer; display: grid; place-items: center; background: rgba(10, 5, 32, .72); border: 1px solid rgba(255,255,255,.18); transition: transform .2s, background .2s; }
.expand:hover { transform: scale(1.08); background: rgba(40, 24, 100, .85); }
.expand svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.overlay { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 60px 22px 22px; background: linear-gradient(180deg, transparent, rgba(8, 3, 28, .82) 45%, rgba(8, 3, 28, .95)); }
.overlay p { margin: 8px 0 0; color: #cfc5f0; font-size: 15px; max-width: 30em; }
.slides { display: grid; }
.slides img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; opacity: 0; transition: opacity .9s ease; }
.slides img.on { opacity: 1; }

/* legendary */
.t-legend { display: flex; flex-direction: column; background: radial-gradient(80% 60% at 50% 55%, rgba(255, 207, 90, .22), transparent 70%), linear-gradient(160deg, rgba(48, 30, 122, .62), rgba(16, 8, 46, .82)); }
.t-legend .label { color: var(--legendary); text-shadow: 0 0 12px rgba(255,207,90,.5); }
.legend-stage { position: relative; flex: 1; margin: 4px -6px 0; min-height: 200px; }
.legend-pedestal { position: absolute; left: 50%; bottom: 0; width: 92%; transform: translateX(-50%); }
.legend-cat { position: absolute; left: 50%; bottom: 18%; width: 78%; translate: -50% 0; opacity: 0; transition: opacity .7s ease; filter: drop-shadow(0 16px 20px rgba(3,0,20,.6)); animation: hover 5s ease-in-out infinite; }
.legend-cat.on { opacity: 1; }
.legend-name { margin: 6px 0 0; text-align: center; font-weight: 900; font-size: 22px; text-transform: uppercase; letter-spacing: .5px; }

/* power-ups */
.t-power { display: flex; flex-direction: column; justify-content: space-between; }
.power-tags { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.power-tags li { text-align: center; padding: 8px 6px; border-radius: 14px; font-weight: 900; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; border: 1px solid color-mix(in srgb, var(--k) 50%, transparent); color: var(--k); background: color-mix(in srgb, var(--k) 10%, transparent); text-shadow: 0 0 12px color-mix(in srgb, var(--k) 60%, transparent); }
.pw-nova { --k: #7dffc4; } .pw-freeze { --k: #8fe3ff; } .pw-shield { --k: #b9a2ff; } .pw-life { --k: #ff8fd1; }

/* stats */
.t-stat { display: flex; flex-direction: column; justify-content: flex-end; }
.t-stat b { font-size: clamp(48px, 5.6vw, 84px); font-weight: 900; line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 30%, #b9a6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-stat span { margin-top: 8px; color: var(--muted); font-weight: 900; font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; }
.t-ads { background: radial-gradient(90% 90% at 100% 0%, rgba(255, 106, 213, .28), transparent 60%), linear-gradient(160deg, rgba(48, 30, 122, .62), rgba(16, 8, 46, .82)); }
.t-ads b { background: linear-gradient(92deg, var(--cyan), var(--violet-2) 50%, var(--pink)); -webkit-background-clip: text; background-clip: text; }
.t-10 { background: url(/assets/acc_hearts.webp) right -18px top 10px / 58% no-repeat, linear-gradient(160deg, rgba(48, 30, 122, .62), rgba(16, 8, 46, .82)); }

/* rarities + cloud */
.t-rarity { display: flex; flex-direction: column; justify-content: space-between; }
.rarity-row { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rarity-row li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 18px; font-weight: 900; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--c); background: color-mix(in srgb, var(--c) 9%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.rarity-row img { width: 34px; height: 34px; object-fit: contain; }
.t-cloud { display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(80% 80% at 100% 100%, rgba(94, 231, 255, .2), transparent 60%), linear-gradient(160deg, rgba(48, 30, 122, .62), rgba(16, 8, 46, .82)); }
.cloud-line { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.3; color: #e6e0ff; }
.cloud-line b { color: var(--cyan); }

/* collection */
.t-collection { padding: 26px 28px; background: radial-gradient(45% 70% at 22% 65%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%), linear-gradient(160deg, rgba(40, 24, 104, .62), rgba(14, 7, 42, .85)); transition: background .6s; }
.coll-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button {
  cursor: pointer; padding: 9px 16px; border-radius: 999px; font-weight: 900; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase;
  color: color-mix(in srgb, var(--c) 80%, #fff); background: rgba(10, 5, 32, .5); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  transition: background .25s, box-shadow .25s, color .25s;
}
.tabs button:hover { background: color-mix(in srgb, var(--c) 14%, rgba(10,5,32,.6)); }
.tabs button[aria-selected="true"] { color: #140a38; background: var(--c); box-shadow: 0 0 24px color-mix(in srgb, var(--c) 55%, transparent); border-color: transparent; }
.showcase { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 28px; align-items: center; margin-top: 10px; }
.feature { display: contents; }
.feature-stage { position: relative; width: 100%; max-width: 380px; justify-self: center; aspect-ratio: 1 / .9; }
.feature-glow { position: absolute; inset: 8% 4% 12%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 45%, transparent), transparent 72%); filter: blur(14px); animation: breathe 6s ease-in-out infinite; }
.feature-pedestal { position: absolute; left: 50%; bottom: 0; width: 88%; transform: translateX(-50%); z-index: 1; }
.feature-cat { position: absolute; left: 50%; bottom: 18%; width: 72%; translate: -50% 0; z-index: 2; filter: drop-shadow(0 20px 24px rgba(3,0,20,.6)); animation: hover 5s ease-in-out infinite; }
.feature-cat.swap { animation: catIn .6s cubic-bezier(.2,.9,.3,1.3), hover 5s .6s ease-in-out infinite; }
@keyframes catIn { from { opacity: 0; transform: translateY(26px) scale(.9); } }
.side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.feature-info { min-height: 96px; }
.feature-name { margin: 8px 0 2px; font-size: clamp(30px, 3.4vw, 46px); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: 1; }
.feature-blurb { margin: 0; color: var(--muted); font-size: 16px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: var(--c); padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.roster { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.roster button {
  position: relative; width: 100%; aspect-ratio: 1; cursor: pointer; border-radius: 18px; padding: 5px;
  background: radial-gradient(70% 60% at 50% 40%, color-mix(in srgb, var(--c) 22%, transparent), transparent 75%), rgba(10, 5, 32, .45);
  border: 1px solid color-mix(in srgb, var(--c) 22%, rgba(190,170,255,.12));
  transition: transform .3s cubic-bezier(.2,.9,.3,1.3), border-color .3s, box-shadow .3s;
}
.roster button:hover { transform: translateY(-3px); }
.roster button[aria-pressed="true"] { border-color: var(--c); box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 45%, transparent), 0 8px 24px color-mix(in srgb, var(--c) 25%, transparent); }
.roster img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(3,0,20,.5)); }
.roster .mystery { position: relative; aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center; text-align: center; overflow: hidden; background: rgba(10, 5, 32, .55); border: 1.5px dashed color-mix(in srgb, var(--c) 45%, transparent); }
.roster .mystery img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); filter: brightness(0) drop-shadow(0 0 1px color-mix(in srgb, var(--c) 80%, transparent)); opacity: .55; }
.roster .mystery b { position: relative; font-size: 19px; font-weight: 900; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.6); line-height: 1.05; }
.roster .mystery b small { display: block; font-size: 9.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--c); }
.roster li.enter { animation: cardIn .45s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes cardIn { from { opacity: 0; scale: .9; } }

/* club */
.t-club {
  display: flex; flex-direction: column; gap: 18px; padding: 26px 28px;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(91, 124, 255, .45), transparent 60%),
    radial-gradient(60% 90% at 100% 100%, rgba(139, 92, 246, .5), transparent 60%),
    linear-gradient(135deg, #1b1462, #120a40 50%, #22105e);
  border-color: rgba(150, 170, 255, .35);
}
.club-shine { position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 35%, rgba(170, 200, 255, .14) 48%, transparent 60%); background-size: 250% 100%; animation: shine 7s ease-in-out infinite; }
@keyframes shine { 0% { background-position: 120% 0; } 60%, 100% { background-position: -40% 0; } }
.t-club .label { color: #a9c4ff; text-shadow: 0 0 12px rgba(120, 150, 255, .6); }
.club-top { display: flex; align-items: center; gap: 18px; }
.club-badge { width: 96px; height: 96px; flex: none; filter: drop-shadow(0 0 26px rgba(120, 150, 255, .7)); animation: bob 5s ease-in-out infinite; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.perks li { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(170, 180, 255, .18); }
.perks b { display: block; font-size: 15.5px; font-weight: 900; }
.perks span { color: var(--muted); font-size: 13px; line-height: 1.35; }
.perk-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-weight: 900; font-size: 16px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 0 16px rgba(110, 120, 255, .55); }
.perks .perk-ico span { color: #fff; font-size: inherit; }
.perk-ico img { width: 24px; height: 24px; }
.club-note { margin: auto 0 0; color: var(--dim); font-size: 13px; }

/* promise */
.t-promise { display: flex; flex-direction: column; justify-content: space-between; padding: 26px 30px; }
.big-promise { margin: 0; font-size: clamp(64px, 8.6vw, 132px); line-height: .84; font-weight: 900; letter-spacing: -.045em; text-transform: uppercase; }
.promise-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.promise-list b { color: #fff; }

/* the closing section sits right after the grid */
.bento + .final, .final { margin-top: 0; }

/* ---------- GAMEPLAY VIEWER ---------- */
.phone {
  --w: 300px;
  position: relative; width: var(--w); padding: calc(var(--w) * .035);
  border-radius: calc(var(--w) * .17);
  background: linear-gradient(150deg, #4b4590 0%, #1b1747 40%, #0d0a2a 60%, #3a347a 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22), inset 0 0 0 5px rgba(10, 6, 30, .9), 0 50px 100px -20px rgba(3, 0, 20, .8), 0 0 90px -10px rgba(139, 92, 246, .45);
}
.screen { position: relative; aspect-ratio: 1206 / 2622; border-radius: calc(var(--w) * .14); overflow: hidden; background: #0a0520; }
.screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.trailer { border: 0; padding: 0; background: transparent; color: var(--text); overflow: visible; max-width: none; max-height: none; }
.trailer::backdrop { background: rgba(6, 2, 22, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.trailer[open] { display: flex; flex-direction: column; align-items: center; gap: 14px; animation: rise .45s cubic-bezier(.2,.9,.25,1.1); }
.trailer-phone { --w: min(360px, 78vw, 40vh); }
.trailer-note { margin: 0; color: var(--dim); font-size: 13px; }
.trailer-close { position: fixed; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); font-size: 28px; line-height: 1; cursor: pointer; }
.trailer-close:hover { background: rgba(255,255,255,.16); }
body.modal-open { overflow: hidden; }

/* ---------- LEGAL HEADER (bento strip, no floating pill) ---------- */
.topbar { width: min(780px, 100% - 32px); margin: 16px auto 0; display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.topbar .tile { padding: 12px 14px; border-radius: 22px; animation: none; }
.topbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 17px; }
.topbar-brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 4px 14px rgba(139,92,246,.5); }
.topbar-links { display: flex; align-items: center; justify-content: flex-end; gap: 4px; flex-wrap: wrap; }
.topbar-links a { text-decoration: none; font-weight: 900; font-size: 14px; color: var(--muted); padding: 7px 12px; border-radius: 12px; }
.topbar-links a:hover, .topbar-links a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.07); }
.legal main { padding: 14px 0 70px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .bento { grid-auto-rows: minmax(150px, auto); }
}
@media (max-width: 760px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(120px, auto); gap: 10px; grid-auto-flow: dense; }
  .bento > .tile { grid-column: auto; grid-row: auto; }
  .t-brand, .t-chain, .t-rarity, .t-collection, .t-club, .t-promise, .t-power { grid-column: span 2 !important; }
  .t-brand { grid-row: span 3 !important; padding: 20px 20px 22px; }
  .t-play, .t-adopt { grid-row: span 3 !important; }
  .t-legend, .t-style, .t-chain { grid-row: span 2 !important; }
  .t-chain { min-height: 300px; }
  .tile { border-radius: 24px; padding: 18px; }
  .brand-logo { margin-top: 26px; }
  .brand-logo img { width: 100%; }
  .brand-line { font-size: 30px; }
  .legend-stage { min-height: 150px; }
  .legend-name { font-size: 17px; }
  .t-stat b { font-size: 52px; }
  .t-stat span { font-size: 11px; letter-spacing: 1.4px; }
  .power-tags { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .power-tags li { font-size: 11.5px; letter-spacing: 1px; padding: 8px 2px; }
  .overlay { padding: 50px 16px 16px; }
  .overlay p { font-size: 14px; }
  .t-adopt .tile-title, .t-style .tile-title { font-size: 21px; }
  .rarity-row { gap: 6px; }
  .rarity-row li { font-size: 10.5px; padding: 10px 2px; letter-spacing: .4px; }
  .cloud-line { font-size: 16px; }
  .t-collection { padding: 20px 16px; }
  .coll-head { flex-direction: column; align-items: flex-start; }
  .showcase { grid-template-columns: 1fr; gap: 6px; }
  .feature-stage { max-width: 300px; }
  .feature-info { text-align: center; min-height: 0; }
  .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 380px; margin-inline: auto; width: 100%; }
  .t-club, .t-promise { padding: 22px 18px; }
  .perks li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .perks b { font-size: 14.5px; }
  .expand { display: none; }
  .club-badge { width: 76px; height: 76px; }
  .big-promise { font-size: 76px; }
  .soon-badge.big .soon-text { font-size: 24px; }
  .footer-inner { justify-content: center; text-align: center; }
}
@media (max-width: 420px) {
  .tabs { flex-wrap: nowrap; gap: 4px; }
  .tabs button { padding: 8px 10px; font-size: 11.5px; letter-spacing: .6px; }
  .cta-row .soon-badge, .cta-row .play-btn { flex: 1 1 auto; justify-content: center; }
  .topbar { grid-template-columns: 1fr; }
  .topbar-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
