/* Big Island Blessah Club: shared site styles.
   Used by every game page (play.html, pingpong.html, ...).
   Colors, fonts, the site header, buttons, cards and the footer live here,
   so all pages look the same. Change a color once here, not per page. */

* { box-sizing: border-box; }
:root {
  --deep: #07332e;
  --deep-2: #0a443c;
  --panel: #061f1c;
  --teal: #0e7c6f;
  --sand: #f6e3b8;
  --gold: #ffc93c;
  --gold-deep: #e79b12;
  --coral: #ff6b4a;
  --hibiscus: #ff4d7e;
  --cream: #fff8ea;
  --ink: #0b2e2a;
  --mint: #9fd8c6;     /* small labels */
  --mist: #cfe8dc;     /* body text on dark */
  --line: rgba(255,248,234,.14);
  --glass: rgba(255,248,234,.07);
  --font-head: "Baloo 2", "Nunito", sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}
html, body { margin: 0; padding: 0; overscroll-behavior: none; }
body {
  font-family: var(--font-body);
  background:
    radial-gradient(120% 60% at 50% -10%, #14655a 0%, transparent 60%),
    linear-gradient(180deg, var(--deep-2), var(--deep) 55%, #052622);
  color: var(--cream);
  min-height: 100dvh;
  -webkit-tap-highlight-color: transparent;
}
button, [role="button"] { min-height: 2.75rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gold { color: var(--gold); }

/* ---------- Site header (same HTML block on every page) ---------- */
header.site { position: sticky; top: 0; z-index: 20; background: rgba(5,38,34,.88); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,201,60,.22); }
.site-in { max-width: 1040px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--cream); }
.brand img { border-radius: 9px; }
.bname { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; line-height: 1; }
.bname small { display: block; font-family: var(--font-body); font-size: .66rem; font-weight: 900; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.sitenav { display: flex; gap: 4px; margin-left: auto; }
.sitenav a { color: #d7efe4; text-decoration: none; font-weight: 800; font-size: .92rem; padding: 8px 11px; border-radius: 10px; }
.sitenav a:hover { background: rgba(255,248,234,.08); color: var(--cream); }
.sitenav a[aria-current="page"] { color: var(--gold); }
.buy { white-space: nowrap; text-decoration: none; font-weight: 900; font-size: .88rem; color: var(--ink);
  background: linear-gradient(180deg, #ffd76a, #e8a91c); padding: 8px 14px; border-radius: 999px; }
@media (max-width: 720px) { .sitenav { display: none; } .buy { margin-left: auto; } }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em;
  border: none; border-radius: 999px; padding: 12px 34px; margin-top: 14px;
  background: var(--gold); color: var(--ink);
  box-shadow: 0 5px 0 var(--gold-deep), 0 10px 22px rgba(0,0,0,.35);
  cursor: pointer; min-width: 200px;
}
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--gold-deep), 0 6px 14px rgba(0,0,0,.35); }
.btn.secondary { background: rgba(255,248,234,.14); color: var(--cream); box-shadow: none;
  border: 1.5px solid rgba(255,248,234,.4); font-size: 1rem; padding: 10px 26px; min-width: 0; }
.btn:focus-visible, .ib:focus-visible, .seg button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Cards ---------- */
.card { background: var(--glass); border: 1px solid rgba(255,248,234,.16); border-radius: 16px; padding: 12px 14px; }
.cardhead { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cardhead h2 { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; margin: 0; color: var(--cream); }
.cardhead .sub { font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.cardhead .sub.live { color: #ff9d8a; }
details summary { cursor: pointer; font-weight: 900; font-size: .88rem; color: var(--sand); min-height: 0; }

/* ---------- Footer ---------- */
footer.note { text-align: center; margin: 14px 0 20px; font-size: .82rem; font-weight: 700; color: #8fc7b4; }

@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; } }
