/* ============ Friday Roller — neon roller-disco tokens ============ */
:root {
  --void: #07050e;
  --void-2: #0b0817;
  --panel: #120c22;
  --panel-2: #1a1132;
  --edge: #2e2050;
  --edge-soft: #241a42;

  --pink: #ff2d87;
  --pink-lit: #ff6fae;
  --pink-deep: #c2005c;
  --violet: #a855f7;
  --violet-lit: #c99cff;
  --violet-deep: #6d28d9;
  --amber: #ffb62e;
  --amber-lit: #ffd483;
  --amber-deep: #c47c00;

  --ink: #f6effd;
  --ink-dim: #a294c4;
  --ink-faint: #6f6293;

  --display: 'Bungee', 'Space Grotesk', sans-serif;
  --body: 'Space Grotesk', system-ui, sans-serif;

  --glow-pink: 0 0 24px rgba(255, 45, 135, 0.45);
  --glow-violet: 0 0 26px rgba(168, 85, 247, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-weight: 400;
  background: var(--void);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.55;
  background-image:
    radial-gradient(900px 520px at 78% -8%, rgba(168, 85, 247, 0.16), transparent 70%),
    radial-gradient(760px 460px at 8% 4%, rgba(255, 45, 135, 0.13), transparent 68%);
  background-repeat: no-repeat;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.4px; line-height: 1.12; }

a { color: var(--violet-lit); }
a:hover { color: var(--pink-lit); }

::selection { background: var(--pink); color: #fff; }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.6px;
  color: #22062f;
  text-decoration: none;
  text-align: center;
  background: linear-gradient(180deg, var(--pink-lit) 0%, var(--pink) 48%, var(--pink-deep) 100%);
  border: 0;
  border-radius: 14px;
  padding: 0.9rem 1.8rem;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 111, 174, 0.5), 0 10px 30px rgba(255, 45, 135, 0.3);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(255, 111, 174, 0.7), 0 14px 38px rgba(255, 45, 135, 0.42); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--edge);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--violet); box-shadow: var(--glow-violet); }

.btn-small { font-size: 0.82rem; padding: 0.6rem 1.15rem; border-radius: 11px; }
.btn-main { font-size: 1.02rem; padding: 0.9rem 2rem; }

/* ============ Topbar ============ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.65rem clamp(0.9rem, 4vw, 2.5rem);
  background: rgba(7, 5, 14, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--edge-soft);
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-badge { width: 36px; height: 36px; flex: 0 0 auto; filter: drop-shadow(0 0 10px rgba(255, 45, 135, 0.45)); }
.brand-name { font-family: var(--display); font-size: 1.1rem; color: var(--ink); letter-spacing: 0.5px; }
.brand-name em { font-style: normal; color: var(--pink); }

.topbar-right { display: flex; align-items: center; gap: 0.85rem; }
.free-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(255, 182, 46, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}

/* ============ Hero ============ */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 2.5rem;
  max-width: 1180px; margin: 0 auto;
  padding: clamp(2.2rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3.5rem);
}
.eyebrow {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--violet-lit); margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.15rem, 5.6vw, 3.9rem);
  text-shadow: 0 0 34px rgba(168, 85, 247, 0.32);
}
.hl {
  background: linear-gradient(96deg, var(--pink) 0%, var(--violet) 55%, var(--amber) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  color: var(--ink-dim); font-size: 1.06rem; line-height: 1.65;
  margin: 1.15rem 0 1.7rem; max-width: 35rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.claim-chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 1.5rem 0 0;
}
.claim-chips li {
  font-size: 0.8rem; font-weight: 500; color: var(--ink);
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid var(--edge);
  border-radius: 999px;
  padding: 0.38rem 0.85rem 0.38rem 1.9rem;
  position: relative;
}
.claim-chips li::before {
  content: '';
  position: absolute; left: 0.75rem; top: 50%;
  width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
}
.hero-note { margin-top: 1.1rem; font-size: 0.85rem; color: var(--ink-faint); max-width: 32rem; }

/* --- Hero CSS art: a skate over a neon floor --- */
.hero-stage {
  position: relative; min-height: 330px;
  border-radius: 26px;
  border: 1px solid var(--edge);
  background: linear-gradient(180deg, #100a20 0%, #08050f 100%);
  overflow: hidden;
  box-shadow: inset 0 0 70px rgba(168, 85, 247, 0.14), 0 30px 70px rgba(0, 0, 0, 0.55);
}
.stage-orb {
  position: absolute; left: 50%; top: 26%;
  width: 220px; height: 220px; margin-left: -110px;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 36%, rgba(255, 111, 174, 0.85), rgba(168, 85, 247, 0.45) 45%, rgba(109, 40, 217, 0) 72%);
  filter: blur(4px);
  animation: orbPulse 5.5s ease-in-out infinite;
}
.stage-floor {
  position: absolute; left: -30%; right: -30%; bottom: -12%; height: 58%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 45, 135, 0.5) 0 2px, transparent 2px 64px),
    repeating-linear-gradient(0deg, rgba(168, 85, 247, 0.45) 0 2px, transparent 2px 34px);
  transform: perspective(340px) rotateX(64deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(180deg, transparent, #000 42%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 42%);
  animation: floorRoll 2.4s linear infinite;
}
.skate {
  position: absolute; left: 50%; top: 40%;
  width: 190px; height: 128px; margin-left: -95px;
  animation: skateBob 3.4s ease-in-out infinite;
}
.skate-boot {
  position: absolute; left: 10px; top: 0; width: 76px; height: 82px;
  background: linear-gradient(160deg, var(--pink-lit), var(--pink) 45%, var(--pink-deep));
  border-radius: 26px 20px 5px 5px;
  box-shadow: 0 0 30px rgba(255, 45, 135, 0.55);
}
/* the toe box, lower and rounded off at the front */
.skate-boot::after {
  content: ''; position: absolute; left: 72px; top: 48px;
  width: 76px; height: 34px;
  background: linear-gradient(160deg, var(--pink), var(--pink-deep));
  border-radius: 4px 22px 20px 4px;
  box-shadow: 0 0 26px rgba(255, 45, 135, 0.45);
}
.skate-lace {
  position: absolute; left: 20px; width: 54px; height: 5px;
  background: var(--amber-lit); border-radius: 3px; opacity: 0.9;
  box-shadow: 0 0 10px rgba(255, 212, 131, 0.7);
}
.skate-lace:nth-of-type(1) { top: 18px; }
.skate-lace:nth-of-type(2) { top: 34px; }
.skate-lace:nth-of-type(3) { top: 50px; }
.skate-plate {
  position: absolute; left: 4px; top: 84px; width: 156px; height: 11px;
  background: linear-gradient(180deg, #d9c7ff, #8b6fc4);
  border-radius: 6px;
  box-shadow: 0 0 18px rgba(201, 156, 255, 0.5);
}
.skate-wheel {
  position: absolute; top: 95px; width: 32px; height: 32px; border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, var(--amber-lit), var(--amber) 55%, var(--amber-deep));
  box-shadow: 0 0 22px rgba(255, 182, 46, 0.65);
  animation: wheelSpin 1.1s linear infinite;
}
.skate-wheel::after {
  content: ''; position: absolute; left: 50%; top: 4px; width: 3px; height: 12px;
  margin-left: -1.5px; background: rgba(34, 6, 47, 0.5); border-radius: 2px;
}
.skate-wheel.w1 { left: 16px; }
.skate-wheel.w2 { left: 114px; }

.spark {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet-lit);
  box-shadow: 0 0 14px var(--violet);
  opacity: 0.85;
}
.spark.s1 { left: 16%; top: 22%; animation: sparkFloat 4.2s ease-in-out infinite; }
.spark.s2 { right: 18%; top: 16%; background: var(--amber); box-shadow: 0 0 14px var(--amber); animation: sparkFloat 5.4s ease-in-out infinite 0.7s; }
.spark.s3 { right: 26%; top: 62%; background: var(--pink-lit); box-shadow: 0 0 14px var(--pink); animation: sparkFloat 4.8s ease-in-out infinite 1.4s; }

@keyframes orbPulse { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes floorRoll { from { background-position: 0 0, 0 0; } to { background-position: 0 0, 0 34px; } }
@keyframes skateBob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
@keyframes wheelSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes sparkFloat { 0%, 100% { transform: translateY(0); opacity: 0.4; } 50% { transform: translateY(-22px); opacity: 1; } }

/* ============ Game section ============ */
.game-section { padding: 1rem clamp(0.75rem, 3vw, 2.5rem) 3.5rem; max-width: 1000px; margin: 0 auto; }
.game-head { text-align: center; margin-bottom: 1.5rem; }
.game-head h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.game-head p { color: var(--ink-dim); margin-top: 0.5rem; font-size: 0.98rem; }

.game {
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--edge);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* --- Tabs --- */
.tabs {
  display: flex; gap: 0.4rem;
  padding: 0.7rem clamp(0.6rem, 2.5vw, 1rem);
  border-bottom: 1px solid var(--edge-soft);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 1 1 0; min-width: 92px;
  display: flex; flex-direction: column; align-items: center; gap: 0.12rem;
  font-family: var(--body);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.55rem 0.6rem;
  color: var(--ink-dim);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.tab:hover { color: var(--ink); background: rgba(168, 85, 247, 0.12); }
.tab:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.tab-name { font-size: 0.87rem; font-weight: 700; letter-spacing: 0.2px; white-space: nowrap; }
.tab-kind { font-size: 0.63rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.tab.is-active {
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 45, 135, 0.28), rgba(168, 85, 247, 0.18));
  border-color: rgba(255, 111, 174, 0.55);
  box-shadow: 0 0 18px rgba(255, 45, 135, 0.28);
}
.tab.is-active .tab-kind { color: var(--amber); }

/* --- Canvas --- */
.stage-wrap {
  position: relative;
  padding: clamp(0.6rem, 2.2vw, 1rem);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(168, 85, 247, 0.14), transparent 70%),
    var(--void-2);
  border-bottom: 1px solid var(--edge-soft);
}
#stage {
  display: block; width: 100%; aspect-ratio: 720 / 450;
  border-radius: 14px;
  background: #06040d;
  border: 1px solid var(--edge);
  touch-action: none;
  cursor: pointer;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.7);
}
#stage:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* --- HUD --- */
.hud {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem clamp(0.85rem, 3vw, 1.5rem);
}
.hud-scores { display: flex; gap: 0.6rem; }
.hud-block {
  display: flex; flex-direction: column; gap: 0.1rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--edge-soft);
  border-radius: 12px;
  padding: 0.5rem 0.95rem;
  min-width: 92px;
}
.hud-label { font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-faint); }
.hud-value { font-family: var(--display); font-size: 1.35rem; color: var(--ink); line-height: 1.1; }
.hud-best { color: var(--amber); text-shadow: 0 0 16px rgba(255, 182, 46, 0.5); }

.hud-main { display: flex; align-items: center; gap: 1rem; margin-left: auto; flex-wrap: wrap; }
.hud-tagline { font-size: 0.87rem; color: var(--ink-dim); max-width: 22rem; }

.controls-hint {
  font-size: 0.85rem; color: var(--ink-dim);
  padding: 0.85rem clamp(0.85rem, 3vw, 1.5rem);
  border-top: 1px solid var(--edge-soft);
  background: rgba(0, 0, 0, 0.25);
}
.controls-hint strong { color: var(--violet-lit); font-weight: 700; }

.game-foot { text-align: center; color: var(--ink-faint); font-size: 0.85rem; margin-top: 1.2rem; }

/* ============ How it works ============ */
.how { max-width: 1080px; margin: 0 auto; padding: 2rem clamp(1rem, 4vw, 2.5rem) 1rem; }
.how h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); text-align: center; margin-bottom: 1.8rem; }
.how-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; list-style: none; }
.how-card {
  position: relative;
  background: linear-gradient(180deg, rgba(26, 17, 50, 0.9), rgba(18, 12, 34, 0.9));
  border: 1px solid var(--edge);
  border-radius: 18px;
  padding: 1.6rem 1.4rem 1.4rem;
}
.how-num {
  position: absolute; top: -14px; left: 1.3rem;
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--display); font-size: 0.95rem; color: #22062f;
  background: linear-gradient(180deg, var(--amber-lit), var(--amber));
  box-shadow: 0 0 20px rgba(255, 182, 46, 0.45);
}
.how-card h3 { font-size: 1.05rem; margin: 0.5rem 0 0.5rem; color: var(--ink); }
.how-card p { color: var(--ink-dim); font-size: 0.92rem; }

/* ============ Features ============ */
.features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  max-width: 1080px; margin: 2.5rem auto;
  background: var(--edge-soft);
  border: 1px solid var(--edge);
  border-radius: 18px;
  overflow: hidden;
}
.feat {
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  padding: 1.4rem 0.6rem;
  background: var(--void-2);
  text-align: center;
}
.feat strong {
  font-family: var(--display); font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 400;
  background: linear-gradient(180deg, var(--pink-lit), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.feat span { font-size: 0.74rem; letter-spacing: 0.05em; color: var(--ink-faint); }

/* ============ Lineup ============ */
.lineup { max-width: 1080px; margin: 0 auto; padding: 1.5rem clamp(1rem, 4vw, 2.5rem); }
.lineup h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); text-align: center; margin-bottom: 1.8rem; }
.lineup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.line-card {
  background: linear-gradient(180deg, rgba(26, 17, 50, 0.85), rgba(12, 8, 23, 0.9));
  border: 1px solid var(--edge);
  border-radius: 18px;
  padding: 1.3rem 1.25rem;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.line-card:hover { border-color: rgba(255, 111, 174, 0.55); transform: translateY(-3px); }
.line-tag {
  display: inline-block; font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber); border: 1px solid rgba(255, 182, 46, 0.3);
  border-radius: 999px; padding: 0.2rem 0.6rem; margin-bottom: 0.7rem;
}
.line-card h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.line-card p { color: var(--ink-dim); font-size: 0.9rem; }

/* ============ FAQ ============ */
.faq { max-width: 780px; margin: 0 auto; padding: 2.5rem clamp(1rem, 4vw, 2.5rem) 3.5rem; }
.faq h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); text-align: center; margin-bottom: 1.6rem; }
.faq details {
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: rgba(18, 12, 34, 0.7);
  margin-bottom: 0.7rem;
  overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1rem 2.6rem 1rem 1.15rem;
  font-weight: 700; font-size: 0.97rem; color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  font-family: var(--display); color: var(--pink); font-size: 1.05rem;
}
.faq details[open] summary::after { content: '–'; }
.faq details[open] summary { color: var(--pink-lit); }
.faq summary:focus-visible { outline: 2px solid var(--amber); outline-offset: -2px; }
.faq details p { padding: 0 1.15rem 1.1rem; color: var(--ink-dim); font-size: 0.92rem; }

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--edge);
  background: var(--void-2);
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem) 2rem;
  text-align: center;
}
.footer-brand { display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: 0.9rem; }
.footer-brand .brand-badge { width: 30px; height: 30px; }
.footer-brand span { font-family: var(--display); font-size: 1rem; color: var(--ink); }
.footer-brand em { font-style: normal; color: var(--pink); }
.footer > p { color: var(--ink-dim); font-size: 0.88rem; max-width: 42rem; margin: 0 auto; }
.footer-links { margin: 1.1rem 0 0.8rem; font-size: 0.88rem; color: var(--ink-faint); }
.footer-links a { color: var(--ink-dim); text-decoration: none; }
.footer-links a:hover { color: var(--pink-lit); text-decoration: underline; }
.footer-copy { color: var(--ink-faint); font-size: 0.76rem; }

/* ============ Legal pages ============ */
.legal {
  max-width: 760px; margin: 0 auto;
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1rem, 4vw, 2.5rem) 3.5rem;
}
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); margin-bottom: 0.5rem; }
.legal-updated {
  font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 2rem;
}
.legal h2 {
  font-size: 1.05rem; margin: 2rem 0 0.6rem; color: var(--pink-lit);
  letter-spacing: 0.3px;
}
.legal p, .legal li { color: var(--ink-dim); font-size: 0.95rem; line-height: 1.7; }
.legal p + p { margin-top: 0.8rem; }
.legal strong { color: var(--ink); font-weight: 700; }
.legal ul { margin: 0.7rem 0 0 1.2rem; }
.legal li { margin-bottom: 0.6rem; }
.legal a { color: var(--violet-lit); }
.legal-lede {
  border-left: 3px solid var(--pink);
  padding-left: 1rem;
  color: var(--ink) !important;
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  /* copy stays first: an ad reviewer must see "free, no money" without scrolling */
  .hero { grid-template-columns: 1fr; gap: 1.6rem; padding-top: clamp(1.5rem, 5vw, 2.5rem); }
  .hero-stage { min-height: 240px; }
  .skate { transform: scale(0.85); }
}

@media (max-width: 620px) {
  .free-tag { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .hud { flex-direction: column; align-items: stretch; }
  .hud-scores { justify-content: space-between; }
  .hud-block { flex: 1; }
  .hud-main { margin-left: 0; flex-direction: column; align-items: stretch; text-align: center; }
  .hud-tagline { max-width: none; }
  .btn-main { width: 100%; }
  .tab { min-width: 84px; padding: 0.5rem 0.4rem; }
  .tab-name { font-size: 0.78rem; }
  .hero h1 { font-size: clamp(1.9rem, 8.5vw, 2.5rem); }
  .hero-sub { font-size: 0.98rem; margin: 0.9rem 0 1.3rem; }
  .hero-stage { min-height: 200px; }
  .skate { transform: scale(0.66); }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 2rem; }
  .brand-name { font-size: 0.95rem; }
  .tab { min-width: 76px; }
  .tab-name { font-size: 0.72rem; }
  .tab-kind { font-size: 0.56rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage-orb, .stage-floor, .skate, .skate-wheel, .spark { animation: none !important; }
  .btn { transition: none; }
}
