/* b00m website pages (home, privacy, terms). The game itself uses style.css. */
:root {
  --bg: #0a0f12; --panel: #111a1f; --line: rgba(160, 200, 210, .16); --text: #dfe9ec; --muted: #8ea4aa;
  --accent: #ffc83d; --accent2: #f0a51e; --bad: #ff5a4d; --good: #6be07a;
  font-family: Rajdhani, "Segoe UI", system-ui, sans-serif; font-size: 17px; color: var(--text);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); }
body { min-height: 100vh; display: flex; flex-direction: column; line-height: 1.55; }
a { color: var(--accent); }
.wrap { width: min(1080px, 100% - 32px); margin: 0 auto; }

/* top bar */
.top { border-bottom: 1px solid var(--line); background: rgba(10, 15, 18, .8); backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
.brand { font-family: "Black Ops One", sans-serif; font-size: 26px; color: var(--accent); text-decoration: none; letter-spacing: .08em; }
.top nav { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.top nav a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 1px solid transparent; font-size: 18px; }
.btn.primary { background: linear-gradient(180deg, #ffd25a, var(--accent2)); color: #1b1404; box-shadow: 0 8px 30px rgba(255, 200, 61, .25); }
.btn.primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn.ghost { border-color: #3c5058; color: var(--text); }
.top .btn { padding: 7px 16px; font-size: 16px; }

/* hero */
.hero { position: relative; overflow: hidden; text-align: center; padding: 80px 0 70px; }
.hero::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse at 50% 30%, rgba(255, 200, 61, .10), transparent 60%),
  repeating-linear-gradient(90deg, rgba(160, 200, 210, .05) 0 1px, transparent 1px 60px),
  repeating-linear-gradient(0deg, rgba(160, 200, 210, .05) 0 1px, transparent 1px 60px);
  mask-image: linear-gradient(transparent, #000 25%, #000 70%, transparent); }
.hero > * { position: relative; }
.logo { font-family: "Black Ops One", sans-serif; font-weight: 400; font-size: clamp(72px, 15vw, 168px); margin: 0; color: var(--accent);
  text-shadow: 0 6px 0 #7a4f08, 0 14px 40px rgba(0, 0, 0, .6); letter-spacing: .12em; animation: glow 6s ease-in-out 1.2s infinite; }
.logo span { display: inline-block; animation: drop .75s cubic-bezier(.2, 1.5, .45, 1) both, float 5s ease-in-out infinite; animation-delay: calc(var(--i) * .09s), calc(1s + var(--i) * .3s); }
@keyframes drop { from { transform: translateY(-130%) rotate(-14deg); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 200, 61, 0)); } 50% { filter: drop-shadow(0 0 22px rgba(255, 200, 61, .35)); } }
.tagline { font-size: 26px; font-weight: 700; color: var(--muted); letter-spacing: .06em; margin: 6px 0 14px; }
.tagline b { color: var(--bad); }
.lead { max-width: 620px; margin: 0 auto 30px; color: var(--muted); font-size: 19px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* sections */
section { padding: 50px 0; }
h2 { font-family: "Black Ops One", sans-serif; font-weight: 400; letter-spacing: .04em; font-size: 30px; margin: 0 0 22px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.card h3 { margin: 6px 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
.card .ico { font-size: 28px; }
.keys { width: 100%; border-collapse: collapse; }
.keys td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.keys td:first-child { white-space: nowrap; color: var(--accent); font-weight: 700; width: 1%; }

/* policy pages */
.doc { padding: 40px 0 60px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-family: "Black Ops One", sans-serif; font-weight: 400; font-size: 38px; margin: 0 0 4px; }
.doc .updated { color: var(--muted); margin: 0 0 26px; }
.doc h2 { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 23px; margin: 30px 0 8px; color: var(--accent); }
.doc p, .doc li { color: #c8d4d7; }
.doc table { border-collapse: collapse; width: 100%; margin: 8px 0 14px; }
.doc th, .doc td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.fill { background: rgba(255, 200, 61, .14); border: 1px dashed rgba(255, 200, 61, .5); border-radius: 4px; padding: 0 4px; color: #ffe39a; }

/* footer */
footer { margin-top: auto; border-top: 1px solid var(--line); padding: 22px 0; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
footer .sp { margin-left: auto; }
@media (prefers-reduced-motion: reduce) { .logo, .logo span { animation: none !important; } }
@media (max-width: 600px) { .top nav a:not(.btn) { display: none; } .hero { padding: 50px 0; } }

/* Slashed zeros: in the stencil font a 0 looks just like an O, so cut a diagonal through it. */
.logo .z, .brand .z { position: relative; display: inline-block; }
.logo .z::after, .brand .z::after { content: ''; position: absolute; left: 14%; right: 14%; top: 44%; height: .1em; background: currentColor; transform: rotate(-60deg); border-radius: .02em; box-shadow: 0 .04em 0 #7a4f08; }

/* Discord invite */
.card.discord { display: flex; align-items: center; gap: 20px; text-decoration: none; color: var(--text); border-color: rgba(88, 101, 242, .5);
  background: linear-gradient(120deg, rgba(88, 101, 242, .16), var(--panel) 70%); }
.card.discord:hover { border-color: #5865f2; }
.card.discord .dc-ico { width: 52px; height: 52px; flex: none; color: #8c95ff; }
.card.discord > div { flex: 1; }
.card.discord .btn { white-space: nowrap; }
@media (max-width: 600px) { .card.discord { flex-direction: column; text-align: center; } }

/* "made for PC" notice on phones and tablets */
.mobile-note { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 16px; background: rgba(4, 7, 9, .78); backdrop-filter: blur(4px); }
.mobile-note[hidden] { display: none; }
.mobile-note .card { max-width: 420px; text-align: center; border-color: rgba(255, 200, 61, .4); }
.mobile-note h3 { font-size: 24px; }
.mobile-note p { margin: 0 0 18px; }
.mobile-note button.btn { font: inherit; font-weight: 700; cursor: pointer; }

/* ".online" tucked into the top-right of the title; it drops in and floats with the letters */
.logo { position: relative; display: inline-block; }
.logo .dot-online { position: absolute; right: .3em; top: .95em; font-size: .17em; letter-spacing: .06em; color: #fff;
  text-shadow: 0 .12em 0 rgba(0, 0, 0, .45), 0 0 .6em rgba(255, 200, 61, .55); }
/* live player count before ".online" (src/playercount.js): number, word, underlined .online.
   <b>/<i>/<u>, not spans: every span in the logo gets the drop-in / float animation. */
.logo .dot-online { white-space: nowrap; }
.logo .dot-online b, .logo .dot-online i { font: inherit; }
.logo .dot-online .pc-n { color: #6dff8f; text-shadow: 0 .12em 0 rgba(0, 0, 0, .45), 0 0 .6em rgba(109, 255, 143, .6); }
.logo .dot-online .pc-w { color: #9fc4cf; }
.logo .dot-online u { color: #fff; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .18em; }
/* the mood face after .online: sad at 0, happier with every crowd, ridiculous past 100 */
/* pinned just past ".online", so a long face hangs off the logo's right edge instead of pushing
   the badge left; on narrower screens it sits before the count instead, wrapping upward (no sideways scrolling) */
.logo .dot-online .pc-f { position: absolute; left: 100%; top: 0; margin-left: .5em; width: max-content; max-width: 10em; white-space: normal; line-height: 1.15;
  color: #ffc83d; letter-spacing: 0; text-decoration: none; font-family: "Rajdhani", system-ui, sans-serif; font-weight: 700; }
@media (max-width: 1100px) { .logo .dot-online .pc-f { left: auto; right: 100%; top: auto; bottom: 0; margin: 0 .5em 0 0; text-align: right; } }
.logo .dot-online .pc-f.sad { color: #7f95a0; text-shadow: none; }
.logo .dot-online .pc-f.silly { animation: pc-rainbow 2.4s linear infinite, pc-bob .9s ease-in-out infinite; }
.logo .dot-online .pc-f.party { animation: pc-rainbow 1s linear infinite, pc-bob .45s ease-in-out infinite, pc-wiggle .3s ease-in-out infinite; }
.logo .dot-online .pc-f.legend { animation: pc-rainbow .5s linear infinite, pc-bob .3s ease-in-out infinite, pc-wiggle .15s ease-in-out infinite; font-size: 1.15em; }
@keyframes pc-rainbow { from { filter: hue-rotate(0deg) saturate(1.6); } to { filter: hue-rotate(360deg) saturate(1.6); } }
@keyframes pc-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.3em; } }
@keyframes pc-wiggle { 0%, 100% { rotate: -6deg; } 50% { rotate: 6deg; } }
@media (prefers-reduced-motion: reduce) { .logo .dot-online .pc-f { animation: none !important; } }
/* home: "New here? Try Boot Camp" under How to play */
.boot-cta { margin: 16px 0 0; }
.boot-cta .btn { border-color: rgba(255, 200, 61, .6); color: var(--accent); font-size: 16px; padding: 8px 18px; }
.boot-cta .btn:hover { background: rgba(255, 200, 61, .08); }

/* --- the montage behind the hero (tools/montage), from under the header down to "Play now" -------- */
.hero { margin-top: -61px; padding-top: 141px; }                     /* runs up under the (translucent) header */
.hero-media { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: #0b1013; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }   /* its poster until it plays */
/* Dark behind the logo and button, darker at the top (the header) and fading into the page below. */
.hero-media::after { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 55% 60% at 50% 52%, rgba(8, 12, 15, .62), rgba(8, 12, 15, .35) 70%),
  linear-gradient(rgba(8, 12, 15, .7), rgba(8, 12, 15, 0) 22%, rgba(8, 12, 15, 0) 70%, var(--bg, #0b1013)); }
.hero::before { z-index: 1; }
.hero > .wrap { z-index: 2; }
