:root {
  --bg-ink: #0f1a2b;
  --bg-deep: #13243b;
  --bg-surface: #f5f8fc;
  --text-main: #152334;
  --text-muted: #5a6a7f;
  --accent-amber: #f0a202;
  --accent-red: #d62839;
  --line-soft: #dbe4ef;
  --focus-ring: #0e8ac7;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 34, 57, 0.15);
  --maxw: 1040px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 15% 10%, rgba(240, 162, 2, 0.2), transparent 38%),
    radial-gradient(circle at 85% 20%, rgba(214, 40, 57, 0.14), transparent 42%),
    linear-gradient(180deg, #f7fbff 0%, #eef4fb 100%);
  line-height: 1.5;
}
.tourney {
    height: 300px;
    width: 200px;
    object-fit: contain;
}

.page-shell {
  width: min(100%, var(--maxw));
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.site-header {
  margin-top: 1rem;
  background: linear-gradient(120deg, var(--bg-ink), var(--bg-deep));
  color: #fff;
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  box-shadow: var(--shadow);
}

.brand-block {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  flex-shrink: 0;
}

.brand-fallback {
  display: none;
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: var(--accent-amber);
  color: #221604;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2rem;
  text-align: center;
  line-height: 58px;
}

.brand-title {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.05em;
  font-size: 2rem;
  line-height: 1;
}

.brand-subtitle {
  margin: 0.1rem 0 0;
  color: #c7d2e4;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-self: end;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 600;
}

.site-nav a[aria-current="page"] {
  background: var(--accent-amber);
  color: #221604;
  border-color: transparent;
}

.menu-toggle {
  display: none;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #fff;
  border-radius: 10px;
  padding: 0.4rem 0.7rem;
  font-weight: 700;
}

main {
  margin-top: 1rem;
}

.hero {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--accent-red);
  font-weight: 700;
}

h1,
h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.03em;
}

h1 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1;
}

.section-header {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow);
}

.content-grid,
.contact-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
}

.cta {
  display: inline-block;
  background: var(--accent-red);
  color: #fff;
  text-decoration: none;
  padding: 0.58rem 0.9rem;
  border-radius: 10px;
  font-weight: 700;
}

.league-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}

.league-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.league-meta {
  margin: 0.25rem 0 0.75rem;
  color: var(--text-muted);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.link-row a,
.badge-muted {
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}

.link-row a {
  background: #e5f2ff;
  color: #054d86;
  text-decoration: none;
}

.badge-muted {
  background: #f0f2f5;
  color: #5d6675;
}

.stacked-copy {
  margin-top: 1rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow);
}

.status-message {
  background: #fff;
  border: 1px dashed #b4c1d2;
  border-radius: 10px;
  padding: 0.75rem;
  color: var(--text-muted);
}

.site-footer {
  margin-top: 1.1rem;
  color: var(--text-muted);
  text-align: center;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    width: 100%;
    justify-self: start;
    display: none;
  }

  .site-nav.nav-open {
    display: flex;
    flex-direction: column;
  }

  .site-nav a {
    width: fit-content;
  }
}
