*,
*::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: #cbd5e1;
  margin: 0.75rem 0 0.75rem;
}

.price { display: inline-block; font-weight: 900; }
.price--highlight { background: #fbbf24; color: #111827; padding: 2px 10px; border-radius: 999px; }
.price--strikethrough { text-decoration: line-through; color: #94a3b8; }
.price-note { margin: -0.25rem 0 0.75rem; color: #94a3b8; font-size: 0.92rem; }

.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;
}

/* Responsive */

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

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