:root {
  --bg: #0a0d12;
  --bg-soft: #10141b;
  --surface: rgba(255, 255, 255, 0.028);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f2;
  --muted: #8a8a93;
  --pink: #ff3daf;
  --cyan: #0eedf2;
  --pink-rgb: 255, 61, 175;
  --cyan-rgb: 14, 237, 242;
  --grad: linear-gradient(120deg, #ff3daf 0%, #ff6fc6 40%, #0eedf2 100%);
  --radius: 20px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);      /* apple default */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);     /* long, soft settle */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { background: var(--pink); color: #000; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .logo { font-family: "Sora", sans-serif; line-height: 1.05; letter-spacing: -0.02em; }
a { text-decoration: none; color: inherit; }

/* ---------- Layered background ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -3;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 100%);
}
.bg-glow {
  position: fixed; z-index: -2; border-radius: 50%;
  filter: blur(130px); pointer-events: none;
  animation: drift 32s ease-in-out infinite;
}
.glow-1 { width: 560px; height: 560px; background: #ff3daf; top: -160px; left: -120px; opacity: 0.13; }
.glow-2 { width: 520px; height: 520px; background: #0eedf2; top: 240px; right: -160px; opacity: 0.08; animation-delay: -16s; }
@keyframes drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px, 30px) scale(1.1); }
  66% { transform: translate(-30px, 50px) scale(0.95); }
}

/* grain texture */
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* vignette */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 100% 80% at 50% 0%, transparent 55%, rgba(0,0,0,0.5) 100%);
}

/* scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 200;
  background: var(--grad); transform: scaleX(0); transform-origin: 0 50%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: none; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .4s var(--ease), background .3s var(--ease), border-color .3s var(--ease), filter .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); transition-duration: .1s; }
.btn-primary {
  background: var(--grad); color: #0a0a0a; font-weight: 700;
  box-shadow: 0 6px 24px rgba(var(--pink-rgb),0.25), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 10px 34px rgba(var(--pink-rgb),0.35), inset 0 1px 0 rgba(255,255,255,0.5); }
.btn-ghost {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border-strong); backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,0.3); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 7vw; border-bottom: 1px solid transparent;
  transition: padding .5s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s var(--ease);
}
.nav.scrolled {
  background: rgba(8,8,10,0.72); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
  border-color: var(--border); padding: 13px 7vw;
}
.logo { display: flex; align-items: center; gap: 8px; transition: opacity .3s var(--ease); }
.logo:hover { opacity: .75; }
.logo-img { height: 30px; width: auto; display: block; filter: drop-shadow(0 0 14px rgba(var(--pink-rgb),0.25)); }
.footer-col .logo-img { height: 28px; }
.accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; position: relative; transition: color .3s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: 11px 24px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.burger span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .45s var(--ease-out), opacity .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dual lock-up: Kharkiv Esport League × CYBERION */
.logo.lockup { gap: 11px; }
.logo-kel { height: 26px; filter: drop-shadow(0 0 14px rgba(var(--pink-rgb),0.28)); }
.lockup-x { color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1; transform: translateY(-1px); }
.footer-col .logo-kel { height: 24px; }

/* Nav dropdown ("Клуби") */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: inherit; font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color .3s var(--ease);
}
.nav-drop:hover .nav-drop-btn, .nav-drop.open .nav-drop-btn, .nav-drop-btn:focus-visible { color: var(--text); }
.nav-caret { width: 11px; height: 7px; transition: transform .35s var(--ease-out); }
.nav-drop:hover .nav-caret, .nav-drop.open .nav-caret { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  margin-top: 14px; min-width: 190px; padding: 10px;
  display: flex; flex-direction: column;
  background: rgba(14,14,18,0.94); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid var(--border-strong); border-radius: 16px;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.8);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), transform .45s var(--ease-out), visibility .3s;
}
.nav-drop-menu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-drop:hover .nav-drop-menu, .nav-drop.open .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.nav-drop-menu a {
  padding: 9px 12px; border-radius: 10px; font-size: 14.5px; white-space: nowrap;
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav-drop-menu a:hover { color: var(--text); background: var(--surface-2); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 130px 7vw 70px; position: relative; text-align: center;
}
.hero-inner { max-width: 920px; margin: 0 auto; position: relative; z-index: 1; transform-origin: 50% 30%; will-change: transform, opacity; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px;
  border-radius: 999px; font-size: 14px; color: var(--text);
  background: var(--surface); border: 1px solid var(--border-strong); margin-bottom: 30px;
  backdrop-filter: blur(8px); animation: fadeUp 1.4s var(--ease-out) .1s both;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1; transform:scale(1)} 50%{opacity:.35; transform:scale(.8)} }

.hero h1 { font-size: clamp(44px, 8vw, 92px); font-weight: 800; animation: fadeUp 1.4s var(--ease-out) .25s both; }
.gradient-text {
  display: inline-block; line-height: 1.12;
  padding: 0.06em 0.1em 0.16em; margin: -0.06em -0.1em -0.16em;
  background: linear-gradient(100deg, #ff3daf, #ff6fc6, #0eedf2, #ff3daf);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--muted); font-size: clamp(16px, 2vw, 21px); margin: 26px auto 40px; max-width: 660px; animation: fadeUp 1.4s var(--ease-out) .4s both; }
.hero-sub b { color: var(--text); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; animation: fadeUp 1.4s var(--ease-out) .55s both; }
.hero-stats { display: flex; gap: 0; margin-top: 70px; flex-wrap: wrap; justify-content: center; animation: fadeUp 1.4s var(--ease-out) .7s both; }
.hero-stats div { display: flex; flex-direction: column; align-items: center; padding: 6px 38px; }
.hero-stats div + div { border-left: 1px solid var(--border); }
.hero-stats strong {
  font-family: "Sora"; font-size: clamp(28px, 4vw, 40px); font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats span { color: var(--muted); font-size: 13px; letter-spacing: 0.5px; margin-top: 2px; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); filter: blur(12px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(var(--pink-rgb),0.02), transparent);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 46px; white-space: nowrap; width: max-content; animation: scrollX 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: "Sora"; font-weight: 800; font-size: clamp(22px, 3.4vw, 40px);
  text-transform: uppercase; letter-spacing: 0.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.22);
}
.marquee-item.fill { color: var(--pink); -webkit-text-stroke: 0; }
.marquee-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); opacity: .5; flex-shrink: 0; }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 7vw; position: relative; z-index: 1; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 64px; }
.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--pink); font-weight: 600; margin-bottom: 16px;
}
.section h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px; position: relative; overflow: hidden;
  transition: transform .6s var(--ease-out), background .4s var(--ease), border-color .4s var(--ease), box-shadow .6s var(--ease-out);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px;
  background: linear-gradient(140deg, rgba(var(--pink-rgb),0.7), transparent 50%); opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .4s;
}
.card:hover { transform: scale(1.02); background: var(--surface-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7); }
.card:hover::before { opacity: 1; }
.card-icon { font-size: 36px; margin-bottom: 20px; position: relative; }
.card h3 { font-size: 22px; margin-bottom: 11px; position: relative; }
.card p { color: var(--muted); font-size: 15px; position: relative; }

/* ---------- Club cards ---------- */
.club-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); gap: 30px; }
.club-card {
  background: linear-gradient(160deg, var(--bg-soft), var(--bg));
  border: 1px solid var(--border); border-radius: 26px; overflow: hidden;
  display: flex; flex-direction: column; position: relative;
  transition: transform .7s var(--ease-out), border-color .4s var(--ease), box-shadow .7s var(--ease-out);
}
.club-card:hover { transform: scale(1.012); border-color: rgba(var(--pink-rgb),0.35); box-shadow: 0 30px 70px -30px rgba(var(--pink-rgb),0.25); }

.club-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: 300px; }
.club-photo { position: relative; background: linear-gradient(135deg, #1a1a1f, #0c0c0e); overflow: hidden; }
.club-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 3; transform-origin: 50% 50%; will-change: transform; }
.club-photo.main { grid-row: 1 / 3; }
.club-photo.main::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(var(--pink-rgb),0.18), transparent 62%); }
.club-photo.main::after {
  content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: "Sora"; font-weight: 800; font-size: 38px; color: rgba(255,255,255,0.14); letter-spacing: 1px;
}
.club-photo.alt { background: linear-gradient(135deg, #1f1d14, #0f0e09); }

.club-info { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.club-title-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.club-title-row h3 { font-size: 28px; }
.status { font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: 999px; white-space: nowrap; }
.status.open { color: var(--cyan); background: rgba(var(--cyan-rgb),0.1); border: 1px solid rgba(var(--cyan-rgb),0.2); }
.club-addr { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.club-feats { list-style: none; margin-bottom: 22px; }
.club-feats li { padding: 9px 0; color: var(--muted); font-size: 15px; border-top: 1px solid var(--border); transition: color .25s, padding-left .25s; }
.club-feats li::before { content: "✦"; color: var(--cyan); margin-right: 10px; }
.club-card:hover .club-feats li { color: #cfcfd6; }
.club-phone { display: inline-block; margin-bottom: 20px; color: var(--text); font-weight: 600; font-size: 16px; transition: color .2s; }
.club-phone:hover { color: var(--cyan); }
.club-actions { display: flex; gap: 10px; margin-top: auto; align-items: center; }
.club-actions .btn-primary { flex: 1; }

/* Icon buttons */
.btn-icon { width: 48px; height: 48px; padding: 0; border-radius: 14px; background: var(--surface); border: 1px solid var(--border-strong); color: var(--text); flex-shrink: 0; }
.btn-icon:hover { background: var(--pink); color: #0a0a0a; border-color: var(--pink); box-shadow: 0 10px 24px rgba(var(--pink-rgb),0.3); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; }
.g-item { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: linear-gradient(135deg, #18181c, #0c0c0e); transition: transform .7s var(--ease-out); }
.g-item:hover { transform: scale(1.02); }
.g-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 3; will-change: transform; }
.g-item.tall { grid-row: span 2; }
.g-item.wide { grid-column: span 2; }
.g-item::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 60% 30%, rgba(var(--pink-rgb),0.1), transparent 65%); }
.g-item::after { content: attr(data-cap); position: absolute; left: 16px; bottom: 14px; font-size: 13px; color: rgba(255,255,255,0.55); font-weight: 500; }

/* ---------- Map ---------- */
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.map-card { border: 1px solid var(--border); border-radius: 22px; overflow: hidden; background: var(--bg-soft); transition: border-color .4s var(--ease); }
.map-card:hover { border-color: rgba(var(--pink-rgb),0.3); }
.map-head { padding: 20px 24px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.map-head h3 { font-size: 21px; }
.map-head span { color: var(--muted); font-size: 14px; }
.map-frame { width: 100%; height: 300px; border: 0; display: block; filter: grayscale(0.4) contrast(1.05) brightness(0.9); transition: filter .6s var(--ease); }
.map-card:hover .map-frame { filter: grayscale(0) contrast(1.05); }

/* ---------- CTA ---------- */
.cta-inner {
  max-width: 760px; margin: 0 auto; text-align: center; padding: 70px 48px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(var(--pink-rgb),0.08), rgba(var(--cyan-rgb),0.05));
  border: 1px solid var(--border-strong); border-radius: 30px;
  transform-origin: 50% 100%; will-change: transform, opacity;
}
.cta-inner::before {
  content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--pink-rgb),0.14), transparent 60%);
  top: -200px; left: 50%; transform: translateX(-50%); animation: drift 28s ease-in-out infinite;
}
.cta-inner h2 { font-size: clamp(30px, 4vw, 48px); position: relative; }
.cta-inner p { color: var(--muted); margin: 16px 0 34px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------- Footer ---------- */
.footer { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; padding: 80px 7vw 44px; border-top: 1px solid var(--border); position: relative; z-index: 1; }
.footer-col .logo { margin-bottom: 16px; }
.footer-col p { color: var(--muted); font-size: 14px; max-width: 250px; }
.footer-col h4 { font-size: 14px; margin-bottom: 18px; letter-spacing: 0.5px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; padding: 6px 0; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 26px; margin-top: 18px; color: var(--muted); font-size: 13px; text-align: center; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .club-grid { grid-template-columns: 1fr; }
  .map-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1140px) {
  .nav { padding: 20px 4vw; }
  .nav.scrolled { padding: 12px 4vw; }
  .nav-links { gap: 24px; }
  .nav-links a, .nav-drop-btn { font-size: 14.5px; }
  .logo-img { height: 26px; }
  .logo-kel { height: 22px; }
  .nav-cta { padding: 10px 18px; font-size: 14px; }
}
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .nav-links.open {
    display: flex; position: fixed; top: 62px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 10px 7vw 18px;
    background: rgba(8,8,10,0.92); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid var(--border);
    animation: menuIn .5s var(--ease-out) both;
  }
  .nav-links.open > a, .nav-links.open .nav-drop-btn { padding: 12px 0; font-size: 17px; animation: fadeUp .6s var(--ease-out) both; }
  .nav-links.open > *:nth-child(2) { animation-delay: .04s; }
  .nav-links.open > *:nth-child(3) { animation-delay: .08s; }
  .nav-links.open > *:nth-child(4) { animation-delay: .12s; }
  .nav-links.open > *:nth-child(5) { animation-delay: .16s; }
  .nav-links.open > *:nth-child(6) { animation-delay: .2s; }
  /* Dropdown unfolds inline instead of floating */
  .nav-links.open .nav-drop { display: flex; flex-direction: column; }
  .nav-links.open .nav-drop-btn { justify-content: space-between; width: 100%; }
  .nav-links.open .nav-drop-menu {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; margin: 0 0 6px; padding: 0 0 0 14px;
    background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
    border: none; border-left: 1px solid var(--border-strong); border-radius: 0; box-shadow: none;
    max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-out), opacity .3s var(--ease);
  }
  .nav-links.open .nav-drop-menu::before { display: none; }
  .nav-links.open .nav-drop.open .nav-drop-menu { max-height: 320px; }
  .nav-links.open .nav-drop-menu a { padding: 10px 12px; font-size: 16px; }
  .hero-stats { gap: 14px 0; }
  .hero-stats div { padding: 6px 24px; }
  .hero-stats div + div { border-left: none; }
  .footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .club-grid { grid-template-columns: minmax(0, 1fr); }
  .footer { grid-template-columns: 1fr; }
  .cta-inner { padding: 48px 24px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
}

/* ===================================================================
   SUB-PAGES — pricing, zones, reviews
   =================================================================== */

/* ---- Sub-page hero ---- */
.page-hero {
  min-height: 50vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 170px 7vw 60px; position: relative; z-index: 1;
}
.page-hero .badge { margin-bottom: 26px; }
.page-hero h1 { font-size: clamp(40px, 6.5vw, 76px); font-weight: 800; animation: fadeUp 1.4s var(--ease-out) .25s both; }
.page-hero p { color: var(--muted); max-width: 630px; margin: 22px auto 0; font-size: clamp(16px, 2vw, 20px); animation: fadeUp 1.4s var(--ease-out) .4s both; }

/* ---- Pricing ---- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; max-width: 1080px; margin: 0 auto; }
.price { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 38px 30px; transition: transform .6s var(--ease-out), border-color .4s var(--ease); }
.price:hover { transform: scale(1.02); border-color: rgba(var(--pink-rgb),0.3); }
.price.featured { background: linear-gradient(160deg, rgba(var(--pink-rgb),0.08), var(--bg-soft)); border-color: var(--pink); box-shadow: 0 30px 60px -30px rgba(var(--pink-rgb),0.4); }
.price-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #0a0a0a; font-size: 12px; font-weight: 700; padding: 6px 16px; border-radius: 999px; }
.price h3 { font-size: 22px; margin-bottom: 6px; }
.price .price-desc { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.price-amount { font-family: "Sora"; font-size: 46px; font-weight: 800; margin-bottom: 24px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-amount span { font-size: 16px; color: var(--muted); font-weight: 400; -webkit-text-fill-color: var(--muted); }
.price ul { list-style: none; margin-bottom: 28px; }
.price li { padding: 10px 0; color: var(--muted); font-size: 15px; border-top: 1px solid var(--border); }
.price li::before { content: "✦"; color: var(--pink); margin-right: 10px; }
.price .btn { width: 100%; }
.price-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 38px; }

/* ---- Zones ---- */
.zone { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 64px; }
.zone:last-child { margin-bottom: 0; }
.zone:nth-child(even) .zone-media { order: 2; }
.zone-media { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; background: linear-gradient(135deg, #1a1a1f, #0c0c0e); }
.zone-media img { will-change: transform; }
.zone-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.zone-media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(var(--pink-rgb),0.14), transparent 60%); }
.zone-media::after { content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: "Sora"; font-weight: 800; font-size: 30px; color: rgba(255,255,255,0.14); }
.zone-num { font-family: "Sora"; font-weight: 800; font-size: 14px; color: var(--pink); letter-spacing: 2px; margin-bottom: 14px; display: block; }
.zone-body h3 { font-size: clamp(26px, 3.5vw, 40px); margin-bottom: 14px; }
.zone-body p { color: var(--muted); margin-bottom: 22px; }
.zone-feats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.zone-feats li { font-size: 14px; color: var(--text); background: var(--surface); border: 1px solid var(--border); padding: 8px 15px; border-radius: 999px; }

/* ---- Reviews ---- */
.rating-summary { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 auto 56px; }
.rating-big { font-family: "Sora"; font-size: 66px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stars { color: var(--pink); font-size: 20px; letter-spacing: 3px; }
.rating-summary span { color: var(--muted); font-size: 14px; }
.reviews { columns: 3; column-gap: 22px; max-width: 1100px; margin: 0 auto; }
.review { break-inside: avoid; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; margin-bottom: 22px; transition: border-color .4s var(--ease), transform .6s var(--ease-out); }
.review:hover { border-color: rgba(var(--pink-rgb),0.3); transform: scale(1.015); }
.review .stars { font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.review p { color: #cfcfd6; font-size: 15px; margin-bottom: 18px; }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-family: "Sora"; font-weight: 800; color: #0a0a0a; flex-shrink: 0; }
.review-meta strong { font-size: 15px; display: block; }
.review-meta span { color: var(--muted); font-size: 13px; }

@media (max-width: 920px) {
  .zone { grid-template-columns: 1fr; gap: 26px; margin-bottom: 48px; }
  .zone:nth-child(even) .zone-media { order: 0; }
  .reviews { columns: 2; }
}
@media (max-width: 560px) { .reviews { columns: 1; } }

/* ===== PRICE TABLE (вартість ігрового часу) ===== */
.price-table-wrap { max-width: 1120px; margin: 0 auto 26px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.price-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; min-width: 880px; border-collapse: collapse; font-size: 14px; }
.price-table thead th {
  background: var(--pink); color: #0a0a0a; font-family: "Sora"; font-weight: 800;
  padding: 14px 12px; text-align: center; line-height: 1.25; vertical-align: middle;
}
.price-table thead th small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .6px; opacity: .7; }
.price-table thead th.col-zone { text-align: left; }
.price-table td { padding: 13px 12px; text-align: center; border-top: 1px solid var(--border); vertical-align: middle; }
.price-table tbody tr.weekend td { background: rgba(var(--pink-rgb),0.035); }
.price-table tbody tr:first-child td { border-top: none; }
.zone-cell { text-align: left; vertical-align: middle; padding: 16px 18px; background: var(--surface); }
.zone-cell b { font-family: "Sora"; font-size: 17px; display: block; margin-bottom: 6px; letter-spacing: .3px; }
.zone-cell span { color: var(--muted); font-size: 12.5px; line-height: 1.4; display: block; }
.day-cell { text-align: left; color: var(--muted); font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.ph { font-family: "Sora"; font-weight: 800; font-size: 19px; color: var(--text); white-space: nowrap; }
.ph i { font-style: normal; font-size: 11px; font-weight: 600; color: var(--muted); }
.pk { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.abo { vertical-align: middle; background: var(--surface); }
.abo .ph { font-size: 26px; color: var(--pink); }
.weekend .ph { color: var(--cyan); }

/* hot offer + footnotes */
.price-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1120px; margin: 40px auto 0; }
.hot-offer { background: linear-gradient(135deg, rgba(var(--pink-rgb),0.12), var(--surface)); border: 1px solid rgba(var(--pink-rgb),0.35); border-radius: var(--radius); padding: 30px; }
.hot-offer h3 { font-family: "Sora"; font-size: 24px; margin-bottom: 4px; }
.hot-offer .hot-sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.hot-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-top: 1px solid var(--border); }
.hot-row span { color: var(--muted); font-size: 14px; }
.hot-row b { font-family: "Sora"; font-size: 22px; color: var(--pink); white-space: nowrap; }
.price-foot { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.price-foot p { color: var(--muted); font-size: 13px; line-height: 1.7; margin-bottom: 10px; }
.price-foot p:last-child { margin-bottom: 0; }
.price-foot .agree { color: var(--text); font-weight: 600; font-size: 14px; }
.scroll-hint { display: none; text-align: center; color: var(--muted); font-size: 12.5px; margin: 0 auto 14px; }

@media (max-width: 860px) {
  .price-extra { grid-template-columns: 1fr; }
  .scroll-hint { display: block; }
}

/* ===== COMING SOON ===== */
.coming { min-height: 56vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 7vw 110px; }
.coming-inner { max-width: 620px; }
.coming .soon-badge { display: inline-flex; align-items: center; gap: 8px; font-family: "Sora"; font-weight: 800; letter-spacing: 3px; font-size: 13px; color: #0a0a0a; background: var(--pink); padding: 8px 16px; border-radius: 999px; margin-bottom: 28px; }
.coming h1 { font-size: clamp(40px, 8vw, 88px); line-height: 1; margin-bottom: 22px; }
.coming p { color: var(--muted); font-size: 17px; line-height: 1.65; margin-bottom: 36px; }
.coming-icon { font-size: 56px; margin-bottom: 22px; }
.coming-pulse { width: 10px; height: 10px; border-radius: 50%; background: #0a0a0a; animation: soonPulse 1.4s infinite; }
@keyframes soonPulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ===== LANG SWITCH ===== */
.lang-switch { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 999px; overflow: hidden; margin-right: 4px; }
.lang-switch button { background: transparent; color: var(--muted); border: none; font-family: "Sora", sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: .5px; padding: 7px 12px; cursor: pointer; transition: color .2s, background .2s; }
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active { background: var(--pink); color: #0a0a0a; }
@media (max-width: 720px) {
  .lang-switch { margin-right: 0; }
  .lang-switch button { padding: 6px 10px; font-size: 12px; }
}

@keyframes menuIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    animation-delay: 0s !important; transition-duration: .01ms !important;
  }
  .marquee-track { animation: none !important; }
}

/* ===== LEAGUE ===== */
.lg-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; animation: fadeUp 1.4s var(--ease-out) .55s both; }
.page-hero .hero-stats { margin-top: 56px; }

.disc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; max-width: 1120px; margin: 0 auto; }
.disc-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px 20px; text-align: center; transition: transform .6s var(--ease-out), border-color .4s var(--ease); }
.disc-card:hover { transform: scale(1.03); border-color: rgba(var(--pink-rgb),0.3); }
.disc-card b { font-family: "Sora"; font-weight: 800; font-size: 20px; display: block; margin-bottom: 6px; line-height: 1.2; }
.disc-card span { color: var(--muted); font-size: 13px; }

.lg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; max-width: 1120px; margin: 0 auto; }
.lg-tour {
  display: flex; flex-direction: column; padding: 28px;
  background: linear-gradient(160deg, var(--bg-soft), var(--bg)); border: 1px solid var(--border); border-radius: 22px;
  transition: transform .6s var(--ease-out), border-color .4s var(--ease), box-shadow .6s var(--ease-out);
}
.lg-tour:hover { transform: scale(1.015); border-color: rgba(var(--pink-rgb),0.3); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7); }
.lg-tour-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.lg-disc { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--pink); }
.lg-status { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.lg-status.open { color: var(--cyan); background: rgba(var(--cyan-rgb),0.1); border: 1px solid rgba(var(--cyan-rgb),0.2); }
.lg-status.soon { color: var(--muted); background: var(--surface); border: 1px solid var(--border-strong); }
.lg-tour h3 { font-size: 26px; margin-bottom: 6px; }
.lg-format { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.lg-prize { margin-bottom: 14px; }
.lg-prize span { display: block; color: var(--muted); font-size: 12px; letter-spacing: .5px; }
.lg-prize strong { font-family: "Sora"; font-weight: 800; font-size: 34px; line-height: 1.15; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-facts { list-style: none; margin-bottom: 24px; }
.lg-facts li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--border); font-size: 14px; }
.lg-facts li span { color: var(--muted); }
.lg-facts li b { font-weight: 600; text-align: right; }
.lg-tour > .btn { margin-top: auto; width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn[disabled]:active { transform: none; }

.format-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; max-width: 1120px; margin: 0 auto; }
.format-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.format-card h3 { font-size: 21px; margin-bottom: 10px; }
.format-card p { color: var(--muted); font-size: 14px; }
.tbd { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--muted); border: 1px dashed var(--border-strong); border-radius: 999px; padding: 4px 12px; }
.lg-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 32px; }
.card-link { color: var(--cyan); font-weight: 600; white-space: nowrap; }

/* registration dialog */
.lg-dialog {
  width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0;
  color: var(--text); background: #0e0e12; border: 1px solid var(--border-strong); border-radius: 24px;
  box-shadow: 0 40px 120px -20px rgba(0,0,0,0.8); overflow: auto; overscroll-behavior: contain;
}
.lg-dialog [hidden] { display: none !important; }
.lg-dialog[open] { animation: dialogIn .5s var(--ease-out) both; }
.lg-dialog.closing { animation: dialogOut .22s var(--ease) both; }
.lg-dialog::backdrop { background: rgba(0,0,0,0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lg-dialog[open]::backdrop { animation: backdropIn .4s var(--ease) both; }
.lg-dialog.closing::backdrop { animation: backdropOut .22s var(--ease) both; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes dialogOut { to { opacity: 0; transform: scale(.97); } }
@keyframes backdropIn { from { opacity: 0; } }
@keyframes backdropOut { to { opacity: 0; } }
html:has(.lg-dialog[open]) { overflow: hidden; }

.lg-dialog-inner { position: relative; padding: 30px; }
.lg-dialog .eyebrow { margin-bottom: 8px; }
.lg-close {
  position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  font-size: 20px; line-height: 1; cursor: pointer; transition: background .3s var(--ease);
}
.lg-close:hover { background: var(--surface-2); }
.lg-dialog h3 { font-size: 26px; margin: 0 44px 6px 0; }
.lg-dialog-meta { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.lg-form { display: grid; gap: 14px; }
.lg-row, .lg-players { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lg-field { display: flex; flex-direction: column; gap: 6px; }
.lg-field > span, .lg-subhead { font-size: 13px; color: var(--muted); font-weight: 500; }
.lg-subhead { display: block; margin-bottom: 8px; }
.lg-field input, .lg-field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-strong); border-radius: 12px; padding: 12px 14px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.lg-field textarea { resize: vertical; min-height: 80px; }
.lg-field input:focus, .lg-field textarea:focus { outline: none; border-color: var(--cyan); background: rgba(255,255,255,0.06); }
.lg-field input:user-invalid { border-color: #ff6b6b; }
.lg-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.lg-check input { accent-color: var(--pink); width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; }
.lg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lg-status-msg { font-size: 14px; color: #ff8a8a; }
.lg-status-msg:empty { display: none; }
.lg-form .btn { width: 100%; margin-top: 4px; }
.lg-success { text-align: center; padding: 16px 0 4px; }
.lg-success-icon { font-size: 48px; margin-bottom: 12px; animation: fadeUp .8s var(--ease-out) both; }
.lg-dialog .lg-success h3 { margin-right: 0; }
.lg-success p { color: var(--muted); margin: 8px 0 22px; }
.lg-demo { font-size: 12.5px; color: var(--pink); background: rgba(var(--pink-rgb),0.08); border: 1px dashed rgba(var(--pink-rgb),0.3); border-radius: 12px; padding: 10px 12px; margin-bottom: 18px; }

@media (max-width: 560px) {
  .lg-row, .lg-players { grid-template-columns: 1fr; }
  .lg-grid { grid-template-columns: minmax(0, 1fr); }
  .lg-dialog-inner { padding: 24px 20px; }
}

/* league logo (transparent PNG) */
.lg-logo {
  display: block; width: clamp(140px, 18vw, 210px); height: auto; margin: 0 auto 18px;
  animation: fadeUp 1.4s var(--ease-out) both;
}
.page-hero:has(.lg-logo) { padding-top: 120px; }
.card-icon-img { display: block; height: 48px; width: auto; }
.lg-dialog-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.lg-dialog-brand img { height: 34px; width: auto; flex-shrink: 0; }
.lg-dialog-brand .eyebrow { margin-bottom: 0; }

/* ---------- League home: hero lock-up ---------- */
.hero-league .lg-logo { width: clamp(170px, 20vw, 250px); margin-bottom: 24px; }
.hero-league .hero-sub b { color: var(--text); }

/* ---------- Venues (clubs as league arenas) ---------- */
.venue-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; max-width: 1080px; margin: 0 auto; }
.venue-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .6s var(--ease-out), border-color .4s var(--ease), box-shadow .6s var(--ease-out);
}
.venue-card:hover { transform: scale(1.012); border-color: rgba(var(--pink-rgb),0.35); box-shadow: 0 30px 70px -30px rgba(var(--pink-rgb),0.25); }
.venue-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.venue-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease-out); }
.venue-card:hover .venue-media img { transform: scale(1.05); }
.venue-body { padding: 26px 28px 28px; }
.venue-body h3 { font-size: 24px; margin-bottom: 10px; }
.venue-addr { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.venue-meta { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.venue-link { color: var(--cyan); font-weight: 600; font-size: 15px; transition: opacity .25s var(--ease); }
.venue-link:hover { opacity: .75; }
.lg-note a { color: var(--cyan); font-weight: 600; }

/* League line inside a club card */
.club-league { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.club-league a { color: var(--cyan); font-weight: 600; }
