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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  background: radial-gradient(circle at top, #111827, #020617);
  color: #e5e7eb;
  min-height: 100vh;
}

/* Header */

.site-header {
  background: #020617;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(148,163,184,0.25);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
}

.logo-img {
  height: 60px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  color: #f9fafb;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #ffd34a;
  transition: width 0.2s ease-out;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link-active {
  color: #ffd34a;
}

.nav-link-active::after {
  width: 100%;
}

/* Hero */

.hero {
  padding: 3.5rem 1.25rem 2.5rem;
  text-align: center;
  background: radial-gradient(circle at center, #1e293b 0, #020617 65%);
}

.hero-sm {
  padding: 2.5rem 1.25rem 1.75rem;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffe55b;
  text-shadow:
    0 0 20px rgba(255,229,91,0.35),
    0 0 40px rgba(37,99,235,0.65);
  margin: 0 0 0.75rem;
}

.hero-tagline {
  font-size: 1.1rem;
  margin: 0 0 1.5rem;
}

.hero-subtext {
  font-size: 0.95rem;
  color: #cbd5f5;
  margin-top: 1rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Sections */

.section {
  padding: 2.5rem 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
  color: #fbbf24;
}

/* Cards & grids */

.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: #020617;
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 10px 25px rgba(15,23,42,0.8);
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fde68a;
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, filter 0.12s;
}

.btn-primary {
  background: #ffc52b;
  color: #111827;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.45);
}

.btn-outline {
  background: transparent;
  color: #ffc52b;
  border: 2px solid #ffc52b;
}

.btn-outline:hover {
  background: #ffc52b;
  color: #111827;
}

.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  border: 1px solid #fbbf24;
  color: #fbbf24;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: background 0.2s ease-out, color 0.2s ease-out, transform 0.15s ease-out;
}

.btn-secondary:hover {
  background: #fbbf24;
  color: #020617;
  transform: translateY(-1px);
}

/* Schedule / placeholders */

.schedule-placeholder {
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: rgba(15,23,42,0.9);
  border: 1px dashed rgba(156,163,175,0.8);
  text-align: center;
  color: #e5e7eb;
}

/* Teams */

#teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: #020617;
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
  text-align: center;
  border: 1px solid rgba(148,163,184,0.45);
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.team-card h3 {
  margin: 0.4rem 0 0.3rem;
}

.team-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #d1d5db;
}

.team-logo-fake {
  margin: 0 auto 0.6rem;
  height: 64px;
  width: 64px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffd34a, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.8rem;
  color: #111827;
}

/* Registration */

.registration-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.reg-card {
  background: #020617;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 12px 30px rgba(15,23,42,0.85);
}

.reg-card h2 {
  margin: 0 0 0.5rem;
}

.reg-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffc52b;
  margin: 0.75rem 0 0.75rem;
}

.reg-list {
  padding-left: 1.1rem;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

/* Rules */

.rules-section {
  background: radial-gradient(circle at top left, #020617, #020617);
  border-radius: 1.25rem;
}

.rules-summary ul {
  padding-left: 1.1rem;
  margin-top: 0.3rem;
  margin-bottom: 1rem;
}

.rules-full {
  margin-top: 2rem;
}

.rules-note {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

/* Rules accordion */
.rules-accordion {
  margin-top: 2rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.4);
  overflow: hidden;
}

.rules-accordion .accordion-item + .accordion-item {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.accordion-header {
  width: 100%;
  padding: 0.9rem 1.1rem;
  text-align: left;
  background: transparent;
  border: none;
  color: #e5e7eb;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.accordion-header span.label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.accordion-header span.chevron {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.accordion-item.open .accordion-header span.chevron {
  transform: rotate(90deg);
}

.accordion-panel {
  display: none;
  padding: 0 1.1rem 1rem;
  color: #e5e7eb;
  font-size: 0.9rem;
  line-height: 1.5;
}

.accordion-item.open .accordion-panel {
  display: block;
}

.accordion-panel h3,
.accordion-panel h4 {
  color: #facc15; /* yellow */
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.accordion-panel p {
  margin: 0.25rem 0;
}

.accordion-panel ul {
  margin: 0.35rem 0 0.35rem 1.2rem;
  padding: 0;
}

.accordion-panel li {
  margin: 0.15rem 0;
}

/* Instagram */

.insta-section {
  border-radius: 1.5rem;
  background: radial-gradient(circle at top, #1f2937, #020617);
  border: 1px solid rgba(55,65,81,0.8);
}

.insta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.insta-gallery {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.insta-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0.75rem;
}

.insta-footer {
  margin-top: 1.5rem;
  text-align: center;
}

/* Footer */

.site-footer {
  margin-top: 2.5rem;
  padding: 1.75rem 1.25rem 1.5rem;
  border-top: 1px solid rgba(148,163,184,0.35);
  background: #020617;
}

.footer-top {
  max-width: 1120px;
  margin: 0 auto 0.75rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-league-name {
  margin: 0 0 0.3rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #facc15;
}

.footer-copy {
  max-width: 1120px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Schedule table */

.schedule-table-wrapper {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.schedule-table th,
.schedule-table td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(55,65,81,0.9);
}

.schedule-table th {
  background: #020617;
  position: sticky;
  top: 0;
}

/* --- LeagueLobster-style schedule (week blocks) --- */
.schedule-weeks{
  display:flex;
  flex-direction:column;
  gap: 18px;
}
.week-block{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  overflow:hidden;
}
.week-header{
  padding: 12px 14px;
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.week-title{
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffe55b;
  font-size: 1.25rem;
}
.week-date{
  margin-top: 2px;
  color: #ffe55b;
  font-size: 1.05rem;
}
.week-games{display:flex;flex-direction:column;}
.sched-row{
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.sched-row:first-child{border-top:none;}
.sched-teams{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight:700;
  font-size: 1.05rem;
}
.sched-v{opacity:0.7;font-weight:700;}
.sched-meta{
  margin-top: 4px;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}

/* date/time separators used on cards */
.game-dot{margin: 0 8px; opacity: 0.7;}

/* Responsive */

@media (max-width: 768px) {
  .main-nav {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .logo-img {
    height: 52px;
  }
}

/* Registration pricing (Early Bird vs Regular) */
.price-block{
  margin: 14px 0 10px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  background: rgba(0,0,0,0.18);
}
.price-line{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0;
}
.price-label{
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}
.price-value{
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 1.15rem;
}
.price-eb.is-active{
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255, 196, 0, 0.18);
}
.price-regular.is-strike,
.price-eb.is-strike{
  color: rgba(255,255,255,0.55);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-note{
  margin-top: 10px;
  color: rgba(255,255,255,0.70);
  font-size: 0.92rem;
}
.price-value.is-active{
  color: var(--gold);
  text-shadow: 0 0 14px rgba(255,200,64,0.25);
}


/* Pricing state classes */
.price-block .price-eb.is-active{background:rgba(245,197,66,.14);border:1px solid rgba(245,197,66,.45);border-radius:14px;padding:12px 14px}
.price-block .price-regular.is-strike{text-decoration:line-through;opacity:.55}
.price-block .price-eb.is-inactive{opacity:.6}
.price-block .price-regular.is-active{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18);border-radius:14px;padding:12px 14px}


/* 2026 rules updates */
.rules-updates {
  margin-top: 1.25rem;
  padding: 1.1rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.rules-updates-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: #facc15;
}

.rules-updates-head p {
  margin: 0 0 1rem;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.rules-update-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.rules-update-card {
  display: block;
  text-decoration: none;
  color: #e5e7eb;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.28);
  transition: transform 0.15s ease-out, border-color 0.15s ease-out, background 0.15s ease-out;
}

.rules-update-card:hover {
  transform: translateY(-1px);
  border-color: rgba(250, 204, 21, 0.55);
  background: rgba(15, 23, 42, 0.95);
}

.rules-update-title {
  display: block;
  color: #fde68a;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.rules-update-text {
  display: block;
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.45;
}

.rule-diagrams {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 0.85rem;
}

.rule-diagram-card {
  margin: 0;
  padding: 0.85rem;
  border-radius: 0.9rem;
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.rule-diagram-card figcaption {
  margin-bottom: 0.55rem;
  color: #fde68a;
  font-weight: 700;
}

.rule-diagram-card svg {
  width: 100%;
  height: auto;
  display: block;
}


/* Schedule filter */
.schedule-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.schedule-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: min(100%, 320px);
}

.schedule-filter-group label,
.schedule-filter-status {
  color: #cbd5e1;
}

.schedule-filter-group select,
.waiver-grid input,
.waiver-check input {
  font: inherit;
}

.schedule-filter-group select,
.waiver-grid input,
.waiver-grid select,
.signature-pad {
  width: 100%;
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid rgba(148,163,184,0.45);
  border-radius: 0.8rem;
  padding: 0.8rem 0.95rem;
}

.btn-compact {
  padding: 0.55rem 1rem;
}

.schedule-filter-status {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.sched-row-highlight {
  border-color: rgba(251,191,36,0.55);
  box-shadow: inset 0 0 0 1px rgba(251,191,36,0.18);
}

/* Waiver page */
.waiver-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
}

.waiver-card {
  background: #020617;
  border-radius: 1rem;
  padding: 1.35rem;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 10px 25px rgba(15,23,42,0.8);
}

.waiver-card h2,
.waiver-terms h3 {
  color: #fbbf24;
  margin-top: 0;
}

.waiver-copy-card p,
.waiver-form-card p,
.waiver-bullets li,
.waiver-check span,
.waiver-grid span {
  color: #e5e7eb;
}

.waiver-bullets {
  padding-left: 1.25rem;
  line-height: 1.7;
}

.waiver-note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(251,191,36,0.3);
  color: #fde68a;
}

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

.waiver-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}


.minor-section {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.9rem;
  background: #0b1224;
  border: 1px solid rgba(251,191,36,0.25);
}

.minor-copy {
  margin-top: 0;
}

.waiver-grid-full {
  grid-column: 1 / -1;
}

.waiver-note-warning {
  background: rgba(59,130,246,0.12);
  border-color: rgba(96,165,250,0.38);
  color: #bfdbfe;
}

.waiver-note-danger {
  background: rgba(127,29,29,0.22);
  border-color: rgba(248,113,113,0.42);
  color: #fecaca;
}

.waiver-actions .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.waiver-terms {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 0.9rem;
  background: #0b1224;
  border: 1px solid rgba(148,163,184,0.25);
}

.waiver-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1rem;
}

.waiver-check input {
  width: auto;
  margin-top: 0.22rem;
}

.signature-wrap {
  margin-top: 1rem;
}

.signature-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.signature-pad {
  display: block;
  min-height: 180px;
  background: #ffffff;
  border: 2px dashed rgba(148,163,184,0.65);
  padding: 0;
}

.waiver-actions {
  margin-top: 1rem;
}

.waiver-status {
  margin-top: 0.9rem;
  color: #fde68a;
  min-height: 1.25rem;
}

@media (max-width: 860px) {
  .waiver-layout,
  .waiver-grid {
    grid-template-columns: 1fr;
  }

  .signature-label-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
