:root {
  color-scheme: dark;
  --bg: #050504;
  --surface: rgba(10, 8, 7, 0.94);
  --surface-soft: rgba(15, 12, 10, 0.7);
  --surface-strong: #100c08;
  --text: #f6ebcf;
  --muted: #d2c09d;
  --primary: #d4af37;
  --primary-dark: #b68f1a;
  --accent: #ffd659;
  --border: rgba(212, 175, 55, 0.2);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, rgba(212, 175, 55, 0.12), transparent 24%),
              radial-gradient(circle at bottom right, rgba(255, 214, 89, 0.1), transparent 18%),
              var(--bg);
  color: var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(6, 4, 4, 0.9);
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}

img,
button,
a {
  border: 0;
}

button,
a {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  border-radius: 1rem;
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border-radius: 0.85rem;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.menu-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.menu-toggle span + span {
  margin-top: 0.4rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.section {
  padding: 5rem 0;
}

.section-primary {
  background: rgba(24, 15, 10, 0.96);
}

.section-secondary {
  background: linear-gradient(180deg, rgba(10, 6, 4, 0.95), rgba(6, 4, 2, 0.98));
}

.hero-section {
  padding: 6rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.85fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  max-width: 42rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  line-height: 1.02;
}

.hero-copy h1 span {
  display: block;
  margin-top: 0.6rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-copy p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--muted);
  margin: 1.6rem 0 2.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.rules-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #111;
  box-shadow: 0 18px 35px rgba(212, 175, 55, 0.24);
}

.button.secondary {
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(212, 175, 55, 0.08);
  color: var(--text);
}

.hero-panel {
  position: relative;
}

.hero-card {
  padding: 2rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(24, 15, 8, 0.96), rgba(12, 7, 3, 0.98));
  border: 1px solid rgba(212, 175, 55, 0.14);
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.75rem;
}

.hero-card ul {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.hero-card li {
  color: var(--muted);
  line-height: 1.75;
}

.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.section h2 {
  margin: 1rem 0 1.5rem;
  font-size: clamp(2rem, 2.5vw, 2.8rem);
}

.section p {
  color: var(--muted);
  line-height: 1.8;
}

.section-grid {
  display: grid;
  grid-template-columns: 1.2fr minmax(280px, 0.8fr);
  gap: 2.5rem;
  align-items: start;
}

.info-cards {
  display: grid;
  gap: 1.25rem;
}

.info-card,
.feature-card,
.rule-card,
.contact-card,
.team-card {
  padding: 1.75rem;
  border-radius: 1.5rem;
  background: rgba(12, 8, 5, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.12);
}

.info-card h3,
.feature-card h3,
.rule-card h3,
.team-card h3 {
  margin-top: 0;
}

.info-card p,
.feature-card p,
.rule-card p {
  margin: 1rem 0 0;
  color: var(--muted);
}

.section-intro,
.rules-description {
  max-width: 58rem;
  margin: 1.25rem 0 2rem;
  color: var(--muted);
  line-height: 1.75;
}

.team-hierarchy {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.team-lower-row,
.team-subgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.team-card--lead,
.team-card--director,
.team-card {
  background: rgba(18, 12, 6, 0.96);
  border-color: rgba(212, 175, 55, 0.18);
}

.team-card--lead {
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
}

.team-card--director {
  border-color: rgba(212, 175, 55, 0.14);
}

.team-card--lead .team-role,
.team-card--director .team-role {
  background: rgba(212, 175, 55, 0.16);
}

.team-card {
  text-align: center;
  padding: 1.25rem;
  max-width: 18rem;
  min-height: auto;
  margin: 0 auto;
}

.team-avatar {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212, 175, 55, 0.24);
  margin: 0 auto 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.team-role {
  display: inline-flex;
  margin-top: 0.65rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.rules-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.rules-actions .button {
  min-width: 16rem;
  padding: 1.15rem 2rem;
  font-size: 0.98rem;
}

.features-grid,
.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card,
.rule-card {
  min-height: 12rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: stretch;
}

.contact-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.contact-list li {
  color: var(--muted);
  line-height: 1.75;
}

.contact-highlight {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.social-icon {
  display: inline-flex;
  width: 1.25rem;
  justify-content: center;
}

.site-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  background: rgba(5, 4, 4, 0.98);
}

@media (max-width: 980px) {
  .hero-grid,
  .section-grid,
  .features-grid,
  .rules-grid,
  .contact-grid,
  .team-subgrid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    inset: 5.2rem 1.25rem auto auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    background: rgba(11, 17, 30, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 1.5rem;
    padding: 1rem;
    width: calc(100% - 2.5rem);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.02);
  }

  .hero-section {
    padding-top: 4rem;
  }

  .hero-card,
  .info-card,
  .feature-card,
  .rule-card,
  .contact-card {
    padding: 1.5rem;
  }
}

@media (max-width: 520px) {
  .hero-copy h1 {
    font-size: 2.6rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
