/* m4ster STREET-TURF — landing site. Dark, alive, premium. Game styles live in style.css. */
:root {
  --bg: #0a0618;
  --panel: #150b2e;
  --violet: #b366ff;
  --pink: #ff2d78;
  --gold: #ffd166;
  --text: #f2eefc;
  --dim: #b9aed6;
  --rgb-speed: 9s;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
}
body::before { /* living aura backdrop */
  content: ''; position: fixed; inset: -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 32% at 18% 12%, rgba(179,102,255,.20), transparent 70%),
    radial-gradient(38% 30% at 85% 22%, rgba(255,45,120,.13), transparent 70%),
    radial-gradient(50% 40% at 55% 95%, rgba(64,40,160,.20), transparent 70%);
  animation: aura 14s ease-in-out infinite alternate;
}
@keyframes aura { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(2%, -1.5%, 0) scale(1.05); } }

/* RGB separator — the m4ster standard line */
.rgb-sep {
  height: 2px; width: 100%;
  background: linear-gradient(90deg, #ff2d78, #ff8c00, #ffee00, #00e676, #00ccff, #7c4dff, #ff2d78);
  background-size: 200% 100%;
  animation: rgbflow var(--rgb-speed) linear infinite;
}
@keyframes rgbflow { from { background-position: 0% 0; } to { background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce) {
  .rgb-sep, body::before, .logo-mark { animation: none !important; }
  .reveal, .pop { opacity: 1 !important; transform: none !important; }
}

/* top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px;
  background: linear-gradient(180deg, rgba(21,11,46,.92), rgba(10,6,24,.88));
  backdrop-filter: blur(10px);
}
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.logo-mark { width: 38px; height: 38px; animation: logopulse 3.5s ease-in-out infinite; will-change: transform, filter; }
@keyframes logopulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 3px rgba(179,102,255,.45)); }
  50% { transform: scale(1.045); filter: drop-shadow(0 0 9px rgba(255,45,120,.55)); }
}
.logo-word { font-family: 'Bebas Neue', sans-serif; font-size: 21px; letter-spacing: 2px; }
.logo-word em { font-style: normal; color: var(--violet); }
.topnav { display: flex; align-items: center; gap: 20px; }
.topnav a { color: var(--dim); text-decoration: none; font-weight: 600; font-size: 14px; transition: color .2s, transform .2s; }
.topnav a:hover { color: var(--text); transform: translateY(-1px); }
.topnav .nav-play {
  color: #fff; background: linear-gradient(135deg, #7c3aed, #b366ff);
  padding: 8px 18px; border-radius: 999px;
  box-shadow: 0 4px 18px rgba(140,80,255,.45);
}
.topnav .nav-play:hover { color: #fff; transform: translateY(-1px) scale(1.03); }

/* hero */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,6,24,.93) 26%, rgba(10,6,24,.55) 55%, rgba(10,6,24,.12)); }
.hero-copy { position: relative; z-index: 2; max-width: 620px; padding: 64px 24px 64px 5vw; }
.kicker { color: var(--violet); font-weight: 800; letter-spacing: 5px; font-size: 13px; }
.hero-copy h1 {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(64px, 11vw, 128px); line-height: .95;
  letter-spacing: 3px; margin: 8px 0 14px;
  text-shadow: 0 6px 34px rgba(124,58,237,.55);
}
.tagline { font-size: clamp(16px, 2vw, 20px); line-height: 1.55; color: #e7defa; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 20px; }
.btn-play {
  display: inline-block; text-decoration: none; cursor: pointer; border: 0;
  font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 3px; color: #fff;
  background: linear-gradient(135deg, #7c3aed, #a855f7 55%, #ff2d78 130%);
  padding: 14px 34px; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(140,80,255,.5);
  transition: transform .18s, box-shadow .18s;
}
.btn-play:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 38px rgba(140,80,255,.65); }
.btn-play.small { font-size: 19px; padding: 11px 26px; }
.btn-ghost {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-weight: 600; font-size: 15px; color: var(--text);
  border: 1px solid rgba(179,102,255,.5); border-radius: 12px; padding: 13px 22px;
  background: rgba(21,11,46,.45); transition: border-color .2s, transform .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--violet); transform: translateY(-2px); background: rgba(21,11,46,.75); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
  font-size: 11.5px; font-weight: 800; letter-spacing: 1.6px; color: #d9ccff;
  border: 1px solid rgba(179,102,255,.55); border-radius: 999px; padding: 6px 13px;
  background: rgba(21,11,46,.55);
}
.hero-note { margin-top: 16px; color: var(--dim); font-size: 13.5px; }

/* entrance pops (staggered) */
.pop { opacity: 0; animation: popin .7s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .18s; } .d3 { animation-delay: .3s; }
.d4 { animation-delay: .42s; } .d5 { animation-delay: .54s; }
@keyframes popin { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

/* sections */
.section { max-width: 1120px; margin: 0 auto; padding: 76px 22px 10px; }
.section h2 {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(38px, 5.4vw, 56px);
  letter-spacing: 3px; margin-bottom: 28px;
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card {
  background: linear-gradient(160deg, rgba(30,17,64,.85), rgba(16,9,36,.9));
  border: 1px solid rgba(179,102,255,.22); border-radius: 16px; padding: 22px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  will-change: transform, opacity;
}
.card:hover { transform: translateY(-4px); border-color: rgba(179,102,255,.6); box-shadow: 0 14px 34px rgba(90,40,180,.35); }
.card h3 { font-size: 18px; margin-bottom: 9px; }
.card p { color: var(--dim); line-height: 1.6; font-size: 14.5px; }
.controls-wrap {
  display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between;
  background: linear-gradient(160deg, rgba(30,17,64,.85), rgba(16,9,36,.9));
  border: 1px solid rgba(179,102,255,.22); border-radius: 16px; padding: 26px;
}
.controls { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px 30px; flex: 1; }
.controls li { color: var(--dim); font-size: 15px; }
.controls b { color: var(--text); }
.get-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.fine { color: var(--dim); font-size: 13.5px; margin-top: 14px; }
.hidden { display: none !important; }

/* scroll reveals — same family, different flavor */
.reveal { opacity: 0; will-change: transform, opacity; }
.reveal.fade-up { transform: translateY(26px); }
.reveal.scale-in { transform: scale(.92); filter: blur(4px); }
.reveal.slide-in { transform: translateX(-30px); }
.reveal.in { opacity: 1; transform: none; filter: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, 1.2, .3, 1), filter .7s ease; }

footer { margin-top: 84px; padding-bottom: 34px; text-align: center; color: var(--dim); font-size: 13.5px; }
footer p { margin-top: 16px; }
footer a { color: var(--violet); text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .topnav a:not(.nav-play) { display: none; }
  .hero { min-height: 92vh; align-items: flex-end; }
  .hero-shade { background: linear-gradient(0deg, rgba(10,6,24,.96) 30%, rgba(10,6,24,.35) 70%, rgba(10,6,24,.1)); }
  .hero-copy { padding: 40px 18px 44px; }
}
