/* 369games.gg - THE STUDIO HUB: its LOOK, "Arcade" (4 Dec 2026 - Wisse picked C of three mockups: A Night, B Press, C Arcade; the
   other two are in mockups/games-tab/looks). A neon arcade studio site: deep night blue, cyan and magenta light, a glowing
   perspective grid under the title, faint scanlines, cut-corner panels, mono labels (Noto Sans Mono, SIL OFL) over a heavy
   grotesque (Adwaita Sans - Inter's design, SIL OFL); both served from this site (assets/fonts, the licences beside them).
   The layout is assets/studio_base.css. Nothing here is shared with nibbles.gg. */
@font-face { font-family: "Adwaita Sans"; src: url("fonts/AdwaitaSans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Noto Sans Mono"; src: url("fonts/NotoSansMono-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

body.st {
  --bg: #070a1d; --panel: rgba(16, 22, 56, .78); --fg: #e9f1ff; --mut: #8fa2cf; --cyan: #33f0ff; --mag: #ff3fd8; --lime: #b8ff3c;
  --line: rgba(51, 240, 255, .28); --mono: "Noto Sans Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --cut: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  font-family: "Adwaita Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--fg);
  background: radial-gradient(1000px 520px at 50% -10%, rgba(255, 63, 216, .18), transparent 65%), radial-gradient(900px 600px at 100% 40%, rgba(51, 240, 255, .08), transparent 60%), var(--bg);
  background-attachment: fixed;
}
body.st::after {   /* (scanlines) */
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 3px);
}
::selection { background: var(--mag); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.st-skip { background: var(--cyan); color: var(--bg); font-family: var(--mono); }

/* ---- header */
.st-head { background: rgba(7, 10, 29, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.st-logo { align-items: center; gap: .45em; }
.st-logo-mark {
  font-family: var(--mono); font-weight: 700; font-size: 1.05rem; color: var(--bg); background: var(--cyan); padding: 3px 8px 2px;
  box-shadow: 0 0 18px rgba(51, 240, 255, .55); clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.st-logo-word { font-family: var(--mono); font-weight: 700; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); }
.st-nav a { font-family: var(--mono); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--mut); padding: 4px 0; transition: color .15s, text-shadow .15s; }
.st-nav a:hover, .st-nav a[aria-current="page"] { color: var(--cyan); text-shadow: 0 0 12px rgba(51, 240, 255, .8); }
.st-nav a.st-nav-discord { color: var(--fg); border: 1px solid var(--mag); padding: 6px 12px; box-shadow: 0 0 14px rgba(255, 63, 216, .25) inset; }
.st-nav a.st-nav-discord:hover { background: var(--mag); color: #fff; text-shadow: none; }

/* ---- hero: chromatic title over a glowing grid floor */
.st-hero { overflow: hidden; }
.st-home .st-hero { padding-bottom: clamp(120px, 16vw, 210px); }
.st-home .st-hero::before {
  content: ""; position: absolute; left: -50%; right: -50%; bottom: -2px; height: 62%; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, transparent, var(--bg) 92%),
    repeating-linear-gradient(90deg, rgba(255, 63, 216, .55) 0 2px, transparent 2px 70px),
    repeating-linear-gradient(0deg, rgba(51, 240, 255, .5) 0 2px, transparent 2px 46px);
  transform: perspective(380px) rotateX(62deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%);
}
.st-eyebrow { font-family: var(--mono); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--lime); }
.st-hero .st-eyebrow::before { content: "> "; color: var(--mag); }
.st-h1 {
  font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: .95; font-style: italic;
  text-shadow: -3px 0 0 rgba(255, 63, 216, .85), 3px 0 0 rgba(51, 240, 255, .85), 0 0 40px rgba(51, 240, 255, .35);
}
.st-h1-em { color: var(--cyan); }
.st-lead { color: #c6d3f2; }
.st-lead a { color: var(--cyan); }

/* ---- buttons: cut corners, glowing */
.st-btn { font-family: var(--mono); font-size: .86rem; text-transform: uppercase; letter-spacing: .1em; padding: 1em 1.5em; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); transition: background-color .15s, color .15s, filter .2s; }
.st-btn--main { background: var(--cyan); color: var(--bg); }
.st-btn--main:hover { background: #fff; filter: drop-shadow(0 0 14px rgba(51, 240, 255, .8)); }
.st-btn--ghost { background: rgba(255, 63, 216, .14); color: var(--fg); box-shadow: inset 0 0 0 1px var(--mag); }
.st-btn--ghost:hover { background: var(--mag); color: #fff; }
.st-btn--discord { background: var(--mag); color: #fff; }
.st-btn--discord:hover { background: #fff; color: var(--bg); }

/* ---- sections */
.st-sec { border-top: 1px solid var(--line); }
.st-num { color: var(--mag); }
.st-num::before { content: "["; } .st-num::after { content: "]"; }
.st-h2 { font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; font-style: italic; text-shadow: 0 0 26px rgba(51, 240, 255, .3); }
.st-text { color: #c6d3f2; }

/* ---- game cards: cut-corner panels with a neon edge */
.st-game { background: var(--panel); clip-path: var(--cut); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, transform .25s; }
.st-game:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--cyan), inset 0 0 40px rgba(51, 240, 255, .12); }
.st-game-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px), linear-gradient(transparent 60%, rgba(7, 10, 29, .7)); }
.st-game-shot { filter: saturate(1.15) contrast(1.05); transition: transform .5s; }
.st-game:hover .st-game-shot { transform: scale(1.04); }
.st-game--nibbles .st-game-media {
  background:
    radial-gradient(55% 60% at 50% 85%, rgba(184, 255, 60, .55), transparent 70%),
    repeating-linear-gradient(90deg, rgba(184, 255, 60, .14) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(184, 255, 60, .14) 0 1px, transparent 1px 34px),
    #0a1a12;
}
.st-game--nibbles .st-game-nib { filter: drop-shadow(0 0 22px rgba(184, 255, 60, .45)); }
.st-game-status { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--lime); }
.st-dot { background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: st-blink 1.2s steps(2, start) infinite; }
@keyframes st-blink { to { visibility: hidden; } }
.st-game-status--new { color: #fff; background: var(--mag); padding: 3px 10px; box-shadow: 0 0 16px rgba(255, 63, 216, .6); }
.st-game-title { font-weight: 900; text-transform: uppercase; font-style: italic; letter-spacing: -.01em; }
.st-game-genre { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan); }
.st-game-text { color: #c6d3f2; }
.st-game-url { font-family: var(--mono); font-size: .78rem; color: var(--mut); }

/* ---- rules */
.st-rules li { background: var(--panel); clip-path: var(--cut); box-shadow: inset 0 0 0 1px rgba(255, 63, 216, .3); padding: 22px 22px 26px; }
.st-rules li::before { content: "[0" counter(rule) "]"; display: block; font-family: var(--mono); font-size: .9rem; color: var(--cyan); margin-bottom: 14px; text-shadow: 0 0 10px rgba(51, 240, 255, .7); }
.st-rules h3 { text-transform: uppercase; font-style: italic; font-weight: 800; letter-spacing: .01em; }
.st-rules p { color: var(--mut); }

/* ---- community */
.st-join { border-top: 0; }
.st-join-in {
  padding: clamp(30px, 5vw, 60px); clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
  background: linear-gradient(120deg, rgba(255, 63, 216, .28), rgba(51, 240, 255, .16)), var(--panel); box-shadow: inset 0 0 0 1px var(--mag);
}

/* ---- pages */
.st-card { background: var(--panel); clip-path: var(--cut); box-shadow: inset 0 0 0 1px var(--line); }
.st-card p { color: #c6d3f2; }
.st-card-title { text-transform: uppercase; font-style: italic; font-weight: 800; }
.st-card a:not(.st-btn), .st-prose a { color: var(--cyan); text-underline-offset: 3px; }
.st-fine { color: var(--mut) !important; }
.st-draft { font-family: var(--mono); font-size: .85rem; color: var(--lime); border: 1px dashed var(--lime); }
.st-prose { color: #c6d3f2; }
.st-prose strong { color: var(--fg); }
.st-table th { font-family: var(--mono); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); }
.st-table th, .st-table td { border-bottom: 1px solid var(--line); }
mark { background: rgba(184, 255, 60, .18); color: var(--lime); }

/* ---- footer */
.st-foot { border-top: 1px solid var(--line); color: var(--mut); font-size: .88rem; }
.st-foot-links a { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }
.st-foot-links a:hover, .st-foot-links a[aria-current="page"] { color: var(--cyan); }
