/* Goof Show site: a TV studio at night. Plum stage, red curtain, gold coin, marquee bulbs, monitor bezels. */
@font-face { font-family: "Bungee"; src: url("/fonts/Bungee-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Archivo Black"; src: url("/fonts/ArchivoBlack-Regular.ttf") format("truetype"); font-display: swap; }

:root {
  --ink: #fff4e3;
  --ink-soft: #e9d3e0;
  --plum-950: #170713;
  --plum-900: #22091c;
  --plum-800: #2e0f27;
  --plum-700: #431936;
  --red: #c71f34;
  --red-deep: #8e1023;
  --gold: #f6b730;
  --gold-hi: #ffd977;
  --bezel: #0f0a0e;
  --wrap: 1180px;
  --display: "Bungee", "Archivo Black", Impact, sans-serif;
  --heavy: "Archivo Black", "Arial Black", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font: 20px/1.6 var(--body);
  background: var(--plum-900) radial-gradient(1200px 600px at 50% -10%, var(--plum-700), transparent 70%) no-repeat;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); }
a:hover { color: #fff; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--gold); color: #000; padding: 6px 10px; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 10px 22px; background: rgb(23 7 19 / .86); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgb(255 255 255 / .06);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none;
  font: 18px var(--display); letter-spacing: .02em; }
.topbar nav { display: flex; gap: 20px; }
.topbar nav a { color: var(--ink-soft); text-decoration: none; font: 15px var(--heavy); text-transform: uppercase; letter-spacing: .06em; }
.topbar nav a:hover { color: var(--gold-hi); }

/* Hero */
.hero { position: relative; background: var(--plum-950); }
.hero-art { width: 100%; aspect-ratio: 2400 / 775; object-fit: cover; }
.hero-logo { margin: 0; padding: 18px 20px 0; }
.logo { width: min(520px, 84vw); margin: 0 auto; filter: drop-shadow(0 8px 18px rgb(0 0 0 / .55)); }
.hero-copy { text-align: center; padding: 18px 20px 34px; }
.tagline { font: clamp(24px, 3vw, 36px)/1.2 var(--heavy); margin: 0 0 6px; color: var(--gold-hi); }
.sub { margin: 0 0 22px; color: var(--ink-soft); }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (min-width: 900px) {
  .hero-logo { position: absolute; top: 1.4vw; left: 0; right: 0; padding: 0; pointer-events: none; }
  .logo { width: 27vw; }
}
@media (max-width: 899px) { .hero { display: flex; flex-direction: column; } .hero-logo { order: -1; } }

/* Buttons: flat signs with square corners and a hard shadow, like the game's own signs */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px;
  font: 18px var(--display); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; color: #1b0a12;
  background: var(--gold); border: 3px solid var(--bezel); box-shadow: 4px 4px 0 var(--bezel);
}
a.btn:hover { color: #1b0a12; background: var(--gold-hi); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--bezel); }
a.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--bezel); }
.btn-steam.is-soon { cursor: default; background: var(--bezel); color: var(--gold); border-color: var(--gold);
  box-shadow: 4px 4px 0 var(--red-deep); }
.btn-ghost { background: var(--red); color: var(--ink); }
a.btn-ghost:hover { background: #dd2a40; color: #fff; }

/* Discord: its own blurple, so it can't be missed */
.btn-discord { background: #5865f2; color: #fff; }
a.btn-discord:hover { background: #6d78ff; color: #fff; }
.nav-discord { background: #5865f2; color: #fff !important; padding: 6px 12px; border: 2px solid var(--bezel); box-shadow: 3px 3px 0 var(--bezel); }
.nav-discord:hover { background: #6d78ff; }
.discord-band { background: #5865f2; border-block: 4px solid var(--bezel); padding: 56px 0 60px; text-align: center; color: #fff; }
.discord-band h2 { font: clamp(34px, 5.5vw, 64px)/1 var(--display); margin: 0 0 14px; text-shadow: 4px 4px 0 var(--bezel); }
.discord-band p { font-size: 22px; max-width: 700px; margin: 0 auto 26px; }
.btn-discord-big { font-size: 24px; padding: 16px 34px; background: #fff; color: #3a43c4; }
a.btn-discord-big:hover { background: var(--gold-hi); color: #1b0a12; }

/* Marquee bulbs */
.bulbs {
  height: 22px; background: var(--red-deep)
    radial-gradient(circle at 11px 11px, #fff6cf 0 3px, var(--gold) 4px 5px, transparent 6px) 0 0 / 30px 22px repeat-x;
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / .3);
}

/* Pitch */
.pitch { padding: 46px 0 10px; text-align: center; }
.pitch > p { max-width: 760px; margin: 0 auto 30px; font-size: 23px; color: var(--ink); }
.pitch strong { color: var(--gold-hi); }
@media (max-width: 640px) { .pitch > p { font-size: 20px; } }

/* The news crawl: the numbers run along the bottom of the screen, like a TV ticker */
.crawl { display: flex; align-items: stretch; margin-top: 40px; background: var(--bezel);
  border-block: 3px solid var(--gold); overflow: hidden; font: 21px/1 var(--display); text-transform: uppercase; }
.crawl-tag { flex: none; display: flex; align-items: center; padding: 12px 16px; background: var(--red); color: #fff;
  position: relative; z-index: 1; box-shadow: 6px 0 0 var(--bezel); }
.crawl-run { display: flex; white-space: nowrap; animation: crawl 38s linear infinite; }
.crawl-run span { padding: 12px 0; color: var(--ink); }
.crawl-run b { color: var(--gold); font-weight: normal; }
.crawl-run i { font-style: normal; color: var(--red); padding: 0 22px; }
@keyframes crawl { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .crawl-run { animation: none; flex-wrap: wrap; white-space: normal; } .crawl-run [aria-hidden] { display: none; } }

/* Sections */
.section { padding: 70px 0; }
.section-dark { background: var(--plum-950); }
.marquee {
  font: clamp(26px, 4vw, 44px)/1.05 var(--display); text-align: center; margin: 0 0 12px; color: var(--ink);
  text-shadow: 0 3px 0 var(--red-deep), 0 0 28px rgb(246 183 48 / .25);
}
.lede { text-align: center; font-size: 21px; color: var(--ink); max-width: 680px; margin: 0 auto 34px; }

/* Boards */
.boards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 24px; margin-top: 34px; }
.board { text-align: center; }
.monitor { background: var(--bezel); padding: 8px; border: 3px solid var(--bezel); box-shadow: 6px 6px 0 var(--red-deep); }
.screen { overflow: hidden; aspect-ratio: 16 / 9; }
.screen img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.32); transition: transform .5s ease; }
.board:hover .screen img { transform: scale(1.42); }
.board-title { height: 96px; margin: -40px auto 10px; position: relative; display: flex; align-items: center; justify-content: center; }
.board-title img { max-height: 100%; max-width: 78%; width: auto; filter: drop-shadow(0 6px 10px rgb(0 0 0 / .6)); }
.board p { margin: 0; font-size: 19px; line-height: 1.5; color: var(--ink); }
@media (max-width: 900px) { .boards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .boards { grid-template-columns: 1fr; } }

/* Minigame wall */
.wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.game { margin: 0; }
.game img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; border: 3px solid var(--bezel); }
.game:hover img { border-color: var(--gold); }
.game figcaption { font: 15px/1.3 var(--heavy); margin-top: 6px; color: var(--ink-soft); text-align: center; }
.more { margin-top: 18px; }
.more summary { cursor: pointer; list-style: none; text-align: center; margin: 10px auto 18px; width: max-content; }
.more summary::-webkit-details-marker { display: none; }
.more summary { font: 17px var(--display); text-transform: uppercase; color: #1b0a12; padding: 10px 20px; background: var(--gold);
  border: 3px solid var(--bezel); box-shadow: 4px 4px 0 var(--bezel); }
.more summary:hover { background: var(--gold-hi); }
.more[open] summary { margin-bottom: 18px; }
@media (max-width: 900px) { .wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .wall { grid-template-columns: repeat(2, 1fr); } }

/* Cast */
.cast { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.contestant { margin: 0; text-align: center; }
.contestant img { width: 100%; max-width: 220px; margin: 0 auto; border-radius: 50%; background: var(--plum-700);
  box-shadow: 0 0 0 4px var(--gold), 0 12px 26px rgb(0 0 0 / .45); }
.contestant figcaption { margin-top: 14px; }
.contestant strong { display: block; font: 24px var(--display); }
.contestant span { font-size: 19px; line-height: 1.45; color: var(--ink); }
@media (max-width: 760px) { .cast { grid-template-columns: repeat(2, 1fr); } }

/* Modes: each one on a monitor from the game's own mode menu, with its lower third */
.modes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; margin-top: 34px; }
.mode { grid-column: span 2; display: flex; flex-direction: column; background: var(--bezel); border: 3px solid var(--bezel);
  box-shadow: 6px 6px 0 var(--red-deep); }
.mode.wide { grid-column: span 3; }
.mode-screen { aspect-ratio: 884 / 455; overflow: hidden; background: #1c2b2a; }
.mode-screen > img { width: 100%; height: 100%; object-fit: cover; }
.mode-label { flex: 1; padding: 16px 20px 20px; border-top: 3px solid var(--gold); }
.kicker { display: inline-block; padding: 4px 10px 3px; font: 17px/1.2 var(--display); text-transform: uppercase; letter-spacing: .06em;
  color: #0f0a0e; background: #7cf2a6; }
.mode h3 { font: 30px/1.1 var(--display); text-transform: uppercase; margin: 10px 0 8px; color: var(--ink); }
.mode.wide h3 { font-size: 38px; }
.mode p { margin: 0; font-size: 21px; line-height: 1.5; color: var(--ink); }
.st { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: center; padding: 0 12px; }
.st figure { margin: 0; }
.st img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border: 2px solid #000; }
.stars { text-align: center; font-size: 22px; letter-spacing: .1em; color: var(--gold); margin-top: 6px; line-height: 1; }
.stars s { text-decoration: none; color: #3c4d4b; }
.ways { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.ways li { padding: 4px 22px; border-left: 4px solid var(--red); font-size: 21px; line-height: 1.5; color: var(--ink); }
.ways b { display: block; font: 25px var(--display); text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
@media (max-width: 900px) { .modes { grid-template-columns: 1fr 1fr; } .mode, .mode.wide { grid-column: span 1; }
  .ways { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 560px) { .modes { grid-template-columns: 1fr; } }

/* Sign-up: a framed panel right under the hero */
.signup { background: var(--plum-950); padding: 6px 20px 44px; }
.signup-panel { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px 34px; align-items: center;
  padding: 26px 32px; background: var(--plum-800); border: 3px solid var(--gold); box-shadow: 6px 6px 0 var(--bezel); }
.signup-copy h2 { margin: 0 0 6px; font: clamp(26px, 3vw, 36px)/1.05 var(--display); text-transform: uppercase; color: var(--gold-hi);
  text-shadow: 3px 3px 0 var(--bezel); }
.signup-copy p { margin: 0; font-size: 20px; line-height: 1.45; color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.signup-form { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }
.signup-form input { flex: 1 1 200px; min-width: 0; min-height: 58px; padding: 0 16px; font: 20px var(--body); color: #1b0a12;
  background: var(--ink); border: 3px solid var(--bezel); border-radius: 0; box-shadow: 4px 4px 0 var(--bezel); }
.signup-form input::placeholder { color: #8a7480; }
.signup-form input:focus { outline: 3px solid var(--gold-hi); outline-offset: 2px; }
.signup-form .btn { min-height: 58px; flex: 0 0 auto; cursor: pointer; }
.signup-form .btn:hover { background: var(--gold-hi); }
.signup-note { margin: 12px 0 0; font-size: 16px; color: var(--ink-soft); }
@media (max-width: 860px) { .signup-panel { grid-template-columns: 1fr; text-align: center; padding: 22px 18px; }
  .signup-form .btn { flex: 1 1 100%; } }
.note-page { text-align: center; padding: 60px 0 90px; }
.note-logo { width: min(420px, 80vw); margin: 0 auto 26px; }
.note-page .ctas { margin-top: 10px; }

/* Footer */
.footer { background: var(--plum-950); padding: 34px 0 40px; text-align: center; border-top: 4px solid var(--red-deep); }
.footer p { margin: 8px 0; }
.small { font-size: 15px; color: #a58a9c; }

/* Press kit */
.press-main { padding: 40px 0 20px; }
.press-main h2 { font: 28px var(--heavy); color: var(--gold-hi); margin: 0 0 14px; }
.press-main h3 { font: 20px var(--heavy); margin: 22px 0 6px; }
.press-grid { display: grid; grid-template-columns: 380px 1fr; gap: 40px; margin-top: 30px; }
.facts { background: var(--plum-800); padding: 24px; align-self: start; border: 3px solid var(--bezel); box-shadow: 6px 6px 0 var(--red-deep); }
.facts dl { margin: 0 0 18px; }
.facts dt { font: 14px var(--heavy); text-transform: uppercase; letter-spacing: .07em; color: #c6a8ba; margin-top: 12px; }
.facts dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.about ul { padding-left: 20px; }
.about li { margin: 4px 0; color: var(--ink); }
.press-main .lede { text-align: left; margin: 0 0 20px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.media { display: block; background: var(--plum-800); padding: 8px; border: 3px solid var(--bezel); box-shadow: 4px 4px 0 var(--bezel);
  text-decoration: none; color: var(--ink); }
.media img { aspect-ratio: 16 / 10; object-fit: contain; width: 100%; background: repeating-conic-gradient(#3a1832 0 25%, #2e1028 0 50%) 0 0 / 18px 18px; }
.media span { display: block; margin-top: 8px; font: 15px var(--heavy); text-transform: capitalize; }
.media:hover span { color: var(--gold-hi); }
@media (max-width: 860px) { .press-grid { grid-template-columns: 1fr; } .topbar nav { gap: 12px; } }
@media (max-width: 480px) { .topbar nav a:nth-child(-n+2) { display: none; } .brand span { display: none; } }
