:root {
  --bg: #07080c;
  --raise: #12141c;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f6fb;
  --muted: #a8b0c2;
  --blue: #3c63ff;
  --blue-deep: #2447d6;
  --max: 1120px;
  --font: "Outfit", sans-serif;
  --display: "Barlow Condensed", sans-serif;
}

* { box-sizing: border-box; }

#boot {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
  padding: 24px;
  background:
    radial-gradient(700px 320px at 50% 40%, rgba(60, 99, 255, 0.28), transparent 60%),
    var(--bg);
  transition: opacity 0.35s ease;
}

#boot img { width: min(320px, 78vw); height: auto; }

#boot p {
  margin: 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.boot-bar {
  width: min(220px, 60vw);
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.boot-bar::after {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  animation: boot-slide 1.1s ease-in-out infinite;
}

#boot.is-done { opacity: 0; pointer-events: none; }

@keyframes boot-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 380px at 100% -10%, rgba(60, 99, 255, 0.28), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.8rem; }

p { margin: 0; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--blue);
  color: white;
  padding: 8px 12px;
  z-index: 30;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.narrow { max-width: 720px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 8, 12, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 84px;
}

.brand img { height: 58px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px 16px;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a[aria-current="page"],
.nav a:hover { color: white; }

.nav-toggle {
  display: none;
  margin-left: auto;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: white;
  font: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.btn-blue { background: var(--blue); color: white; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-ghost { border: 1px solid var(--line); color: white; }
.btn-ghost:hover { border-color: white; }

.nav-contact {
  color: white !important;
  margin-left: 8px;
}

.kicker {
  margin: 0 0 10px;
  color: #9db0ff;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lede {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero { padding: 36px 0 12px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
}

.hero-copy h1 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.hero-copy p { color: var(--muted); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.player {
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
}

.player iframe,
.player .empty {
  width: 100%;
  height: 100%;
}

.player .empty {
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--muted);
}

.section { padding: 28px 0 10px; }

.page-intro { padding: 42px 0 8px; }

.page-intro .lede { margin-top: 14px; }

.page-intro .btn,
.page-intro .filters { margin-top: 22px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head a,
.text-link {
  color: #b9c7ff;
  font-weight: 600;
}

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

.video-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
}

.thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 7v10l9-5z'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.video-card strong {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.05;
}

.video-date { color: var(--muted); font-size: 0.92rem; }

.empty { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 22px;
  align-items: start;
}

.fb-frame {
  width: 100%;
  height: 640px;
  border: 0;
  border-radius: 16px;
  background: white;
}

.stack, .social-grid, .show-grid, .sport-grid, .points {
  display: grid;
  gap: 14px;
}

.social-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.social-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.show-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sport-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.points { grid-template-columns: 1.2fr 0.8fr; }

.social-card, .panel, .sport-card, .points article, .sponsor-band {
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.social-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  min-height: 150px;
}

.social-card strong {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 0.95;
}

.social-card span, .sport-card p, .points p, .points li, .site-footer p {
  color: var(--muted);
}

.sport-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
}

.sport-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.sport-card h3 a { text-decoration: none; }
.sport-card h3 a:hover { color: #b9c7ff; }

.spotify {
  width: 100%;
  height: 352px;
  border: 0;
  border-radius: 12px;
  margin-top: 12px;
}

.show-card h3 a { text-decoration: none; }

.sponsor-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px;
}

.sponsor-band p { color: var(--muted); margin-top: 8px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: white;
  font: inherit;
  cursor: pointer;
}

.chip.is-active { background: var(--blue); border-color: var(--blue); }

.points ul { margin: 12px 0 0; padding-left: 18px; }
.points h2 { margin-bottom: 8px; }

.month-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.month-bar h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }

.event-list { display: grid; gap: 10px; }

.up-next {
  padding: 28px;
  border-radius: 18px;
  background:
    radial-gradient(500px 180px at 100% 0%, rgba(60, 99, 255, 0.28), transparent 55%),
    var(--raise);
  border: 1px solid var(--line);
}

.up-next h2 { margin: 6px 0 10px; }

.up-next p { color: var(--muted); }

.event-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}

.event-row h3 { font-size: 1.7rem; }

.event-row p { color: var(--muted); }

.event-when {
  margin: 0;
  color: #b9c7ff;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.event-actions { display: flex; gap: 8px; }

.csv-drop {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: #10131b;
  text-align: center;
}

.csv-drop.is-over { border-color: var(--blue); background: #12182a; }
.csv-drop strong { font-size: 1.15rem; }
.csv-choose { cursor: pointer; }
.csv-choose input { display: none; }

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: start;
}

.event-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.event-form h2 { grid-column: 1 / -1; font-size: 2rem; }

.event-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.event-form .wide { grid-column: 1 / -1; }

.event-form input,
.event-form select,
.event-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0c0e14;
  color: white;
  font: inherit;
}

.form-note { min-height: 1.2em; color: #b9c7ff; }

.email-link {
  display: inline-block;
  margin: 18px 0 8px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: white;
  text-decoration: none;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding: 32px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 24px;
}

.footer-logo { height: 54px; width: auto; margin-bottom: 10px; }

.site-footer h2 {
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.site-footer a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin: 4px 0;
}

.site-footer a:hover { color: white; }

.footer-base {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 18px;
    background: #0c0e14;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open { display: flex; }

  .nav a { padding: 10px 4px; }

  .nav-contact { margin: 8px 0 0; }

  .hero-grid,
  .split,
  .video-grid,
  .social-grid,
  .social-grid-4,
  .show-grid,
  .sport-grid,
  .points,
  .footer-grid,
  .sponsor-band,
  .calendar-layout,
  .event-row,
  .event-form {
    grid-template-columns: 1fr;
  }

  .event-actions { justify-content: flex-start; }

  .header-bar { position: relative; }
}

@media (max-width: 640px) {
  .brand img { height: 46px; }
  .fb-frame { height: 520px; }
}
