/* Labeda FREEZ — shared styles. Brand teal = PMS 320 C */
:root {
  --teal: #00a3ad;
  --teal-hi: #2fd3dc;
  --teal-dk: #00747b;
  --ice: #eef6f8;
  --frost: #a7c1cf;
  --ink: #07121a;
  --ink-2: #0d1d27;
  --ink-3: #15293a;
  --line: rgba(167, 193, 207, .18);
  --text: #e9f2f5;
  --muted: #94adbb;
  --hot: #ff2d6f;
  --radius: 14px;
  --wrap: 1180px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-hi); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .95;
  margin: 0;
}
.eyebrow {
  font: 700 13px/1 var(--body);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal-hi);
  margin: 0 0 14px;
}
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(40px, 6vw, 72px); }
.section-head p { color: var(--muted); max-width: 46ch; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 15px/1 var(--body); letter-spacing: .08em; text-transform: uppercase;
  padding: 16px 26px; border-radius: 999px; border: 2px solid var(--teal);
  background: var(--teal); color: var(--ink); text-decoration: none; cursor: pointer;
  transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); background: var(--teal-hi); border-color: var(--teal-hi); }
.btn.ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.35); }
.btn.ghost:hover { border-color: var(--teal-hi); color: var(--teal-hi); }
.btn.sm { padding: 11px 18px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(7, 18, 26, .92); backdrop-filter: blur(10px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 52px; height: auto; }
.brand span { font: 800 22px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.brand small { display: block; font: 700 11px/1 var(--body); letter-spacing: .22em; color: var(--teal-hi); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; font: 600 14px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.nav-links a:hover { color: var(--teal-hi); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .25s;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 18px 16px; width: 100%; border-top: 1px solid var(--line); }
  .nav-links .btn { margin: 14px 16px 18px; width: calc(100% - 32px); }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer a { color: var(--muted); text-decoration: none; margin-left: 18px; }
.footer a:hover { color: var(--teal-hi); }

/* ---------- Forms (shared by player + admin) ---------- */
.field { display: grid; gap: 8px; }
.field > label, .field > .label { font: 700 13px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--frost); }
.field .hint { font-size: 13px; color: var(--muted); margin-top: -2px; }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=url], input[type=password], input[type=search], select, textarea {
  width: 100%; font: 500 17px/1.3 var(--body); color: var(--text);
  background: var(--ink); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 14px 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,163,173,.25); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--frost) 50%), linear-gradient(135deg, var(--frost) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }

/* chip-style radio / checkbox groups */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label {
  font: 700 15px/1 var(--body); padding: 13px 16px; min-width: 52px; text-align: center;
  border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; color: var(--text);
  background: var(--ink); transition: all .12s; user-select: none;
}
.chips input:checked + label { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.chips input:focus-visible + label { box-shadow: 0 0 0 3px rgba(0,163,173,.4); }

.toast {
  position: fixed; left: 50%; bottom: 76px; transform: translate(-50%, 220px);
  background: var(--teal); color: var(--ink); font-weight: 700; padding: 14px 22px; border-radius: 999px;
  transition: transform .25s; z-index: 100; box-shadow: 0 10px 40px rgba(0,0,0,.4);
  white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis;
}
.toast.show { transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
