@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --nppl-black: #0a0a0a;
  --nppl-ink: #121212;
  --nppl-panel: #161616;
  --nppl-panel-2: #1c1c1c;
  --nppl-red: #b50f0f;
  --nppl-red-deep: #b50f0f;
  --nppl-cream: #f4f4f2;
  --nppl-muted: #a8a8a8;
  --nppl-line: rgba(255, 255, 255, 0.1);
  --nppl-line-dark: rgba(0, 0, 0, 0.08);
  --nppl-white: #ffffff;
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --header-h: 116px;
  --ticker-h: 0px;
  --chrome-h: var(--header-h);
  --radius: 4px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--chrome-h);
}

html:has(body.has-noticeboard-ticker) {
  --ticker-h: 2.75rem;
  --chrome-h: calc(var(--ticker-h) + var(--header-h));
}

body {
  margin: 0;
  color: var(--nppl-cream);
  background: var(--nppl-black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--nppl-red);
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--nppl-red);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.preview-banner {
  background: var(--nppl-red);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 0;
  text-align: center;
}

.preview-banner strong {
  font-weight: 800;
}

body.has-noticeboard-ticker {
  /* Fallback when :has() unsupported — children still get chrome offset */
  --ticker-h: 2.75rem;
  --chrome-h: calc(var(--ticker-h) + var(--header-h));
}

.noticeboard-ticker {
  display: flex;
  align-items: stretch;
  padding: 0;
  text-align: left;
  overflow: hidden;
  min-height: var(--ticker-h);
  /* Stick under the sticky header — breaks up black while scrolling */
  position: sticky;
  top: var(--header-h);
  z-index: 190;
  border-bottom: 2px solid #fff;
}

.ticker-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  background: var(--nppl-white);
  color: var(--nppl-black);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 1;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.25);
}

.ticker-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: ticker-scroll 40s linear infinite;
}

.ticker-viewport:hover .ticker-track,
.ticker-viewport:focus-within .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
  padding: 0.55rem 0;
}

.ticker-item {
  display: inline-block;
  padding: 0 1.25rem;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.ticker-title {
  font-weight: 700;
  color: #fff;
}

.ticker-notice {
  font-weight: 400;
  opacity: 0.92;
}

.ticker-sep {
  opacity: 0.55;
  font-size: 0.65rem;
  line-height: 1;
  user-select: none;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .ticker-group + .ticker-group {
    display: none;
  }

  .ticker-item {
    white-space: normal;
    text-align: center;
  }

  .ticker-sep {
    display: none;
  }

  .ticker-group {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1rem;
    padding: 0.55rem 1rem;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid #fff;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--nppl-white);
}

.brand-text span {
  color: var(--nppl-red);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--nppl-line);
  background: transparent;
  color: var(--nppl-white);
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
  transition: transform 0.25s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 0.85rem;
  color: var(--nppl-cream);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-item:focus-within > .nav-link,
.nav-item.is-open > .nav-link {
  color: var(--nppl-red);
}

.nav-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}

.mega {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 240px;
  padding: 0.65rem;
  background: var(--nppl-panel);
  border: 1px solid var(--nppl-line);
  border-top: 2px solid var(--nppl-red);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  list-style: none;
  margin: 0;
}

.nav-item:hover > .mega,
.nav-item:focus-within > .mega,
.nav-item.is-open > .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega a {
  display: block;
  padding: 0.65rem 0.75rem;
  color: var(--nppl-cream);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  border-radius: var(--radius);
}

.mega a:hover {
  background: rgba(181, 15, 15, 0.12);
  color: var(--nppl-white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 0.5rem;
}

.login-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  width: min(320px, calc(100vw - 2rem));
  padding: 1rem;
  background: var(--nppl-panel);
  border: 1px solid var(--nppl-line);
  border-top: 2px solid var(--nppl-red);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.nav-item.is-open > .login-panel,
.nav-item:focus-within > .login-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.login-panel label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nppl-muted);
  margin-bottom: 0.35rem;
}

.login-panel input {
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--nppl-line);
  background: var(--nppl-ink);
  color: var(--nppl-white);
  border-radius: var(--radius);
}

.login-panel .btn {
  width: 100%;
}

.login-panel .tiny-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--nppl-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--nppl-red);
  color: var(--nppl-white);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: var(--nppl-red-deep);
  color: var(--nppl-white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--nppl-white);
}

.btn-ghost:hover {
  border-color: var(--nppl-white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--nppl-white);
}

.btn-dark {
  background: var(--nppl-black);
  color: var(--nppl-white);
}

.btn-dark:hover {
  background: #222;
  color: var(--nppl-white);
}

/* Hero — fills remaining viewport under sticky header (+ ticker) */
.hero {
  position: relative;
  min-height: calc(100vh - var(--chrome-h));
  min-height: calc(100dvh - var(--chrome-h));
  display: grid;
  align-items: start;
  align-content: start;
  padding-top: clamp(1rem, 4.5vh, 2.75rem);
  padding-bottom: clamp(0.75rem, 3vh, 1.75rem);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.82) 58%, #0a0a0a 100%),
    radial-gradient(ellipse at 70% 20%, rgba(181, 15, 15, 0.28), transparent 45%),
    linear-gradient(135deg, #1a0505 0%, #0a0a0a 45%, #151515 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px);
  background-size: 48px 48px, 36px 36px;
  opacity: 0.5;
  pointer-events: none;
  animation: drift 18s linear infinite;
}

@keyframes drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 48px 36px, -36px 24px; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 0;
  /* width + margin-inline from .container — aligns with League Central */
}

.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem; /* equal space: brand → lead → CTAs */
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s var(--ease) 0.25s forwards;
}

.hero-logo {
  width: min(100%, clamp(336px, 50vw, 624px));
  height: auto;
  aspect-ratio: 1;
  max-width: 100%;
  max-height: min(67vh, 624px);
  object-fit: contain;
  flex-shrink: 0;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 5.75rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--nppl-white);
  margin: 0;
  max-width: 12ch;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s var(--ease) 0.15s forwards;
}

.hero-brand span {
  color: var(--nppl-red);
}

.hero-lead {
  max-width: 34rem;
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s var(--ease) 0.35s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s var(--ease) 0.5s forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 4rem 0;
}

.section-light {
  background: var(--nppl-cream);
  color: #1a1a1a;
}

.section-dark {
  background: var(--nppl-ink);
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-kicker {
  margin: 0 0 0.4rem;
  color: var(--nppl-red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-light .section-kicker {
  color: var(--nppl-red-deep);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  line-height: 1;
}

#get-involved .section-title,
.boards-title {
  color: var(--nppl-red);
}

.section-copy {
  margin: 0.65rem 0 0;
  max-width: 40rem;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.section-light .section-copy {
  color: #1a1a1a;
}

/* Triple board */
.triple-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
}

.board-panel {
  min-width: 0;
  background: var(--nppl-panel);
  border: 1px solid var(--nppl-line);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.section-light .board-panel {
  background: var(--nppl-white);
  border-color: var(--nppl-line-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.board-panel h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.05em;
  color: var(--nppl-red);
  border-bottom: 1px solid var(--nppl-line);
  padding-bottom: 0.65rem;
}

.section-light .board-panel h3 {
  color: #1a1a1a;
  border-bottom-color: var(--nppl-line-dark);
}

.board-scroll {
  flex: 1;
  min-height: 0;
  padding-right: 0.25rem;
}

.board-scroll--static {
  overflow: visible;
  flex: 1 1 auto;
}

.notice-item + .notice-item {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--nppl-line);
}

.section-light .notice-item + .notice-item {
  border-top-color: var(--nppl-line-dark);
}

.notice-title {
  margin: 0 0 0.25rem;
  color: var(--nppl-red);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.notice-date {
  margin: 0 0 0.55rem;
  color: var(--nppl-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.notice-body {
  margin: 0;
  color: rgba(244, 244, 242, 0.88);
  font-size: 0.95rem;
}

.section-light .notice-body {
  color: #333;
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
}

.leaderboard-table th,
.leaderboard-table td {
  padding: 0.55rem 0.35rem;
  text-align: left;
  border-bottom: 1px solid var(--nppl-line);
  font-size: 18px;
  font-weight: 400;
  color: #1a1a1a;
}

.section-light .leaderboard-table th,
.section-light .leaderboard-table td {
  border-bottom-color: var(--nppl-line-dark);
  color: #1a1a1a;
}

.leaderboard-table th {
  font-size: 18px;
  text-transform: none;
  letter-spacing: 0;
}

.leaderboard-table td:last-child,
.leaderboard-table th:last-child {
  text-align: right;
  color: #1a1a1a;
}

.leaderboard-table tbody tr:first-child td {
  color: #b8860b;
  font-weight: 700;
}

.leaderboard-table tbody tr:nth-child(2) td {
  color: #7a7a7a;
  font-weight: 700;
}

.leaderboard-table tbody tr:nth-child(3) td {
  color: #8b5a2b;
  font-weight: 700;
}

.leaderboard-table tr:hover td {
  background: rgba(181, 15, 15, 0.06);
}

.board-footer {
  margin-top: 1rem;
  padding-top: 0;
  border-top: 0;
}

.board-footer a,
.board-footer-btn {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  color: var(--nppl-red);
  font-weight: 700;
  font-size: 0.92rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.board-footer-btn:hover {
  color: var(--nppl-red-deep);
}

/* Where to play filters */
.play-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.chip {
  appearance: none;
  border: 1px solid var(--nppl-line-dark);
  background: transparent;
  color: #333;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
}

.chip.is-active,
.chip:hover {
  background: var(--nppl-red);
  border-color: var(--nppl-red);
  color: #fff;
}

.event-date {
  margin: 1rem 0 0.45rem;
  color: var(--nppl-red);
  font-weight: 700;
  font-size: 0.92rem;
}

.event-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--nppl-line-dark);
  font-size: 0.95rem;
}

.event-row a {
  color: #1a1a1a;
  font-weight: 600;
}

.event-row a:hover {
  color: var(--nppl-red);
}

.event-row.cancelled a {
  color: #c50000;
  text-decoration: line-through;
}

.event-time {
  color: #666;
  white-space: nowrap;
  font-size: 0.85rem;
}

.play-empty,
.play-loading {
  color: #666;
  padding: 1rem 0;
}

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

.service-tile {
  position: relative;
  min-height: 220px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.85)),
    radial-gradient(circle at top right, rgba(181, 15, 15, 0.35), transparent 50%),
    #151515;
  border: 1px solid var(--nppl-line);
  transition: transform 0.35s var(--ease), border-color 0.25s ease;
}

.service-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(181, 15, 15, 0.55);
  color: var(--nppl-white);
}

.service-tile h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
}

.service-tile p {
  margin: 0 0 1rem;
  color: rgba(244, 244, 242, 0.8);
  max-width: 28ch;
}

.service-tile .btn {
  align-self: flex-start;
}

/* Stats */
.stats-wrap {
  border-top: 1px solid var(--nppl-line);
  border-bottom: 1px solid var(--nppl-line);
  background: var(--nppl-panel);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 2.5rem 0;
}

.stat {
  text-align: center;
  padding: 0.5rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
  color: var(--nppl-red);
  line-height: 1;
}

.stat-label {
  margin-top: 0.35rem;
  color: var(--nppl-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Footer */
.site-footer {
  background: var(--nppl-white);
  color: #1a1a1a;
  padding: 3.5rem 0 0;
  border-top: 1px solid var(--nppl-line-dark);
  overflow: hidden;
}

.footer-intro {
  margin-bottom: 2rem;
  max-width: none;
  text-align: left;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--nppl-red);
  margin: 0 0 0.75rem;
}

.footer-desc {
  margin: 0;
  max-width: none;
  color: #1a1a1a;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
}

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

.footer-col h4 {
  margin: 0 0 0.85rem;
  color: #1a1a1a;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li {
  margin-top: 0.45rem;
}

.footer-col a {
  color: #333;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--nppl-red);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #333;
}

.footer-social a:hover {
  color: var(--nppl-red);
}

.footer-social-icon {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
  flex: 0 0 auto;
}

.footer-bottom {
  margin: 2.5rem calc(50% - 50vw) 0;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  padding: 1.25rem max(1.25rem, calc((100vw - 1180px) / 2 + 1.25rem));
  border-top: 0;
  background: #0a0a0a;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #fff;
}

.footer-bottom a {
  color: #fff;
}

.legal-note {
  margin: 2rem 0 0;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--nppl-red);
  background: rgba(181, 15, 15, 0.08);
  color: rgba(244, 244, 242, 0.85);
  font-size: 0.92rem;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .triple-grid,
  .services-grid,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: var(--chrome-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid var(--nppl-line);
    padding: 0.75rem 1.25rem 1.25rem;
    max-height: calc(100vh - var(--chrome-h));
    overflow: auto;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .mega,
  .login-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    margin: 0.25rem 0 0.5rem;
    width: 100%;
  }

  .nav-item.is-open > .mega,
  .nav-item.is-open > .login-panel {
    display: block;
  }

  .header-actions {
    margin: 0.5rem 0 0;
    flex-direction: column;
    align-items: stretch;
  }

  .triple-grid,
  .services-grid,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .board-panel {
    min-height: 0;
  }

  .hero {
    padding-top: clamp(0.75rem, 3vh, 1.5rem);
    padding-bottom: clamp(0.5rem, 2vh, 1.25rem);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0.85rem;
    align-items: center;
  }

  .hero-copy {
    gap: 0.7rem; /* equal space: brand → lead → CTAs */
  }

  .hero-visual {
    order: -1;
    min-height: 0;
    width: 100%;
    justify-content: center;
  }

  .hero-logo {
    width: min(74%, clamp(216px, 55vw, 336px));
    max-height: min(38vh, 336px);
    height: auto;
  }

  .hero-brand {
    font-size: clamp(2.6rem, 11vw, 4rem);
  }

  .ticker-label {
    padding: 0.55rem 0.65rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
  }
}

.page-banner {
  position: relative;
  padding: 0.85rem 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.15) 0%, #0a0a0a 100%),
    radial-gradient(ellipse at 85% 0%, rgba(181, 15, 15, 0.38), transparent 52%),
    #0a0a0a;
}

.page-banner .section-kicker {
  margin-bottom: 0.85rem;
  font-size: clamp(0.72rem, 2.2vw, 1.35rem);
  letter-spacing: 0.12em;
}

.page-banner .section-title {
  color: #fff;
  font-size: clamp(1.25rem, 5vw, 4.1rem);
  max-width: 18ch;
  margin-bottom: 0.85rem;
}

.home-banner__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.home-banner__copy {
  flex: 1 1 auto;
  min-width: 0;
  container-type: inline-size;
}

.home-banner .section-kicker {
  margin-bottom: 0.12em;
  font-size: 4.6cqi;
  letter-spacing: 0.14em;
}

.home-banner .section-title {
  max-width: none;
  margin-bottom: 0;
  font-size: 13.2cqi;
  line-height: 0.86;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.home-banner__logo {
  width: min(280px, 30vw);
  height: auto;
  flex: 0 0 auto;
}

.page-banner .hero-lead {
  opacity: 1;
  transform: none;
  animation: none;
  font-weight: 400;
  font-size: clamp(13px, 1.5vw, 18px);
}

.page-banner .hero-lead + .hero-lead {
  margin-top: 0.35rem;
}

.qual-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.qual-intro__copy {
  min-width: 0;
}

.qual-intro__venue {
  margin: 0;
  margin-left: auto;
  flex: 0 0 auto;
  color: #fff;
  font-size: clamp(13px, 1.5vw, 18px);
  font-weight: 400;
  line-height: 1.45;
  text-align: right;
}

.qual-intro__venue p {
  margin: 0;
  white-space: nowrap;
}

.qual-intro__venue p + p {
  margin-top: 0.35rem;
}

@media (max-width: 980px) {
  .page-banner {
    padding: 0.55rem 0 0.7rem;
  }

  .page-banner .section-kicker {
    margin-bottom: 0.3rem;
    font-size: 20px;
    letter-spacing: 0.06em;
  }

  .page-banner .section-title {
    font-size: 40px;
    margin-bottom: 0.4rem;
    max-width: none;
  }

  .home-banner .section-kicker {
    margin-bottom: 0.12em;
    font-size: 5.2cqi;
  }

  .home-banner .section-title {
    font-size: 15cqi;
    margin-bottom: 0;
    line-height: 0.86;
  }

  .home-banner__row {
    align-items: center;
  }

  .home-banner__logo {
    width: min(108px, 26vw);
  }

  .page-banner .hero-lead {
    font-size: 13px;
    line-height: 1.35;
  }

  .page-banner .hero-lead + .hero-lead {
    margin-top: 0.2rem;
  }

  .qual-intro {
    flex-direction: column;
    gap: 0.7rem;
  }

  .qual-intro__venue {
    margin-left: 0;
    font-size: 13px;
    line-height: 1.35;
    text-align: left;
  }

  .qual-intro__venue p {
    white-space: normal;
  }

  .qual-intro__venue p + p {
    margin-top: 0.15rem;
  }

  .qual-toggle {
    cursor: pointer;
    min-height: 44px;
  }

  .qual-toggle__arrow {
    display: block;
    width: 12px;
    height: 12px;
    margin-right: 0.15rem;
    border-right: 3px solid #1a1a1a;
    border-bottom: 3px solid #1a1a1a;
    transform: translateY(-3px) rotate(45deg);
  }

  .qual-column.is-collapsed .qual-toggle__arrow {
    transform: translateY(0) rotate(-45deg);
  }

  .qual-column.is-collapsed .qual-panel {
    display: none;
  }

  .qual-columns,
  .home-columns {
    grid-template-columns: 1fr;
  }

  .venue-boards {
    grid-template-columns: 1fr;
  }

  .venue-board.is-collapsed .qual-toggle__arrow {
    transform: translateY(0) rotate(-45deg);
  }

  .venue-board.is-collapsed .venue-panel {
    display: none;
  }
}

.page-banner + .section {
  padding-top: 1.15rem;
  padding-bottom: 4rem;
}

.qual-status {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.qual-note {
  margin: 0;
  max-width: 46rem;
  color: #333;
  font-weight: 600;
}

.qual-search {
  width: min(100%, 280px);
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: var(--radius);
  background: #fff;
  color: #1a1a1a;
}

.qual-meta {
  margin: 0 0 1rem;
  color: #555;
  font-weight: 700;
}

.qual-columns {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 2.3fr);
  gap: 1.25rem;
  align-items: start;
}

.home-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.page-banner .qual-intro__venue a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.page-banner .qual-intro__venue a:hover {
  color: #fff;
  text-decoration: underline;
}

.home-columns .notice-heading {
  color: var(--nppl-red);
}

.home-columns .notice-body {
  margin: 0.35rem 0 0.4rem;
  color: #333;
  font-size: 0.92rem;
  font-weight: 400;
}

.home-columns .notice-body strong {
  font-weight: 800;
}

.home-leaderboard li:nth-child(1) .venue-rank,
.home-leaderboard li:nth-child(1) .venue-player,
.home-leaderboard li:nth-child(1) .venue-points {
  color: #b8860b;
  font-weight: 800;
}

.home-leaderboard li:nth-child(2) .venue-rank,
.home-leaderboard li:nth-child(2) .venue-player,
.home-leaderboard li:nth-child(2) .venue-points {
  color: #7a7a7a;
  font-weight: 800;
}

.home-leaderboard li:nth-child(3) .venue-rank,
.home-leaderboard li:nth-child(3) .venue-player,
.home-leaderboard li:nth-child(3) .venue-points {
  color: #8b5a2b;
  font-weight: 800;
}

.qual-badges {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.3rem;
}

.qual-column--winners .qual-grid {
  gap: 0.25rem;
  margin-top: calc(1rem + 0.35rem);
}

.qual-column--winners .qual-card {
  padding: 0.28rem 0.7rem;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.qual-column--winners .qual-name {
  font-size: 0.92rem;
}

.qual-status {
  justify-content: space-between;
  align-items: center;
}

a.qual-season-link {
  display: inline-block;
  width: auto;
  white-space: nowrap;
  text-decoration: none;
}

a.qual-season-link:hover {
  color: #1a1a1a;
}

a.qual-season-link strong {
  font-weight: 700;
}

.venue-boards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.25rem;
  align-items: start;
}

.qual-column h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #1a1a1a;
}

.qual-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: left;
  cursor: default;
}

.qual-toggle__arrow {
  display: none;
}

.qual-column .qual-note {
  margin-bottom: 0.75rem;
}

.qual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 1rem;
}

.qual-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.8rem 0.95rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.qual-card[hidden] {
  display: none;
}

.qual-name {
  min-width: 0;
  font-weight: 700;
  color: #1a1a1a;
}

.qual-chips {
  flex: 0 0 auto;
  padding: 0.22rem 0.5rem;
  background: rgba(181, 15, 15, 0.1);
  color: var(--nppl-red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.qual-chips--2k {
  background: #e7f0ff;
  color: #1d4f91;
}

.qual-chips--4k {
  background: #e5f6ea;
  color: #1b7a3a;
}

.qual-chips--6k {
  background: #fff4d6;
  color: #8a6200;
}

.qual-chips--8k {
  background: #ffe8d6;
  color: #b45309;
}

.qual-chips--10k {
  background: #fde8ea;
  color: #b50f0f;
}

.qual-chips--win {
  background: #fde8ea;
  color: #b50f0f;
}

.qual-chips--top10 {
  background: #efeaff;
  color: #5b3d8f;
}

.venue-winner-logo {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 0.3rem;
  vertical-align: -3px;
}

.qual-empty {
  margin: 1rem 0 0;
  color: #555;
  font-weight: 700;
}

.legacy-copy {
  color: #1a1a1a;
  font-size: 1.05rem;
  line-height: 1.55;
  overflow-x: auto;
}

.legacy-copy h1 {
  display: none;
}

.legacy-copy p,
.legacy-copy td,
.legacy-copy li {
  color: #1a1a1a;
}

.legacy-copy a {
  color: var(--nppl-red);
  font-weight: 700;
}

.legacy-copy .header_title,
.legacy-copy .content_heading {
  margin: 0.35rem 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.legacy-copy table {
  max-width: 100%;
}

.legacy-copy img {
  max-width: 100%;
  height: auto;
}

.legacy-copy input[type="text"],
.legacy-copy input[type="password"],
.legacy-copy textarea,
.legacy-copy select {
  width: min(100%, 420px);
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  font: inherit;
}

.legacy-copy .border_box {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
  padding: 1rem 1.1rem;
}

.venue-board {
  margin-top: 1rem;
  padding: 0.85rem 0.9rem 0.45rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.venue-board[hidden] {
  display: none;
}

.venue-board h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
  color: #1a1a1a;
}

.venue-board__meta {
  margin: 0.25rem 0 0.45rem;
  color: #666;
  font-size: 0.78rem;
  font-weight: 700;
}

.venue-board ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.venue-board li {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.28rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.92rem;
}


.venue-board li[hidden] {
  display: none;
}

.venue-board li.is-outside {
  color: #6b7280;
}

.venue-rank {
  min-width: 1.4rem;
  color: #1a1a1a;
  font-weight: 800;
}

.venue-board li.is-top10 .venue-player {
  font-weight: 800;
  color: #1a1a1a;
}

.venue-player {
  flex: 1 1 auto;
  min-width: 0;
}

.venue-points {
  margin-left: auto;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.mega a.is-active {
  color: var(--nppl-red);
  font-weight: 700;
}

@media (max-width: 980px) {
  .qual-columns,
  .home-columns,
  .venue-boards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .qual-grid {
    grid-template-columns: 1fr;
  }
}
