@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=JetBrains+Mono:wght@500;700&family=Creepster&display=swap");

/* roflex.xyz temporary static site. Same Halloween theme as the app: midnight purple + pumpkin orange. */
:root {
  --bg: #140a1f;
  --bg-deep: #0d0615;
  --surface: #1d1029;
  --surface-2: #281638;
  --border: #3a2350;
  --border-hot: #5a3478;
  --text: #f6eefc;
  --muted: #a690b8;
  --accent: #ff4d00;
  --accent-2: #ff7a1a;
  --radius: 12px;
  --font: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --spooky: "Creepster", var(--font);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 77, 0, 0.12), transparent 60%),
    radial-gradient(800px 600px at -10% 20%, rgba(168, 85, 247, 0.12), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
main { flex: 1; width: 100%; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #1a0600; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: 12px; line-height: 1.6; }

/* Floating bats */
.bats { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bats span { position: absolute; font-size: 22px; opacity: 0.18; filter: grayscale(1) brightness(0.6); animation: fly 38s linear infinite; }
.bats span:nth-child(1) { top: 18%; animation-delay: -4s; }
.bats span:nth-child(2) { top: 46%; animation-delay: -18s; font-size: 16px; animation-duration: 46s; }
.bats span:nth-child(3) { top: 74%; animation-delay: -30s; font-size: 28px; animation-duration: 54s; }
@keyframes fly {
  0% { transform: translate(-60px, 0) rotate(-6deg); left: 0; }
  25% { transform: translate(25vw, -30px) rotate(6deg); }
  50% { transform: translate(50vw, 20px) rotate(-6deg); }
  75% { transform: translate(75vw, -20px) rotate(6deg); }
  100% { transform: translate(105vw, 0) rotate(-6deg); }
}
@media (prefers-reduced-motion: reduce) { .bats { display: none; } .hero-logo { animation: none !important; } }
.header, main, .footer { position: relative; z-index: 1; }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: rgba(13, 6, 21, 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.event-bar { display: block; text-align: center; font-size: 13px; padding: 6px 16px; background: linear-gradient(90deg, #3a1250, var(--accent) 50%, #3a1250); color: #fff; }
.event-bar strong { font-family: var(--spooky); font-weight: 400; letter-spacing: 0.06em; font-size: 15px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo img { filter: drop-shadow(0 0 10px rgba(255, 77, 0, 0.45)); }
.logo em { font-style: normal; color: var(--accent); }
.nav { display: flex; gap: 16px; font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text);
  font: 500 14px var(--font); cursor: pointer; white-space: nowrap;
  transition: transform 0.08s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: var(--border); }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 700; }
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 0 24px rgba(255, 77, 0, 0.45); }
.btn-lg { padding: 13px 22px; font-size: 15px; }

/* Coming soon hero */
.hero { padding: 64px 0 36px; text-align: center; }
.hero-logo { margin: 0 auto 18px; border-radius: 24px; box-shadow: 0 0 60px rgba(255, 77, 0, 0.35); animation: flicker 6s infinite; }
@keyframes flicker { 0%, 100% { box-shadow: 0 0 60px rgba(255, 77, 0, 0.35); } 48% { box-shadow: 0 0 60px rgba(255, 77, 0, 0.35); } 50% { box-shadow: 0 0 30px rgba(255, 77, 0, 0.15); } 52% { box-shadow: 0 0 70px rgba(255, 77, 0, 0.5); } }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border-hot); background: var(--surface); color: var(--accent-2); font: 700 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.hero h1 { font-size: clamp(38px, 7vw, 72px); line-height: 0.95; letter-spacing: -0.04em; margin: 0 0 16px; }
.hero h1 em { font-style: normal; font-family: var(--spooky); font-weight: 400; letter-spacing: 0.02em; color: var(--accent); text-shadow: 0 0 30px rgba(255, 77, 0, 0.5); }
.hero p { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto 24px; line-height: 1.5; }
.hero-ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.video { max-width: 880px; margin: 8px auto 40px; border-radius: 18px; overflow: hidden; border: 1px solid var(--border-hot); background: var(--bg-deep); box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 77, 0, 0.12); }
.video video { width: 100%; height: auto; aspect-ratio: 16 / 9; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 auto 50px; max-width: 980px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: border-color 0.15s ease, transform 0.15s ease; }
.step:hover { border-color: var(--accent); transform: translateY(-2px); }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 14px var(--mono); margin-bottom: 10px; }
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; font-size: 14px; line-height: 1.5; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto 60px; }
.page-head { margin: 28px 0 18px; }
.page-head h1 { margin: 0 0 6px; font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.03em; }
.page-head p { margin: 0; max-width: 680px; line-height: 1.5; }
.page-head .meta { margin-top: 10px; font-size: 13px; }
.kicker { display: inline-block; font-family: var(--spooky); font-size: 18px; color: var(--accent); letter-spacing: 0.06em; margin-bottom: 6px; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin: 0 0 22px; padding: 14px 18px; }
.toc strong { display: block; margin-bottom: 6px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; font-size: 14px; line-height: 1.8; }
.toc a:hover { color: var(--accent); }
.legal-body { line-height: 1.7; }
.legal-body section { padding: 6px 0 4px; scroll-margin-top: 110px; }
.legal-body h2 { font-size: 20px; letter-spacing: -0.01em; margin: 26px 0 8px; }
.legal-body h2 span { color: var(--accent); margin-right: 8px; font-family: var(--mono); font-size: 15px; }
.legal-body ul { padding-left: 20px; margin: 8px 0; }
.legal-body li { margin: 4px 0; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-body code { font-family: var(--mono); font-size: 0.9em; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 1px 5px; }

/* Footer */
.footer { border-top: 1px solid var(--border); background: var(--bg-deep); padding: 28px 0 20px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand p { margin: 2px 0 0; font-size: 13px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--accent-2); }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .hero p { font-size: 16px; }
}
@media (max-width: 640px) { .toc ol { columns: 1; } }
