/* TokRoam site: dark like the mod itself, calm sizes, the product's own screens as the pictures. */

:root {
  --bg: #15121C;
  --bg-2: #1B1724;
  --surface: #221D2D;
  --surface-2: #2B2538;
  --line: rgba(255, 255, 255, 0.08);
  --text: #F4EEF2;
  --muted: #B6ABC0;          /* 8:1 on --bg */
  --red: #FE2C55;
  --red-hover: #FF4A6E;
  --cyan: #25F4EE;
  --gold: #E9B44C;

  --display: "Unbounded", "Arial Black", sans-serif;
  --sans: "Onest", "Noto Color Emoji", system-ui, sans-serif;

  --wrap: 1180px;
  --pad: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);
  --radius: 20px;
  --radius-s: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; color-scheme: dark;
  scrollbar-color: var(--surface-2) var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--red); color: #fff; }
img, video, svg { display: block; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.link { color: var(--text); text-decoration: underline; text-decoration-color: rgba(244, 238, 242, 0.35); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: currentColor; }

.h2 { font: 700 clamp(28px, 3.2vw, 42px)/1.15 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.h3 { font: 600 19px/1.3 var(--sans); }
.head { display: grid; gap: 14px; max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.head__text { color: var(--muted); font-size: 18px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 999px; background: var(--red); color: #fff; font-weight: 600; font-size: 17px; white-space: nowrap;
  transition: background-color .2s, transform .14s var(--ease);
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { background: var(--red-hover); }
.btn:active { transform: scale(0.97); }
.btn--ghost { background: var(--surface); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--small svg { width: 17px; height: 17px; }
.btn--gold { background: var(--gold); color: #1B1520; }
.btn--gold:hover { background: #F2C365; }

/* ------------------------------------------------------------------ header */
.top { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 17px var(--display); letter-spacing: -0.01em; }
.brand svg { width: 32px; height: 32px; }
.top__nav { display: none; gap: 28px; margin-left: auto; font-size: 15px; color: var(--muted); }
.top__nav a { transition: color .2s; }
.top__nav a:hover { color: var(--text); }
.top .btn { margin-left: auto; }
@media (min-width: 860px) { .top__nav { display: flex; } .top .btn { margin-left: 0; } }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 var(--section); overflow: clip; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; max-width: 900px; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(254, 44, 85, 0.16), rgba(254, 44, 85, 0)); pointer-events: none; }
.hero__in { position: relative; display: grid; gap: 48px; align-items: center; }
.hero__copy { display: grid; gap: 22px; max-width: 600px; }
.hero__title { font: 700 clamp(34px, 4.6vw, 60px)/1.08 var(--display); letter-spacing: -0.025em; text-wrap: balance; }
.hero__lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: var(--muted); margin-top: 4px; }
.hero__facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero__facts svg { width: 17px; height: 17px; color: var(--cyan); }
.hero__shot { position: relative; justify-self: center; width: min(300px, 78vw); }
.tag { position: absolute; z-index: 5; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); font-size: 14px; white-space: nowrap;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.7); }
.tag b { color: var(--cyan); font-weight: 600; }
/* Each callout sits level with what it names: the like count, the nickname row. */
.tag--counts { top: 41%; right: calc(100% - 44px); }
.tag--date { bottom: 17%; right: calc(100% - 44px); }
@media (max-width: 1079px) { .tag { display: none; } }
@media (min-width: 860px) {
  .hero__in { grid-template-columns: 1.15fr 1fr; gap: 64px; }
  .hero__shot { width: 300px; }
}

/* ------------------------------------------------------------------ the feed (TikTok's screen with TokRoam) */
.feed { position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #24414A; color: #fff;
  box-shadow: 0 0 0 8px #0E0C13, 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.feed > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feed::before, .feed::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; z-index: 1; }
.feed::before { top: 0; height: 22%; background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,0)); }
.feed::after { bottom: 0; height: 48%; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.65)); }
.feed > *:not(video) { z-index: 2; }
.feed__tabs { position: absolute; top: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 18px;
  font-size: 15px; font-weight: 600; color: rgba(255,255,255,.72); }
.feed__tabs .is-on { color: #fff; text-decoration: underline 2px; text-underline-offset: 7px; }
.feed__float { position: absolute; right: 10px; top: 28%; width: 42px; height: 42px; border-radius: 50%; background: #1F1B29;
  outline: 2px solid rgba(254,44,85,.85); display: grid; place-items: center; }
.feed__float svg { width: 32px; height: 32px; }
.feed__rail { position: absolute; right: 9px; bottom: 90px; display: grid; gap: 13px; justify-items: center; text-align: center; }
.feed__rail li { display: grid; justify-items: center; gap: 2px; font-size: 12px; font-weight: 600; }
.feed__rail svg { width: 30px; height: 30px; color: #fff; }
.feed__rail .ic-red { color: var(--red); }
.feed__avatar span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--text);
  color: var(--bg); font: 700 15px var(--display); outline: 2px solid #fff; }
.feed__info { position: absolute; left: 14px; right: 66px; bottom: 20px; }
.feed__nick { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; font-weight: 700; font-size: 15px; }
.feed__label { font-weight: 400; font-size: 13px; color: rgba(255,255,255,.86); }
.coin { width: 17px; height: 17px; flex: none; }
.feed__caption { margin-top: 5px; font-size: 13px; line-height: 1.35; }

/* ------------------------------------------------------------------ features */
.features { padding: var(--section) 0; background: var(--bg-2); }
.grid { display: grid; gap: 16px; }
.card { display: grid; align-content: start; gap: 20px; padding: 18px; border-radius: var(--radius); background: var(--surface);
  transition: transform .25s var(--ease), background-color .25s; }
.card:hover { transform: translateY(-3px); background: var(--surface-2); }
.card__ui { min-height: 150px; display: grid; place-items: center; border-radius: var(--radius-s); background: #161320; padding: 18px; overflow: hidden; }
.card__text { display: grid; gap: 8px; padding: 0 4px 6px; }
.card__text p { color: var(--muted); font-size: 16px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); } .card__ui { min-height: 210px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } .card__ui { height: 268px; } }

/* the little product screens inside the cards */
.sheet { width: 100%; max-width: 280px; background: #1E1B2A; border-radius: 16px; padding: 12px 10px; }
.sheet__title { text-align: center; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.sheet__row { display: flex; align-items: center; gap: 10px; padding: 10px 10px; border-radius: 10px; font-size: 15px; }
.sheet__row svg { width: 19px; height: 19px; color: var(--red); flex: none; }
.sheet__row em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--muted); }
.sheet__row.is-on { background: rgba(254, 44, 85, 0.14); }
.ads { width: 100%; max-width: 260px; display: grid; gap: 8px; }
.ads__row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #1E1B2A; font-size: 14px; }
.ads__dot { width: 22px; height: 22px; border-radius: 6px; background: #3B8E8B; flex: none; }
.ads__row--gone { opacity: .55; text-decoration: line-through; }
.ads__row--gone .ads__dot { background: var(--muted); }
.ads__row em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--cyan); text-decoration: none; }
.nums { display: grid; justify-items: center; gap: 6px; }
.nums__old { font-size: 15px; color: var(--muted); text-decoration: line-through; }
.nums__new { display: flex; align-items: center; gap: 8px; font: 700 32px var(--display); letter-spacing: -0.02em; }
.nums__new svg { width: 28px; height: 28px; color: var(--red); }
.nick { font-weight: 700; font-size: 18px; }
.nick span { font-weight: 400; font-size: 15px; color: var(--muted); margin-left: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips span { padding: 7px 12px; border-radius: 999px; background: #2A2436; font-size: 13px; }
.chips span:first-child { background: rgba(254, 44, 85, 0.18); color: #FF8EA5; }
.comment { width: 100%; max-width: 260px; background: #1E1B2A; border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; }
.comment__who { font-size: 13px; color: var(--muted); font-weight: 600; }
.comment__text { font-size: 15px; }
.comment__note { font-size: 12px; color: var(--cyan); }

.more { display: grid; gap: 10px 32px; margin-top: 40px; color: var(--muted); font-size: 16px; }
.more li { display: flex; gap: 10px; align-items: baseline; }
.more li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; transform: translateY(-2px); }
@media (min-width: 700px) { .more { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .more { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------------ region */
.region { padding: var(--section) 0; }
.region__in { display: grid; gap: 40px; align-items: center; }
.region__copy { display: grid; gap: 18px; max-width: 560px; }
.field { display: grid; gap: 6px; margin-top: 8px; }
.field__label { font-size: 14px; color: var(--muted); }
.field__input { width: 100%; height: 60px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
  font: 600 22px var(--sans); transition: border-color .2s; }
.field__input:focus { outline: none; border-color: var(--red); }
.field__input::-webkit-calendar-picker-indicator { opacity: .5; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick button { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--surface); font-size: 15px; cursor: pointer; transition: background-color .2s; }
.pick button:hover { background: var(--surface-2); }
.pick button[aria-pressed="true"] { background: var(--red); color: #fff; }
.note { font-size: 15px; color: var(--muted); }
.sim { width: 100%; max-width: 460px; justify-self: center; border-radius: var(--radius); background: var(--surface); padding: 22px 24px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.sim__title { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.sim__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 17px; }
.sim__rows div + div { border-top: 1px solid var(--line); }
.sim__rows dt { color: var(--muted); }
.sim__rows dd { font-weight: 600; text-align: right; }
.sim__rows dd.is-new { animation: flash .7s var(--ease); }
.sim__foot { margin-top: 6px; font-size: 13px; color: var(--muted); }
@keyframes flash { from { color: var(--cyan); } to { color: inherit; } }
@media (min-width: 860px) { .region__in { grid-template-columns: 1.1fr 1fr; gap: 64px; } }

/* ------------------------------------------------------------------ install */
.install { padding: var(--section) 0; background: var(--bg-2); }
.steps { display: grid; gap: 16px; counter-reset: s; }
.step { display: grid; align-content: start; gap: 10px; padding: 24px; border-radius: var(--radius); background: var(--surface); }
.step__n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff;
  font: 700 15px var(--display); margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 16px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------------ support */
.support { padding: var(--section) 0; }
.support__in { display: grid; gap: 32px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 28px;
  background: linear-gradient(135deg, #2A2116, #1F1A26 60%); border: 1px solid rgba(233, 180, 76, 0.22); }
.support__badge { display: grid; justify-items: center; gap: 14px; }
.support__coin { width: 120px; height: 120px; }
.support__nick { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: rgba(0,0,0,.3); font-weight: 700; }
.support__copy { display: grid; gap: 16px; justify-items: start; }
.support__copy p { color: var(--muted); max-width: 56ch; }
.support__actions, .cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: inherit; }
.cta__actions { justify-content: center; margin-top: 8px; }
@media (min-width: 860px) { .support__in { grid-template-columns: 260px 1fr; gap: 48px; } }

/* ------------------------------------------------------------------ faq */
.faq { padding: 0 0 var(--section); }
.faq__in { display: grid; gap: 32px; }
.faq__list { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--surface); transition: background-color .2s; }
.faq details[open] { background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--muted); transition: transform .25s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--red); }
.faq details p { padding: 0 22px 22px; color: var(--muted); max-width: 70ch; }
@media (min-width: 860px) { .faq__in { grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; } .faq .h2 { position: sticky; top: 96px; } }

/* ------------------------------------------------------------------ cta */
.cta { padding: 0 0 var(--section); }
.cta__in { display: grid; justify-items: center; text-align: center; gap: 16px; padding-top: clamp(48px, 8vw, 96px);
  border-top: 1px solid var(--line); }
.cta__mark { width: 72px; height: 72px; margin-bottom: 4px; }
.cta p { color: var(--muted); }
.cta .btn { margin-top: 8px; }

/* ------------------------------------------------------------------ footer */
.footer { background: #100E15; padding: 40px 0 28px; font-size: 15px; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 28px;
  border-bottom: 1px solid var(--line); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); }
.footer__nav a:hover { color: var(--text); }
.footer__bottom { display: grid; gap: 6px; padding-top: 20px; font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------------ motion */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__copy > *, .js .hero__shot { opacity: 0; transform: translateY(16px); animation: rise .7s var(--ease) forwards; }
  .js .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .js .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .js .hero__copy > :nth-child(4) { animation-delay: .24s; }
  .js .hero__shot { animation-delay: .2s; animation-duration: .9s; }
  .js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .tag--counts { animation: float 6s ease-in-out infinite; }
  .tag--date { animation: float 6s ease-in-out 3s infinite; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-6px); } }
