:root {
  color-scheme: dark;
  --surface: rgba(7, 12, 24, 0.84);
  --text: #f8fafc;
  --muted: #d6deea;
  --accent: #78c9ff;
  --border: rgba(255, 255, 255, 0.18);
}

* { box-sizing: border-box; }
html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  background: linear-gradient(rgba(2, 8, 20, 0.72), rgba(2, 8, 20, 0.88)), url("background.png") center / cover fixed;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
}

.brand { display: block; flex: 0 0 auto; }
.brand img { display: block; width: 88px; height: auto; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.25rem 0.5rem; }

nav a {
  border-radius: 999px;
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 700;
  padding: 0.45rem 0.8rem;
  text-decoration: none;
}

nav a:hover, nav a:focus-visible, nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.16);
  color: var(--accent);
}

.page-content { width: min(1000px, calc(100% - 2rem)); margin: 0 auto; padding: 2.5rem 0 4rem; }
.site-footer { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 1.25rem 0 1.75rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.82rem; text-align: center; }
.site-footer p { margin: 0; }
.intro { max-width: 760px; margin: 0 auto 1.75rem; text-align: center; }
.eyebrow { margin: 0 0 0.35rem; color: var(--accent); font-size: 0.9rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2 { line-height: 1.15; }
h1 { margin: 0 0 0.65rem; font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { margin: 0 0 1rem; font-size: clamp(1.25rem, 3vw, 1.65rem); }
.intro p:not(.eyebrow), .content-card > p { color: var(--muted); }
.intro p:last-child { margin-bottom: 0; }

.player-card, .content-card, .schedule-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.32);
}

.player-card { padding: clamp(0.65rem, 2vw, 1rem); }
.content-card { max-width: 900px; margin: 1.5rem auto; padding: clamp(1rem, 3vw, 1.5rem); }
.content-card video { display: block; width: 100%; border-radius: 0.6rem; background: #000; }
.responsive-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0.65rem; background: #000; }
.responsive-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.responsive-frame #player, .responsive-frame .jwplayer { width: 100% !important; height: 100% !important; }
.map-frame { aspect-ratio: 4 / 3; margin-top: 1rem; }
.player-note { margin: 0.85rem 0 0; color: var(--muted); font-size: 0.9rem; text-align: center; }
.schedule-card { max-width: 760px; margin: 0 auto; padding: clamp(0.45rem, 1.5vw, 0.85rem); }
.schedule-card img { display: block; width: 100%; height: auto; border-radius: 0.55rem; }

.support-card {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.32);
  text-align: center;
}

.support-description { margin: -0.55rem 0 1.35rem; color: var(--muted); }
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: clamp(0.75rem, 2vw, 1.25rem); }

.support-option {
  display: block;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  outline-offset: 4px;
  overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.support-option:hover, .support-option:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}

.support-option img { display: block; width: 100%; height: auto; }

.contact-card {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.32);
  text-align: center;
}

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }

.contact-option {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 8.25rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  color: var(--text);
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.contact-option:hover, .contact-option:focus-visible {
  border-color: var(--accent);
  background: rgba(120, 201, 255, 0.12);
  transform: translateY(-3px);
}

.contact-option-label { color: var(--accent); font-size: 1.05rem; font-weight: 800; }
.contact-option-detail { margin-top: 0.3rem; color: var(--muted); font-size: 0.9rem; overflow-wrap: anywhere; }
.social-handle { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; }
.social-icon { width: 1.2rem; height: 1.2rem; fill: currentColor; flex: 0 0 auto; }

@media (max-width: 600px) {
  .site-header { align-items: flex-start; }
  .brand img { width: 68px; }
  nav { justify-content: flex-end; }
  nav a { font-size: 0.8rem; padding: 0.35rem 0.55rem; }
  .page-content { padding-top: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .support-option { transition: none; }
  .contact-option { transition: none; }
}
