/* Neon Arcade theme. Loaded last on every page so it sits on top of style.css, site.css and page styles.
   Colours themselves live in the --tokens in style.css; this file adds the glow, the grid floor and the type. */
:root {
  --cyan: #22e8ff;
  --violet: #8b5cff;
  --glow-pink: 0 0 22px rgba(255,43,214,.55);
  --glow-cyan: 0 0 22px rgba(34,232,255,.55);
  --neon-grad: linear-gradient(90deg, #ff2bd6, #8b5cff);
}
html, body { background-color: var(--bg); }
body { background:
  radial-gradient(900px 520px at 85% -10%, rgba(255,43,214,.22), transparent 62%),
  radial-gradient(700px 520px at -10% 10%, rgba(34,232,255,.12), transparent 62%),
  var(--bg); background-attachment: fixed; }

/* retro grid floor along the bottom of the screen on the marketing and account pages */
body.site::before { content: ""; position: fixed; left: -50%; right: -50%; bottom: -12vh; height: 52vh; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,43,214,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,43,214,.5) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(520px) rotateX(62deg); transform-origin: top;
  -webkit-mask-image: linear-gradient(transparent, #000 45%); mask-image: linear-gradient(transparent, #000 45%); opacity: .55; }
body.site { position: relative; z-index: 0; overflow-x: clip; }

/* logo */
.brand, .auth-logo { font-family: "Kanit Black", "Anton", sans-serif; font-style: italic; letter-spacing: 0; }
.brand span, .auth-logo span { color: var(--cyan); text-shadow: 0 0 14px rgba(34,232,255,.45); }

.brand { font-size: 21px; }
@media (max-width: 700px) { .brand { font-size: 19px; } .nav .wrap { gap: 12px; } }

/* big headings: slanted, uppercase, chunky */
h1.display, h2.title, .start h1, .auth-side h2, .auth-card h1, .pj-head h1, .mv-head h1,
.adm h1, .sec-h h2, .bill h1, h2.sec, .set h1, .s-head h1, .hello h1, .gate-card h1, .rs-card h2 {
  font-family: "Kanit Black", "Anton", Impact, sans-serif; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; }
h1.display { font-size: clamp(36px, 5.4vw, 66px); line-height: 1.02; }
h2.title { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; }
.start h1 { font-size: 38px; }
.auth-side h2 { font-size: 40px; }
.auth-card h1 { font-size: 28px; }
.s-head h1 { font-size: clamp(34px, 5vw, 54px); }
.bill h1, .set h1 { font-size: clamp(32px, 4.4vw, 46px); }
.hello h1, .gate-card h1, .rs-card h2 { font-size: clamp(28px, 4.2vw, 42px); }
h1.display em, h2.title em, .start h1 em, .s-head h1 em {
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  color: var(--cyan); text-shadow: var(--glow-cyan); font-style: italic; }
.start h1 em { color: var(--accent); text-shadow: var(--glow-pink); }
.kicker { color: var(--cyan); text-shadow: 0 0 10px rgba(34,232,255,.4); }

/* buttons */
.btn { background: var(--neon-grad); color: #fff; box-shadow: 0 0 22px -4px rgba(255,43,214,.6); }
.btn:hover { filter: brightness(1.12); box-shadow: 0 0 30px -2px rgba(255,43,214,.75); }
.btn.ghost { background: rgba(255,255,255,.02); box-shadow: none; border-color: rgba(243,238,255,.22); }
.btn.ghost:hover { border-color: var(--cyan); box-shadow: 0 0 16px -4px rgba(34,232,255,.6); }
.btn.yellow { background: var(--cyan); color: #0a0418; box-shadow: 0 0 20px -4px rgba(34,232,255,.7); }
.btn.lg:not(.ghost) { clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); border-radius: 0; }
.btn.glow { box-shadow: 0 0 34px -4px rgba(255,43,214,.8); }
.discord-btn { box-shadow: 0 0 18px -6px rgba(88,101,242,.9); }

/* surfaces get a faint neon edge */
.panel, .card, .price-card, .plan { border-color: rgba(139,92,255,.32); }
.price-card.hot, .plan.hot, .price-card.popular { border-color: var(--accent); box-shadow: 0 0 34px -8px rgba(255,43,214,.55); }
.nav { background: rgba(10,4,24,.72); border-bottom-color: rgba(255,43,214,.18); }
.eyebrow { border-radius: 4px; }
.eyebrow .dot { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); border-radius: 2px; }

/* inputs */
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], select, textarea { border-color: rgba(139,92,255,.35); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,232,255,.18); }

@media (prefers-reduced-motion: reduce) { body.site::before { opacity: .35; } }

/* homepage phone mock-up in the new colours */
.pmock { border-color: #1a0e36; box-shadow: 0 0 40px rgba(255,43,214,.45), 0 0 90px rgba(139,92,255,.25); }
.pmock.a { border-color: #ff2bd6; }
.pmock .cam { background: linear-gradient(160deg, #4b1d8f, #1c0b3d); }
.pmock .game { background: linear-gradient(180deg, #0e7c86, #082c3a 70%, #06141c); }
.stats b, .price-card .price, .step-n { font-family: "Kanit Black", "Anton", sans-serif; font-style: italic; }
