:root {
  --bg-black: #0b0b0d;
  --bg-stone: #161619;
  --bg-card: #1d1d21;
  --border-stone: #2c2c32;
  --text-white: #f5f5f3;
  --text-muted: #a8a8b0;
  --gold-light: #f6e27a;
  --gold: #d4af37;
  --gold-dark: #9c7a1c;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.tm {
  font-size: 0.55em;
  vertical-align: super;
  color: var(--gold);
  margin-left: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 11, 13, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-stone);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-white);
}

.brand-emblem {
  width: 30px;
  height: 30px;
}

.brand-name {
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

/* Hero */
.hero {
  padding: 5.5rem 0 4.5rem;
  text-align: center;
  background: radial-gradient(circle at top, rgba(212, 175, 55, 0.12), transparent 60%);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: "Cinzel", serif;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.4rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: #0b0b0d;
}

/* Rankr Brand Lockup */
.rankr-brand-lockup {
  display: inline-flex;
  align-items: center;
}

.rankr-wordmark {
  height: clamp(52px, 10vw, 72px);
  width: auto;
  max-width: 100%;
}

.btn-outline {
  border: 1px solid var(--border-stone);
  color: var(--text-white);
  background: var(--bg-card);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Sections & Cards */
.section {
  padding: 4rem 0;
}

.section-stone {
  background-color: var(--bg-stone);
  border-top: 1px solid var(--border-stone);
  border-bottom: 1px solid var(--border-stone);
}

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

.section-header h2 {
  font-family: "Cinzel", serif;
  font-size: 1.8rem;
  letter-spacing: 0.06em;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-stone);
  border-radius: 10px;
  padding: 1.75rem;
}

.card-featured {
  border-color: rgba(212, 175, 55, 0.35);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text-white);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.league-group + .league-group {
  margin-top: 1.35rem;
}

.league-group-title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.record-list,
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.record-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-stone);
  font-size: 0.92rem;
}

.record-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.league-name {
  color: var(--text-muted);
}

.league-record {
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.gold-text {
  color: var(--gold);
}

.contact-list li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-list strong {
  color: var(--text-white);
}

.text-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
}

.text-link:hover {
  text-decoration: underline;
}

code {
  background: var(--bg-black);
  border: 1px solid var(--border-stone);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--text-white);
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border-stone);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-note {
  margin-top: 0.35rem;
  font-size: 0.8rem;
}

@media (max-width: 600px) {
  .container {
    padding: 0 1rem;
  }

  .brand-name {
    font-size: 1rem;
    letter-spacing: 0.08em;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .hero {
    padding: 3.75rem 0 3rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .card {
    padding: 1.25rem;
  }

  .record-list li {
    flex-direction: column;
    gap: 0.25rem;
  }

  .hero-actions,
  .card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
