:root {
  color-scheme: dark;
  --bg: #02040a;
  --bg-2: #050b18;
  --panel: rgba(5, 11, 24, .78);
  --panel-2: rgba(8, 18, 34, .86);
  --line: rgba(0, 123, 255, .35);
  --line-soft: rgba(0, 184, 255, .18);
  --blue: #007bff;
  --cyan: #00b8ff;
  /* Тёплый «фирменный» акцент — свеча в дымном лаундже. Носит характер бренда. */
  --amber: #f2a94e;
  --amber-hi: #f8cd7a;
  --ember: #e5673b;
  --text: #f2f7ff;
  --muted: #a6b4c6;
  --muted-2: #71839a;
  --success: #4ce382;
  --warning: #ffd45a;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shadow-neon: 0 0 18px rgba(0, 123, 255, .32), 0 0 42px rgba(0, 184, 255, .08);
  --glow-amber: 0 2px 22px rgba(229, 103, 59, .32);
  --container: 1180px;
  --section-y: clamp(64px, 8vw, 118px);
  --font-main: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Arial Narrow", "Roboto Condensed", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-main);
  background:
    radial-gradient(circle at top, rgba(0,123,255,.13), transparent 30rem),
    linear-gradient(180deg, #000 0, var(--bg) 20rem, #01030a 100%);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(20deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  z-index: -1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
code { color: var(--cyan); font-size: .92em; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}
.section { padding: var(--section-y) 0; }
.centered { text-align: center; }
.section-head {
  max-width: 820px;
  margin: 0 auto clamp(28px, 4vw, 48px);
}
.section-head h2, .hero h1, .event-half h2, .seo-panel h2, .contact-form-card h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  letter-spacing: -.03em;
  line-height: 1.04;
  font-weight: 900;
}
.section-head h2, .event-half h2, .seo-panel h2, .contact-form-card h2 { font-size: clamp(34px, 5.1vw, 58px); }
.hero h1 { font-size: clamp(42px, 6.6vw, 82px); }
h2 span, h1 span {
  background: linear-gradient(94deg, var(--amber-hi) 0%, var(--amber) 42%, var(--ember) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 20px rgba(229,103,59,.28));
}
.section-head p, .hero-lead, .event-half p, .seo-panel p { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 7px 15px 7px 13px;
  border: 1px solid rgba(242, 169, 78, .28);
  border-radius: 999px;
  color: var(--amber-hi);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: rgba(242, 169, 78, .05);
}
/* Тонкая свечка-акцент перед текстом лейбла */
.eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ember), var(--amber-hi));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 800;
  letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(180deg, #0b8cff, #004ce7);
  border-color: rgba(0,184,255,.65);
  box-shadow: var(--shadow-neon);
  color: #fff;
}
.btn-secondary {
  background: rgba(3, 8, 18, .48);
  border-color: rgba(255,255,255,.28);
  color: var(--text);
}
.btn-secondary:hover { border-color: var(--line); box-shadow: 0 0 18px rgba(0,123,255,.18); }
.btn-small { min-height: 42px; padding: 10px 16px; font-size: 14px; }
.text-link { color: var(--cyan); font-weight: 800; }
.cta-row { margin-top: clamp(26px, 4vw, 40px); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(1, 4, 10, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-text {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 900;
}
.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 22px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.main-nav a { position: relative; padding: 8px 0; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--cyan);
  box-shadow: var(--shadow-neon);
  transition: transform .2s ease;
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-link {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  background: rgba(0,123,255,.06);
}
.phone-link { color: var(--text); font-weight: 800; white-space: nowrap; }
.nav-toggle { display: none; }

.hero {
  padding-top: clamp(38px, 5vw, 82px);
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #01040a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 0 60px rgba(0,123,255,.08);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .7;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.12) contrast(1.02);
}
.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1,4,10,.94), rgba(1,4,10,.68) 48%, rgba(1,4,10,.34)), linear-gradient(to top, rgba(1,4,10,.85), transparent 0%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: clamp(40px, 8vw, 100px) clamp(24px, 6vw, 72px);
}
.hero-lead { max-width: 620px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-tags li {
  padding: 10px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  font-size: 14px;
}

.section-panel, .dual-card, .role-panel, .gallery-panel, .contacts-panel, .seo-panel, .event-split, .faq-layout, .site-footer {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(5,11,24,.86), rgba(2,4,10,.72));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-grid .feature-card { min-width: 0; }
/* Центрирование одиночной 7-й карточки задаётся ниже, только для десктопа (3 колонки). */

.feature-card, .game-card, .review-card, .role-card, .event-half, .contact-card, .contact-form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(8,18,34,.82), rgba(2,4,10,.72));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.feature-card {
  min-height: 235px;
  padding: 26px 22px;
  text-align: center;
}
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 28px;
  box-shadow: inset 0 0 22px rgba(0,123,255,.14);
}
.feature-card h3, .game-card h3, .review-card h3, .role-card h3, .event-half h3 { margin: 0 0 10px; line-height: 1.2; }
.feature-card p, .game-card p, .review-card p, .role-card p, .compact-card-list p { margin: 0; color: var(--muted); }

.split-head {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.schedule .section-panel { padding: clamp(24px, 4vw, 48px); }
.schedule-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}
.mini-calendar {
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(3, 8, 18, .62);
}
.calendar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.calendar-top button {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text);
}
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; text-align: center; }
.calendar-weekdays { color: var(--muted-2); font-size: 12px; margin-bottom: 10px; }
.calendar-days span {
  min-height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}
.calendar-days .is-game { background: var(--blue); color: #fff; box-shadow: var(--shadow-neon); }
.calendar-note { color: var(--muted); font-size: 13px; margin: 18px 0 0; }
.calendar-note span { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); margin-right: 8px; }
.game-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.game-card { overflow: hidden; }
.game-card img { height: 175px; width: 100%; object-fit: cover; }
.game-body { padding: 20px; }
.game-date { color: var(--cyan) !important; font-weight: 800; }
.calendar-top {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 12px;
}

.calendar-top strong {
  text-align: center;
}

.calendar-nav {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(0, 184, 255, 0.32);
  border-radius: 12px;
  background: rgba(0, 184, 255, 0.08);
  color: #eef8ff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.calendar-nav:hover {
  border-color: rgba(0, 184, 255, 0.75);
  background: rgba(0, 184, 255, 0.16);
  box-shadow: 0 0 18px rgba(0, 184, 255, 0.18);
}

.calendar-nav:active {
  transform: translateY(1px);
}
.dual-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: clamp(24px, 4vw, 48px);
  overflow: hidden;
}
.info-column { padding: clamp(20px, 3vw, 42px); }
.info-column + .info-column { border-left: 1px solid var(--line-soft); }
.check-list { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; color: var(--muted); }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 900; }
.solo-column { position: relative; }
.solo-column::after {
  content: "";
  position: absolute;
  right: 24px; bottom: 18px;
  width: 160px; height: 220px;
  background: radial-gradient(circle at 50% 0, rgba(0,123,255,.32), transparent 58%), linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0));
  clip-path: polygon(40% 0, 60% 0, 70% 24%, 65% 100%, 35% 100%, 30% 24%);
  opacity: .16;
}
.audience-grid { grid-template-columns: repeat(3, 1fr); }
.audience-grid .feature-card { text-align: left; min-height: 210px; }
.audience-grid .card-icon { margin-bottom: 18px; }

.role-panel { position: relative; padding: clamp(24px, 4vw, 52px); overflow: hidden; }
.role-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 4px 0 14px;
}
.role-card {
  min-height: 338px;
  padding: 22px 18px;
  text-align: center;
  scroll-snap-align: start;
}
.role-art {
  height: 128px;
  display: grid;
  place-items: center;
  margin: -6px -6px 18px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 50%, rgba(0,123,255,.24), rgba(2,4,10,.4) 58%), #02040a;
  color: var(--cyan);
  font-size: 54px;
  border: 1px solid var(--line-soft);
}
.slider-arrow {
  position: absolute;
  top: 55%;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0,123,255,.12);
  color: var(--text);
  z-index: 2;
  box-shadow: var(--shadow-neon);
}
.slider-prev { left: 18px; }
.slider-next { right: 18px; }

.event-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px; }
.event-half { padding: clamp(26px, 4vw, 48px); }
.event-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 26px 0; }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 18px 0 0; }
.pill-list li { padding: 9px 12px; border: 1px solid var(--line-soft); border-radius: 999px; color: var(--muted); }
.compact-card-list { display: grid; gap: 16px; margin: 26px 0; }
.compact-card-list div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 18px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
}
.compact-card-list span { grid-row: span 2; color: var(--cyan); font-size: 30px; }
.compact-card-list h3 { margin: 0; }

.gallery-panel { padding: clamp(24px, 4vw, 50px); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  grid-auto-rows: 165px;
  gap: 16px;
}
.gallery-grid a {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #02040a;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-grid a:hover img { transform: scale(1.04); }
.gallery-grid span {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(2,4,10,.72);
  color: var(--text);
  font-weight: 800;
}
.gallery-main { grid-row: span 2; }
.video-card::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 54px;
  color: #fff;
  text-shadow: var(--shadow-neon);
  pointer-events: none;
}
.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review-card { padding: 22px; }
.review-top { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.review-top > div { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.review-top h3 { margin: 0 !important; }
.avatar { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--blue), #06235a); font-weight: 900; box-shadow: var(--shadow-neon); }
.stars { color: var(--warning) !important; letter-spacing: 2px; margin: 0 !important; }
.review-card span { display: inline-flex; color: var(--cyan); font-size: 13px; border: 1px solid var(--line-soft); padding: 3px 8px; border-radius: 999px; }

.faq-layout { display: grid; grid-template-columns: 330px 1fr; gap: 36px; padding: clamp(24px, 4vw, 48px); }
.faq-head { margin: 0; }
.accordion { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; align-content: start; }
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: zoom-in;
}

.video-card .video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 184, 255, 0.7);
  border-radius: 999px;
  background: rgba(0, 123, 255, 0.22);
  box-shadow: 0 0 28px rgba(0, 123, 255, 0.45);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  padding-left: 4px;
  pointer-events: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox-dialog {
  width: min(1180px, 92vw);
  max-height: 88vh;
  border: 1px solid rgba(0, 184, 255, 0.35);
  border-radius: 28px;
  background: rgba(2, 6, 16, 0.96);
  box-shadow: 0 0 60px rgba(0, 123, 255, 0.22);
  overflow: hidden;
}

.gallery-lightbox-media {
  width: 100%;
  background: #02040a;
}

.gallery-lightbox-media img,
.gallery-lightbox-media video {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #02040a;
}

.gallery-lightbox-title {
  margin: 0;
  padding: 16px 22px 18px;
  color: #eef8ff;
  font-weight: 700;
  text-align: center;
  border-top: 1px solid rgba(0, 184, 255, 0.18);
}

.gallery-lightbox-close,
.gallery-lightbox-arrow {
  border: 1px solid rgba(0, 184, 255, 0.38);
  background: rgba(0, 123, 255, 0.13);
  color: #eef8ff;
  cursor: pointer;
  transition: 0.2s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-arrow:hover {
  background: rgba(0, 123, 255, 0.28);
  box-shadow: 0 0 22px rgba(0, 123, 255, 0.3);
}

.gallery-lightbox-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 32px;
  line-height: 1;
}

.gallery-lightbox-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 64px;
  transform: translateY(-50%);
  border-radius: 18px;
  font-size: 42px;
  line-height: 1;
}

.gallery-lightbox-prev {
  left: 24px;
}

.gallery-lightbox-next {
  right: 24px;
}

body.gallery-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .gallery-lightbox {
    padding: 18px;
  }

  .gallery-lightbox-dialog {
    width: 100%;
    border-radius: 22px;
  }

  .gallery-lightbox-media img,
  .gallery-lightbox-media video {
    max-height: 72vh;
  }

  .gallery-lightbox-arrow {
    top: auto;
    bottom: 18px;
    width: 44px;
    height: 44px;
    font-size: 34px;
    border-radius: 999px;
  }

  .gallery-lightbox-prev {
    left: 24px;
  }

  .gallery-lightbox-next {
    right: 24px;
  }

  .gallery-lightbox-close {
    top: 14px;
    right: 14px;
  }
  .video-card .video-play {
    width: 54px;
    height: 54px;
    font-size: 20px;
  }
}
details {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  overflow: hidden;
}
summary {
  list-style: none;
  padding: 16px 18px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--cyan); }
details[open] { border-color: rgba(0,123,255,.65); box-shadow: inset 0 0 32px rgba(0,123,255,.12); }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 18px 18px; color: var(--muted); }

.seo-panel {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 50px);
}
.seo-panel img { border-radius: var(--radius-md); border: 1px solid var(--line-soft); }
.seo-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.seo-links a { padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-soft); color: var(--muted); }
.seo-links a:hover { color: var(--text); border-color: var(--line); }

.contacts-panel { display: grid; grid-template-columns: 1.35fr .65fr; gap: 26px; padding: 24px; }
.contact-form-card { padding: clamp(24px, 4vw, 44px); }
.lead-form { display: grid; gap: 16px; }
.lead-form label { display: grid; gap: 8px; color: var(--muted); font-weight: 700; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(2, 4, 10, .72);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
}
input:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,184,255,.12); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
legend { grid-column: 1/-1; margin-bottom: 2px; color: var(--muted); font-weight: 800; }
fieldset label { display: block; }
fieldset input { position: absolute; opacity: 0; pointer-events: none; }
fieldset span {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  color: var(--text);
  text-align: center;
  background: rgba(255,255,255,.02);
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

fieldset input:checked + span { border-color: var(--cyan); background: rgba(0,123,255,.18); box-shadow: inset 0 0 20px rgba(0,123,255,.14); }
.form-note { color: var(--muted-2); text-align: center; margin: 0; font-size: 14px; }
.contact-aside { display: grid; gap: 18px; }
.contact-card { padding: 26px; }
.contact-card h3 { margin: 0 0 18px; color: var(--cyan); text-transform: uppercase; letter-spacing: .1em; }
.contact-card p { display: grid; gap: 3px; margin: 0 0 16px; color: var(--text); }
.contact-card span { color: var(--muted-2); font-size: 13px; }
.map-img { width: 100%; border: 1px solid var(--line-soft); border-radius: var(--radius-md); }

.site-footer { margin: var(--section-y) auto 0; border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; padding: 42px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .9fr; gap: 36px; }
.footer-brand img { width: 240px; height: 82px; }
.footer-brand p, .footer-contacts p { color: var(--muted); margin: 0; }
.footer-menu, .footer-contacts, .footer-socials { display: grid; gap: 10px; align-content: start; }
.site-footer h2 { margin: 0 0 10px; color: var(--cyan); text-transform: uppercase; letter-spacing: .12em; font-size: 15px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.social-row { display: flex; gap: 10px; }
.social-row a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--text); }
.footer-bottom { margin-top: 36px; padding: 18px 0; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 20px; color: var(--muted-2); }
.footer-bottom p { margin: 0; }
.footer-bottom span { margin: 0 18px; color: var(--line); }
.mobile-sticky-cta { display: none; }

@media (max-width: 1080px) {
  .header-inner { grid-template-columns: auto auto; justify-content: space-between; }
  .nav-toggle { display: grid; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,123,255,.08); padding: 11px; }
  .nav-toggle span { height: 2px; background: var(--cyan); border-radius: 999px; }
  .main-nav {
    position: fixed;
    top: 82px; left: 16px; right: 16px;
    display: none;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(2,4,10,.96);
  }
  .main-nav.is-open { display: flex; }
  .header-actions .phone-link, .header-actions .icon-link { display: none; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .schedule-layout, .dual-card, .event-split, .faq-layout, .seo-panel, .contacts-panel { grid-template-columns: 1fr; }
  .info-column + .info-column { border-left: 0; border-top: 1px solid var(--line-soft); }
  .audience-grid, .game-cards, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .accordion { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 22px, var(--container)); }
  .section { padding: 54px 0; }
  .hero-grid { border-radius: 22px; }
  .hero-content { padding: 34px 20px 42px; }
  .hero-actions, .hero-actions .btn { width: 100%; }
  .hero-tags { gap: 8px; }
  .hero-tags li { font-size: 12px; }
  .benefit-grid, .audience-grid, .game-cards, .reviews-grid, .event-list-grid, fieldset { grid-template-columns: 1fr; }
  .feature-card { min-height: unset; }
  .split-head { display: block; }
  .mini-calendar { display: none; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-main { grid-row: auto; }
  .role-slider { grid-auto-columns: 78%; }
  .slider-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .mobile-sticky-cta {
    position: fixed;
    left: 12px; right: 12px; bottom: 12px;
    z-index: 90;
    display: flex;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, #0b8cff, #004ce7);
    border: 1px solid rgba(0,184,255,.6);
    box-shadow: var(--shadow-neon);
    font-weight: 900;
  }
  body { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* === FIX PACK 2026-05-15 === */
html, body { max-width: 100%; overflow-x: hidden; }
body.modal-open { overflow: hidden; }

/* Header: fewer links, icons, no broken CTA */
.site-header { overflow: visible; }
.header-inner {
  grid-template-columns: auto minmax(420px, 1fr) auto;
  gap: 18px;
}
.main-nav {
  gap: clamp(8px, 1vw, 16px);
  align-items: center;
  white-space: nowrap;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 2px;
  font-size: 13.5px;
}
.nav-ico {
  display: inline-grid;
  color: var(--cyan);
  font-size: 14px;
}
.header-actions { gap: 8px; min-width: 0; }
.header-actions .btn-small {
  white-space: nowrap;
  min-width: 166px;
  padding-inline: 18px;
  flex: 0 0 auto;
}
.icon-link span { line-height: 1; font-size: 16px; }
.phone-link { font-size: 15px; }
button.btn { font-family: inherit; }

/* Common heading rhythm */
.eyebrow {
  font-size: 11.5px;
  padding: 6px 12px;
  letter-spacing: .14em;
  margin-bottom: 16px;
}
.section-head h2,
.event-half h2,
.seo-panel h2,
.contact-form-card h2 {
  text-wrap: balance;
}
.section-head.centered { max-width: 900px; }
.section-head.centered p { max-width: 720px; margin-left: auto; margin-right: auto; }

/* Hero: remove visual collision, improve title line breaks */
.hero-content { max-width: 920px; }
.hero h1 {
  max-width: 820px;
  text-wrap: balance;
}
.hero h1 span {
  display: inline-block;
}
.hero-media { opacity: .55; }

/* Benefits heading: controlled split */
#benefits-title { line-height: .98; }
#benefits-title span { display: inline-block; margin-top: 4px; }

/* Schedule: no orphan link, cleaner spacing */
.split-head {
  display: block;
  max-width: 920px;
}
.schedule .section-head { margin-bottom: clamp(30px, 4vw, 52px); }
.game-body .btn { margin-top: 14px; }
.game-card h3 { min-height: 2.5em; }

/* Role slider: 2:3 image cards, scrollable but scrollbar hidden */
.role-panel { padding-left: clamp(20px, 4vw, 52px); padding-right: clamp(20px, 4vw, 52px); }
.role-slider {
  grid-auto-columns: clamp(190px, 19vw, 228px);
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
  padding: 0 8px 8px;
}
.role-slider::-webkit-scrollbar { display: none; }
.role-card {
  scroll-snap-align: start;
  padding: 12px;
  min-height: 0;
}
.role-image {
  aspect-ratio: 2 / 3;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 24px;
  margin-bottom: 12px;
}
.role-image span {
  font-size: 58px;
  filter: drop-shadow(0 0 16px rgba(0,123,255,.35));
}
.role-art { display: none; }
.role-caption { padding: 0 4px 6px; }
.role-caption h3 { margin: 0 0 8px; }
.role-caption p { margin: 0; }
.slider-arrow { top: 54%; }
.slider-prev { left: 8px; }
.slider-next { right: 8px; }

/* Gallery: remove empty cells and keep balanced mosaic */
.gallery-grid {
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  grid-auto-rows: 154px;
  align-items: stretch;
}
.gallery-grid a { min-width: 0; }
.gallery-main { grid-row: span 2; }
.gallery-panel .eyebrow { margin-bottom: 12px; }

/* FAQ: no stretched neighbour card */
.faq-layout { align-items: start; }
.accordion { align-items: start; grid-auto-flow: row dense; }
details { align-self: start; }
.faq .eyebrow { margin-bottom: 14px; }

/* Real map iframe */
.map-img { display: none; }
.map-embed {
  position: relative;
  min-height: 300px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(2,4,10,.7);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  filter: invert(.9) hue-rotate(175deg) saturate(.9) brightness(.72) contrast(1.08);
}
.map-facade {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 300px;
  padding: 24px;
  border: 0;
  cursor: pointer;
  text-align: center;
  color: var(--text, #e8edf5);
  font: inherit;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(0,123,255,.16), transparent 60%),
    linear-gradient(180deg, rgba(8,18,34,.9), rgba(2,4,10,.92));
  transition: background .2s ease;
}
.map-facade:hover { background:
    radial-gradient(120% 120% at 50% 0%, rgba(0,123,255,.26), transparent 60%),
    linear-gradient(180deg, rgba(8,18,34,.95), rgba(2,4,10,.95)); }
.map-facade-pin { font-size: 34px; line-height: 1; }
.map-facade-title { font-weight: 800; font-size: 18px; color: var(--cyan, #00b8ff); }
.map-facade-sub { font-size: 13px; opacity: .8; max-width: 320px; }
.map-embed.is-loaded { background: rgba(2,4,10,.7); }
.map-open-link {
  display: inline-flex;
  justify-content: center;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  color: var(--cyan);
  font-weight: 800;
  background: rgba(0,123,255,.06);
}

/* Footer and contact icons — cleaned */
.contact-card .contact-line {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 184, 255, 0.14);
  color: var(--text);
}
.contact-card .contact-line:last-child { border-bottom: 0; }
.contact-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 184, 255, 0.35);
  border-radius: 14px;
  background: rgba(0, 184, 255, 0.08);
  box-shadow: 0 0 18px rgba(0, 123, 255, 0.14);
}
.contact-icon img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}
.contact-text {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.contact-text small {
  color: var(--muted-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.contact-card a,
.contact-text span {
  color: var(--text);
  text-decoration: none;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.contact-card a:hover { color: var(--cyan); }

.footer-menu a,
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-contact-link {
  color: var(--muted);
  text-decoration: none;
  line-height: 1.4;
}
.footer-contact-link img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 184, 255, 0.45));
}
.footer-contact-link:hover { color: var(--cyan); }
.footer-contact-address { margin: 0; }
.footer-contacts a::before,
.footer-contacts p::before { content: none !important; display: none !important; }

.social-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-row a,
.icon-link {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  line-height: 0;
}
.social-row a img,
.icon-link img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}
.social-row a:hover,
.icon-link:hover { transform: translateY(-1px); }

.site-footer .footer-bottom,
.footer-bottom.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  margin-top: 28px;
  border-top: 1px solid rgba(0, 184, 255, 0.16);
}
.site-footer .footer-bottom p,
.footer-bottom.container p { margin: 0; }
.site-footer .footer-bottom p:last-child,
.footer-bottom.container p:last-child {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  text-align: right;
}
.site-footer .footer-bottom a,
.footer-bottom.container a {
  color: var(--muted);
  text-decoration: none;
}
.site-footer .footer-bottom a:hover,
.footer-bottom.container a:hover { color: var(--cyan); }
.site-footer .footer-bottom span,
.footer-bottom.container span { color: rgba(238, 248, 255, 0.35); }
@media (max-width: 560px) {
  .site-footer .footer-bottom,
  .footer-bottom.container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }
  .site-footer .footer-bottom p:last-child,
  .footer-bottom.container p:last-child {
    justify-content: center;
    text-align: center;
  }
}

/* Booking modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.modal.is-open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
}
.modal-dialog {
  position: relative;
  width: min(100%, 760px);
  max-height: min(92vh, 900px);
  overflow: auto;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(0,184,255,.35);
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 0%, rgba(0,123,255,.18), transparent 22rem),
    rgba(5,11,24,.98);
  box-shadow: var(--shadow-neon), 0 30px 90px rgba(0,0,0,.55);
}
.modal-dialog h2 { margin: 0 0 10px; font-family: var(--font-display); font-size: clamp(30px, 5vw, 50px); line-height: 1.05; }
.modal-dialog > p { color: var(--muted); margin-top: 0; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255,255,255,.04);
  font-size: 28px;
  line-height: 1;
}
.modal-form fieldset { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1280px) {
  .header-inner { gap: 14px; }
  .phone-link { font-size: 14px; }
  .header-actions .btn-small { min-width: 154px; padding-inline: 14px; }
}

@media (max-width: 1080px) {
  .header-inner { grid-template-columns: auto auto; }
  .main-nav a { justify-content: flex-start; }
  .header-actions { display: none; }
  .nav-toggle { display: grid !important; }
  .main-nav { white-space: normal; }
}

@media (max-width: 720px) {
  .section-head h2, .event-half h2, .seo-panel h2, .contact-form-card h2 { font-size: clamp(30px, 10vw, 42px); }
  .hero h1 { font-size: clamp(42px, 14vw, 64px); }
  .role-slider { grid-auto-columns: 74%; padding-inline: 0; }
  .gallery-grid { grid-auto-rows: 210px; }
  .map-embed, .map-embed iframe { min-height: 260px; }
  .modal { padding: 10px; align-items: flex-end; }
  .modal-dialog { max-height: 92vh; border-radius: 20px 20px 0 0; }
  .modal-form fieldset { grid-template-columns: 1fr; }
  .mobile-sticky-cta {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    box-sizing: border-box;
    border: 0;
  }
}

/* === FINAL UX PATCH 2026-05-15: header, breakpoints, mobile nav, gallery, map === */
:root { --header-h: 78px; }
html, body { width: 100%; overflow-x: clip; }

/* Smaller, cleaner overline labels */
.eyebrow {
  font-size: clamp(9px, .7vw, 10.5px) !important;
  line-height: 1.1;
  padding: 5px 10px !important;
  letter-spacing: .13em !important;
  margin-bottom: 14px !important;
}

/* Desktop header: 5 relevant links, no broken CTA */
.site-header { position: sticky; top: 0; z-index: 200; }
.header-inner {
  min-height: var(--header-h);
  grid-template-columns: auto minmax(360px, 1fr) auto;
  gap: clamp(12px, 1.2vw, 20px);
}
.main-nav {
  gap: clamp(10px, 1.1vw, 20px);
  overflow: visible;
}
.main-nav a {
  font-size: clamp(13px, .85vw, 15px);
  gap: 0px;
}
.nav-ico { flex: 0 0 20px; }
.header-actions .btn-small {
  min-width: 0;
  white-space: nowrap;
  padding-inline: clamp(14px, 1.5vw, 24px);
}
.header-actions .icon-link { flex: 0 0 42px; }
.phone-link { white-space: nowrap; }

/* Hero: more controlled composition */
.hero { min-height: min(820px, calc(100svh - var(--header-h))); }
.hero h1 { max-width: 720px; }
.hero h1 span { display: block; }
.hero-media { transform: translateX(4%); opacity: .48; }
.hero-content { padding-top: clamp(56px, 7vw, 110px); padding-bottom: clamp(56px, 7vw, 110px); }

/* Benefits heading: force Night Mafia into clean second line */
#benefits-title span { display: block; }

/* Schedule spacing */
.schedule .section-head { margin-bottom: clamp(34px, 4.5vw, 58px); }
.game-body { display: grid; align-content: start; min-height: 245px; }
.game-body .btn { margin-top: auto; justify-self: start; }

/* Roles: 16 cards, image space 2:3, scroll without visible scrollbar */
.role-slider {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  scroll-padding-inline: 4px;
  padding: 2px 4px 10px;
}
.role-slider::-webkit-scrollbar { display: none !important; width: 0; height: 0; }
.role-card {
  flex: 0 0 clamp(180px, 15vw, 220px);
  display: flex;
  flex-direction: column;
  padding: 12px;
}
.role-image {
  width: 100%;
  aspect-ratio: 2 / 3;
  min-height: 0;
}
.role-caption h3 { font-size: clamp(17px, 1.1vw, 21px); line-height: 1.12; }
.role-caption p { font-size: 14px; line-height: 1.55; }

/* Gallery: stable mosaic on desktop, scrollable cards on mobile */
.gallery-grid {
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  grid-auto-rows: clamp(145px, 10vw, 178px);
}
.gallery-grid a { min-width: 0; }
.gallery-panel { overflow: hidden; }

/* FAQ: tighter and stable */
.accordion { align-items: start; }
.accordion details { min-height: 0; }
.accordion details:not([open]) p { display: none; }

/* Contact map: darker styled iframe, taller map, compact external link */
.contact-aside { align-content: start; }
.map-embed {
  min-height: 390px;
  box-shadow: inset 0 0 44px rgba(0,123,255,.12);
}
.map-embed::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2,4,10,.06), rgba(2,4,10,.2)),
    radial-gradient(circle at 50% 50%, transparent 42%, rgba(0,123,255,.16) 100%);
  mix-blend-mode: screen;
}
.map-embed iframe { min-height: 390px; filter: grayscale(1) invert(.92) hue-rotate(170deg) saturate(1.25) brightness(.68) contrast(1.12); }
.map-open-link {
  width: fit-content;
  min-height: 42px;
  align-items: center;
  padding-inline: 18px;
}

/* Mobile app-like bottom navigation */
.mobile-bottom-nav { display: none; }
.mobile-booking-btn { font: inherit; }
.mobile-bottom-nav svg { width: 22px; height: 22px; color: var(--cyan); flex: none; }
.mobile-booking-btn svg { color: #fff; }
@media (max-width: 380px) { .mobile-bottom-nav svg { width: 20px; height: 20px; } }

/* 1920+ */
@media (min-width: 1601px) {
  :root { --container: 1320px; --section-y: clamp(86px, 7vw, 132px); }
  .hero h1 { font-size: clamp(72px, 5vw, 96px); }
  .section-head h2, .event-half h2, .seo-panel h2, .contact-form-card h2 { font-size: clamp(48px, 3.6vw, 68px); }
}

/* 1600 */
@media (max-width: 1600px) {
  :root { --container: 1240px; }
}

/* 1024 / 960 */
@media (max-width: 1080px) {
  :root { --header-h: 70px; --container: 940px; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .main-nav { display: flex; position: static; flex-direction: row; padding: 0; border: 0; border-radius: 0; background: transparent; }
  .header-actions .phone-link { display: none; }
  .header-actions .icon-link { display: none; }
  .nav-toggle { display: none !important; }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  :root { --container: 880px; }
  .main-nav a { font-size: 13px; }
  .header-actions .btn-small { padding-inline: 14px; }
  .schedule-layout { grid-template-columns: 250px 1fr; }
  .game-cards { grid-template-columns: 1fr; }
}

/* 768 */
@media (max-width: 820px) {
  .header-inner { grid-template-columns: auto 1fr; }
  .main-nav { display: none; }
  .header-actions { display: flex; }
  .header-actions .btn-small { display: inline-flex; }
  .schedule-layout, .dual-card, .event-split, .faq-layout, .seo-panel, .contacts-panel { grid-template-columns: 1fr; }
  .audience-grid, .benefit-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .event-split, .contacts-panel { padding: 18px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
}

/* 560 and below */
@media (max-width: 560px) {
  :root { --header-h: 64px; --section-y: 56px; }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .container { width: min(100% - 24px, var(--container)); }
  .site-header { background: rgba(1,4,10,.86); }
  .header-inner {
    min-height: var(--header-h);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .brand { margin-inline: auto; }
  .brand img { width: 80px; height: 44px; border-radius: 13px; }
  .brand-text { display: none; }
  .header-actions, .main-nav, .nav-toggle { display: none !important; }

  .hero { min-height: auto; padding-top: 28px; }
  .hero-grid { border-radius: 22px; }
  .hero-media { transform: none; opacity: .35; }
  .hero-grid::after { background: linear-gradient(180deg, rgba(1,4,10,.92), rgba(1,4,10,.82)); }
  .hero-content { padding: 36px 18px 40px; }
  .hero h1 { font-size: clamp(38px, 12vw, 54px); max-width: 100%; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { min-height: 50px; }
  .hero-tags li { font-size: 12px; padding: 8px 10px; }

  .section-head h2, .event-half h2, .seo-panel h2, .contact-form-card h2 { font-size: clamp(30px, 9.8vw, 42px); }
  .section-head { margin-bottom: 28px; }
  .eyebrow { font-size: 9px !important; padding: 5px 9px !important; }

  .benefit-grid, .audience-grid, .reviews-grid, .game-cards, .event-list-grid, fieldset { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; padding: 22px 18px; }
  .mini-calendar { display: none; }
  .schedule .section-panel, .dual-card, .role-panel, .gallery-panel, .faq-layout, .seo-panel, .contacts-panel { padding: 18px; }

  .role-slider { gap: 14px; padding-bottom: 8px; }
  .role-card { flex-basis: min(72vw, 230px); }
  .slider-arrow { display: none; }

  .gallery-grid {
    display: flex !important;
    overflow-x: auto;
    gap: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 2px 2px 8px;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-grid a, .gallery-grid .gallery-main {
    flex: 0 0 min(82vw, 320px);
    height: auto;
    aspect-ratio: 4 / 3;
    grid-row: auto;
    scroll-snap-align: center;
  }
  .gallery-grid span { font-size: 13px; left: 10px; right: 10px; bottom: 10px; padding: 8px 10px; }
  .video-card::after { font-size: 42px; }

  .faq-layout { gap: 24px; }
  .accordion { grid-template-columns: 1fr; }
  summary { padding: 15px 16px; }
  details p { padding: 0 16px 16px; }

  .map-embed, .map-embed iframe { min-height: 330px; }
  .map-open-link { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { padding-bottom: 24px; }

  .mobile-bottom-nav {
    position: fixed;
    left: max(8px, env(safe-area-inset-left));
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 220;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    gap: 4px;
    min-height: 58px;
    padding: 6px;
    border: 1px solid rgba(0,184,255,.26);
    border-radius: 18px;
    background: rgba(2,4,10,.88);
    backdrop-filter: blur(18px);
    box-shadow: 0 0 34px rgba(0,123,255,.24);
  }
  .mobile-bottom-nav a,
  .mobile-booking-btn {
    min-width: 0;
    height: 48px;
    display: grid;
    place-items: center;
    gap: 1px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--muted);
    text-align: center;
  }
  .mobile-bottom-nav span { color: var(--cyan); font-size: 18px; line-height: 1; }
  .mobile-bottom-nav small { font-size: 10px; line-height: 1; font-weight: 800; }
  .mobile-booking-btn {
    background: linear-gradient(180deg, #0b8cff, #004ce7);
    color: #fff;
    box-shadow: 0 0 20px rgba(0,123,255,.35);
  }
  .mobile-booking-btn span { color: #fff; }
  .mobile-sticky-cta { display: none !important; }
}

/* 375 / 360 / 320 */
@media (max-width: 375px) {
  .container { width: min(100% - 18px, var(--container)); }
  .hero-content { padding-inline: 16px; }
  .btn { padding-inline: 16px; }
  .role-card { flex-basis: 76vw; }
  .mobile-bottom-nav small { font-size: 9.5px; }
}
@media (max-width: 360px) {
  .container { width: min(100% - 16px, var(--container)); }
  .hero h1 { font-size: 36px; }
  .section-head h2, .event-half h2, .seo-panel h2, .contact-form-card h2 { font-size: 29px; }
  .mobile-bottom-nav { left: 6px; right: 6px; }
}
@media (max-width: 320px) {
  .container { width: min(100% - 14px, var(--container)); }
  .hero h1 { font-size: 32px; }
  .role-card { flex-basis: 82vw; }
  .mobile-bottom-nav small { display: none; }
  .mobile-bottom-nav a, .mobile-booking-btn { height: 46px; }
}

/* === FINAL DELIVERY PATCH v3 === */
:root {
  --section-y: clamp(52px, 4.7vw, 80px);
  --font-main: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
html, body { overflow-x: hidden !important; max-width: 100vw; }
body { font-family: var(--font-main) !important; }
.section { padding: var(--section-y) 0; }
.site-footer { margin-top: var(--section-y); }

/* Pop-up: no accidental horizontal scroll, consistent font */
.modal, .modal * { box-sizing: border-box; font-family: var(--font-main) !important; }
.modal-dialog {
  overflow-x: hidden !important;
  overscroll-behavior: contain;
  width: min(94vw, 720px);
  max-height: min(92dvh, 840px);
}
.modal-dialog .lead-form { width: 100%; min-width: 0; }
.modal-form fieldset { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.modal-form fieldset span { min-width: 0; font-size: 14px; }
.modal-form .btn { width: 100%; font-family: var(--font-main) !important; }
.modal-close { font-family: var(--font-main) !important; }

/* Header */
.mobile-header-socials { display: none; }
.site-header { box-shadow: 0 8px 24px rgba(0,0,0,.32); }
.header-inner { min-height: 74px; }
.main-nav a { font-weight: 850; }
.header-actions .btn-small { font-size: 14px; min-height: 46px; border-radius: 13px; }

/* Hero: clean two-line idea on desktop, no price chip */
.hero { min-height: auto; padding-top: clamp(34px, 4.8vw, 72px); }
.hero h1 {
  font-size: clamp(48px, 5.2vw, 76px) !important;
  line-height: .98 !important;
  max-width: 850px;
  letter-spacing: -.055em;
}
.hero h1 span { display: block; }
.hero-lead { margin-top: 18px; }
.hero-tags { max-width: 680px; }
.hero-media { opacity: .42; transform: translateX(8%); }
.hero-content { padding-top: clamp(46px, 6vw, 82px); padding-bottom: clamp(50px, 6vw, 82px); }

/* Smaller overlines everywhere */
.eyebrow {
  font-size: clamp(8.5px, .62vw, 10px) !important;
  padding: 4px 9px !important;
  letter-spacing: .12em !important;
  margin-bottom: 12px !important;
}

/* Benefits heading exact split */
#benefits-title { line-height: 1.02 !important; }
#benefits-title span { display: block; }

/* Schedule */
.schedule .section-head { margin-bottom: 34px !important; }
.game-body { min-height: 235px; }
.game-body .btn { margin-top: 18px !important; }

/* Roles: keep card ratio and allow 16 editable cards */
.role-panel { overflow: hidden; }
.role-slider { padding-left: 0; padding-right: 0; }
.role-card { flex: 0 0 clamp(180px, 14.4vw, 218px); }
.role-image { aspect-ratio: 2 / 3; }
.role-image span { font-size: clamp(42px, 4vw, 58px); }

/* Gallery: robust grid */
.gallery-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(160px, 1fr));
  grid-auto-rows: clamp(150px, 10vw, 178px);
  gap: 16px;
}
.gallery-grid > a { min-width: 0; }
.gallery-grid img { object-position: center; }

/* FAQ: only one accordion is open via JS; prevent empty neighbour stretch */
.accordion { align-items: start !important; grid-auto-rows: auto; }
.accordion details { align-self: start !important; height: auto !important; }
.accordion details:not([open]) { min-height: 56px; }
.accordion details:not([open]) p { display: none !important; }
.accordion details[open] { grid-row: span 1; }

/* Map */
.map-embed { min-height: 460px; border-color: rgba(0,184,255,.34); }
.map-embed iframe { min-height: 460px; }
.map-open-link { width: auto !important; align-self: start; justify-self: start; }

/* Footer */
.footer-menu a span, .footer-contacts a::before, .footer-contacts p::before { flex: 0 0 20px; }

/* Breakpoints: 1920 / 1600 / 1024 / 960 / 768 */
@media (min-width: 1601px) {
  :root { --container: 1360px; --section-y: 80px; }
  .hero h1 { font-size: clamp(70px, 4.4vw, 86px) !important; }
  .section-head h2, .event-half h2, .seo-panel h2, .contact-form-card h2 { font-size: clamp(42px, 3.1vw, 58px) !important; }
}
@media (max-width: 1600px) and (min-width: 1201px) {
  :root { --container: 1200px; --section-y: 74px; }
}
@media (max-width: 1200px) {
  :root { --container: 1040px; --section-y: 66px; }
  .header-actions .phone-link { display: none; }
  .main-nav { gap: 10px; }
  .main-nav a { font-size: 13px; }
}
@media (max-width: 1024px) {
  :root { --container: 944px; --section-y: 62px; }
  .header-actions .btn-small { display: none; }
  .benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .schedule-layout { grid-template-columns: 240px 1fr; }
  .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-list-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .benefit-grid .feature-card {
    flex-basis: calc((100% - 48px) / 3);
  }
}

@media (max-width: 768px) {
  .benefit-grid .feature-card {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 560px) {
  .benefit-grid {
    gap: 16px;
  }

  .benefit-grid .feature-card {
    flex-basis: 100%;
  }
}

@media (max-width: 960px) {
  :root { --container: 880px; --section-y: 60px; }
  .main-nav { display: none !important; }
  .header-actions { display: flex; }
  .header-actions .icon-link { display: inline-grid; }
  .schedule-layout, .dual-card, .event-split, .faq-layout, .seo-panel, .contacts-panel { grid-template-columns: 1fr !important; }
  .game-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 210px; }
  .gallery-main { grid-row: span 1; }
}
@media (max-width: 768px) {
  :root { --container: 704px; --section-y: 56px; }
  .game-cards, .benefit-grid, .audience-grid, .reviews-grid { grid-template-columns: 1fr; }
  .mini-calendar { display: none; }
  .modal-form fieldset { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile 560 / 375 / 360 / 320 */
@media (max-width: 560px) {
  :root { --header-h: 62px; --section-y: 48px; }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .container { width: min(100% - 20px, var(--container)); }
  .header-inner {
    min-height: var(--header-h);
    display: grid !important;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    justify-content: normal;
  }
  .brand { margin: 0; justify-self: start; }
  .brand img { width: 120px; height: 60px; }
  .mobile-header-socials {
    display: flex;
    justify-self: end;
    align-items: center;
    gap: 8px;
  }
  .mobile-header-socials a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 950;
    background: rgba(0,123,255,.06);
  }

  .header-actions, .main-nav, .nav-toggle { display: none !important; }

  .hero { padding-top: 24px; }
  .hero-content { padding: 32px 16px 38px; }
  .hero h1 { font-size: clamp(34px, 11.2vw, 48px) !important; line-height: 1.03 !important; letter-spacing: -.045em; }
  .hero h1 span { display: block; }
  .hero-lead { font-size: 15px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-tags { display: flex; }

  .section-head h2, .event-half h2, .seo-panel h2, .contact-form-card h2 { font-size: clamp(28px, 9vw, 38px) !important; }
  .section-head p, .event-half p, .seo-panel p { font-size: 15px; }

  .schedule .section-panel, .dual-card, .role-panel, .gallery-panel, .faq-layout, .seo-panel, .contacts-panel { padding: 16px; }
  .game-body { min-height: 0; }
  .game-body .btn { width: 100%; }

  .role-card { flex: 0 0 min(72vw, 240px); }

  .gallery-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
    overflow: visible !important;
    padding: 0;
  }
  .gallery-grid a, .gallery-grid .gallery-main {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
    flex: none;
    grid-row: auto;
  }
  .gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
  .gallery-grid span { font-size: 12.5px; }

  .accordion { grid-template-columns: 1fr !important; }
  .map-embed, .map-embed iframe { min-height: 380px; }
  .map-open-link { width: auto !important; justify-self: start; }

  .modal { padding: 8px; align-items: flex-end; }
  .modal-dialog { width: calc(100vw - 16px); max-height: 90dvh; padding: 18px; border-radius: 20px 20px 0 0; overflow-x: hidden !important; }
  .modal-dialog h2 { font-size: 30px !important; }
  .modal-form fieldset { grid-template-columns: 1fr; }

  .mobile-bottom-nav {
    left: max(8px, env(safe-area-inset-left)) !important;
    right: max(8px, env(safe-area-inset-right)) !important;
    width: auto !important;
    max-width: none !important;
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
    padding: 6px;
  }
  .mobile-bottom-nav a, .mobile-booking-btn { min-width: 0; overflow: hidden; }
  .mobile-bottom-nav small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9.5px; }
}
@media (max-width: 375px) {
  .container { width: min(100% - 16px, var(--container)); }
  .hero h1 { font-size: 36px !important; }
  .btn { min-height: 50px; padding-inline: 14px; }
  .role-card { flex-basis: 75vw; }
  .mobile-bottom-nav { left: 6px !important; right: 6px !important; }
  .mobile-bottom-nav small { font-size: 9px; }
}
@media (max-width: 360px) {
  .container { width: min(100% - 14px, var(--container)); }
  .hero h1 { font-size: 34px !important; }
  .section-head h2, .event-half h2, .seo-panel h2, .contact-form-card h2 { font-size: 28px !important; }
  .mobile-bottom-nav { left: 5px !important; right: 5px !important; }
}
@media (max-width: 320px) {
  .container { width: min(100% - 12px, var(--container)); }
  .hero h1 { font-size: 31px !important; }
  .mobile-bottom-nav small { display: none; }
  .mobile-bottom-nav a, .mobile-booking-btn { height: 46px; }
  .role-card { flex-basis: 80vw; }
}


/* === FINAL MOBILE NAV / HEADER PATCH v4 === */
@media (max-width: 560px) {
  :root { --mobile-header-h: 64px; --mobile-nav-h: 66px; }
  html, body { max-width: 100%; overflow-x: hidden !important; }
  body {
    padding-top: var(--mobile-header-h) !important;
    padding-bottom: calc(var(--mobile-nav-h) + 14px + env(safe-area-inset-bottom)) !important;
  }
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 500 !important;
    transform: translateZ(0);
    background: rgba(1,4,10,.92) !important;
    border-bottom: 1px solid rgba(0,184,255,.2);
  }
  .header-inner {
    min-height: var(--mobile-header-h) !important;
    height: var(--mobile-header-h);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .brand-text { display: none !important; }
  .brand img { width: 140px !important; height: 60px !important; border-radius: 14px; }
  .mobile-header-socials { display: flex !important; }
  .mobile-header-socials a {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px;
    line-height: 1;
  }
  .mobile-bottom-nav {
    box-sizing: border-box !important;
    position: fixed !important;
    left: 8px !important;
    right: auto !important;
    bottom: calc(8px + env(safe-area-inset-bottom)) !important;
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    min-width: 0 !important;
    height: var(--mobile-nav-h) !important;
    min-height: var(--mobile-nav-h) !important;
    padding: 6px !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 3px !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    z-index: 520 !important;
  }
  .mobile-bottom-nav a,
  .mobile-booking-btn {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 52px !important;
    padding: 3px 1px !important;
    display: grid !important;
    grid-template-rows: 22px 14px;
    align-content: center;
    justify-items: center;
    gap: 2px !important;
    overflow: hidden !important;
  }
  .mobile-bottom-nav span {
    font-size: 17px !important;
    line-height: 1 !important;
    max-width: 100%;
  }
  .mobile-bottom-nav small {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    font-size: clamp(7.4px, 2.15vw, 9.6px) !important;
    line-height: 1 !important;
    letter-spacing: -.02em;
    text-align: center;
  }
  .mobile-booking-btn small { font-weight: 900 !important; }
}
@media (max-width: 375px) {
  .mobile-bottom-nav {
    left: 6px !important;
    width: calc(100vw - 12px) !important;
    max-width: calc(100vw - 12px) !important;
    gap: 2px !important;
    padding: 5px !important;
  }
  .mobile-bottom-nav small { font-size: 7.6px !important; letter-spacing: -.035em; }
}
@media (max-width: 340px) {
  .mobile-bottom-nav {
    left: 5px !important;
    width: calc(100vw - 10px) !important;
    max-width: calc(100vw - 10px) !important;
  }
  .mobile-bottom-nav a,
  .mobile-booking-btn { height: 50px !important; }
  .mobile-bottom-nav span { font-size: 16px !important; }
  .mobile-bottom-nav small { font-size: 7.1px !important; letter-spacing: -.05em; }
}

/* === PATCH v5: remove mobile horizontal overflow without changing layout === */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip !important;
}
@supports not (overflow-x: clip) {
  html, body { overflow-x: hidden !important; }
}

body > * {
  max-width: 100%;
}

@media (max-width: 560px) {
  .site-header,
  .mobile-bottom-nav {
    max-width: 100% !important;
  }

  /* The previous version used calc(100vw - Npx). In mobile emulation, 100vw can
     include the scrollbar/preview gutter and create a tiny horizontal scroll.
     Left/right positioning keeps the bar inside the visual viewport. */
  .mobile-bottom-nav {
    left: calc(8px + env(safe-area-inset-left)) !important;
    right: calc(8px + env(safe-area-inset-right)) !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    overflow: hidden !important;
    transform: none !important;
  }

  .mobile-bottom-nav a,
  .mobile-booking-btn {
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
  }

  .mobile-bottom-nav small {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .container,
  .hero-grid,
  .section-panel,
  .dual-card,
  .role-panel,
  .gallery-panel,
  .faq-layout,
  .seo-panel,
  .contacts-panel,
  .site-footer,
  .footer-grid,
  .footer-bottom {
    max-width: 100% !important;
  }
}

@media (max-width: 375px) {
  .mobile-bottom-nav {
    left: calc(6px + env(safe-area-inset-left)) !important;
    right: calc(6px + env(safe-area-inset-right)) !important;
    width: auto !important;
    max-width: none !important;
  }
}

@media (max-width: 340px) {
  .mobile-bottom-nav {
    left: calc(5px + env(safe-area-inset-left)) !important;
    right: calc(5px + env(safe-area-inset-right)) !important;
    width: auto !important;
    max-width: none !important;
  }
}

/* === HARD RESPONSIVE PATCH v6: no horizontal page scroll === */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}
body { position: relative; }
*, *::before, *::after { min-width: 0; }
.site-header,
.hero-grid,
.hero-media,
.section-panel,
.dual-card,
.role-panel,
.gallery-panel,
.faq-layout,
.seo-panel,
.contacts-panel,
.site-footer,
.mobile-bottom-nav,
.modal,
.modal-dialog {
  max-width: 100% !important;
}
.hero-grid { overflow: hidden !important; }
.hero-media {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  transform: none !important;
  overflow: hidden !important;
}
.hero-media img { width: 100% !important; max-width: 100% !important; }

/* Native horizontal sliders increase document scrollWidth in Chrome. Roles are now a responsive card grid: all 16 slots remain editable and visible. */
.role-panel { overflow: hidden !important; }
.role-slider {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  overflow: visible !important;
  padding: 0 !important;
  scroll-snap-type: none !important;
}
.role-card {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
}
.slider-arrow { display: none !important; }

/* Mobile header and bottom nav are inset, never viewport-width based. */
@media (max-width: 560px) {
  body { padding-top: 64px !important; padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
  .site-header { left: 0 !important; right: 0 !important; width: auto !important; max-width: 100% !important; }
  .header-inner { width: min(100% - 20px, var(--container)) !important; margin-inline: auto !important; }
  .role-slider { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; }
  .role-card { padding: 10px !important; }
  .role-caption h3 { font-size: 15px !important; }
  .role-caption p { font-size: 12.5px !important; line-height: 1.45 !important; }
  .mobile-bottom-nav {
    left: 8px !important;
    right: 8px !important;
    bottom: calc(8px + env(safe-area-inset-bottom)) !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    overflow: hidden !important;
  }
  .mobile-bottom-nav a,
  .mobile-booking-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .mobile-bottom-nav small {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    font-size: clamp(7px, 2.05vw, 9px) !important;
    letter-spacing: -.04em !important;
  }
}
@media (max-width: 375px) {
  .role-slider { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .mobile-bottom-nav { left: 6px !important; right: 6px !important; padding: 5px !important; gap: 2px !important; }
  .mobile-bottom-nav small { font-size: 7.2px !important; }
}
@media (max-width: 340px) {
  .container { width: min(100% - 12px, var(--container)) !important; }
  .role-slider { grid-template-columns: 1fr !important; }
  .mobile-bottom-nav { left: 5px !important; right: 5px !important; }
  .mobile-bottom-nav small { font-size: 7px !important; }
}
/* v6.1: reset previous column-flow slider rules */
.role-slider {
  grid-auto-flow: row !important;
  grid-auto-columns: auto !important;
  grid-auto-rows: auto !important;
}
/* v6.2: final overflow offenders */
fieldset input[type="radio"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  max-width: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.seo-panel { overflow: hidden !important; }
.seo-panel > * { min-width: 0 !important; max-width: 100% !important; }
.seo-panel img { width: 100% !important; max-width: 100% !important; }
.seo-links { max-width: 100% !important; }
.seo-links a { min-width: 0 !important; }
@media (max-width: 1200px) {
  .seo-panel { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
  .seo-links { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .seo-links a { width: 100% !important; text-align: center; font-size: 12px; padding: 10px 8px !important; }
}
@media (max-width: 340px) {
  .seo-links { grid-template-columns: 1fr !important; }
}


/* === CLEANUP PATCH: duplicated edit safety === */
/* Keep all user-facing styling, but neutralize duplicated pseudo-icons and broken footer/contact inheritance. */
.contact-card .contact-line { display: grid !important; grid-template-columns: 46px minmax(0, 1fr) !important; align-items: center !important; }
.contact-card .contact-line > span { color: inherit; font-size: inherit; }
.contact-card .contact-text small { color: var(--muted-2); font-size: 12px; }
.footer-contacts a::before,
.footer-contacts p::before { content: none !important; display: none !important; }
.footer-contact-link img { width: 20px !important; height: 20px !important; flex: 0 0 20px !important; }
.social-row a img,
.icon-link img { width: 40px !important; height: 40px !important; }
.footer-grid { align-items: start; }
.footer-bottom.container { width: min(100% - 32px, var(--container)); }
@media (max-width: 560px) { .footer-bottom.container { width: min(100% - 20px, var(--container)); } }
/* Logo size fix */
.brand-logo {
  width: 180px;
  height: 60px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.brand {
  min-width: 180px;
}

.header-inner {
  min-height: 88px;
}

.footer-logo {
  width: 180px;
  height: 60px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 18px;
}

/* Mobile logo */
@media (max-width: 768px) {
  .brand-logo {
    width: 150px;
    height: 50px;
  }

  .brand {
    min-width: 150px;
  }

  .header-inner {
    min-height: 76px;
  }

  .footer-logo {
    width: 160px;
    height: 54px;
  }
}

@media (max-width: 375px) {
  .brand-logo {
    width: 132px;
    height: 60px;
  }

  .brand {
    min-width: 132px;
  }
}

/* === CONFIDENCE POLISH 2026-08 === */

/* Заметный фокус с клавиатуры — доступность и аккуратность */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
.gallery-item:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Живые, но спокойные карточки на устройствах с наведением */
@media (hover: hover) {
  .feature-card,
  .game-card,
  .review-card {
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  }
  .feature-card:hover,
  .game-card:hover,
  .review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(242, 169, 78, .38);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(242, 169, 78, .12) inset;
  }
  /* Иконка-бейдж карточки теплеет при наведении */
  .feature-card:hover .card-icon {
    border-color: rgba(242, 169, 78, .5);
    box-shadow: inset 0 0 22px rgba(242, 169, 78, .18);
  }
  /* Кнопка-CTA: тёплое свечение при наведении вместо холодного неона */
  .btn-primary:hover {
    box-shadow: 0 10px 30px rgba(0, 76, 231, .35), 0 0 26px rgba(242, 169, 78, .22);
  }
}

/* Подчёркивание в меню теплеет под фирменный акцент */
.main-nav a::after {
  background: linear-gradient(90deg, var(--amber), var(--ember));
  box-shadow: 0 0 14px rgba(242, 169, 78, .5);
}
.main-nav a:hover { color: var(--amber-hi); }

/* === АДАПТИВ БЛОКА ПРЕИМУЩЕСТВ (единый источник правды) ===
   Идёт последним в файле и перекрывает старые разрозненные правила.
   Mobile-first: 1 колонка → 2 → 3. Центрирование 7-й карточки только на десктопе. */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.benefit-grid .feature-card {
  flex-basis: auto;
  grid-column: auto;
  min-width: 0;
}
@media (min-width: 620px) {
  .benefit-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (min-width: 1000px) {
  .benefit-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  /* 7-я карточка одна в ряду из трёх — по центру */
  .benefit-grid .feature-card:last-child:nth-child(3n+1) { grid-column: 2; }
}