/* The player portal (public). Mobile first; the cafe's dark and gold look. */
:root {
  --bg: #0e0f13; --panel: #17181e; --panel2: #1e2028; --line: rgba(255,255,255,.09); --text: #ecedf1; --muted: #9a9eab;
  --gold: #f2b632; --gold-hi: #ffd166; --ok: #31d69a; --warn: #ffc66d; --danger: #ff6d7f; --radius: 16px;
  --display: "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--display); }
a { color: var(--gold-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(14,15,19,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 14px; min-height: 60px; flex-wrap: wrap; }
.brand { font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-size: .95rem; white-space: nowrap; }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a, .nav button { color: var(--text); padding: 7px 12px; border-radius: 10px; font-size: .92rem; background: none; border: 0; font: inherit; cursor: pointer; }
.nav a.on, .nav a:hover, .nav button:hover { background: var(--panel2); text-decoration: none; }
.nav .cta { background: var(--gold); color: #1a1406; font-weight: 700; }
.nav .cta:hover { background: var(--gold-hi); }
@media (max-width: 560px) { .nav { margin-left: 0; width: 100%; padding-bottom: 8px; } }

/* blocks */
main { padding: 24px 0 60px; }
h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1.15; margin: 0 0 10px; }
h2 { font-size: 1.2rem; margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0 0 16px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.two { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .two { grid-template-columns: 1.3fr 1fr; } }
.hero { position: relative; border-radius: 22px; overflow: hidden; padding: clamp(22px, 6vw, 56px); margin-bottom: 18px;
        background: radial-gradient(1200px 400px at 10% 0%, rgba(242,182,50,.18), transparent 60%), var(--panel); border: 1px solid var(--line); }
.hero.pic { background-size: cover; background-position: center; }
.hero.pic::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,13,.9), rgba(10,10,13,.35)); }
.hero > * { position: relative; }
.kicker { color: var(--gold); letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; font-weight: 700; }
.btn { display: inline-block; padding: 11px 18px; border-radius: 12px; background: var(--gold); color: #1a1406; font-weight: 700; border: 0;
       font: inherit; font-weight: 700; cursor: pointer; text-align: center; }
.btn:hover { background: var(--gold-hi); text-decoration: none; }
.btn.ghost { background: var(--panel2); color: var(--text); border: 1px solid var(--line); }
.btn.danger { background: transparent; color: var(--danger); border: 1px solid rgba(255,109,127,.45); }
.btn.small { padding: 6px 11px; font-size: .85rem; border-radius: 9px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.flash { padding: 12px 14px; border-radius: 12px; margin: 0 0 16px; }
.flash.ok { background: #13302a; border: 1px solid #275f52; color: #a6f2d6; }
.flash.err { background: #3a1820; border: 1px solid #6e2a38; color: #ffc4cd; }

/* forms */
form.stack { display: grid; gap: 12px; }
label { display: grid; gap: 5px; font-size: .9rem; color: var(--muted); }
input, select { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: #0f1015; color: var(--text); font: inherit; }
input:focus, select:focus { outline: 2px solid rgba(242,182,50,.55); outline-offset: 1px; }
label.check { display: flex; align-items: flex-start; gap: 9px; color: var(--text); }
label.check input { width: auto; margin-top: 4px; }
.fields { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .fields { grid-template-columns: 1fr 1fr; } }
.narrow { max-width: 460px; margin: 0 auto; }

/* lists */
.pack { display: grid; gap: 4px; }
.pack .price { font-size: 1.5rem; font-weight: 800; color: var(--gold); }
.big { font-size: 2rem; font-weight: 800; }
table { width: 100%; border-collapse: collapse; }
td, th { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .92rem; }
.right { text-align: right; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: .75rem; background: var(--panel2); border: 1px solid var(--line); color: var(--muted); }
.tag.ok { color: var(--ok); border-color: rgba(49,214,154,.4); }
.qr { background: #fff; padding: 10px; border-radius: 12px; width: 240px; max-width: 100%; }
.slides { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.slides figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.slides img { display: block; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.slides figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; background: linear-gradient(transparent, rgba(0,0,0,.8)); font-weight: 700; }
.qty { width: 74px; }
footer { border-top: 1px solid var(--line); padding: 18px 0 40px; color: var(--muted); font-size: .85rem; }

.pwrules { list-style: none; margin: -4px 0 4px; padding: 0; font-size: .82rem; color: var(--muted); }
.pwrules li::before { content: "\25CB\00A0\00A0"; }
.pwrules li.ok { color: var(--ok); }
.pwrules li.ok::before { content: "\2713\00A0\00A0"; }
