/* style.css — CLEAN + SINGLE SOURCE OF TRUTH (no duplicates) */

:root{
  --bg:#050506;
  --fg:#f5f5f7;
  --muted:rgba(245,245,247,.62);
  --stroke:rgba(245,245,247,.10);
  --glass:rgba(10,10,10,.35);
}

@font-face{
  font-family: 'Modulus';
  src: url('/static/fonts/Modulus-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
html {
  scroll-behavior: smooth;
}
body{
  margin:0;
  color:var(--fg);
  background:
    radial-gradient(900px 520px at 25% 5%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(800px 520px at 75% 0%, rgba(255,255,255,.04), transparent 60%),
    linear-gradient(180deg, #040405, #08080a);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  min-height:100vh;
  overflow-x:hidden;
}

/* шум */
body::before{
  content:"";
  position:fixed; inset:0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  opacity:.06;
  pointer-events:none;
  z-index:0;
}

/* гарантируем, что контент выше фоновых canvas */
main, section, header, footer{ position:relative; z-index:2; }

/* ===== CANVAS background ===== */
.waves{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

/* ===== TOPBAR ===== */
.topbar{
  position: sticky;
  top: 0;
  z-index: 10000;
  padding: 18px 18px 14px;
}

.topbar__inner{
  position: relative; /* якорь для .mobile */
  max-width:1200px;
  margin:0 auto;

  display:flex;
  align-items: center;
  justify-content:space-between;
  gap:16px;

  padding:16px 18px 18px;
  border-radius:22px;
  border:1px solid var(--stroke);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
/* burger */
.burger{
  display:none;
  height: 44px;
  width: 44px;
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(245,245,247,.14);
  background: rgba(245,245,247,.04);
  cursor: pointer;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:4px;
}
.topbar__inner .nav__link,
.topbar__inner .btn,
.topbar__inner .burger{
  height: 44px;
  display:flex;
  align-items:center;
  line-height: 1;
  padding-block: 0;
}
/* brand */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--fg);
  min-width:260px;
  position:relative;
  z-index:2;
}
.brand__logo{
  width:38px;
  height:38px;
  border-radius:12px;
  object-fit:cover;
  border:1px solid rgba(245,245,247,.14);
}
.brand__name{
  font-family:'Modulus', sans-serif;
  font-weight:750;
  letter-spacing:.18em;
  font-size:14px;
  text-transform:uppercase;
  line-height:1.15;
}
.brand__tag{
  margin-top:4px;
  font-size:12px;
  color:var(--muted);
  letter-spacing:.08em;
  text-transform:uppercase;
}

/* nav */
.nav{
  display:flex;
  gap:18px;
    right:5%;
  align-items:center;
  position:relative;
  z-index:2;
}
.nav__link{
  color:rgba(245,245,247,.75);
  text-decoration:none;
  font-size:16px;
  letter-spacing:.02em;
  padding:10px 12px;
  border-radius:14px;
}

.nav__link:hover{
  color:var(--fg);
  background: rgba(245,245,247,.06);
}

/* actions */
.actions{
  display:flex;
  align-items:center;
  gap:12px;
  position:relative;
  z-index:2;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:16px;
  border:1px solid rgba(245,245,247,.14);
  text-decoration:none;
  color:var(--fg);
  background: rgba(245,245,247,.04);
  white-space:nowrap;
  font-size:16px;
  letter-spacing:.01em;
}

.btn:hover{ background: rgba(245,245,247,.07); }

.btn--ghost{ color:rgba(245,245,247,.72); }
.btn--ghost:hover{ color:var(--fg); }

.btn--primary{
  border:1px solid rgba(245,245,247,.18);
  background: linear-gradient(180deg, rgba(245,245,247,.16), rgba(245,245,247,.06));
  box-shadow: 0 20px 70px rgba(0,0,0,.55);
}

.btn--cta{
  background: rgba(255,255,255,.92);
  color: rgba(10,10,12,.92);
  border: 1px solid rgba(255,255,255,.18);
  padding: 14px 18px;
  border-radius: 18px;
  box-shadow:
    0 18px 60px rgba(0,0,0,.55),
    0 1px 0 rgba(255,255,255,.35) inset;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn--cta:hover{
  background: rgba(255,255,255,.74);
  border-color: rgba(255,255,255,.14);
  transform: translateY(-1px);
  box-shadow:
    0 22px 70px rgba(0,0,0,.62),
    0 1px 0 rgba(255,255,255,.26) inset;
}
.btn--cta:active{ transform: translateY(0); }

.btn--telegram{
  background: rgba(255,255,255,.92);
  color: rgba(10,10,12,.92);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    0 18px 60px rgba(0,0,0,.55),
    0 1px 0 rgba(255,255,255,.35) inset;
  transition: all .2s ease;
}
.btn--telegram:hover{
  background: rgba(255,255,255,.78);
  transform: translateY(-1px);
}

.btn__icon{ opacity:.9; display:inline-flex; }


.burger:hover{ background: rgba(245,245,247,.07); }

.burger__line{
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: rgba(245,245,247,.95);
}

/* ===== MOBILE DROPDOWN (ONE SOURCE OF TRUTH) ===== */
.mobile{
  display:none; /* включим на мобилке */
  position:absolute;
  top: calc(100% ); /* -1px чтобы не было "стыка" */
    right: -1px;
    left:-1px;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: black;

  overflow:hidden;

  opacity: 0;
  transform: translateY(-10px);
  pointer-events:none;

  transition: opacity .22s ease, transform .28s cubic-bezier(.16,1,.3,1);
  z-index: 20000;
}
.mobile.is-open{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}
.mobile__link{
  display:flex;
    margin: 0px;
  align-items:center;
  padding:18px 18px;
  color: rgba(245,245,247,.92);
  text-decoration:none;
  border-top:1px solid rgba(255,255,255,.08);
  transition: background .18s ease, color .18s ease;
}
.mobile__link:first-child{ border-top:none; }
.mobile__link:hover{
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.96);
}

/* СКЛЕЙКА (ТОЛЬКО НА МОБИЛКЕ) */
@media (max-width: 900px){
  .burger{ display:flex; }
  .nav{ display:none; }
  .btn--ghost{ display:none; }
  .brand{ min-width:auto; }

  .mobile{ display:flex; flex-direction:column; }

  .topbar__inner.is-merged{
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
  }
  .mobile.is-open{
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top-color: transparent;
  }
}

/* Защита: на десктопе НЕ может быть шва */
@media (min-width: 981px){
  .topbar__inner.is-merged{
    border-bottom-left-radius: 22px !important;
    border-bottom-right-radius: 22px !important;
    border-bottom-color: var(--stroke) !important;
  }
  .mobile{ display:none !important; }
}

/* ===== HERO ===== */
.hero{
  position: relative;
  min-height: 100vh;

  display:flex;
  flex-direction:column;
  align-items:center;
    min-width: 100vw;
  padding-top: clamp(4vh, 10vh, 4vh);
  gap: clamp(18px, 3.2vh, 32px);

  overflow:hidden;
}

.hero__content{
  width:100%;
  max-width:920px;
  text-align:center;
  position:relative;
  z-index:10;
  padding: 0 18px;
}

.hero__title{
  margin: 0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: .10em;

  font-family:'Modulus', sans-serif;
  font-weight:500;
  letter-spacing: clamp(.18em, 2.4vw, .32em);
  line-height:.92;

  font-size: clamp(52px, 8.2vw, 118px);
  font-feature-settings: "ss01" on, "ss02" on, "ss03" on, "ss04" on;
  font-variant-ligatures: discretionary-ligatures;
}

.hero__word{
  position:relative;
  color:#ffffff;
  text-shadow:
    0 0 8px rgba(255,255,255,.35),
    0 0 18px rgba(255,255,255,.18),
    0 0 32px rgba(255,255,255,.10);
  animation: glowPulse 6s ease-in-out infinite;
}
.hero__word::before{
  content: attr(data-text);
  position:absolute;
  inset:0;
  color:#ffffff;
  filter: blur(12px);
  opacity:.35;
  z-index:-1;
  animation: glowPulseAura 6s ease-in-out infinite;
}
.hero__wordAccent{ margin-top: -0.06em; }

.hero__subtitle{
  margin: 18px auto 0;
  max-width:640px;
  color: var(--muted);
  font-size:16px;
  line-height:1.7;
    margin-bottom: 2%;
  text-shadow: 0 6px 24px rgba(0,0,0,.65);
}

.hero__actions{
  margin-top: 22px;
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

.hero__globeWrap{
  width: min(980px, 92vw);
  aspect-ratio: 1 / 1;
  position: relative;
  z-index: 20;
  pointer-events: auto;
}
.globe{
  width: 100%;
  height: 100%;
  display:block;
  pointer-events:auto;
  opacity:1;
}

/* ===== GENERIC SECTION ===== */
.section{ position:relative; padding:86px 0 96px; }
.container{ width: min(1200px, calc(100% - 40px)); margin:0 auto; }

/* ===== REVEAL (ONE VERSION) ===== */
.reveal{
  opacity: 0;
  transform: translateX(-60px);
  filter: blur(4px);
  transition:
    opacity .5s ease,
    transform .7s cubic-bezier(.16,1,.3,1),
    filter .5s ease;
  will-change: opacity, transform, filter;
}
.reveal.is-in{
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

/* =========================================================
   FEATURES
   ========================================================= */
.section--features{
  position:relative;
  padding:110px 0 120px;
}

.section__title{
  margin:0;
  font-family:"Sora", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  font-weight:500;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing:-0.02em;
  color: rgba(255,255,255,.95);
}
.section__subtitle{
  margin:14px 0 0;
  max-width:720px;
  font-family:"Sora", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  font-size:16px;
  line-height:1.7;
  color: rgba(255,255,255,.60);
}

.section--features .features{
  width:100%;
  max-width:100%;

  display:grid;
  gap:18px;
  align-items:stretch;

  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-areas:
    "globe  devices multi"
    "globe  support speed"
    "secure support refer";
}
.section--features .card--globe   { grid-area: globe; }
.section--features .card--devices { grid-area: devices; }
.section--features .card--multi   { grid-area: multi; }
.section--features .card--support { grid-area: support; }
.section--features .card--speed   { grid-area: speed; }
.section--features .card--secure  { grid-area: secure; }
.section--features .card--refer   { grid-area: refer; }

/* card base */
.section--features .card{
  position:relative;
  border-radius:24px;
  padding:18px;

  display:flex;
  flex-direction:column;
  gap:12px;

  min-height:140px;

  border:1px solid rgba(255,255,255,.07);
  background: linear-gradient(180deg, rgba(255,255,255,.030), rgba(255,255,255,.014));

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.section--features .card::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  border:1px solid rgba(255,255,255,0);
  opacity:0;
  pointer-events:none;
  transition: opacity .25s ease, border-color .25s ease;
}
.section--features .card:hover{
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 42px 115px rgba(0,0,0,.55);
}
.section--features .card:hover::after{
  opacity:1;
  border-color: rgba(255,255,255,.35);
}

.section--features .card__head{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.section--features .card__title{
  margin:0;
  font-size:16px;
  font-weight:500;
  letter-spacing:.01em;
  color: rgba(255,255,255,.92);
  min-width:0;
}
.section--features .card__text{
  margin:0;
  font-size:14px;
  line-height:1.7;
  color: rgba(255,255,255,.60);
  min-width:0;
}

.section--features .icon{
  width:32px;
  height:32px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  flex: 0 0 auto;
}
.section--features .icon svg{
  width:18px;
  height:18px;
  opacity:.9;
}

/* chips */
.section--features .chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  font-size:20px;
  line-height:1;
  border:1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.82);
  white-space:nowrap;
}
.section--features .chip--muted{
  border-color: rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
  color: rgba(255,255,255,.68);
}
.section--features .chip__icon{
  width:14px;
  height:14px;
  color: rgba(255,255,255,.95);
  flex-shrink:0;
  opacity:.95;
}

/* marquee */
.section--features .marquee{
  width:100%;
  min-width:0;
  position:relative;
  overflow:hidden;
  margin-top: 20px;
  mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.section--features .marquee__track{
  display:flex;
  width:max-content;
  gap:22px;
  will-change: transform;
  animation: marquee-move 18s linear infinite;
}
.section--features .marquee__row{
  display:flex;
  gap:10px;
}
.section--features .marquee--muted .marquee__track{ animation-duration:22s; }

@keyframes marquee-move{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* critical shrink fixes (grid children) */
.section--features .features > *{ min-width:0; }
.section--features .card{ min-width:0; }

/* outline green button */
.btn--outlineGreen{
  align-self:flex-start;
  gap:10px;
  border-radius:16px;
  padding:12px 16px;
  background: rgba(0,0,0,.20);
  border:1px solid rgba(245,245,247,.22);
  color: rgba(245,245,247,.92);
}
.btn--outlineGreen:hover{
  background: rgba(245,245,247,.06);
  border-color: rgba(245,245,247,.32);
}

/* mini globe canvas */
.section--features .card--globe{
  overflow:hidden;
  padding-bottom:0;
}
.section--features .globeMini{
  margin-top:10px;
  height:210px;
  border-radius:22px;
  overflow:hidden;
  position:relative;
  background: rgba(0,0,0,.20);
  border:1px solid rgba(255,255,255,.08);
}
.section--features #globeMini{
  width:100%;
  height:100%;
  display:block;
  opacity:.9;
}

/* responsive features */
@media (max-width: 980px){
  .section--features{ padding:80px 0 90px; }
  .section--features .features{
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "globe globe"
      "devices multi"
      "support support"
      "secure speed"
      "refer refer";
  }
  .section--features .globeMini{ height:185px; }
}

@media (max-width: 640px){
  .topbar{ padding:14px 12px 10px; }
  .topbar__inner{ padding:14px 14px 16px; border-radius:20px; }
  .container{ width: min(1200px, calc(100% - 24px)); }
  .hero__content{ padding: 0 14px; }
  .hero__title{ letter-spacing: clamp(.14em, 4vw, .24em); }
  .hero__subtitle{ font-size:15px; }

  .section--features .features{
    grid-template-columns: 1fr;
    grid-template-areas:
      "globe"
      "devices"
      "multi"
      "support"
      "speed"
      "secure"
      "refer";
  }
  .section--features .card{ padding:16px; border-radius:20px; }
  .section__title{ font-size:28px; }
  .btn--outlineGreen{ width:100%; justify-content:center; }
}

@media (max-width: 480px){
  .brand__text{ display:none; }
  .btn{ font-size:15px; padding:11px 14px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  .section--features .marquee__track{ animation:none; transform:none; }
  .section--features .card{ transition:none; }
}

/* ===== TRIAL SECTION ===== */
.section--trial{ padding:34px 0 64px; }

.section--trial .trial{
  max-width:980px;
  margin:0 auto;
  padding:18px 18px 20px;
  border-radius:24px;

  border:1px solid rgba(255,255,255,.07);
  background: linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.012));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
}

.section--trial .trial__head{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:14px;
}

.section--trial .trial .icon{
  width:32px;
  height:32px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  flex:0 0 auto;
}

.section--trial .trial__title{
  font-size:16px;
  font-weight:500;
  letter-spacing:.01em;
  color: rgba(255,255,255,.92);
  line-height:1.25;
}

.section--trial .trial__sub{
  margin-top:8px;
  font-size:14px;
  line-height:1.7;
  color: rgba(255,255,255,.60);
}

/* ===== BUTTON: BORDER RUNNER (OUTLINE ONLY) ===== */
.btn--beam{
  --accent: #00ff88;
  --border: rgba(255,255,255,.22);
  --border-radius: 999px;
  --border-width: 2px;
  --trail-size: 21; /* cqmin */
  --speed: 4.5s;

  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:16px 22px;
  border-radius: var(--border-radius);
  color:#fff;
  text-decoration:none;
  background: rgba(255,255,255,.06);
}

/* outline ring */
.btn--beam .beam-border{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;

  container-type: inline-size;

  padding: var(--border-width);
  border-radius: inherit;

  background: linear-gradient(var(--border), var(--border)) border-box;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

/* green ring on hover */
.btn--beam .beam-border::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  padding: inherit;

  background: linear-gradient(var(--accent), var(--accent)) border-box;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;

  opacity:0;
  transition: opacity .18s ease;
  pointer-events:none;
}
.btn--beam:hover .beam-border::after{ opacity:1; }

/* running trail */
.btn--beam .beam-trail{
  width: calc(var(--trail-size) * 1cqmin);
  aspect-ratio: 2 / 1;
  position:absolute;

  background: radial-gradient(100% 100% at right, var(--accent), transparent 55%);

  offset-path: border-box;
  offset-anchor: 100% 50%;
  offset-rotate: 0deg;

  animation: journey var(--speed) linear infinite;
}

.btn--beam .beam-content{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  gap:.6rem;
}

.btn--beam .btn__icon{ display:inline-block; transform: translateY(-1px); }

@keyframes journey{ to { offset-distance: 100%; } }

@media (prefers-reduced-motion: reduce){
  .btn--beam .beam-trail{ animation:none; }
}

/* если тебе не нужен хвост на hover — оставляем как было */
.btn--beam:hover .beam-trail{
  opacity: 0;
  transition: opacity .18s ease;
}

/* ===== GLOBAL CARD (used outside features too) ===== */
.card{
  position:relative;
  border-radius:24px;
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height:140px;

  border:1px solid rgba(255,255,255,.07);
  background: linear-gradient(180deg, rgba(255,255,255,.030), rgba(255,255,255,.014));

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  border:1px solid rgba(255,255,255,0);
  opacity:0;
  pointer-events:none;
  transition: opacity .25s ease, border-color .25s ease;
}
.card:hover{
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 42px 115px rgba(0,0,0,.55);
}
.card:hover::after{
  opacity:1;
  border-color: rgba(255,255,255,.35);
}

/* ===== LOCATIONS ===== */
.section--locations .section__head{ margin-bottom: 18px; }

.brand-modulus{
  font-family:'Modulus', sans-serif;
  font-weight:500;
  letter-spacing:.18em;
}

.locationsGrid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
}
@media (max-width: 980px){
  .locationsGrid{ grid-template-columns: 1fr; }
}

.locationsCard{ padding:18px; }

.locationsCard__head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.locationsCard__title{
  font-weight:600;
  letter-spacing:.2px;
}
.locationsCard__hint{
  color: rgba(255,255,255,.55);
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.locationsMap{
  height:420px;
  border-radius:18px;
  overflow:hidden;
  position:relative;
  z-index:1; /* leaflet stays in its block */
}

/* marker dot */
.mDot{ position:relative; width:26px; height:26px; }
.mDot__core{
  position:absolute; inset:0; margin:auto;
  width:10px; height:10px; border-radius:999px;
  background:#00ff88;
  box-shadow: 0 0 18px rgba(0,255,136,.45);
}
.mDot__ring{
  position:absolute; inset:0; margin:auto;
  width:22px; height:22px; border-radius:999px;
  border:1px solid rgba(0,255,136,.55);
  box-shadow: 0 0 22px rgba(0,255,136,.25);
  opacity:.75;
}
.mDot.is-active .mDot__core{
  width:12px; height:12px;
  box-shadow: 0 0 24px rgba(0,255,136,.65);
}
.mDot.is-active .mDot__ring{
  width:26px; height:26px;
  opacity:1;
}

/* list rows */
.serversList {
  max-height: 420px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.22) rgba(255,255,255,0.04);
}
.serversList::-webkit-scrollbar {
  width: 10px;
}

.serversList::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.serversList::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.serversList::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.28);
  background-clip: padding-box;
}
.serverRow{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.30);
  color: inherit;
  cursor:pointer;
  text-align:left;
  user-select:none;

  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.serverRow:hover{
  transform: translateY(-1px);
  border-color: rgba(0,255,136,.35);
  background: rgba(0,0,0,.38);
}
.serverRow.is-active{
  border-color: rgba(0,255,136,.55);
  background: rgba(0,0,0,.45);
}

.serverFlag{
  width:34px; height:34px;
  border-radius:999px;
  overflow:hidden;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  flex: 0 0 auto;
  display:grid;
  place-items:center;
}
.serverFlag img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.serverText{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
  flex:1;
}
.serverTitle{ font-weight:600; }
.serverSub{
  font-size:13px;
  color: rgba(255,255,255,.60);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.serverMeta{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}
.serverSpeed{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(0,255,136,.25);
  background: rgba(0,0,0,.35);
}
.serverTag{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}

/* popup */
.popup{ color:#000; }
.popup__head{ display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.popup__flag{ width:22px; height:22px; border-radius:999px; object-fit:cover; }
.popup__title{ font-weight:650; }
.popup__sub{ font-size:12px; opacity:.75; margin-bottom:8px; }
.popup__chip{
  display:inline-block;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(0,255,136,.25);
  background: rgba(0,0,0,.35);
  color:#fff;
}

/* ===== FAQ ===== */
.faq{
  padding:72px 0 0;
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(255,255,255,0.06), transparent 60%),
    radial-gradient(1200px 600px at 80% 100%, rgba(255,255,255,0.04), transparent 60%),
    #07080a;
  color:#fff;
  position:relative;
  z-index:3;
}

.faq__container{
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}
.faq__head{ margin-bottom:42px; }
.faq__title{
  margin:0;
  font-size:44px;
  line-height:1.05;
  letter-spacing:-0.02em;
}
.faq__subtitle{
  margin:14px 0 0;
  color: rgba(255,255,255,0.45);
  font-size:14px;
  line-height:1.7;
}

.faq__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:18px 22px;
  align-items:start;
}

.faq__item{
  border-radius:22px;
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  overflow:hidden;
  align-self:start;
}

.faq__item > summary{ list-style:none; }
.faq__item > summary::-webkit-details-marker{ display:none; }

.faq__q{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;

  padding:22px 26px;
  cursor:pointer;
  user-select:none;

  font-size:20px;
  font-weight:650;
  letter-spacing:-0.01em;
}

.faq__arrow{
  flex:0 0 auto;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:999px;
  color: rgba(255,255,255,0.6);
  transition: transform 220ms ease, color 220ms ease, background 220ms ease;
}

.faq__item:hover{ background: rgba(255,255,255,0.075); border-color: rgba(255,255,255,0.09); }
.faq__item:hover .faq__arrow{ color: rgba(255,255,255,0.85); }

.faq__a{
  padding: 0 26px 22px;
  margin-top:-6px;
  color: rgba(255,255,255,0.65);
  font-size:14px;
  line-height:1.7;
}
.faq__item[open] .faq__arrow{ transform: rotate(90deg); }

.faq__q:focus-visible{
  outline:2px solid rgba(255,255,255,0.25);
  outline-offset:-2px;
  border-radius:22px;
}

@media (max-width: 900px){
  .faq__grid{ grid-template-columns: 1fr; }
  .faq__title{ font-size:38px; }
  .faq__q{ font-size:18px; }
    .locationsCard__head{flex-direction: column}
}

/* ===== GLOW KEYFRAMES ===== */
@keyframes glowPulse{
  0%{
    text-shadow:
      0 0 6px rgba(255,255,255,.20),
      0 0 12px rgba(255,255,255,.10),
      0 0 22px rgba(255,255,255,.06);
  }
  50%{
    text-shadow:
      0 0 12px rgba(255,255,255,.55),
      0 0 28px rgba(255,255,255,.35),
      0 0 54px rgba(255,255,255,.18);
  }
  100%{
    text-shadow:
      0 0 6px rgba(255,255,255,.20),
      0 0 12px rgba(255,255,255,.10),
      0 0 22px rgba(255,255,255,.06);
  }
}
@keyframes glowPulseAura{
  0%,100%{ opacity:.18; filter: blur(10px); }
  50%{ opacity:.42; filter: blur(18px); }
}
/* ===== LOGIN MODAL ===== */


/* Мягкая пульсация */
@keyframes loginGlow{
  0%, 100%{
    box-shadow:
      0 0 8px rgba(0,255,136,0.35),
      0 0 18px rgba(0,255,136,0.25);
  }
  50%{
    box-shadow:
      0 0 14px rgba(0,255,136,0.65),
      0 0 28px rgba(0,255,136,0.45);
  }
}

/* Усиление при наведении */
#openLogin.btn--ghost:hover,
#openLogin.btn--ghost:focus-visible{
  box-shadow:
    0 0 18px rgba(0,255,136,0.9),
    0 0 40px rgba(0,255,136,0.6);
  filter: brightness(1.1);
}
#openLogin.btn--ghost::after{
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
  circle at center,
  rgba(255,255,255,0.15) 0%,
  rgba(255,255,255,0.05) 30%,
  transparent 60%
);
filter: blur(20px);
  filter: blur(10px);
  opacity: 0.6;
  animation: halo 2.2s ease-in-out infinite;
}

@keyframes halo{
  0%,100%{ opacity: 0.4; transform: scale(0.98); }
  50%{ opacity: 0.8; transform: scale(1.03); }
}
/* ==== TOP TOAST (уведомление сверху) ==== */
.topToast{
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translate(-50%, -140%);
  z-index: 9999;

  min-width: 280px;
  max-width: 720px;
  padding: 12px 14px;

  border-radius: 14px;
  background: rgba(20, 20, 24, 0.92);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;

  box-shadow: 0 18px 60px rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);

  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
  pointer-events: none;
}

.topToast.is-show{
  transform: translate(-50%, 0);
  opacity: 1;
}

.topToast.is-error{
  border-color: rgba(255, 76, 76, 0.35);
}

.topToast.is-success{
  border-color: rgba(80, 255, 170, 0.28);
}
.toast{
  display:none;
  margin-bottom:14px;
  padding:12px 14px;
  border-radius:12px;
  background:rgba(255,62,62,0.14);
  border:1px solid rgba(255,62,62,0.35);
  color:#ffd7d7;
  font-size:14px;
}

.toast.is-show{
  display:block;
}
/* Общий эффект нажатия для всех кнопок/ссылок-кнопок */
button,
.btn,
a.btn,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
  -webkit-tap-highlight-color: transparent; /* приятнее на телефоне */
}

/* Нажатие */
button:active,
.btn:active,
a.btn:active,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active {
  transform: scale(0.95);
  filter: brightness(0.96);
}

/* Для клавиатуры (tab) — без “уменьшения”, только фокус */
button:focus-visible,
.btn:focus-visible,
a.btn:focus-visible,
input[type="button"]:focus-visible,
input[type="submit"]:focus-visible,
input[type="reset"]:focus-visible {
  outline: 2px solid rgba(255,255,255,0.35);
  outline-offset: 3px;
}
/* Обёртка как кнопка */
.modal__tgWrap {
  width: 100%;
    padding-top: 15px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* по умолчанию (десктоп) — бургер скрыт */
/* ДЕСКТОП: скрыть бургер всегда */
@media (min-width: 769px){
  .burger{ display:none !important; }
  .nav{ display:flex !important; }
  .mobile{ display:none !important; }
}

/* Логин */
.simple-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.simple-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.simple-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 10, 16, 0.08);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition:
    background 0.1s linear,
    backdrop-filter 0.1s linear,
    -webkit-backdrop-filter 0.1s linear;
}

.simple-modal.is-open .simple-modal__overlay {
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.simple-modal__window {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -42%);
  opacity: 0;
  scrollbar-width: none;
  width: min(520px, calc(100vw - 16px));
  min-height: clamp(180px, 26vh, 340px);
  max-height: calc(100vh - 16px);

  padding: clamp(14px, 2.5vw, 28px);
  box-sizing: border-box;
  overflow-y: auto;

  color: #ffffff;
  border-radius: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  z-index: 2147483647;
  container-type: inline-size;

  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}

.simple-modal.is-open .simple-modal__window {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.simple-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.simple-modal__close:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: scale(1.04);
}

.modal-brand {
  margin: 40px 0 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.10em;

  font-family: "Modulus", sans-serif;
  font-weight: 500;
  line-height: 0.92;
  text-align: center;

  letter-spacing: clamp(0.08em, 1.8cqw, 0.26em);
  font-size: clamp(40px, 20cqw, 120px);
}

.modal-brand__word {
  position: relative;
  display: block;
  color: #ffffff;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.35),
    0 0 18px rgba(255, 255, 255, 0.18),
    0 0 32px rgba(255, 255, 255, 0.10);
  animation: modalBrandGlowPulse 6s ease-in-out infinite;
}

.modal-brand__word::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: #ffffff;
  filter: blur(12px);
  opacity: 0.35;
  z-index: -1;
  animation: modalBrandGlowAura 6s ease-in-out infinite;
}

.modal-brand__word--accent {
  margin-top: -0.06em;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-action {
  position: relative;
  overflow: hidden;

  width: 100%;
  min-height: 60px;
  padding: 16px 20px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;

  color: #ffffff;
  font-family: "Sora", sans-serif;
  font-size: clamp(15px, 2.2cqw, 22px);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;

  transition:
    transform 0.18s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    opacity 0.22s ease,
    filter 0.22s ease;
}

.auth-action::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  transform: skewX(-20deg);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.auth-action:hover {
  filter: brightness(0.92);
}

.auth-action:active {
  transform: scale(0.96);
}

.auth-action:active::after {
  animation: authButtonSlide 0.45s ease;
}

.auth-action--primary {
  background: #f4f6f8;
  color: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.auth-action--primary:hover {
  background: #e8edf2;
}

.auth-action--glass {
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.auth-action--glass:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.auth-action__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: currentColor;
}

.auth-action__icon--telegram {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2aabee;
  color: #ffffff;
}
.auth-action__icon svg {
  width: 25px;
  height: 25px;
}
.auth-action__text {
  display: inline-block;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0;
}

.auth-divider__line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
}

.auth-divider__text {
  color: rgba(255, 255, 255, 0.42);
  font-size: 14px;
  font-weight: 700;
  text-transform: lowercase;
}

@keyframes authButtonSlide {
  0% {
    left: -120%;
  }
  100% {
    left: 140%;
  }
}

@media (max-width: 480px) {
  .auth-action {
    min-height: 56px;
    padding: 14px 16px;
    border-radius: 12px;
  }

  .auth-divider__text {
    font-size: 13px;
  }
}

@keyframes modalBrandGlowPulse {
  0%, 100% {
    text-shadow:
      0 0 8px rgba(255, 255, 255, 0.35),
      0 0 18px rgba(255, 255, 255, 0.18),
      0 0 32px rgba(255, 255, 255, 0.10);
  }
  50% {
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.55),
      0 0 24px rgba(255, 255, 255, 0.28),
      0 0 42px rgba(255, 255, 255, 0.16);
  }
}

@keyframes modalBrandGlowAura {
  0%, 100% {
    opacity: 0.28;
    filter: blur(12px);
  }
  50% {
    opacity: 0.42;
    filter: blur(16px);
  }
}

@media (max-width: 480px) {
  .simple-modal__window {
    width: calc(100vw - 12px);
    max-height: calc(100vh - 12px);
    padding: 14px;
    border-radius: 18px;
  }

  .simple-modal__close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .modal-brand {
    margin: 34px 0 18px;
  }

  .auth-action {
    min-height: 56px;
    padding: 14px 16px;
    border-radius: 18px;
  }

  .auth-divider__text {
    font-size: 13px;
  }
}
.modal-panel {
  display: none;
}

.modal-panel--active {
  display: block;
  animation: modalPanelEnter 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.login-field__label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.login-field__input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  outline: none;
  font-size: 15px;

  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.login-field__input:focus {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.login-link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 14px;
  width: fit-content;
  transition: color 0.2s ease;
}

.login-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

@keyframes modalPanelEnter {
  0% {
    opacity: 0;
    transform: translateX(34px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.password-wrap {
  position: relative;
}

.password-wrap .login-field__input {
  padding-right: 52px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.password-toggle:hover {
  color: #ffffff;
}

.forgot-title {
  margin: 0 auto 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}
.form-title {
  text-align: center;
  font-weight: 700;
  font-size: 24px;
  color: #ffffff;
}
.captcha-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.captcha-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  width: 100%;
}

.captcha-image {
  display: block;
  width: 180px;
  height: 70px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #f5f7fa;
  object-fit: cover;
}

.captcha-refresh {
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.form-error {
  display: none;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 8px;
  margin-bottom: 6px;
  background: rgba(192, 22, 42, 0.1);
  border: 1px solid rgba(192, 22, 42, 0.3);
  color: #f08090;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
}

.form-error.is-visible {
  display: flex;
}

.form-error__icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: #f08090;
}

.form-error__text {
  flex: 1 1 auto;
  min-width: 0;
}
#verifyPanel {
  padding-top: 4px;
}

#verifyPanel .form-title {
  margin-top: 6px;
  margin-bottom: 10px;
  font-size: 32px;
  line-height: 1.05;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
}

.verify-subtitle {
  margin: 0 auto 14px;
  max-width: 420px;
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.verify-subtitle strong,
.verify-subtitle span {
  color: #ffffff;
}

.verify-timer-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 0 auto 18px;
  padding: 10px 14px;
  width: fit-content;
  min-width: 190px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 500;
}

#verifyTimer {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.verify-code {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 0 0 16px;
}

.verify-code__input {
  width: 100%;
  height: 58px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.verify-code__input:focus {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.05);
}

.verify-code__input::placeholder {
  color: transparent;
}

#verifyPanel .form-error {
  margin-top: 2px;
  margin-bottom: 14px;
}

.verify-resend-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  text-align: center;
}

.verify-resend-text {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.verify-resend-btn {
  display: none;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.verify-resend-btn:hover {
  opacity: 0.8;
}

.verify-resend-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.verify-resend-wait {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
}

#verifyPanel .auth-action--primary,
#verifyPanel .auth-action--glass {
  width: 100%;
}

#verifyPanel .captcha-block {
  margin-top: 4px;
  margin-bottom: 14px;
}

@media (max-width: 640px) {
  #verifyPanel .form-title {
    font-size: 28px;
  }

  .verify-code {
    gap: 8px;
  }

  .verify-code__input {
    height: 52px;
    font-size: 22px;
    border-radius: 12px;
  }
}
.btn-loader {
  display: block;
  animation: btnSpin 0.8s linear infinite;
}

@keyframes btnSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.auth-action.is-loading {
  pointer-events: none;
  opacity: 0.9;
}

.auth-action.is-loading .auth-action__text {
  opacity: 0.95;
}
.footer {
  background: transparent;
}

.footer__inner {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr 1fr;
  gap: 32px;
}

.footer__logo {
  font-size: 30px;
      font-family:'Modulus', sans-serif;
  font-weight:500;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 14px;
}

.footer__text {
  max-width: 380px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.6;
}

.footer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transition: 0.2s ease;
}

.footer__chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.footer__title {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a,
.footer__linkBtn {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.footer__nav a:hover,
.footer__linkBtn:hover {
  color: #fff;
}

.footer__bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.5;
}

.footer__payments {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__paymentsLabel {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-weight: 700;
  margin-right: 2px;
}

@media (max-width: 980px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 22px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .footer {
    padding-bottom: 36px;
  }

  .footer__inner {
    margin-top: 22px;
    padding-top: 22px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer__logo {
    font-size: 26px;
  }

  .footer__text {
    font-size: 15px;
  }

  .footer__nav a,
  .footer__linkBtn {
    font-size: 15px;
  }

  .footer__copy {
    font-size: 13px;
  }
}
.pay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
    gap:3px;
}

.pay-icon svg {
  display: block;
}
.btn-telegram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-telegram__icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-telegram__icon svg {
  display: block;
  width: 22px;
  height: 22px;
}