/* ============================================================
   PRIME Cyber Club — стили нового сайта
   Шрифт Xolonium (оригинальный, как на текущем сайте)
   ============================================================ */

@font-face {
  font-family: 'Xolonium';
  src: url('fonts/Xolonium-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Xolonium';
  src: url('fonts/Xolonium-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0a0d;
  --bg-2: #101015;
  --surface: #16161d;
  --surface-2: #1e1e27;
  --border: #2a2a35;
  --text: #f4f4f7;
  --muted: #9a9aa8;
  --accent: #1f8bff;
  --accent-2: #6cc3ff;
  --accent-grad: linear-gradient(135deg, #1f8bff 0%, #54c6ff 100%);
  --radius: 16px;
  --maxw: 1200px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: 'Xolonium', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.accent { color: var(--accent); }

h1, h2, h3 { font-weight: 700; line-height: 1.1; letter-spacing: .5px; }

section { position: relative; }

.section { padding: 130px 0; }
/* zones/games get breathing room but stay visually grouped */
#zones, #games { padding-top: 60px; }

/* Тонкий разделитель секций: линия, растворяющаяся по краям, с лёгким свечением по центру */
.divider {
  position: relative;
  height: 1px;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(42,42,53,.9) 22%, rgba(42,42,53,.9) 78%, transparent);
}
.divider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .55;
  box-shadow: 0 0 12px 1px rgba(31, 139, 255, .3);
}
.divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px 2px rgba(31, 139, 255, .45);
}
.section-title {
  font-size: clamp(28px, 5vw, 46px);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-sub { color: var(--muted); font-size: 17px; margin-bottom: 44px; max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit; font-weight: 700; font-size: 15px;
  text-transform: uppercase; letter-spacing: .5px;
  padding: 15px 30px; border-radius: 999px; cursor: pointer;
  border: none; transition: transform .15s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: 0 6px 24px rgba(31,139,255,.38); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(31,139,255,.55); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-vk { background: transparent; color: var(--accent-2); border: 1.5px solid rgba(31,139,255,.55); }
.btn-vk:hover { background: rgba(31,139,255,.12); border-color: var(--accent); color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(10,10,13,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.logo img { height: 38px; width: auto; }
.nav { display: flex; gap: 26px; }
.nav a { font-size: 14px; letter-spacing: .5px; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.header-right { display: flex; align-items: center; gap: 18px; }
.header-phone { font-size: 15px; font-weight: 700; white-space: nowrap; }
.header-phone:hover { color: var(--accent); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 2px; background: var(--text); transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--header-h);
  background: transparent;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: url('images/tild3366-3331-4735-a536-346235613537_IMG_8942_2.JPG') center/cover no-repeat;
  filter: brightness(.26) saturate(.85) contrast(1.05);
  transform: scale(1.04);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 92%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 48px),
    radial-gradient(55% 50% at 20% 32%, rgba(31,139,255,.20), transparent 67%),
    radial-gradient(50% 50% at 90% 52%, rgba(90,210,255,.13), transparent 70%),
    linear-gradient(90deg, rgba(10,10,13,.86) 0%, rgba(10,10,13,.55) 55%, rgba(10,10,13,.35) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 66%, transparent 90%);
  mask-image: linear-gradient(180deg, #000 0%, #000 66%, transparent 90%);
}
.hero-grid, .hero-scroll { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 60px; align-items: center;
  width: 100%; padding: 90px 0;
}
.hero-content { max-width: 720px; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 16px;
  background: rgba(31,139,255,.12); color: var(--accent-2);
  border: 1px solid rgba(31,139,255,.3); padding: 8px 16px 8px 14px; border-radius: 999px;
  font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 26px;
}
.hero .badge .dot {
  position: relative; flex: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 8px rgba(108,195,255,.9);
}
/* faint orbit guide ring */
.hero .badge .dot::before {
  content: ""; position: absolute; inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(108,195,255,.22);
}
/* orbiting satellite */
.hero .badge .dot::after {
  content: ""; position: absolute;
  top: 50%; left: 50%;
  width: 3px; height: 3px; margin: -1.5px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 6px rgba(108,195,255,.95);
  transform-origin: center;
  animation: orbit 3.2s linear infinite;
}
@keyframes orbit {
  from { transform: rotate(0deg)   translateX(9px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(9px) rotate(-360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero .badge .dot::after { animation: none; }
}
.hero h1 { font-size: clamp(30px, 4.1vw, 52px); text-transform: uppercase; margin-bottom: 22px; line-height: 1.05; overflow-wrap: break-word; }
.hero h1 .l1, .hero h1 .l2 { display: block; }
.hero h1 .l1 { white-space: nowrap; }
.hero h1 .accent { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 36px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-specs {
  position: relative; display: flex; flex-direction: column; gap: 24px; padding-left: 26px;
  opacity: .82;
}
.hero-specs::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px;
  border-radius: 3px; background: var(--accent-grad); box-shadow: 0 0 12px rgba(31,139,255,.35);
}
.spec-row { display: flex; flex-direction: column; gap: 6px; }
.spec-row .n { font-size: 34px; font-weight: 700; color: var(--text); line-height: 1; letter-spacing: .5px; }
.spec-row .l { color: var(--muted); text-transform: uppercase; font-size: 12px; letter-spacing: 2px; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  font-size: 20px; background: rgba(16,16,23,.4); transition: .2s; animation: bob 2s ease-in-out infinite;
}
.hero-scroll:hover { border-color: var(--accent); color: var(--accent); }
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,6px); } }

/* ---------- Features ---------- */
.features { background: transparent; border: none; padding: 120px 0; position: relative; }
.features::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(75% 60% at 30% 0%, rgba(31,139,255,.13), transparent 60%),
    radial-gradient(60% 55% at 88% -4%, rgba(90,210,255,.10), transparent 62%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 1px, transparent 1px 48px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  background: transparent;
}
.feature {
  background: rgba(14,14,20,0.62);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(42,42,53,0.7); border-radius: var(--radius);
  padding: 34px 28px; display: flex; flex-direction: column; gap: 8px;
  transition: border-color .25s ease, box-shadow .3s ease, transform .25s ease;
}
.feature:hover {
  border-color: rgba(31,139,255,0.5);
  box-shadow: 0 16px 42px rgba(31,139,255,0.12);
  transform: translateY(-3px);
}
.feature .ico { width: 36px; height: 36px; color: var(--accent); }
.feature .ico svg { width: 100%; height: 100%; display: block; }
.feature h3 { font-size: 20px; text-transform: uppercase; }
.feature p { color: var(--muted); font-size: 14px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: clamp(26px, 4vw, 40px); text-transform: uppercase; margin-bottom: 22px; }
.about-text p { color: var(--muted); font-size: 17px; margin-bottom: 18px; }
.about-text a.maplink { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ---------- Zones / Gallery ---------- */
.zones-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.zone-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10;
  border: 1px solid var(--border);
  padding: 0; cursor: pointer; font: inherit; color: inherit; text-align: left;
  width: 100%; display: block; background: none;
}
.zone-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.zone-card:hover img { transform: scale(1.06); }
.zone-card .overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,0) 60%);
}
.zone-card .overlay h3 { font-size: 26px; text-transform: uppercase; }
.zone-card .overlay p { color: var(--accent-2); font-size: 14px; }
.zone-view {
  position: absolute; top: 18px; right: 18px;
  background: rgba(16,16,23,.7); backdrop-filter: blur(6px);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .5px;
  color: var(--text); opacity: 0; transform: translateY(-6px); transition: .25s;
}
.zone-card:hover .zone-view, .zone-card:focus-visible .zone-view { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: rgba(6,6,9,.92); backdrop-filter: blur(8px); padding: 70px 20px;
}
.lightbox.open { display: flex; }
.lb-stage { max-width: 1100px; width: 100%; display: flex; align-items: center; justify-content: center; }
.lb-img {
  max-width: 100%; max-height: 80vh; border-radius: 12px;
  border: 1px solid var(--border); box-shadow: 0 30px 90px rgba(0,0,0,.6);
}
.lb-close {
  position: absolute; top: 22px; right: 26px; width: 46px; height: 46px;
  background: none; border: none; color: var(--text); font-size: 38px; line-height: 1;
  cursor: pointer; opacity: .8; transition: .2s;
}
.lb-close:hover { opacity: 1; color: var(--accent); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(22,22,29,.7); border: 1px solid var(--border); color: var(--text);
  font-size: 30px; line-height: 1; cursor: pointer; transition: .2s;
  display: flex; align-items: center; justify-content: center;
}
.lb-nav:hover { background: var(--accent); border-color: transparent; color: #fff; }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-caption {
  position: absolute; bottom: 26px; left: 0; right: 0; text-align: center;
  display: flex; gap: 14px; align-items: center; justify-content: center;
  color: var(--text); font-size: 15px; text-transform: uppercase; letter-spacing: 1px;
}
.lb-caption #lbZone { font-weight: 700; }
.lb-caption #lbCounter { color: var(--muted); }
@media (max-width: 600px) {
  .lb-nav { width: 44px; height: 44px; font-size: 24px; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
}

/* ---------- Games preview ---------- */
.games-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.games-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.game-tag {
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 11px 20px; font-size: 14px; color: var(--text); transition: .2s;
}
.game-tag:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Эйбрау-номера и подсветка карточек ---------- */
.eyebrow { display: block; font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: var(--accent-2); font-weight: 700; margin-bottom: 14px; opacity: .9; }
.eyebrow b { opacity: .5; margin-right: 8px; }

.zone-card { transition: border-color .25s ease, box-shadow .35s ease; }
.zone-card:hover { border-color: rgba(31,139,255,.55); box-shadow: 0 20px 50px rgba(31,139,255,.14); }
.price-card, .config-card { transition: transform .25s ease, box-shadow .3s ease, border-color .25s ease; }
.price-card:hover, .config-card:hover { transform: translateY(-4px); border-color: rgba(31,139,255,.55); box-shadow: 0 18px 46px rgba(31,139,255,.13); }

/* ---------- Promo ---------- */
.nav-promo { color: var(--accent) !important; font-weight: 700; }
.promo-card {
  position: relative; overflow: hidden; border-radius: 22px;
  border: 1px solid rgba(31,139,255,.4);
  background: linear-gradient(135deg, rgba(31,139,255,.16), rgba(31,139,255,.03));
  padding: 48px 52px; display: flex; align-items: center; justify-content: space-between; gap: 44px;
}
.promo-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--accent-grad); }
.promo-left { max-width: 660px; }
.promo-badge {
  display: inline-block; background: var(--accent-grad); color: #fff;
  padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px;
}
.promo-card h2 { font-size: clamp(26px, 4vw, 40px); text-transform: uppercase; margin-bottom: 14px; }
.promo-card h2 .accent { color: var(--accent-2); }
.promo-card p { color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.promo-card p b { color: var(--text); }
.promo-media { position: relative; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.promo-img { max-width: 210px; max-height: 300px; object-fit: contain; filter: drop-shadow(0 22px 44px rgba(0,0,0,.55)); }
.promo-media:not(.has-fallback) .promo-fallback { display: none; }
.promo-fallback {
  width: 200px; height: 200px; border-radius: 24px;
  border: 1.5px dashed rgba(31,139,255,.5); background: rgba(31,139,255,.06);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.promo-fallback .pf-top { color: var(--muted); text-transform: uppercase; font-size: 13px; letter-spacing: 2px; }
.promo-fallback .pf-name {
  font-size: 40px; font-weight: 700;
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.promo-tag {
  position: absolute; bottom: -10px; right: -10px;
  background: var(--accent-grad); color: #fff; font-weight: 700; font-size: 20px;
  width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(31,139,255,.5); border: 3px solid var(--bg);
}
@media (max-width: 760px) {
  .promo-card { flex-direction: column; align-items: flex-start; padding: 36px 28px; gap: 30px; }
  .promo-media { align-self: center; }
}

/* ---------- Tariffs ---------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.tab-btn {
  font-family: inherit; font-weight: 700; font-size: 15px; text-transform: uppercase;
  padding: 12px 26px; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--muted); border: 1px solid var(--border); transition: .2s;
}
.tab-btn.active { background: var(--accent-grad); color: #fff; border-color: transparent; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.price-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px;
}
.price-card.highlight { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.price-card h4 { font-size: 19px; text-transform: uppercase; margin-bottom: 6px; }
.price-card .period { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--border); }
.price-row .h { color: var(--muted); font-size: 15px; }
.price-row .p { font-size: 20px; font-weight: 700; }
.price-row .p span { color: var(--accent-2); }
.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.pack {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center;
}
.pack .l { color: var(--muted); font-size: 13px; text-transform: uppercase; margin-bottom: 10px; min-height: 32px; }
.pack .v { font-size: 26px; font-weight: 700; color: var(--accent-2); }
.ps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 600px; }
.ps-room-note { color: var(--muted); font-size: 15px; margin-top: 18px; max-width: 600px; }
.ps-room-note b { color: var(--accent-2); }

/* ---------- Configs ---------- */
.config-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.config-card {
  background: rgba(14, 14, 20, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(42, 42, 53, 0.7); border-radius: var(--radius); padding: 32px;
  position: relative; overflow: hidden;
}
.config-card.ultra { border-color: var(--accent); }
.config-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent-grad); opacity: .35;
}
.config-card.ultra::before { opacity: 1; }
.config-card h4 { font-size: 24px; text-transform: uppercase; margin-bottom: 4px; }
.config-card .label { color: var(--accent-2); font-size: 13px; text-transform: uppercase; margin-bottom: 22px; }
.spec { padding: 12px 0; border-top: 1px solid var(--border); }
.spec .k { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.spec .val { font-size: 16px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; background: var(--surface); }
.faq-q {
  width: 100%; text-align: left; font-family: inherit; font-weight: 700; font-size: 17px;
  background: none; border: none; color: var(--text); cursor: pointer;
  padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .plus { font-size: 26px; color: var(--accent); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 26px 24px; color: var(--muted); font-size: 16px; }

/* ---------- Contacts ---------- */
.contacts { background: var(--bg-2); border-top: 1px solid var(--border); }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-item { margin-bottom: 26px; }
.contact-item .k { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.contact-item .v { font-size: 24px; font-weight: 700; }
.contact-item .v a:hover { color: var(--accent); }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.socials { display: flex; gap: 14px; margin-top: 26px; }
.socials a {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; transition: .2s;
}
.socials a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 340px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.3) contrast(1.1); }

/* ---------- Footer ---------- */
.footer { padding: 36px 0; border-top: 1px solid var(--border); text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- All games page ---------- */
.page-hero {
  padding: calc(var(--header-h) + 70px) 0 50px;
  background: linear-gradient(180deg, rgba(31,139,255,.08), transparent);
}
.page-hero h1 { font-size: clamp(34px, 6vw, 60px); text-transform: uppercase; }
.page-hero p { color: var(--muted); margin-top: 14px; font-size: 18px; }
.cat-title {
  font-size: clamp(22px, 3vw, 30px); text-transform: uppercase; margin: 50px 0 24px;
  display: flex; align-items: center; gap: 14px;
}
.cat-title::before { content: ''; width: 32px; height: 4px; background: var(--accent-grad); border-radius: 2px; }
.game-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); margin-bottom: 10px; }
.back-link:hover { color: var(--accent); }

/* ---------- Матрица: цифры 1/0 на фоне ---------- */
.bg-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bg-deco .ps { position: absolute; will-change: transform; }
.bg-deco .ps-i {
  display: block; line-height: 1; letter-spacing: 3px; font-weight: 700;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, 'Courier New', monospace;
  text-shadow: 0 0 12px currentColor;
  animation: binpulse var(--d, 7s) ease-in-out infinite; animation-delay: var(--delay, 0s);
}
@keyframes binpulse {
  0%, 100% { transform: translateY(0); opacity: .75; }
  50% { transform: translateY(-14px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .bg-deco { display: none; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.7,.3,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav, .header-phone { display: none; }
  .burger { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--bg-2); padding: 24px; gap: 18px; border-bottom: 1px solid var(--border);
  }
  .nav.open a { font-size: 17px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contacts-grid { grid-template-columns: 1fr; gap: 36px; }
  .config-grid { grid-template-columns: 1fr; }
  .section { padding: 92px 0; }
  /* restore breathing room above zones/games on small screens */
  #zones, #games { padding-top: 60px; }
  .section-sub { margin-bottom: 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 40px 20px 104px; }
  .hero-content { max-width: 100%; }
  .hero-specs { flex-direction: row; flex-wrap: wrap; gap: 22px 36px; }
  .spec-row { flex-direction: column; align-items: flex-start; gap: 4px; padding: 0; border-top: none; }
  .spec-row .n { font-size: 26px; min-width: 0; }
}
@media (max-width: 600px) {
  .zones-grid, .price-grid, .ps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .pack-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .contact-actions .btn { width: 100%; justify-content: center; }
  .btn { padding: 14px 22px; }
  .container { padding: 0 24px; }
  .hero h1 { font-size: clamp(20px, 5.8vw, 30px); letter-spacing: 0; margin-bottom: 18px; }
  .hero h1 .l1 { white-space: normal; }
  .hero-grid { padding: 32px 24px 112px; gap: 58px; }
  .promo-badge {
    font-size: clamp(10px, 3.1vw, 13px); letter-spacing: .5px;
    padding: 7px 14px; white-space: nowrap;
  }
}
