/* =====================================================================
   VapeCity — тёмная неоновая тема.
   Цвета вынесены в переменные ниже: меняешь тут — меняется весь сайт.
   ===================================================================== */

:root {
  --bg:            #0a0616;   /* основной фон, почти чёрный с фиолетом */
  --bg-2:          #120a26;   /* фон карточек/блоков */
  --bg-3:          #1b1036;   /* фон при наведении */
  --text:          #f2eefc;   /* основной текст */
  --text-dim:      #b9aee0;   /* приглушённый текст */
  --pink:          #ff3df0;   /* неон розовый */
  --violet:        #8b2fff;   /* неон фиолетовый */
  --blue:          #3d7bff;   /* неон синий */
  --border:        rgba(139, 47, 255, 0.35);
  --glow:          0 0 24px rgba(255, 61, 240, 0.35), 0 0 48px rgba(139, 47, 255, 0.25);
  --grad:          linear-gradient(100deg, var(--pink), var(--violet) 55%, var(--blue));
  --radius:        18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(139, 47, 255, 0.25), transparent 60%),
    radial-gradient(900px 600px at 90% 20%, rgba(61, 123, 255, 0.15), transparent 60%),
    var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

/* ================= Кнопки ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 28px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:active { transform: scale(.97); }

.btn--primary {
  color: #fff;
  background: var(--grad);
  box-shadow: var(--glow);
}
.btn--primary:hover { box-shadow: 0 0 30px rgba(255, 61, 240, .55), 0 0 60px rgba(139, 47, 255, .4); }

.btn--ghost {
  color: var(--text-dim);
  background: transparent;
  border-color: var(--border);
}
.btn--ghost:hover { color: var(--text); border-color: var(--violet); }

/* ================= Заглушка 18+ ================= */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: var(--text);
  background:
    radial-gradient(900px 560px at 50% 28%, rgba(139, 47, 255, .28), transparent 62%),
    radial-gradient(700px 420px at 72% 78%, rgba(255, 61, 240, .1), transparent 66%),
    var(--bg);
}
.age-gate__box {
  width: 100%;
  max-width: 520px;
  padding: 64px 36px;
  text-align: center;
  background: rgba(18, 10, 38, .76);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--glow);
  backdrop-filter: blur(12px);
}
.age-gate__text {
  margin: 0 0 34px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  text-wrap: balance;
}
.age-gate__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.age-gate__box {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: 72px 38px;
  background: rgba(18, 10, 38, .8);
  border: 1px solid rgba(255, 61, 240, .28);
  border-radius: 24px;
  box-shadow: 0 0 30px rgba(255, 61, 240, .24), 0 0 70px rgba(139, 47, 255, .2);
  backdrop-filter: blur(12px);
}

@media (max-width: 720px) {
  .age-gate {
    overflow-y: auto;
    padding: 32px 14px;
  }
  .age-gate__box {
    padding: 46px 22px;
  }
}

/* ================= Анимация дыма ================= */
.smoke {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.smoke__puff {
  --smoke-light: rgba(232, 222, 255, .42);
  --smoke-mid: rgba(168, 126, 239, .28);
  --smoke-dark: rgba(91, 46, 165, .16);
  --smoke-line: rgba(245, 239, 255, .24);
  position: absolute;
  bottom: -180px;
  left: 50%;
  width: 360px;
  height: 420px;
  border-radius: 42% 58% 54% 46% / 58% 44% 56% 42%;
  background:
    radial-gradient(ellipse at 28% 56%, transparent 0 17%, var(--smoke-line) 20%, var(--smoke-mid) 29%, transparent 44%),
    radial-gradient(ellipse at 69% 34%, transparent 0 14%, var(--smoke-light) 18%, var(--smoke-mid) 27%, transparent 42%),
    radial-gradient(ellipse at 58% 72%, var(--smoke-dark) 0, var(--smoke-mid) 18%, transparent 42%),
    conic-gradient(from 22deg at 48% 52%, transparent 0 8%, var(--smoke-dark) 12%, transparent 19% 42%, var(--smoke-mid) 49%, transparent 57% 78%, var(--smoke-line) 84%, transparent 92%);
  filter: blur(11px) contrast(1.12);
  opacity: 0;
  will-change: transform, opacity;
}
.smoke__puff::before,
.smoke__puff::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.smoke__puff::before {
  inset: 8% 7% 12%;
  border-radius: 58% 42% 46% 54% / 48% 62% 38% 52%;
  background:
    radial-gradient(ellipse at 32% 38%, transparent 0 20%, var(--smoke-line) 23%, transparent 34%),
    radial-gradient(ellipse at 62% 58%, transparent 0 24%, var(--smoke-light) 27%, var(--smoke-dark) 34%, transparent 45%),
    conic-gradient(from 205deg at 52% 48%, transparent 0 13%, var(--smoke-mid) 18%, transparent 25% 58%, var(--smoke-line) 64%, transparent 72%);
  filter: blur(5px);
  animation: smoke-fold 5.5s ease-in-out infinite alternate;
}
.smoke__puff::after {
  inset: 18% 12% 5% 18%;
  border-radius: 38% 62% 58% 42% / 62% 44% 56% 38%;
  background:
    radial-gradient(ellipse at 42% 34%, transparent 0 15%, var(--smoke-light) 18%, transparent 29%),
    radial-gradient(ellipse at 58% 68%, transparent 0 19%, var(--smoke-line) 22%, var(--smoke-dark) 31%, transparent 43%);
  filter: blur(4px);
  animation: smoke-fold 4.5s ease-in-out -2s infinite alternate-reverse;
}
.smoke--bg {
  position: fixed;
  z-index: 0;
}
.smoke--bg .smoke__puff {
  width: 460px;
  height: 520px;
  --smoke-light: rgba(225, 212, 255, .32);
  --smoke-mid: rgba(158, 111, 229, .23);
  --smoke-dark: rgba(82, 38, 151, .14);
  --smoke-line: rgba(241, 234, 255, .2);
}
@keyframes smoke-fold {
  0%   { transform: translate(-3%, 2%) scale(.94) rotate(-7deg); }
  50%  { transform: translate(4%, -3%) scale(1.04, .96) rotate(6deg); }
  100% { transform: translate(-1%, -6%) scale(.98, 1.08) rotate(13deg); }
}

/* ================= Первый экран ================= */
.site {
  --smoke-detail-opacity: .87;
  --smoke-contrast: 1.2;
  --smoke-blur: 8px;
  position: relative;
}
.intro,
.socials,
.about,
.footer { position: relative; z-index: 1; }

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 48px 20px 64px;
  text-align: center;
}
.cover {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.cover__link { display: block; line-height: 0; }
.cover__link picture { display: block; }
.cover__logo {
  width: 100%;
  max-width: 620px;
  height: auto;
  opacity: .97;
  border-radius: var(--radius);
  filter: drop-shadow(0 0 40px rgba(139, 47, 255, .45));
  transition: transform .3s ease, filter .3s ease;
}
.cover__link:hover .cover__logo {
  transform: translateY(-4px);
  filter: drop-shadow(0 0 55px rgba(255, 61, 240, .55));
}

.intro__copy {
  width: 100%;
  max-width: 760px;
  margin: 40px auto 0;
}
.intro__text {
  margin: 0;
  color: var(--text-dim);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  line-height: 1.65;
  text-wrap: balance;
}
.intro__text + .intro__text { margin-top: 24px; }
.socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 40px;
}
.socials__title {
  margin: 0;
  color: var(--text);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
}
.socials__links {
  display: flex;
  justify-content: center;
  gap: 26px;
}
.social {
  color: var(--text);
  line-height: 0;
  border-radius: 50%;
  transition: transform .2s ease, color .2s ease, filter .2s ease;
  filter: drop-shadow(0 0 10px rgba(139, 47, 255, .4));
}
.social:hover {
  transform: translateY(-4px) scale(1.06);
  color: var(--pink);
  filter: drop-shadow(0 0 16px rgba(255, 61, 240, .7));
}

.points-title {
  max-width: 760px;
  margin: 48px auto 0;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.16;
  text-wrap: balance;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 64px;
  margin-top: 28px;
  padding: 8px 12px 4px;
  color: var(--pink);
  text-decoration: none;
}
.scroll-cue span {
  width: 22px;
  height: 22px;
  margin-top: -9px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(255, 61, 240, .8));
  animation: scroll-chevron 1.8s ease-in-out infinite;
}
.scroll-cue span:nth-child(2) { animation-delay: .18s; }
.scroll-cue span:nth-child(3) { animation-delay: .36s; }
@keyframes scroll-chevron {
  0%, 12% { transform: translateY(-8px) rotate(45deg); opacity: 0; }
  38%, 62% { opacity: 1; }
  88%, 100% { transform: translateY(8px) rotate(45deg); opacity: 0; }
}

/* ================= Список точек ================= */
.about {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

/* ================= Сетка точек ================= */
.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.point {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 28px 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.point:hover {
  transform: translateY(-6px);
  background: var(--bg-3);
  border-color: var(--violet);
  box-shadow: var(--glow);
}
.point__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.point__icon {
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--glow);
}
.point__address {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
}
.point__district {
  font-size: 13px;
  font-weight: 600;
  color: var(--pink);
  margin: 0 0 4px;
  letter-spacing: .01em;
}
.point__note {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0 0 12px;
}
.point__phone {
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 12px 0 8px;
  padding: 8px 18px;
  min-height: 40px;
  background: rgba(139, 47, 255, .12);
  border: 1px solid var(--border);
  border-radius: 50px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.point__phone::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
  background: currentColor;
  -webkit-mask: no-repeat center / contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.4c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.4 0 .8-.3 1z"/></svg>');
  mask: no-repeat center / contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.4c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.4 0 .8-.3 1z"/></svg>');
}
.point__phone:hover {
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 0 18px rgba(255, 61, 240, .4);
  transform: translateY(-1px);
}
.point__hours {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-dim);
  margin: auto 0 0;
  padding-top: 4px;
}
.point__hours-line {
  display: block;
}
.point__hours-line + .point__hours-line {
  margin-top: 3px;
}

/* Всплывающее меню телефона */
.phone-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  min-width: 180px;
  margin-top: 6px;
  padding: 6px;
  background: rgba(13, 6, 29, .98);
  border: 1px solid var(--violet);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5), var(--glow);
  animation: phone-menu-in .16s ease;
}
@keyframes phone-menu-in {
  from { opacity: 0; transform: translate(-50%, -4px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
.phone-menu__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.phone-menu__item--call { color: #fff; background: var(--grad); margin-bottom: 4px; }
.phone-menu__item--call:hover { box-shadow: 0 0 16px rgba(255, 61, 240, .45); }
.phone-menu__item--copy:hover { background: var(--bg-3); color: var(--pink); }

/* ================= Фоновый дым — Клубы ================= */
.smoke--bg .smoke__puff {
  bottom: -380px;
  width: 560px;
  height: 430px;
  border-radius: 62% 38% 54% 46% / 45% 60% 40% 55%;
  background:
    radial-gradient(ellipse at 24% 65%, transparent 0 13%, rgba(241, 235, 255, .25) 17%, rgba(151, 108, 218, .19) 28%, transparent 42%),
    radial-gradient(ellipse at 57% 34%, transparent 0 16%, rgba(224, 210, 255, .28) 20%, rgba(101, 55, 176, .14) 31%, transparent 45%),
    radial-gradient(ellipse at 79% 70%, rgba(81, 41, 144, .14), rgba(174, 129, 235, .18) 19%, transparent 39%);
  filter: blur(var(--smoke-blur)) contrast(var(--smoke-contrast));
  animation: smoke-billow-up 17s cubic-bezier(.3, 0, .55, 1) infinite;
}
.smoke--bg .smoke__puff::before {
  opacity: var(--smoke-detail-opacity);
}
.smoke--bg .smoke__puff::after {
  opacity: calc(var(--smoke-detail-opacity) * .9);
}
.smoke--bg .smoke__puff:nth-child(1) { left: 2%; animation-delay: -3s; }
.smoke--bg .smoke__puff:nth-child(2) { left: 25%; animation-delay: -12s; }
.smoke--bg .smoke__puff:nth-child(3) { left: 48%; animation-delay: -6s; }
.smoke--bg .smoke__puff:nth-child(4) { left: 72%; animation-delay: -15s; }
.smoke--bg .smoke__puff:nth-child(5) { left: 94%; animation-delay: -9s; }
.smoke--bg .smoke__puff:nth-child(6) { left: 58%; animation-delay: -18s; }

@keyframes smoke-billow-up {
  0%   { transform: translate(-55%, 20vh) scale(.38, .5) rotate(-8deg); opacity: 0; }
  16%  { opacity: var(--smoke-detail-opacity); }
  48%  { transform: translate(-42%, -48vh) scale(.96, 1.08) rotate(13deg); opacity: calc(var(--smoke-detail-opacity) * .76); }
  100% { transform: translate(-63%, -128vh) scale(1.5, 1.65) rotate(-18deg); opacity: 0; }
}

/* ================= Облегчённый мобильный дым ================= */
@media (max-width: 720px), (hover: none) and (pointer: coarse) {
  .intro {
    min-height: 100vh;
    min-height: 100svh;
  }

  .smoke--bg {
    contain: strict;
  }

  .smoke--bg .smoke__puff {
    bottom: -44vh;
    bottom: -44svh;
    width: 92vw;
    width: min(92vw, 440px);
    height: 92vw;
    height: min(92vw, 440px);
    background: url("assets/smoke-mobile.webp") center / contain no-repeat;
    filter: none;
    opacity: 0;
    animation: mobile-smoke-rise 22s linear infinite;
    will-change: transform, opacity;
  }

  .smoke--bg .smoke__puff::before,
  .smoke--bg .smoke__puff::after {
    display: none;
  }

  .smoke--bg .smoke__puff:nth-child(1) {
    left: 16%;
    animation-delay: -4s;
  }

  .smoke--bg .smoke__puff:nth-child(2) {
    left: 52%;
    animation-delay: -12s;
  }

  .smoke--bg .smoke__puff:nth-child(3) {
    left: 88%;
    animation-delay: -19s;
  }

  .smoke--bg .smoke__puff:nth-child(n + 4) {
    display: none;
  }

  .cover__logo {
    filter: none;
    box-shadow: 0 0 24px rgba(139, 47, 255, .28);
    transition: none;
  }

  .cover__link:hover .cover__logo {
    transform: none;
    filter: none;
  }

  .socials {
    gap: 0;
  }

  .socials__title {
    margin-bottom: 22px;
  }

  .socials__links {
    gap: 0;
    align-items: center;
  }

  .social {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    filter: none;
  }

  .social + .social {
    margin-left: 24px;
  }

  .social svg {
    display: block;
    width: 48px;
    height: 48px;
  }

  .social:hover {
    transform: none;
    color: var(--text);
    filter: none;
  }
}

@keyframes mobile-smoke-rise {
  0% {
    transform: translate3d(-50%, 18vh, 0) scale(.72);
    transform: translate3d(-50%, 18svh, 0) scale(.72);
    opacity: 0;
  }
  12% { opacity: .52; }
  58% { opacity: .36; }
  100% {
    transform: translate3d(-50%, -176vh, 0) scale(1.18);
    transform: translate3d(-50%, -176svh, 0) scale(1.18);
    opacity: 0;
  }
}

/* ================= Подвал ================= */
.footer {
  text-align: center;
  padding: 30px 20px 40px;
  color: var(--text-dim);
  font-size: 14px;
  border-top: 1px solid var(--border);
}

/* ================= Адаптив ================= */
@media (max-width: 900px) {
  .points { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .points { grid-template-columns: 1fr; }
  .intro { padding: 28px 14px 64px; }
  .intro__copy { margin-top: 32px; }
  .intro__text + .intro__text { margin-top: 20px; }
  .socials { margin-top: 32px; }
  .social svg { width: 48px; height: 48px; }
  .points-title { margin-top: 40px; }
  .about { padding-top: 20px; }
  .btn { min-width: 220px; }
  .age-gate__text { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .smoke--bg .smoke__puff {
    display: none;
    animation: none;
  }

  .smoke--bg .smoke__puff:first-child {
    display: block;
    right: auto;
    left: 50%;
    bottom: -12vh;
    bottom: -12svh;
    width: 110vw;
    max-width: 720px;
    height: 110vw;
    max-height: 720px;
    background: url("assets/smoke-mobile.webp") center / contain no-repeat;
    filter: none;
    opacity: .3;
    margin: 0;
    transform: translate3d(-50%, 0, 0);
    will-change: auto;
  }

  .smoke--bg .smoke__puff::before,
  .smoke--bg .smoke__puff::after {
    display: none;
  }

  .scroll-cue span {
    animation: none;
    opacity: .7;
  }
}

