/* konsol.by - неоновый синий в стиле логотипа, мобильный первым */

:root {
  --bg: #050c1f;
  --bg-alt: #071129;
  --surface: #0b1a3a;
  --surface-2: #10244f;
  --text: #eaf2ff;
  --muted: #9fb3d6;
  --neon: #1f6bff;
  --cyan: #22e0ff;
  --danger: #ffb020;
  --border: rgba(70, 145, 255, 0.28);
  --border-2: rgba(34, 224, 255, 0.45);
  --radius: 8px;
  --wrap: 760px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  margin: 0;
  padding-bottom: 92px;
  background-color: var(--bg);
  background-image:
    radial-gradient(1000px 520px at 50% -10%, rgba(31, 107, 255, 0.28) 0%, rgba(5, 12, 31, 0) 62%),
    radial-gradient(700px 420px at 100% 8%, rgba(34, 224, 255, 0.12) 0%, rgba(5, 12, 31, 0) 60%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--cyan); }

h1, h2, h3 {
  margin: 0 0 12px;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 8.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 5.8vw, 2rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }

p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

strong { color: #fff; }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 12px 16px;
  background: var(--neon);
  color: #fff;
  font-weight: 700;
  z-index: 100;
}
.skip:focus { left: 0; }

/* --- шапка --- */

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 12, 31, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 8px rgba(34, 224, 255, 0.55));
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-dot { color: var(--cyan); }

.top-phone {
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--neon);
}

/* --- таймер до GTA 6 --- */

.countdown {
  position: relative;
  overflow: hidden;
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(31, 107, 255, 0.32) 0%, rgba(5, 12, 31, 0) 66%),
    linear-gradient(180deg, rgba(16, 36, 79, 0.65) 0%, rgba(5, 12, 31, 0) 100%);
}

.countdown::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(34, 224, 255, 0.05) 0px,
    rgba(34, 224, 255, 0.05) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.5;
}

.cd-label {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 12px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow: 0 0 18px rgba(34, 224, 255, 0.18) inset;
}

.cd-title {
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  text-shadow: 0 0 26px rgba(31, 107, 255, 0.5);
}

.cd-timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.cd-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 4px 10px;
  background: linear-gradient(180deg, rgba(16, 36, 79, 0.95) 0%, rgba(8, 18, 44, 0.95) 100%);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 0 22px rgba(31, 107, 255, 0.18) inset;
}

.cd-num {
  font-family: var(--mono);
  font-size: clamp(1.5rem, 7.5vw, 2.1rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-shadow: 0 0 16px rgba(34, 224, 255, 0.75);
}

.cd-unit {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.cd-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.cd-note strong { color: var(--cyan); }

.cd-note-sm { font-size: 0.85rem; opacity: 0.85; }

.countdown .btn-wide { margin-top: 18px; }

/* состояние "игра вышла" */

.cd-out {
  position: relative;
  margin: 0 0 16px;
  padding: 18px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(31, 107, 255, 0.35) 0%, rgba(34, 224, 255, 0.18) 100%);
  box-shadow: 0 0 40px rgba(34, 224, 255, 0.3);
  animation: unlockGlow 2.4s ease-in-out infinite;
}

.cd-out-glow {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.4rem, 6vw, 2rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 18px rgba(34, 224, 255, 0.9);
  letter-spacing: 0.02em;
}

.cd-out-text {
  display: block;
  margin-top: 6px;
  color: #dbe9ff;
  font-size: 0.95rem;
}

.countdown.is-out .cd-timer { display: none; }

.countdown.is-out::before {
  content: "";
  position: absolute;
  inset: -40% -10%;
  pointer-events: none;
  background: conic-gradient(from 0deg, rgba(34, 224, 255, 0.22), transparent 22%, rgba(31, 107, 255, 0.22) 48%, transparent 70%, rgba(34, 224, 255, 0.22));
  animation: sweep 6s linear infinite;
}

@keyframes unlockGlow {
  0%, 100% { box-shadow: 0 0 26px rgba(34, 224, 255, 0.22); }
  50% { box-shadow: 0 0 52px rgba(34, 224, 255, 0.45); }
}

@keyframes sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.cd-num[data-tick="1"] { animation: pulseGlow 1s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .cd-out,
  .countdown.is-out::before,
  .cd-num[data-tick="1"] { animation: none; }
}

/* --- первый экран --- */

.hero {
  padding: 34px 0 30px;
}

.hero h1 { margin-bottom: 14px; }

.hero-lead {
  max-width: 40ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-price {
  margin: 20px 0 22px;
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 20px rgba(34, 224, 255, 0.5);
}

.hero-price span {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  text-shadow: none;
}

.hero-cta {
  display: grid;
  gap: 12px;
}

.hero-facts {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-facts li {
  position: relative;
  padding-left: 24px;
}

.hero-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
  box-shadow: 0 0 8px rgba(34, 224, 255, 0.6);
}

/* --- кнопки --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 1.02rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.btn:active { transform: scale(0.98); }

.btn-main {
  background: linear-gradient(135deg, var(--neon) 0%, #2f8dff 55%, var(--cyan) 100%);
  color: #04122c;
  box-shadow: 0 8px 26px -12px rgba(34, 224, 255, 0.9);
}

.btn-main:hover { box-shadow: 0 10px 34px -10px rgba(34, 224, 255, 1); }

.btn-ghost {
  background: rgba(11, 26, 58, 0.7);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 22px -6px rgba(34, 224, 255, 0.55);
}

.btn-wide { width: 100%; }

.copy {
  margin-top: 14px;
  padding: 12px 18px;
  background: transparent;
  border: 1px dashed var(--border);
  border-radius: 6px;
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}

.copy:hover { color: var(--text); border-color: var(--cyan); }

/* --- секции --- */

.block { padding: 40px 0; }
.block-alt { background: rgba(7, 17, 41, 0.75); }

.block h2 {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.block h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--neon));
  box-shadow: 0 0 12px rgba(34, 224, 255, 0.8);
}

.lead {
  max-width: 46ch;
  color: var(--muted);
}

/* --- комплект --- */

.kit {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: linear-gradient(180deg, rgba(16, 36, 79, 0.6) 0%, rgba(11, 26, 58, 0.6) 100%);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  border-radius: 6px;
  font-size: 0.97rem;
}

.kit-ico { font-size: 1.15rem; line-height: 1; }

/* --- тарифы --- */

.prices { display: grid; gap: 14px; }

.price {
  position: relative;
  padding: 20px;
  background: linear-gradient(180deg, rgba(16, 36, 79, 0.72) 0%, rgba(11, 26, 58, 0.72) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.price-hot {
  border-color: var(--border-2);
  box-shadow: 0 0 0 1px rgba(34, 224, 255, 0.25) inset, 0 20px 44px -30px rgba(34, 224, 255, 0.9);
}

.price-tag {
  position: absolute;
  top: -11px;
  right: 14px;
  margin: 0;
  padding: 3px 10px;
  background: var(--cyan);
  border-radius: 999px;
  color: #04122c;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price-sum {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 18px rgba(34, 224, 255, 0.45);
}

.price-sum span {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  text-shadow: none;
}

.price-note { margin: 0; color: var(--muted); font-size: 0.9rem; }

.prices-foot {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* --- карточки --- */

.cards { display: grid; gap: 12px; }
.cards-2 { margin-top: 4px; }

.card {
  position: relative;
  padding: 18px;
  background: linear-gradient(180deg, rgba(16, 36, 79, 0.72) 0%, rgba(11, 26, 58, 0.72) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 3px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(34, 224, 255, 0.8);
}

.card h3 { margin-bottom: 6px; color: #fff; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* --- каталог игр --- */

.games-h {
  margin: 26px 0 12px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.games-h:first-of-type { margin-top: 4px; }

.games {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: g;
  display: grid;
  gap: 6px;
}

.game {
  counter-increment: g;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(11, 26, 58, 0.66);
  border: 1px solid rgba(70, 145, 255, 0.16);
  border-radius: 5px;
  font-size: 0.94rem;
  line-height: 1.3;
}

.game::before {
  content: counter(g);
  flex: 0 0 26px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--cyan);
  opacity: 0.85;
  text-align: right;
}

.g-name { flex: 1 1 auto; }

.g-plat {
  flex: 0 0 auto;
  padding: 2px 7px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  white-space: nowrap;
}

.games-foot {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* --- самовывоз --- */

.pickup { display: grid; gap: 14px; }

.pickup-card {
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(16, 36, 79, 0.8) 0%, rgba(11, 26, 58, 0.8) 100%);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px -34px rgba(34, 224, 255, 0.9);
}

.pickup-city {
  margin: 0 0 6px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pickup-addr {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.pickup-hours {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--cyan);
}

.pickup-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.pickup-info h3 { margin-bottom: 10px; }

.pickup-tip {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.tick {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.tick li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
}

.tick li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}

/* --- предупреждение --- */

.warn {
  margin-top: 16px;
  padding: 16px 18px;
  background: rgba(255, 176, 32, 0.08);
  border: 1px solid rgba(255, 176, 32, 0.45);
  border-left: 4px solid var(--danger);
  border-radius: 6px;
}

.warn p {
  margin: 0;
  color: #f4dcb4;
  font-size: 0.93rem;
}

.warn strong { color: #ffd27a; }

/* --- FAQ --- */

.faq { display: grid; gap: 10px; }

.faq details {
  padding: 15px 18px;
  background: rgba(11, 26, 58, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 1.2rem;
  line-height: 1;
}

.faq details[open] summary::after { content: "-"; }

.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* --- контакты и футер --- */

.block-contact {
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(31, 107, 255, 0.3) 0%, rgba(5, 12, 31, 0) 70%),
    var(--bg);
}

.contact-grid { display: grid; gap: 12px; margin-top: 6px; }

.contact-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.foot {
  padding: 30px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.86rem;
}

.foot-brand {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 800;
}

.foot-legal { font-size: 0.8rem; opacity: 0.85; }

/* --- нижняя панель --- */

.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(5, 12, 31, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}

.sticky .btn { min-height: 50px; padding: 10px 14px; font-size: 0.98rem; }

/* --- большие экраны --- */

@media (min-width: 640px) {
  body { font-size: 19px; }
  .hero-cta { grid-template-columns: 1fr 1fr; }
  .cd-timer { gap: 12px; }
  .cd-cell { padding: 16px 6px 12px; }
  .kit { grid-template-columns: 1fr 1fr; }
  .prices { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .block { padding: 52px 0; }
  .pickup { grid-template-columns: 1.1fr 1fr; align-items: start; }
}

@media (min-width: 960px) {
  body { font-size: 20px; padding-bottom: 0; }
  :root { --wrap: 1000px; }
  .sticky { display: none; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .cards-2 { grid-template-columns: 1fr 1fr; }
  .games { grid-template-columns: 1fr 1fr; }
  .games-h { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

@media print {
  .sticky, .top, .countdown::after { display: none; }
  body { background: #fff; color: #000; }
}





