:root {
  --bg: #07090f;
  --surface: #0d1117;
  --card: #0f1520;
  --card-hover: #141e2e;
  --gold: #C8A44A;
  --gold-light: #E8C572;
  --gold-dim: rgba(200,164,74,0.12);
  --gold-border: rgba(200,164,74,0.22);
  --text: #EEE9E0;
  --text-muted: #6E7A8A;
  --text-dim: #3D4A5A;
  --green-deep: #091A10;
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.1);
  --radius: 14px;
  --radius-lg: 22px;
  --transition: 220ms cubic-bezier(0.4,0,0.2,1);
  --shadow-gold: 0 0 40px rgba(200,164,74,0.14), 0 0 80px rgba(200,164,74,0.05);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.3);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Comfortaa', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(28,25,23,0.8) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 110%, rgba(161,98,7,0.05) 0%, transparent 60%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,9,15,0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

.nav.scrolled {
  background: rgba(7,9,15,0.92);
  border-bottom-color: var(--gold-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}

.nav__logo svg { color: var(--gold); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  min-width: 0;
}

.nav__links li { flex-shrink: 0; }

.nav__links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}

.nav__links a:hover, .nav__links a.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.btn-city {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: border-color var(--transition);
}

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

.nav__stats {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 16px;
  margin-right: 4px;
  border-right: 1px solid var(--border);
}

.nav__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.nav__stat-num {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}

.nav__stat-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .nav__stats { display: none; }
}

.btn-primary {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0A0E14;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity var(--transition), transform var(--transition);
}

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

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  position: relative;
  padding: 112px 0 96px;
  background:
    radial-gradient(circle 460px at 12% 8%, rgba(200,164,74,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 70% 60% at 50% -10%, rgba(28,25,23,0.85) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 85% 80%, rgba(161,98,7,0.06) 0%, transparent 50%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23A16207' fill-opacity='0.04'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,164,74,0.2), transparent);
}

.hero__suit {
  position: absolute;
  font-size: 280px;
  line-height: 1;
  color: rgba(200,164,74,0.045);
  pointer-events: none;
  user-select: none;
  font-family: sans-serif;
}
.hero__suit--1 { top: -40px; right: 80px; transform: rotate(-12deg); }
.hero__suit--2 { bottom: -60px; left: 40px; font-size: 200px; transform: rotate(8deg); }

.hero__row {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  flex: 1;
}

.hero__rating {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 380px;
  margin-left: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.hero__rating::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
}

.hero__rating:hover {
  transform: translateY(-2px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-card), 0 0 32px rgba(200,164,74,0.12);
}

.hero__rating-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-family: 'Comfortaa', sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.hero__rating-head span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__rating-head svg { color: var(--gold); flex-shrink: 0; }

.hero__rating-badge {
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-family: 'Comfortaa', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}

.hero__rating-list {
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.hero__rating-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.hero__rating-item:last-child { border-bottom: none; }

.hero__rating-item:hover { background: rgba(255,255,255,0.04); }

.hero__rating-item__pos {
  width: 20px;
  flex-shrink: 0;
  font-family: 'Comfortaa', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dim);
  text-align: center;
}

.hero__rating-item:nth-child(-n+3) .hero__rating-item__pos { color: var(--gold); }

.hero__rating-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hero__rating-item__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__rating-item__district {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero__rating-item__score {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}

.hero__rating-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  border-top: 1px solid var(--border);
  transition: background var(--transition);
}

.hero__rating-all:hover { background: rgba(255,255,255,0.04); }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__eyebrow span { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: pulse-dot 2s ease-in-out infinite; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-family: 'Comfortaa', sans-serif;
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 20px;
  text-shadow: 0 4px 32px rgba(0,0,0,0.35);
}

.hero__title em,
.hero__title-accent {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold), var(--gold-light) 60%, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 44px;
  font-weight: 400;
  line-height: 1.7;
  max-width: 520px;
}

.hero__search {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}

.hero__search:focus-within {
  border-color: var(--gold);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(200,164,74,0.12), var(--shadow-card);
}

.hero__search input {
  flex: 1;
  padding: 18px 22px;
  background: none;
  border: none;
  font-family: 'Comfortaa', sans-serif;
  font-size: 15px;
  color: var(--text);
  outline: none;
  letter-spacing: -0.01em;
}

.hero__search input::placeholder { color: var(--text-dim); }

.hero__search button {
  padding: 12px 28px;
  margin: 6px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200% 200%;
  color: #0C0A09;
  font-weight: 600;
  font-size: 14px;
  border-radius: 9px;
  transition: background-position var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__search button:hover {
  background-position: right center;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,164,74,0.3);
}

/* ── HERO FILTER ── */
.hero__filter {
  display: flex;
  align-items: stretch;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.hero__filter-item {
  position: relative;
  flex: 1;
  min-width: 0;
  border-right: 1px solid var(--border);
}

.hero__filter-item:first-child .hero__filter-btn { border-radius: var(--radius) 0 0 var(--radius); }

.hero__filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 13px 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.hero__filter-btn:hover { background: rgba(255,255,255,0.05); }

.hero__filter-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero__filter-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.hero__filter-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__filter-btn svg {
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform var(--transition);
}

.hero__filter-item.open .hero__filter-btn svg { transform: rotate(180deg); }
.hero__filter-item.open .hero__filter-btn { background: rgba(255,255,255,0.05); }

.hero__filter-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 200px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  z-index: 200;
  display: none;
  max-height: 400px;
  overflow: hidden;
  flex-direction: column;
}

.hero__filter-item.open .hero__filter-dropdown {
  display: flex;
}

.hero__filter-search-wrap {
  padding: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
  flex-shrink: 0;
}

.hero__filter-search-wrap input {
  width: 100%;
  padding: 8px 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 13px;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}

.hero__filter-search-wrap input:focus {
  border-color: rgba(255,255,255,0.2);
}

.hero__filter-options {
  overflow-y: auto;
  max-height: 320px;
}

.hero__filter-option {
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  transition: background var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__filter-option:hover { background: rgba(255,255,255,0.06); }
.hero__filter-option.active { color: var(--gold); }
.hero__filter-option--hidden { display: none !important; }


.hero__filter-search {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 24px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200% 200%;
  color: #0C0A09;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background-position var(--transition);
}

.hero__filter-search:hover { background-position: right center; }

/* ── STATS BAR ── */
.stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--border);
}

.stats__item:last-child { border-right: none; }

.stats__num {
  font-family: 'Comfortaa', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.stats__label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── SECTIONS ── */
.section { padding: 80px 0; }

.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}

.section__title {
  font-family: 'Comfortaa', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
}

.section__title span { color: var(--gold); }

.section__subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 8px;
}

.link-all {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  white-space: nowrap;
  transition: gap var(--transition);
}
.link-all:hover { gap: 10px; }

/* ── CLUBS BENTO GRID ── */
.clubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

.club-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
  /* GSAP handles initial opacity/transform */
}

/* GSAP handles card reveal — no .visible CSS state needed */

.club-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-gold);
}

.club-card--wide { grid-column: span 2; }
.club-card--tall { grid-row: span 2; }

.club-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.club-card__icon {
  width: 48px;
  height: 48px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.club-card__rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
}

.club-card__rating svg { width: 14px; height: 14px; fill: var(--gold); }

.club-card__name {
  font-family: 'Comfortaa', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.club-card__district {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.club-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 4px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.tag--gold {
  background: var(--gold-dim);
  border-color: var(--gold-border);
  color: var(--gold);
}

.club-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.club-card__price {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.club-card__price span { color: var(--text-muted); font-weight: 400; font-size: 13px; }

.club-card__schedule {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── TOURNAMENTS ── */
.section--dark {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tournament-filters {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  width: fit-content;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  transition: all var(--transition);
}

.filter-btn:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.filter-btn.active { background: var(--gold); color: #0A0E14; font-weight: 600; }

.tournament-list { display: flex; flex-direction: column; gap: 8px; }

.tournament-row {
  display: grid;
  grid-template-columns: 100px 1fr 120px 100px 120px 44px;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
  cursor: pointer;
}

.tournament-row:hover {
  border-color: var(--gold-border);
  transform: translateX(4px);
}

.tournament-row__date {
  display: flex;
  flex-direction: column;
}

.tournament-row__day { font-size: 22px; font-weight: 700; font-family: 'Comfortaa', sans-serif; color: var(--gold); line-height: 1; }
.tournament-row__month { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

.tournament-row__club { font-weight: 500; font-size: 15px; }
.tournament-row__club span { display: block; font-size: 13px; color: var(--text-muted); font-weight: 400; margin-top: 2px; }

.tournament-row__format .tag { display: inline-block; }
.tournament-row__buyin { font-weight: 600; font-size: 15px; }
.tournament-row__prize { font-size: 14px; color: var(--text-muted); }

.tournament-row__arrow {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  color: var(--text-muted);
  transition: all var(--transition);
}
.tournament-row:hover .tournament-row__arrow { background: var(--gold-dim); color: var(--gold); }

/* ── CITIES ── */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.city-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition);
}

.city-card:hover {
  border-color: var(--gold-border);
  background: var(--card-hover);
  transform: translateY(-2px);
}

.city-card__name { font-weight: 600; font-size: 16px; }
.city-card__count { font-size: 13px; color: var(--text-muted); }

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold-border), var(--gold-border));
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  position: relative;
}

.step-card__num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Comfortaa', sans-serif;
  font-size: 20px; font-weight: 700;
  color: #0A0E14;
  margin: 0 auto 20px;
  position: relative; z-index: 1;
}

.step-card__title { font-family: 'Comfortaa', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.step-card__text { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #1C1210 0%, #0C0A09 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '♠';
  position: absolute;
  right: 48px; top: -20px;
  font-size: 200px;
  color: rgba(200,164,74,0.04);
  pointer-events: none;
  line-height: 1;
}

.cta-banner__title {
  font-family: 'Comfortaa', sans-serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-banner__sub { font-size: 15px; color: var(--text-muted); }

.btn-outline {
  padding: 14px 28px;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  white-space: nowrap;
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--gold); color: #0A0E14; }

/* ── FOOTER ── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__brand { max-width: 280px; }
.footer__brand .nav__logo { margin-bottom: 16px; }
.footer__desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }

.footer__socials { display: flex; gap: 10px; }
.footer__social {
  width: 40px; height: 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.footer__social:hover { border-color: var(--gold-border); color: var(--gold); }

.footer__heading { font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 14px; color: var(--text-muted); transition: color var(--transition); }
.footer__links a:hover { color: var(--gold); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy { font-size: 13px; color: var(--text-dim); }
.footer__legal { font-size: 12px; color: var(--text-dim); max-width: 500px; text-align: right; line-height: 1.5; }

/* ── MAP SECTION ── */
.map-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
  height: 540px;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
}

#clubsMap {
  width: 100%;
  height: 100%;
}

.map-sidebar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.map-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.map-sidebar__count {
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 100px;
}

.map-club-list {
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.map-club-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition);
}

.map-club-item:last-child { border-bottom: none; }

.map-club-item:hover { background: rgba(255,255,255,0.04); }

.map-club-item.active {
  background: rgba(200,164,74,0.07);
  border-left: 2px solid var(--gold);
  padding-left: 18px;
}

.map-club-item__dot {
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(200,164,74,0.55);
}

.map-club-item__info { flex: 1; min-width: 0; }

.map-club-item__name {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-club-item__district {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.map-club-item__rating {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  flex-shrink: 0;
}

/* Yandex Maps balloon override */
.ymaps-2-1-79-balloon__content { padding: 0 !important; }
.ymaps-2-1-79-balloon__layout { border-radius: 12px !important; overflow: hidden; }

/* ── CITY DROPDOWN ── */
.city-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 200px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  z-index: 200;
  display: none;
}
.city-dropdown.open { display: block; }
.city-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: 8px; cursor: pointer;
  font-size: 14px; transition: background var(--transition);
}
.city-option:hover { background: rgba(255,255,255,0.06); }
.city-option.active { color: var(--gold); }
.city-option__count { font-size: 12px; color: var(--text-dim); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .clubs-grid { grid-template-columns: repeat(2, 1fr); }
  .club-card--wide { grid-column: span 1; }
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .tournament-row { grid-template-columns: 80px 1fr 100px 90px 100px 44px; }
  .map-layout { grid-template-columns: 1fr 260px; }
  .hero__row { flex-direction: column; }
  .hero__rating { width: 100%; }
  .hero__rating-list { max-height: 320px; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__links.open { display: flex; flex-direction: column; position: fixed; inset: 64px 0 0; background: var(--bg); padding: 24px; z-index: 99; gap: 4px; }
  .nav__links.open a { padding: 14px; border-radius: 10px; font-size: 16px; }
  .nav__burger { display: flex; }
  .btn-city span { display: none; }
  .nav__stats { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item { padding: 16px; border-right: none; border-bottom: 1px solid var(--border); }
  .stats__item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stats__item:last-child, .stats__item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .clubs-grid { grid-template-columns: 1fr; }
  .club-card--tall { grid-row: span 1; }
  .tournament-row { grid-template-columns: 60px 1fr 80px; gap: 12px; }
  .tournament-row__format, .tournament-row__prize, .tournament-row__arrow { display: none; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .cta-banner { flex-direction: column; text-align: center; padding: 40px 24px; }
  .cta-banner::before { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__legal { text-align: left; }
  .section__header { flex-direction: column; align-items: flex-start; }
  .map-layout { grid-template-columns: 1fr; height: auto; }
  .map-wrap { height: 380px; }
  .map-sidebar { max-height: 280px; }
}

@media (max-width: 480px) {
  .hero { padding: 64px 0 56px; }
  .hero__filter { flex-wrap: wrap; }
  .hero__filter-item { flex: 1 1 50%; border-bottom: 1px solid var(--border); }
  .hero__filter-item:nth-child(2n) { border-right: none; }
  .hero__filter-search { flex: 1 1 100%; padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .club-card, .city-card, .step-card, .tournament-row { opacity: 1 !important; transform: none !important; }
}
