/* path: spacelevels/static/css/main.css */
/* Space Levels — Battle Pass landing (clean & stable) */

:root{
  --bg: #0b0c10;
  --panel: rgba(255,255,255,0.06);
  --panel-2: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.10);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.66);
  --shadow: 0 18px 60px rgba(0,0,0,0.50);
  --radius: 18px;
  --accent: #7C3AED;
  --container: 1120px;
  --container-wide: 1320px;
  --topnav-h: 88px;
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans";
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 25% 0%, rgba(124,58,237,0.26), transparent 55%),
    radial-gradient(900px 600px at 85% 45%, rgba(59,130,246,0.18), transparent 60%),
    radial-gradient(900px 900px at 40% 100%, rgba(124,58,237,0.14), transparent 55%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

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

.container{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}
.container--wide{
  width: min(var(--container-wide), calc(100% - 48px));
  margin: 0 auto;
}

.muted{ color: var(--muted); }
.center{ text-align: center; }
.w100{ width: 100%; }
.btn-nowrap{ white-space: nowrap; }

hr{
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 18px 0;
}

/* =========================================
   Buttons / Chips
========================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  user-select:none;
  white-space: nowrap;
}
.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
}
.btn:active{ transform: translateY(0px); }
.btn:disabled{ opacity:.6; cursor:not-allowed; transform:none; }

.btn-primary{
  border-color: rgba(124,58,237,0.40);
  background: linear-gradient(135deg, rgba(124,58,237,0.95), rgba(124,58,237,0.55));
  box-shadow: 0 18px 60px rgba(124,58,237,0.20), 0 12px 40px rgba(0,0,0,0.45);
}
.btn-primary:hover{
  border-color: rgba(124,58,237,0.55);
  background: linear-gradient(135deg, rgba(124,58,237,1), rgba(124,58,237,0.62));
}

.btn-ghost{ background: transparent; box-shadow:none; }

.btn-xl{
  padding: 22px 38px;
  font-size: 18px;
  font-weight: 850;
  border-radius: 20px;
  min-width: 320px;
  box-shadow:
    0 20px 60px rgba(124,58,237,0.35),
    0 10px 40px rgba(0,0,0,0.55);
}
.btn-xl:hover{
  transform: translateY(-2px);
  box-shadow:
    0 28px 80px rgba(124,58,237,0.45),
    0 14px 50px rgba(0,0,0,0.65);
}

.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.86);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.chip:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-1px);
}
.chip-icon{
  width: 44px;
  height: 44px;
  padding: 0;
}
.chip-icon svg{ width: 18px; height: 18px; }

/* =========================================
   Flash messages
========================================= */
.flash-wrap{
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 24px));
  z-index: 80;
  display: grid;
  gap: 10px;
}
.flash{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.flash.success{ border-color: rgba(34,197,94,0.35); }
.flash.error{ border-color: rgba(239,68,68,0.35); }
.flash.warning{ border-color: rgba(245,158,11,0.35); }

/* =========================================
   Top navigation (stable)
========================================= */
.topnav{
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  min-height: var(--topnav-h);

  display:flex;
  align-items:center;
  gap: 14px;

  padding: 12px clamp(18px, 3vw, 48px);
  background: rgba(8,10,14,0.55);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand{
  display:flex;
  align-items:center;
  gap: 14px;
  padding: 6px 10px;
  border-radius: 16px;
  flex: 0 0 auto;
}

.brand-logo{
  width: 95px;
  height: 68px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-mark{
  width: 44px; height: 44px;
  border-radius: 16px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(124,58,237,0.95), rgba(59,130,246,0.55));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 44px rgba(124,58,237,0.18);
  font-weight: 900;
}

.brand-text{
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: rgba(255,255,255,0.90);
  white-space: nowrap;
}

.navlinks{
  flex: 1 1 auto;
  min-width: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 18px;
  white-space: nowrap;

  overflow-x: auto;
  scrollbar-width: none;
}
.navlinks::-webkit-scrollbar{ display:none; }

.navlinks a{
  color: rgba(255,255,255,0.80);
  font-weight: 750;
  font-size: 14px;
  padding: 10px 8px;
  border-radius: 12px;
  transition: background .18s ease, color .18s ease;
}
.navlinks a:hover{
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.95);
}

.navright{
  flex: 0 0 auto;
  display:flex;
  align-items:center;
  gap: 10px;
  white-space: nowrap;
}

.burger{
  display:none;
  margin-left: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  width: 42px;
  height: 42px;
}

/* Mobile drawer */
.mobile-drawer{
  display:none;
  position: fixed;
  top: calc(var(--topnav-h) + 8px);
  left: 16px;
  right: 16px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.60);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  z-index: 60;
}
.mobile-drawer a{
  display:block;
  padding: 12px 12px;
  border-radius: 14px;
  color: rgba(255,255,255,0.82);
}
.mobile-drawer a:hover{ background: rgba(255,255,255,0.06); }
.mobile-drawer.is-open{ display:block; }

@media (max-width: 980px){
  .burger{ display:inline-grid; place-items:center; }
  .navlinks{ display:none; }
  .navright{ display:none; }
  .brand-logo{ width: 56px; height: 56px; }
  :root{ --topnav-h: 74px; }
}

/* =========================================
   HERO
========================================= */
.hero-screen{
  position: relative;
  min-height: calc(100svh - var(--topnav-h));
  display: flex;
  align-items: center;
  padding: 76px 0 84px;
  overflow: hidden;
  background: var(--hero-bg) center / cover no-repeat;
}
.hero-screen::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 540px at 18% 22%, rgba(124,58,237,0.38), transparent 60%),
    radial-gradient(800px 520px at 85% 78%, rgba(96,165,250,0.20), transparent 55%),
    linear-gradient(180deg, rgba(10,11,16,0.40) 0%, rgba(10,11,16,0.88) 70%, rgba(10,11,16,0.96) 100%);
  pointer-events:none;
}
.hero-screen__inner{
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
}
.hero-screen__content{
  text-align: center;
  max-width: 1100px;
}
.hero-title{
  margin: 18px auto 14px;
  font-weight: 1000;
  letter-spacing: -0.02em;
  line-height: 1.04;
  font-size: clamp(44px, 5.2vw, 78px);
  text-shadow: 0 10px 40px rgba(0,0,0,0.55);
}

/* Белый текст + бегущая волна без пропадания */
.hero-title--echo{
  color: #fff; /* fallback */
}

@supports (-webkit-text-fill-color: transparent) and (-webkit-background-clip: text){
  .hero-title--echo{
    text-shadow: none;

    /* 1) moving wave (transparent outside)
       2) base white fill (always visible) */
    background-image:
      linear-gradient(100deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0) 42%,
        rgba(124,58,237,0.95) 50%,
        rgba(79,70,229,0.95) 55%,
        rgba(37,99,235,0.92) 60%,
        rgba(255,255,255,0) 68%,
        rgba(255,255,255,0) 100%
      ),
      linear-gradient(180deg,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0.96) 100%
      );

    background-repeat: no-repeat;
    background-size: 320% 100%, 100% 100%;
    background-position: -140% 50%, 0% 0%;

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    /* читаемость на фоне */
    -webkit-text-stroke: 1px rgba(0,0,0,0.22);
    filter: drop-shadow(0 14px 45px rgba(0,0,0,0.55));

    animation: slEchoRun 4.2s linear infinite;
  }
}

@keyframes slEchoRun{
  0%   { background-position: -140% 50%, 0% 0%; }
  100% { background-position:  140% 50%, 0% 0%; }
}

@media (prefers-reduced-motion: reduce){
  .hero-title--echo{ animation: none !important; }
}

.hero-subtitle{
  margin: 0 auto 22px;
  max-width: 880px;
  color: rgba(255,255,255,0.72);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.5;
}
.hero-actions{
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* =========================================
   Section headings
========================================= */
.zones-head, .levels-head, .faq-head, .reviews-head{
  text-align: center;
  margin-bottom: 26px;
}
.zones-head h2, .faq-title, .reviews-title, .levels-title{
  margin: 0;
  font-weight: 950;
  letter-spacing: -0.6px;
  font-size: clamp(34px, 4.2vw, 56px);
}

/* =========================================
   HOW v2 (как это работает)
========================================= */
.howv2{ padding: 96px 0 44px; }

.howv2-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.howv2-card{
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  border-radius: 24px;
  padding: 18px 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  min-height: 210px;
}
.howv2-card::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 20% 20%, rgba(124,58,237,0.28), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(59,130,246,0.18), transparent 60%);
  filter: blur(30px);
  opacity: .45;
  pointer-events:none;
}
.howv2-card > *{ position: relative; z-index: 1; }

.howv2-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.howv2-step{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  font-weight: 900;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.howv2-icon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 16px 44px rgba(0,0,0,0.35);
}
.howv2-icon svg{
  width: 22px;
  height: 22px;
  color: rgba(255,255,255,0.86);
}

.howv2-title{
  font-weight: 950;
  font-size: 16px;
  letter-spacing: -0.2px;
  margin-bottom: 8px;
}
.howv2-desc{
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 10px;
}
.howv2-points{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.35;
}
.howv2-points li{ margin: 6px 0; }

.howv2-note{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.56);
}

.howv2-card--accent{
  border-color: rgba(124,58,237,0.26);
  background: linear-gradient(135deg, rgba(124,58,237,0.14), rgba(255,255,255,0.03));
}

@media (max-width: 1200px){
  .howv2-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px){
  .howv2-grid{ grid-template-columns: 1fr; }
  .howv2-card{ min-height: auto; }
}

/* =========================================
   ZONES (Battle Pass игры)
========================================= */
.zones{ padding: 86px 0 40px; }

.zones-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.zone-card{
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.32);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  min-height: 560px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.zone-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.36);
}
.zone-card::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 18% 18%, rgba(124,58,237,0.45), transparent 55%),
    radial-gradient(circle at 82% 78%, rgba(59,130,246,0.26), transparent 60%);
  filter: blur(34px);
  opacity: 0.55;
  pointer-events:none;
  z-index: 0;
}
.zone-card > *{ position: relative; z-index: 1; }

.zone-top{
  padding: 18px 18px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.zone-game{
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.3px;
}
.zone-badge{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.82);
  white-space: nowrap;
}
.zone-sub{
  padding: 0 18px 8px;
  color: rgba(255,255,255,0.66);
  font-size: 13px;
  line-height: 1.35;
}
.zone-bullets{
  margin: 8px 18px 0;
  padding: 0 0 0 16px;
  color: rgba(255,255,255,.70);
  font-size: 13px;
  line-height: 1.35;
}
.zone-bullets li{ margin: 4px 0; }
.zone-rewards{
  margin: 10px 18px 0;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.35;
}
.zone-cta{
  margin: 10px 18px 0;
  font-weight: 850;
  color: rgba(255,255,255,.88);
}
.zone-media{
  margin-top: auto;
  height: 360px;
  background: var(--zone-img) center / cover no-repeat;
}

@media (max-width: 1020px){
  .zones-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .zone-card{ min-height: 520px; }
  .zone-media{ height: 330px; }
}
@media (max-width: 640px){
  .zones-grid{ grid-template-columns: 1fr; }
  .zone-card{ min-height: 500px; }
  .zone-media{ height: 320]px; }
}

/* =========================================
   TASKS / WEEK BOX
========================================= */
.tasks{ padding: 86px 0 40px; }
.tasks-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.task-card{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
}
.task-top{
  display:flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.task-level{ font-weight: 950; }
.task-reward{ color: rgba(255,255,255,.72); font-size: 13px; }
.task-title{ color: rgba(255,255,255,.62); font-size: 13px; margin-bottom: 6px; }
.task-text{ font-size: 16px; font-weight: 800; }

.week-box{
  margin-top: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  padding: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
}
.week-title{
  font-weight: 950;
  margin-bottom: 10px;
}
.week-list{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.76);
  line-height: 1.5;
}
.week-list li{ margin: 6px 0; }

@media (max-width: 980px){
  .tasks-grid{ grid-template-columns: 1fr; }
}

/* =========================================
   REWARDS
========================================= */
.rewards{ padding: 86px 0 40px; }
.rewards-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.reward-card{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 18px;
  padding: 14px;
}
.reward-title{ font-weight: 950; margin-bottom: 6px; }
.reward-sub{ color: rgba(255,255,255,.66); font-size: 13px; line-height: 1.35; }

@media (max-width: 980px){
  .rewards-grid{ grid-template-columns: 1fr; }
}

/* =========================================
   LEVELS (pricing)
========================================= */
.levels{ padding: 86px 0 40px; }

.levels-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.level-card{
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.35);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.level-card--featured{
  border-color: rgba(124,58,237,0.30);
  background: linear-gradient(135deg, rgba(124,58,237,0.14), rgba(255,255,255,0.03));
}
.level-top{
  display:flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.level-name{ font-weight: 950; font-size: 22px; letter-spacing: -0.3px; }
.level-desc{ color: rgba(255,255,255,0.66); font-size: 13px; margin-top: 4px; }
.level-price{ font-weight: 950; font-size: 22px; white-space: nowrap; }
.level-price span{ color: rgba(255,255,255,0.55); font-weight: 700; font-size: 13px; margin-left: 6px; }

.level-list{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.78);
  line-height: 1.45;
}
.level-list li{ margin: 8px 0; }
.level-btn{
  margin-top: 14px;
  width: 100%;
}

@media (max-width: 980px){
  .levels-grid{ grid-template-columns: 1fr; }
}

/* =========================================
   FAQ
========================================= */
.faq-section{ padding: 86px 0; }
.faq{ margin-top: 26px; display: grid; gap: 14px; }

.faq-item{
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 70px rgba(0,0,0,0.35);
}
.faq-item[open]{
  border-color: rgba(124,58,237,0.30);
  background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(0,0,0,0.38));
}
.faq-q{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
}
.faq-q::-webkit-details-marker{ display:none; }
.faq-q strong{ font-size: 16px; font-weight: 850; }
.faq-icon{
  width: 42px; height: 42px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.22);
  position: relative;
  flex: 0 0 auto;
}
.faq-icon::before{
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,0.70);
  border-bottom: 2px solid rgba(255,255,255,0.70);
  transform: rotate(45deg);
  top: -2px;
}
.faq-item[open] .faq-icon{
  border-color: rgba(124,58,237,0.28);
  background: rgba(124,58,237,0.12);
}
.faq-item[open] .faq-icon::before{
  transform: rotate(-135deg);
  top: 4px;
}
.faq-a{
  padding: 0 22px 22px;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  line-height: 1.6;
  max-width: 980px;
}

@media (max-width: 720px){
  .faq-q{ padding: 18px 16px; }
  .faq-a{ padding: 0 16px 18px; }
  .faq-icon{ width: 38px; height: 38px; border-radius: 14px; }
}

/* =========================================
   REVIEWS (FIXED: no giant images)
========================================= */
.reviews{ padding: 86px 0 60px; }

.reviews-title{
  margin: 0 0 10px;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: -0.02em;
}
.reviews-subtitle{
  margin: 0;
  color: rgba(255,255,255,0.70);
  font-size: 16px;
  line-height: 1.5;
}

.reviews-scroller{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 10px 6px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.reviews-scroller::-webkit-scrollbar{ height: 10px; }
.reviews-scroller::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
}
.reviews-scroller::-webkit-scrollbar-track{
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
}

.review-card{
  flex: 0 0 clamp(280px, 32vw, 380px);
  scroll-snap-align: start;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.28);
}

.review-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}
.review-user{
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.review-avatar{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  flex: 0 0 auto;
}
.review-meta{ min-width: 0; }
.review-name{ font-weight: 900; letter-spacing: -0.01em; line-height: 1.05; }
.review-tag{
  font-size: 12px;
  color: rgba(255,255,255,0.62);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}
.review-stars{
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.75);
  opacity: .9;
  white-space: nowrap;
}
.review-text{
  margin: 0;
  color: rgba(255,255,255,0.76);
  font-size: 14px;
  line-height: 1.55;
}
.reviews-hint{
  text-align: center;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* =========================================
   FINAL CTA (stable)
========================================= */
.final-cta{ padding: 86px 0 86px; }
.final-cta__wrap{ position: relative; }
.final-cta__card{
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  padding: 28px;
  box-shadow: 0 22px 80px rgba(0,0,0,0.40);
  backdrop-filter: blur(14px);
  overflow: hidden;
  position: relative;
}
.final-cta__card::before{
  content:"";
  position:absolute;
  inset:-60%;
  background:
    radial-gradient(circle at 18% 30%, rgba(124,58,237,0.30), transparent 60%),
    radial-gradient(circle at 86% 60%, rgba(59,130,246,0.20), transparent 65%);
  filter: blur(34px);
  opacity: .55;
  pointer-events:none;
}
.final-cta__card > *{ position: relative; z-index: 1; }

.final-cta__kicker{
  color: rgba(255,255,255,0.70);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}
.final-cta__title{
  margin: 0 0 10px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 950;
}
.final-cta__text{
  margin: 0 0 18px;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  max-width: 900px;
}
.final-cta__actions{ margin-top: 10px; }
.final-cta__note{ margin-top: 12px; font-size: 13px; }

.cta-decor{ display:none; } /* если захочешь — включим красивые декоры позже */

/* =========================================
   Footer
========================================= */
.footer{
  padding: 64px 0 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(8,10,14,0.55);
  backdrop-filter: blur(18px);
}
.footer__grid{
  display: grid;
  grid-template-columns: 1.25fr 1.45fr 0.85fr;
  gap: 44px;
  align-items: start;
}
.footer__brand{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
}
.footer__logo{
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(124,58,237,.22));
}
.footer__brand-text{
  font-weight: 900;
  font-size: 22px;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
}
.footer__company{
  margin-top: 10px;
  color: rgba(255,255,255,0.62);
  font-weight: 650;
  font-size: 13px;
  line-height: 1.35;
}
.footer__email{
  display: inline-block;
  margin-top: 18px;
  font-size: clamp(20px, 3.0vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.92);
  line-height: 1.05;
}
.footer__email:hover{ color: rgba(255,255,255,1); }
.footer__col-title{
  font-weight: 950;
  font-size: 20px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.92);
}
.footer__links{ display: grid; gap: 8px; }
.footer__links a{
  color: rgba(255,255,255,0.62);
  line-height: 1.25;
  font-size: 14px;
}
.footer__links a:hover{ color: rgba(255,255,255,0.90); }
.footer__right{
  display: grid;
  gap: 26px;
  justify-items: end;
  text-align: right;
}
.footer__help-title{ color: rgba(255,255,255,0.72); font-size: 14px; margin-bottom: 6px; }
.footer__help-link{ color: var(--accent); font-weight: 950; font-size: 16px; }
.footer__pay-title{ color: rgba(255,255,255,0.72); font-size: 14px; margin-bottom: 8px; }
.footer__pay-icons{
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.pay-logo--combo{
  height: 26px;
  width: auto;
  opacity: .92;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.25));
}
.footer__bottom{
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}

@media (max-width: 980px){
  .footer__grid{ grid-template-columns: 1fr; gap: 26px; }
  .footer__right{ justify-items: start; text-align: left; }
  .footer__logo{ width: 48px; height: 48px; flex-basis: 48px; }
  .pay-logo--combo{ height: 24px; }
}

/* =========================================
   Modal login
========================================= */
.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.68);
  backdrop-filter: blur(10px);
  z-index: 90;
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
}

.modal{
  width: min(880px, 100%);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10,12,18,0.60);
  box-shadow: 0 30px 120px rgba(0,0,0,0.70);
  backdrop-filter: blur(18px);
  position: relative;
  overflow:hidden;
}
.modal::before{
  content:"";
  position:absolute;
  inset:-80px;
  background:
    radial-gradient(circle at 18% 35%, rgba(124,58,237,.24), transparent 55%),
    radial-gradient(circle at 86% 55%, rgba(59,130,246,.18), transparent 62%);
  opacity:.85;
  pointer-events:none;
}
.modal-inner{
  position: relative;
  z-index: 1;
  padding: 28px;
}
.modal-close{
  position: absolute;
  top: 16px;
  right: 16px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  cursor:pointer;
  display:grid;
  place-items:center;
  z-index: 2;
}
.modal h2{
  margin: 0 0 8px;
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 950;
  letter-spacing: -0.8px;
}
.modal p{
  margin: 0 0 18px;
  color: rgba(255,255,255,0.70);
  font-size: 16px;
}
.input{
  width: 100%;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.30);
  color: rgba(255,255,255,0.92);
  outline:none;
}
.input:focus{ border-color: rgba(124,58,237,0.48); background: rgba(0,0,0,0.40); }

@media (max-width: 520px){
  .container, .container--wide{ width: min(1320px, calc(100% - 28px)); }
  .modal-inner{ padding: 18px; }
  .modal-close{ width: 50px; height: 50px; }
}

/* ===== HOTFIX: Topnav centered (grid) ===== */
.topnav{
  display: grid !important;
  grid-template-columns: 1fr auto 1fr; /* левый блок, центр, правый блок */
  align-items: center;
  column-gap: 18px;
}

.topnav .brand{
  justify-self: start;
}

.topnav .navlinks{
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  white-space: nowrap;
  overflow: visible; /* чтобы не уезжало и не резалось */
}

.topnav .navright{
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

/* Лого больше, но без "ломания" высоты шапки */
.brand-logo{
  width: 88px !important;
  height: 56px !important;
  object-fit: contain;
}

.brand-text{
  font-size: 18px;
  font-weight: 900;
}

/* На узких экранах оставляем бургер и прячем центр/право */
@media (max-width: 980px){
  .topnav{
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }
  .topnav .navlinks{ display: none !important; }
  .topnav .navright{ display: none !important; }
  .burger{ display: inline-grid !important; }
}

/* ===== Plans (pricing) like competitor layout ===== */
.plans{
  padding: 90px 0 56px;
}

.plans-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.plan-card{
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.35);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.plan-card::before{
  content:"";
  position:absolute;
  inset:-60%;
  background:
    radial-gradient(circle at 18% 25%, rgba(124,58,237,0.22), transparent 58%),
    radial-gradient(circle at 86% 65%, rgba(59,130,246,0.14), transparent 62%);
  filter: blur(34px);
  opacity: .55;
  pointer-events:none;
}

.plan-card > *{ position: relative; z-index: 1; }

.plan-top{
  display:flex;
  justify-content: space-between;
  align-items:flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.plan-name{
  font-weight: 950;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.plan-desc{
  margin-top: 6px;
  color: rgba(255,255,255,0.66);
  font-size: 14px;
}

.plan-price{
  text-align: right;
  white-space: nowrap;
  font-weight: 950;
  font-size: 22px;
}

.plan-price span{
  color: rgba(255,255,255,0.55);
  font-weight: 750;
  font-size: 14px;
  margin-left: 8px;
}

.plan-list{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}

.plan-list li{ margin: 8px 0; }

.plan-btn{
  margin-top: 16px;
  width: 100%;
}

/* выделение “главного” тарифа (как у конкурента) */
.plan-card--featured{
  border-color: rgba(124,58,237,0.30);
  background: linear-gradient(135deg, rgba(124,58,237,0.14), rgba(255,255,255,0.03));
}

@media (max-width: 980px){
  .plans-grid{ grid-template-columns: 1fr; }
}

/* ==========================================================
   HOW IT WORKS (howv2) — background icons + modern hover tilt
   Paste at the very end of static/css/main.css
   ========================================================== */

.howv2-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 18px;
  perspective: 1200px;
}

@media (max-width: 1200px){
  .howv2-grid{ grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}
@media (max-width: 640px){
  .howv2-grid{ grid-template-columns: 1fr; }
}

.howv2-card{
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  transform: translateZ(0);
  transform-origin: left center;
  transition:
    transform .35s cubic-bezier(.2,.9,.2,1),
    opacity .25s ease,
    filter .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
  will-change: transform;
}

/* мягкий “свет”/градиент */
.howv2-card::after{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(closest-side, rgba(124,58,237,.20), transparent 60%),
    radial-gradient(closest-side, rgba(124,58,237,.10), transparent 65%);
  transform: translate3d(0,0,0);
  opacity: .45;
  pointer-events:none;
  animation: howGlow 6.5s ease-in-out infinite;
}

@keyframes howGlow{
  0%,100%{ transform: translate3d(-4%, -2%, 0) scale(1); opacity:.35; }
  50%{ transform: translate3d(4%, 2%, 0) scale(1.05); opacity:.55; }
}

/* SVG “PNG-like” background icon */
.howv2-card::before{
  content:"";
  position:absolute;
  right:-12px;
  top:-12px;
  width: 150px;
  height: 150px;
  opacity: .22;
  filter: blur(.2px);
  background-repeat: no-repeat;
  background-size: contain;
  transform: rotate(-10deg);
  pointer-events:none;
}

/* dim others when hovering the grid */
.howv2-grid:hover .howv2-card{
  opacity: .55;
  filter: saturate(.9);
  transform: scale(.985);
}
.howv2-grid:hover .howv2-card:hover{
  opacity: 1;
  filter: saturate(1.05);
  border-color: rgba(124,58,237,.35);
  box-shadow: 0 26px 70px rgba(0,0,0,.55);
  transform: translateY(-8px) scale(1.06) rotateZ(-1.2deg) rotateY(-7deg) rotateX(2deg);
}

/* nice focus for keyboard */
.howv2-card:focus-within{
  outline: none;
  border-color: rgba(124,58,237,.45);
  box-shadow: 0 0 0 3px rgba(124,58,237,.18), 0 26px 70px rgba(0,0,0,.55);
}

/* text spacing inside */
.howv2-title{ margin-top: 10px; }
.howv2-text{ margin-top: 8px; opacity: .90; }
.howv2-points{ margin-top: 10px; }

/* --- ICONS per card (SVG data-URI) --- */

/* 1: cart */
.howv2-card:nth-child(1)::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256' viewBox='0 0 256 256'%3E%3Cdefs%3E%3CradialGradient id='g' cx='30%25' cy='30%25' r='80%25'%3E%3Cstop offset='0%25' stop-color='%237C3AED'/%3E%3Cstop offset='100%25' stop-color='%235B21B6' stop-opacity='.2'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect x='24' y='24' width='208' height='208' rx='46' fill='url(%23g)'/%3E%3Cpath d='M78 92h14l10 74h74l10-48H101' fill='none' stroke='white' stroke-opacity='.95' stroke-width='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='118' cy='188' r='10' fill='white' fill-opacity='.9'/%3E%3Ccircle cx='178' cy='188' r='10' fill='white' fill-opacity='.9'/%3E%3C/svg%3E");
}

/* 2: notebook/list */
.howv2-card:nth-child(2)::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256' viewBox='0 0 256 256'%3E%3Cdefs%3E%3CradialGradient id='g' cx='30%25' cy='30%25' r='80%25'%3E%3Cstop offset='0%25' stop-color='%237C3AED'/%3E%3Cstop offset='100%25' stop-color='%235B21B6' stop-opacity='.2'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect x='28' y='24' width='200' height='208' rx='40' fill='url(%23g)'/%3E%3Cpath d='M84 78h88M84 110h88M84 142h66' stroke='white' stroke-opacity='.95' stroke-width='10' stroke-linecap='round'/%3E%3Cpath d='M64 64v128' stroke='white' stroke-opacity='.35' stroke-width='10' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* 3: target/mission */
.howv2-card:nth-child(3)::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256' viewBox='0 0 256 256'%3E%3Cdefs%3E%3CradialGradient id='g' cx='30%25' cy='30%25' r='80%25'%3E%3Cstop offset='0%25' stop-color='%237C3AED'/%3E%3Cstop offset='100%25' stop-color='%235B21B6' stop-opacity='.2'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect x='24' y='24' width='208' height='208' rx='46' fill='url(%23g)'/%3E%3Ccircle cx='128' cy='128' r='64' fill='none' stroke='white' stroke-opacity='.9' stroke-width='10'/%3E%3Ccircle cx='128' cy='128' r='34' fill='none' stroke='white' stroke-opacity='.6' stroke-width='10'/%3E%3Ccircle cx='128' cy='128' r='10' fill='white' fill-opacity='.9'/%3E%3Cpath d='M170 86l-18 18' stroke='white' stroke-opacity='.95' stroke-width='10' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* 4: check */
.howv2-card:nth-child(4)::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256' viewBox='0 0 256 256'%3E%3Cdefs%3E%3CradialGradient id='g' cx='30%25' cy='30%25' r='80%25'%3E%3Cstop offset='0%25' stop-color='%237C3AED'/%3E%3Cstop offset='100%25' stop-color='%235B21B6' stop-opacity='.2'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect x='24' y='24' width='208' height='208' rx='46' fill='url(%23g)'/%3E%3Cpath d='M86 132l26 26 60-72' fill='none' stroke='white' stroke-opacity='.95' stroke-width='12' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* 5: gift */
.howv2-card:nth-child(5)::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256' viewBox='0 0 256 256'%3E%3Cdefs%3E%3CradialGradient id='g' cx='30%25' cy='30%25' r='80%25'%3E%3Cstop offset='0%25' stop-color='%237C3AED'/%3E%3Cstop offset='100%25' stop-color='%235B21B6' stop-opacity='.2'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect x='24' y='24' width='208' height='208' rx='46' fill='url(%23g)'/%3E%3Cpath d='M64 116h128v84H64z' fill='none' stroke='white' stroke-opacity='.9' stroke-width='10'/%3E%3Cpath d='M64 116h128M128 116v84' stroke='white' stroke-opacity='.9' stroke-width='10'/%3E%3Cpath d='M96 116c-14 0-22-10-22-20 0-12 10-20 22-20 18 0 32 24 32 40' fill='none' stroke='white' stroke-opacity='.7' stroke-width='10' stroke-linecap='round'/%3E%3Cpath d='M160 116c14 0 22-10 22-20 0-12-10-20-22-20-18 0-32 24-32 40' fill='none' stroke='white' stroke-opacity='.7' stroke-width='10' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ==========================================================
   HOW IT WORKS (howv2) — minimal text + visible bg icons
   + hover elevate/glow + parallax vars support
   Paste at the very end of static/css/main.css
   ========================================================== */

.howv2-grid{
  perspective: 1200px;
  align-items: stretch;
}

/* делаем карточки "покороче" визуально и чище */
.howv2-card{
  min-height: 270px;
  z-index: 0;
  transform-style: preserve-3d;
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  --scale: 1;
  --rz: 0deg;

  transform:
    translateY(var(--lift))
    scale(var(--scale))
    rotateX(var(--rx))
    rotateY(var(--ry))
    rotateZ(var(--rz));
}

/* минимум текста: оставляем заголовок + 1 строку, остальное скрываем */
.howv2-card .howv2-text{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: .92;
}

.howv2-card .howv2-points,
.howv2-card ul,
.howv2-card .howv2-note,
.howv2-card small{
  display: none !important;
}

/* делаем фон-иконку заметнее и НЕ уводим влево */
.howv2-card::before{
  right: 12px;
  top: 12px;
  width: 180px;
  height: 180px;
  opacity: .34;            /* было слишком бледно */
  transform: rotate(-6deg);
  mix-blend-mode: screen;  /* красиво в твоей теме */
}

/* glow/блик более читаемый */
.howv2-card::after{
  opacity: .38;
}

/* приглушаем остальные при hover по гриду */
.howv2-grid:hover .howv2-card{
  opacity: .50;
  filter: saturate(.9) brightness(.95);
}

.howv2-grid:hover .howv2-card:hover{
  opacity: 1;
  filter: saturate(1.05) brightness(1.02);
  border-color: rgba(124,58,237,.45);
  z-index: 20; /* поверх соседей */
  --scale: 1.08;
  --lift: -10px;
  --rz: -1.2deg;

  box-shadow:
    0 28px 78px rgba(0,0,0,.60),
    0 0 0 1px rgba(124,58,237,.25),
    0 0 0 4px rgba(124,58,237,.10),
    0 0 38px rgba(124,58,237,.25);
}

/* чуть увеличим заголовок внутри карточки (чтобы не было "пусто") */
.howv2-card .howv2-title{
  font-size: 18px;
  line-height: 1.15;
  margin-top: 12px;
}

@media (max-width: 1200px){
  .howv2-card::before{ width: 160px; height: 160px; opacity: .32; }
}
@media (max-width: 640px){
  .howv2-card::before{ width: 140px; height: 140px; opacity: .30; }
}

/* =========================
   ZONES FIX (фон-картинки + glow, без конфликтов ::before)
   ВСТАВИТЬ В САМЫЙ КОНЕЦ main.css
   ========================= */

.section--zones .zone-card{
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  min-height: 520px;
  padding: 26px;
  color: #fff;

  /* ВАЖНО: фон-картинка берется из переменной --zone-img (там уже url(...)) */
  background-image:
    radial-gradient(900px 520px at 18% 12%, rgba(124,58,237,.18), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(10,12,18,.15) 0%, rgba(10,12,18,.62) 65%, rgba(0,0,0,.78) 100%),
    var(--zone-img);

  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;

  /* делаем картинку ярче */
  filter: none;
  box-shadow:
    0 30px 90px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.06),
    0 0 0 1px rgba(255,255,255,.08);

  transform: translateZ(0);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

/* чтобы текст/контент всегда был сверху */
.section--zones .zone-card > *{
  position: relative;
  z-index: 2;
}

/* мягкая “вуаль” поверх картинки (не превращаем в черный прямоугольник) */
.section--zones .zone-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(900px 520px at 30% 10%, rgba(0,0,0,.18), rgba(0,0,0,0) 55%),
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.22) 45%, rgba(0,0,0,.55) 100%);
}

/* glow/обводка — отдельным слоем (не ломает фон) */
.section--zones .zone-card::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  pointer-events:none;
  z-index:3;
  opacity: .55;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--zone-accent) 45%, rgba(255,255,255,.18)),
    0 0 34px color-mix(in srgb, var(--zone-accent) 35%, transparent);
  transition: opacity .22s ease, box-shadow .22s ease;
}

/* hover: НЕ темним, а подсвечиваем и чуть поднимаем */
.section--zones .zone-card:hover{
  transform: translateY(-6px);
  box-shadow:
    0 40px 120px rgba(0,0,0,.60),
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 0 1px color-mix(in srgb, var(--zone-accent) 55%, rgba(255,255,255,.18));
}
.section--zones .zone-card:hover::after{
  opacity: 1;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--zone-accent) 60%, rgba(255,255,255,.20)),
    0 0 56px color-mix(in srgb, var(--zone-accent) 45%, transparent);
}

/* Заголовки — нормальный размер, чтобы не “PU...” */
.section--zones .zone-card__name{
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 14px 30px rgba(0,0,0,.55);
}

/* лого слева */
.section--zones .zone-card__logo{
  width: 65px;
  height: 65px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.45));
}

/* pill */
.section--zones .zone-card__pill{
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.30);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255,255,255,.90);
  font-weight: 800;
  white-space: nowrap;
}

/* =========================================
   ZONES (Games / Battle Pass)
   (NEW markup: zone-card__top / --zone-img)
========================================= */

.section--zones { padding: 86px 0 40px; }

.section--zones .section-title{
  text-align: center;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}

.section--zones .section-subtitle{
  text-align: center;
  margin: 14px auto 0;
  max-width: 760px;
  color: rgba(255,255,255,.72);
  font-size: 18px;
  line-height: 1.45;
}

.zones-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

/* Card base */
.zone-card{
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 520px;
  padding: 0;
  isolation: isolate;
  background: radial-gradient(1200px 600px at 20% 10%, rgba(124,58,237,.25), rgba(0,0,0,0)) ,
              rgba(255,255,255,.03);

  border: 1px solid rgba(255,255,255,.10);

  box-shadow:
    0 20px 80px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.06) inset;

  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

/* Background image from inline --zone-img */
.zone-card::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background-image: var(--zone-img);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  /* make it brighter / more visible */
  opacity: .92;
  filter: saturate(1.25) contrast(1.08) brightness(1.10);

  transform: scale(1.04);
}

/* Readability overlay (does NOT blacken on hover) */
.zone-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;

  background:
    radial-gradient(900px 520px at 20% 15%, rgba(0,0,0,.10), rgba(0,0,0,.55)),
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.62) 70%, rgba(0,0,0,.74) 100%);

  pointer-events:none;
}

/* Content always on top */
.zone-card > *{
  position: relative;
  z-index: 2;
}

/* Top layout */
.zone-card__top{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 22px 0;
}

.zone-card__title{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}

.zone-card__logo{
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex: 0 0 30px;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.45));
}

.zone-card__emoji{
  font-size: 26px;
  line-height: 1;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.45));
}

.zone-card__name{
  font-size: 40px;              /* адекватный размер */
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.96);

  /* stop "PU..." */
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.05;
}

.zone-card__pill{
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.86);
  font-weight: 700;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

/* Bottom area */
.zone-card__bottom{
  position:absolute;
  left: 22px;
  right: 22px;
  bottom: -320px;
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 12px;
}

.zone-card__tag{
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
  color: rgba(255,255,255,.80);
  font-weight: 750;
  letter-spacing: .02em;
  backdrop-filter: blur(10px);
}

.zone-card__list{
  font-size: 22px;
  font-weight: 850;
  color: rgba(255,255,255,.90);
  text-shadow: 0 12px 40px rgba(0,0,0,.55);
}

/* Accent glow (per-card via --zone-accent) */
.zone-card{
  --zone-accent: rgba(124,58,237,1);
}

.zone-card:hover{
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--zone-accent) 55%, rgba(255,255,255,.14));
  box-shadow:
    0 28px 110px rgba(0,0,0,.62),
    0 0 0 1px rgba(255,255,255,.07) inset,
    0 0 0 1px rgba(255,255,255,.06),
    0 0 60px color-mix(in srgb, var(--zone-accent) 45%, rgba(0,0,0,0));
}

/* IMPORTANT: no extra darkening on hover */
.zone-card:hover::before{
  background:
    radial-gradient(900px 520px at 20% 15%, rgba(0,0,0,.06), rgba(0,0,0,.45)),
    linear-gradient(180deg, rgba(0,0,0,.14) 0%, rgba(0,0,0,.54) 70%, rgba(0,0,0,.68) 100%);
}

/* Responsive */
@media (max-width: 1100px){
  .zones-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .zone-card{ min-height: 500px; }
  .zone-card__name{ font-size: 36px; }
}
@media (max-width: 640px){
  .zones-grid{ grid-template-columns: 1fr; }
  .zone-card{ min-height: 480px; }
  .zone-card__name{ font-size: 34px; }
  .zone-card__list{ font-size: 20px; }
}

/* ===== Zones title same style as "Как это работает" ===== */
.section--zones .section-title,
.section--zones .section-title--center{
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-align: center;
  margin: 0 0 14px;
}

.section--zones .section-subtitle,
.section--zones .section-subtitle--center{
  text-align: center;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.5;
  color: rgba(255,255,255,.72);
  margin: 0 auto 28px;
  max-width: 760px;
}

/* ===== ZONES (игры) — фикс компоновки заголовка/пилла ===== */

/* Шапка карточки: теперь вертикально, всё слева */
.zone-card__top{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* Лого + название в одну строку/две строки без обрезания "..." */
.zone-card__title{
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

/* Логотип игры чуть больше */
.zone-card__logo{
  width: 38px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 28px;
}

/* Название — до 2 строк, без "..." (если совсем длинное — аккуратно обрежет на 2-й строке) */
.zone-card__name{
  font-size: 42px;           /* при необходимости можно 40px */
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  min-width: 0;
}

/* Пилл Season/Скоро — теперь под названием и строго слева */
.zone-card__pill{
  align-self: flex-start;
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
}

/* Низ карточки чтобы тоже был слева */
.zone-card__bottom{
  align-items: flex-start;
}

/* ================================
   ZONES (Battle Pass по играм) — FIX layout
   ================================ */

.section--zones .zones-grid{
  align-items: stretch;
}

.section--zones .zone-card{
  position: relative;
}

/* Верх карточки: теперь "пилюля" будет под названием (слева), а не справа */
.section--zones .zone-card__top{
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  align-items: start !important;
}

/* Заголовок: лого + текст в одну линию, без обрезаний */
.section--zones .zone-card__title{
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
  --logo-size: 44px; /* <-- базовый размер лого (можешь менять) */
}

/* Лого игры (слева от названия) */
.section--zones .zone-card__logo{
  width: var(--logo-size) !important;
  height: var(--logo-size) !important;
  flex: 0 0 var(--logo-size) !important;
  object-fit: contain !important;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.35));
}

/* Если вместо лого эмодзи */
.section--zones .zone-card__emoji{
  width: var(--logo-size) !important;
  height: var(--logo-size) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 var(--logo-size) !important;
  font-size: 28px !important;
}

/* Название игры — НЕ режем троеточием */
.section--zones .zone-card__name{
  display: block !important;
  min-width: 0 !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  line-height: 1.05 !important;
  font-size: clamp(26px, 2.4vw, 44px) !important;
}

/* Для длинного названия Standoff 2 можно разрешить перенос */
.section--zones .zone-card--standoff .zone-card__name{
  white-space: normal !important;
}

/* "Season • Май 2026" / "Скоро…" — слева и ровно под названием (с отступом на ширину лого) */
.section--zones .zone-card__pill{
  justify-self: start !important;
  align-self: start !important;
  margin-left: calc(var(--logo-size) + 12px) !important;
}

/* Нижние лейблы тоже не должны конфликтовать */
.section--zones .zone-card__bottom{
  position: relative;
  z-index: 2;
}

/* ===== ZONES: фикс раздвоения + яркость (картинка только 1 слой) ===== */

.zone-card{
  position: relative;
  overflow: hidden;
  isolation: isolate;           /* чтобы слои не мешались */
  background: rgba(10, 10, 16, .55);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 16px 60px rgba(0,0,0,.55);
}

/* если где-то остался старый блок-картинка — отключаем (иначе будет 2 слоя) */
.zone-card__bg{ display:none !important; }

/* ЕДИНСТВЕННЫЙ слой с PNG */
.zone-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;

  background-image: var(--zone-img);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  /* яркость без “двойника” */
  filter: saturate(1.12) contrast(1.08) brightness(1.08);
  opacity: 0.95;

  /* важно: без backdrop-filter (он часто даёт артефакты/дубли) */
  backdrop-filter: none !important;

  /* мягкая оптимизация без дерганий */
  transform: translateZ(0);
}

/* затемняющие/световые градиенты — ОТДЕЛЬНЫМ слоем */
.zone-card::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;

  /* убираем “грязную” черноту, делаем аккуратный затемняющий слой */
  background:
    radial-gradient(900px 520px at 18% 12%, rgba(124,58,237,.22), transparent 55%),
    radial-gradient(700px 460px at 82% 18%, rgba(59,130,246,.18), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.78) 100%);

  /* важно: не использовать mix-blend-mode (иногда даёт “двойник”) */
  mix-blend-mode: normal !important;
}

/* контент поверх всех слоёв */
.zone-card__top,
.zone-card__bottom{
  position: relative;
  z-index: 2;
}

/* hover: НЕ темним, а подсвечиваем */
.zone-card:hover{
  border-color: color-mix(in srgb, var(--zone-accent) 55%, rgba(255,255,255,.18));
  box-shadow:
    0 22px 70px rgba(0,0,0,.65),
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 0 36px color-mix(in srgb, var(--zone-accent) 45%, transparent);
}

/* делаем картинку чуть ярче на hover вместо “черноты” */
.zone-card:hover::before{
  filter: saturate(1.18) contrast(1.10) brightness(1.12);
  opacity: 0.98;
}

/* =========================
   TASKS (Примеры заданий)
   ========================= */

.section--tasks .section-head{ margin-bottom: 18px; }

.tasks-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

@media (max-width: 980px){
  .tasks-grid{ grid-template-columns: 1fr; }
}

.task-card{
  position:relative;
  border-radius: 22px;
  padding: 18px 18px 16px;
  background:
    radial-gradient(1200px 400px at 15% -10%, rgba(124,58,237,.28), transparent 55%),
    radial-gradient(900px 360px at 110% 10%, rgba(59,130,246,.18), transparent 55%),
    rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow:
    0 18px 60px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.06);
  overflow:hidden;
  min-height: 158px;
}

.task-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(124,58,237,.35), rgba(59,130,246,.18), rgba(255,255,255,.06));
  opacity:.35;
  filter: blur(10px);
  pointer-events:none;
}

.task-card--accent{
  border-color: rgba(124,58,237,.22);
  box-shadow:
    0 22px 70px rgba(0,0,0,.52),
    0 0 0 1px rgba(124,58,237,.12),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.task-card__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  position:relative;
  z-index:1;
}

.task-card__lvl{
  display:flex;
  align-items:center;
  gap: 10px;
}

.task-card__lvl-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 700;
  letter-spacing: .2px;
}

.task-card__icon{
  width: 34px;
  height: 34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  background: rgba(124,58,237,.14);
  border: 1px solid rgba(124,58,237,.22);
  box-shadow: 0 10px 30px rgba(124,58,237,.20);
  font-size: 18px;
}

.task-card__reward{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.12);
}

.task-card__reward-label{
  font-size: 12px;
  opacity: .70;
}

.task-card__reward-value{
  font-weight: 800;
  font-size: 14px;
}

.task-card__body{
  margin-top: 14px;
  position:relative;
  z-index:1;
}

.task-card__label{
  font-size: 12px;
  opacity: .70;
  letter-spacing: .22px;
  text-transform: uppercase;
}

.task-card__title{
  margin-top: 6px;
  font-weight: 900;
  font-size: 20px;
  line-height: 1.15;
}

.task-card__hint{
  margin-top: 8px;
  font-size: 13px;
  opacity: .70;
}

.weekly-box{
  margin-top: 18px;
  border-radius: 22px;
  padding: 18px 18px 16px;
  background:
    radial-gradient(1000px 420px at 20% -10%, rgba(124,58,237,.22), transparent 60%),
    rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow:
    0 18px 60px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.weekly-box__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}

@media (max-width: 980px){
  .weekly-box__head{ flex-direction:column; }
}

.weekly-box__title{
  font-weight: 900;
  font-size: 18px;
  display:flex;
  align-items:center;
  gap: 10px;
}

.weekly-box__icon{
  width: 34px;
  height: 34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  background: rgba(124,58,237,.14);
  border: 1px solid rgba(124,58,237,.22);
  box-shadow: 0 10px 30px rgba(124,58,237,.20);
}

.weekly-box__tag{
  font-weight: 700;
  opacity: .60;
}

.weekly-box__note{
  opacity: .72;
  font-size: 13px;
  padding-top: 6px;
}

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

.weekly-box__list li{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  line-height: 1.35;
  font-size: 15px;
  opacity: .92;
}

.weekly-box__dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-top: 7px;
  background: rgba(124,58,237,.95);
  box-shadow: 0 0 0 4px rgba(124,58,237,.18);
}

/* ===== PRICING (как у конкурента по компоновке) ===== */
.pricing{
  padding: clamp(56px, 6vw, 90px) 0;
}
.pricing__title{
  text-align:center;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
}
.pricing__subtitle{
  text-align:center;
  margin: 0 auto 34px;
  max-width: 820px;
  opacity: .75;
  font-size: clamp(16px, 1.6vw, 20px);
}

.pricing__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.plan{
  border-radius: 28px;
  padding: 26px 26px 22px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  min-height: 310px;
}

.plan__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.plan__name{
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color:#101010;
}

.plan__price{
  font-size: 20px;
  font-weight: 800;
  color:#101010;
  white-space: nowrap;
}
.plan__price span{
  font-weight: 700;
  opacity: .65;
  margin-left: 6px;
}

.plan__label{
  font-weight: 800;
  color:#101010;
  margin: 10px 0 14px;
}

.plan__list{
  margin: 0;
  padding: 0;
  list-style: none;
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.plan__list li{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  color:#1a1a1a;
  line-height: 1.25;
}
.plan__list li::before{
  content:"";
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 999px;
  flex: 0 0 22px;
  background: rgba(0,0,0,.06);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.10);
}

.plan__btn{
  display:block;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  text-align:center;
  font-weight: 900;
  text-decoration:none;
  color:#fff;
  background: rgba(0,0,0,.78);
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
  transition: transform .15s ease, filter .15s ease;
}
.plan__btn:hover{ transform: translateY(-1px); filter: brightness(1.03); }

/* 3 цветных карточки */
.plan--lite{ background: #F4F9D6; }
.plan--premium{ background: #D9F4F7; }
.plan--chosen{ background: #F6DDF0; }

.plan--lite .plan__list li::before{
  background: rgba(162, 186, 0, .18);
  box-shadow: inset 0 0 0 2px rgba(162, 186, 0, .35);
}
.plan--premium .plan__list li::before{
  background: rgba(0, 164, 182, .16);
  box-shadow: inset 0 0 0 2px rgba(0, 164, 182, .30);
}
.plan--chosen .plan__list li::before{
  background: rgba(187, 0, 120, .14);
  box-shadow: inset 0 0 0 2px rgba(187, 0, 120, .28);
}

.plan--lite .plan__btn{ background: #A2BA00; }
.plan--premium .plan__btn{ background: #00A4B6; }
.plan--chosen .plan__btn{ background: #B4007A; }

/* ===== Wide “Навсегда” ===== */
.plan-wide{
  margin-top: 24px;
  border-radius: 34px;
  overflow:hidden;
  background: #FBE8EE;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 22px 70px rgba(0,0,0,.20);
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  min-height: 340px;
}

.plan-wide__left{
  padding: 28px 28px 26px;
  color:#101010;
}

.plan-wide__top{
  display:flex;
  align-items:center;
  gap: 14px;
}

.plan-wide__badge{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255, 59, 107, .16);
  font-weight: 900;
  color: #FF3B6B;
}

.plan-wide__name{
  font-size: 36px;
  font-weight: 1000;
  letter-spacing: -0.02em;
}

.plan-wide__prices{
  margin-left: 12px;
  display:flex;
  align-items: baseline;
  gap: 12px;
}
.plan-wide__old{
  color: rgba(16,16,16,.45);
  text-decoration: line-through;
  font-weight: 800;
}
.plan-wide__new{
  font-size: 26px;
  font-weight: 1000;
}

.plan-wide__lead{
  margin: 14px 0 14px;
  font-weight: 800;
}

.plan-wide__list{
  margin: 0;
  padding: 0;
  list-style: none;
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.plan-wide__list li{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  line-height: 1.25;
}
.plan-wide__list li::before{
  content:"✓";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 22px;
  color:#FF3B6B;
  background: rgba(255, 59, 107, .16);
  font-weight: 1000;
}

.plan-wide__note{
  margin-top: 14px;
  color:#FF3B6B;
  font-weight: 900;
}

.plan-wide__btn{
  display:block;
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  text-align:center;
  font-weight: 1000;
  text-decoration:none;
  color:#fff;
  background: #FF3B6B;
  box-shadow: 0 18px 50px rgba(255, 59, 107, .35);
  transition: transform .15s ease, filter .15s ease;
}
.plan-wide__btn:hover{ transform: translateY(-1px); filter: brightness(1.03); }

/* Правая часть: картинка (подставь свою) */
.plan-wide__art{
  background:
    radial-gradient(700px 320px at 30% 45%, rgba(255, 59, 107, .35), transparent 60%),
    url("/static/assets/forever_pad.png") center right / cover no-repeat;
  min-height: 340px;
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .pricing__grid{ grid-template-columns: 1fr; }
  .plan{ min-height: auto; }
  .plan-wide{ grid-template-columns: 1fr; }
  .plan-wide__art{ min-height: 260px; background-position: center; }
}

/* =========================
   PRICING (competitor layout, Space Levels style)
   ========================= */

.section--pricing2{ padding: 72px 0; }
.pricing2{ margin-top: 26px; }

.pricing2__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

@media (max-width: 980px){
  .pricing2__grid{ grid-template-columns: 1fr; }
}

/* Card */
.plan2{
  position: relative;
  border-radius: 28px;
  padding: 28px 26px 22px;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 30% 0%, rgba(124,58,237,.28), rgba(0,0,0,0) 65%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow:
    0 18px 55px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
}

.plan2::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(600px 260px at 18% 10%, color-mix(in oklab, var(--plan-accent) 55%, transparent), transparent 70%),
    radial-gradient(900px 420px at 90% 90%, rgba(124,58,237,.12), transparent 70%);
  opacity:.9;
  pointer-events:none;
}

.plan2::after{
  /* glow border */
  content:"";
  position:absolute; inset:-1px;
  border-radius: 29px;
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--plan-accent) 70%, transparent),
    rgba(124,58,237,.15),
    rgba(255,255,255,.08)
  );
  opacity:.35;
  pointer-events:none;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  padding: 1px;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.plan2:hover{
  transform: translateY(-2px);
  box-shadow:
    0 24px 70px rgba(0,0,0,.62),
    0 0 0 1px rgba(255,255,255,.10),
    0 0 40px color-mix(in oklab, var(--plan-accent) 25%, transparent);
}

.plan2__top{
  position:relative;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.plan2__name{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 34px;
  line-height: 1.05;
  margin:0;
  color:#fff;
}

.plan2__price{
  text-align:right;
  white-space:nowrap;
  font-weight: 900;
  color:#fff;
  font-size: 22px;
  line-height: 1.1;
}
.plan2__price small{
  font-weight: 700;
  opacity:.72;
  font-size: 16px;
  margin-left: 6px;
}
.plan2__hint{
  margin: 6px 0 0;
  opacity:.75;
  font-size: 14px;
}

/* “Что вы получаете взамен?” */
.plan2__subtitle{
  position:relative;
  margin: 14px 0 10px;
  font-weight: 800;
  font-size: 16px;
  color: rgba(255,255,255,.92);
}

/* bullets */
.plan2__list{
  position:relative;
  display:flex;
  flex-direction:column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style:none;
  color: rgba(255,255,255,.86);
}

.plan2__li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  font-size: 15px;
  line-height: 1.35;
}

.plan2__dot{
  width: 22px; height: 22px;
  border-radius: 999px;
  margin-top: 1px;
  flex: 0 0 22px;
  background: color-mix(in oklab, var(--plan-accent) 22%, rgba(255,255,255,.08));
  border: 1px solid color-mix(in oklab, var(--plan-accent) 45%, rgba(255,255,255,.10));
  box-shadow: 0 0 0 4px rgba(0,0,0,.15) inset;
}

.plan2__li b{ color:#fff; font-weight: 900; }

.plan2__cta{
  position:relative;
  margin-top: 18px;
  width: 100%;
  border: 0;
  border-radius: 18px;
  padding: 14px 18px;
  font-weight: 900;
  font-size: 16px;
  color:#0B0B10;
  background:
    linear-gradient(180deg,
      color-mix(in oklab, var(--plan-accent) 88%, #fff),
      color-mix(in oklab, var(--plan-accent) 72%, #000)
    );
  box-shadow:
    0 10px 30px rgba(0,0,0,.35),
    0 0 28px color-mix(in oklab, var(--plan-accent) 35%, transparent);
  cursor:pointer;
}
.plan2__cta:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Variants (accents) */
.plan2--lite{ --plan-accent: #9BEF00; }
.plan2--premium{ --plan-accent: #22D3EE; }
.plan2--chosen{ --plan-accent: #F472B6; }

/* Big “Forever” card */
.plan2--forever{
  --plan-accent: #FF4D7D;
  grid-column: 1 / -1;
  padding: 26px;
  border-radius: 32px;
}

.plan2__forever{
  position:relative;
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 980px){
  .plan2__forever{ grid-template-columns: 1fr; }
}

.plan2__foreverLeft{
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.plan2__badgeRow{
  display:flex;
  gap: 10px;
  align-items:center;
}

.plan2__badge{
  width: 28px; height: 28px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--plan-accent) 30%, rgba(255,255,255,.08));
  border: 1px solid color-mix(in oklab, var(--plan-accent) 55%, rgba(255,255,255,.10));
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: 16px;
}

.plan2__foreverTitle{
  font-size: 40px;
  font-weight: 950;
  letter-spacing: -0.03em;
  margin: 0;
}

.plan2__foreverPrice{
  display:flex;
  align-items: baseline;
  gap: 14px;
  font-weight: 950;
}
.plan2__old{
  opacity:.55;
  text-decoration: line-through;
  font-size: 18px;
}
.plan2__new{
  font-size: 28px;
  color:#fff;
}

.plan2__foreverKicker{
  margin: 4px 0 6px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
}

.plan2__note{
  color: color-mix(in oklab, var(--plan-accent) 62%, #fff);
  font-weight: 900;
  margin-top: 6px;
}

.plan2__foreverRight{
  position:relative;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(500px 250px at 70% 30%, rgba(255,255,255,.10), rgba(0,0,0,0) 65%),
    radial-gradient(600px 300px at 30% 90%, color-mix(in oklab, var(--plan-accent) 30%, transparent), rgba(0,0,0,0) 65%);
  overflow:hidden;
  min-height: 220px;
}

/* Optional illustration placeholder (can replace with your png later) */
.plan2__ill{
  position:absolute;
  inset: 0;
  opacity:.9;
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(255,255,255,.8);
  font-weight: 900;
  font-size: 16px;
}

/* Match section title size with other big blocks */
.section-title--xl{
  font-size: clamp(44px, 5.6vw, 78px);
  letter-spacing: -0.03em;
  line-height: 1.02;
}

/* ===== PRICING (фикс чтобы карточки не съезжали) ===== */

.pricing-head{
  text-align:center;
  margin-bottom:26px;
}
.pricing-title{
  margin:0;
  font-weight:950;
  letter-spacing:-0.6px;
  font-size:clamp(34px, 4.2vw, 56px);
}
.pricing-subtitle{
  margin:10px auto 0;
  max-width:820px;
  color:rgba(255,255,255,0.68);
  line-height:1.5;
}

/* Сетка */
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
  align-items:stretch;
}

/* Важный фикс: чтобы текст/кнопки НЕ раздвигали колонки */
.pricing-grid > *{
  min-width:0;
}

/* Карточки */
.pricing-card{
  border-radius:28px;
  padding:26px 26px 24px;
  box-sizing:border-box;
  overflow:hidden;
}

/* Большая карточка "Навсегда" */
.pricing-card--forever{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:22px;
  align-items:stretch;
}

/* Адаптив */
@media (max-width: 980px){
  .pricing-grid{ grid-template-columns:1fr; }
  .pricing-card--forever{ grid-template-columns:1fr; }
}

/* =========================
   PRICING (plans) — layout fix
   ========================= */

.pricing-head{
  text-align: center;
  margin-bottom: 26px;
}
.pricing-title{
  margin: 0;
  font-weight: 950;
  letter-spacing: -0.6px;
  font-size: clamp(34px, 4.2vw, 56px);
}
.pricing-subtitle{
  margin: 10px auto 0;
  max-width: 820px;
  color: rgba(255,255,255,0.68);
  line-height: 1.5;
}

/* блок тарифов */
.pricing2{
  width: 100%;
  margin-top: 18px;
}

/* ВАЖНО: нормальная сетка, чтобы ничего не “плыло” */
.pricing2__grid{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

/* адаптив */
@media (max-width: 1100px){
  .pricing2__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 720px){
  .pricing2__grid{ grid-template-columns: 1fr !important; }
}

/* карточка тарифа */
.plan2{
  box-sizing: border-box;
  border-radius: 26px;
  padding: 26px 26px 22px;
  position: relative;
  overflow: hidden;

  /* чтобы кнопка всегда была внизу */
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

/* верх карточки: название слева, цена справа */
.plan2__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.plan2__name{
  margin: 0;
  font-weight: 950;
  letter-spacing: -0.4px;
  font-size: 34px;
  line-height: 1.05;
}

.plan2__price{
  white-space: nowrap;
  font-weight: 900;
  font-size: 26px;
  line-height: 1;
  opacity: .95;
}
.plan2__price small{
  font-weight: 700;
  font-size: 16px;
  opacity: .75;
  margin-left: 6px;
}

/* подзаголовок */
.plan2__subtitle{
  margin-top: 14px;
  font-weight: 800;
  opacity: .95;
}

/* список без дефолтных отступов */
.plan2__list{
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
  display: grid;
  gap: 12px;
}

.plan2__li{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.35;
  color: rgba(255,255,255,.9);
}
.plan2__li b{ font-weight: 900; }

.plan2__dot{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  flex: 0 0 18px;
  margin-top: 2px;
  box-shadow: 0 0 0 2px rgba(0,0,0,.25) inset;
}

/* кнопка всегда внизу */
.plan2__cta{
  margin-top: auto;
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 16px 18px;
  font-weight: 900;
  cursor: pointer;
}

/* ========== FOREVER (большая) ========== */
.plan2--forever{
  grid-column: 1 / -1 !important;
  padding: 0;
  min-height: unset;
}

.plan2__forever{
  display: grid !important;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  padding: 26px;
  border-radius: 26px;
  overflow: hidden;
}

@media (max-width: 900px){
  .plan2__forever{ grid-template-columns: 1fr !important; }
}

.plan2__foreverLeft{
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.plan2__badgeRow{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.plan2__badge{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.plan2__foreverTitle{
  margin: 0;
  font-weight: 950;
  letter-spacing: -0.6px;
  font-size: 40px;
}

.plan2__foreverPrice{
  margin-left: 10px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-weight: 950;
}
.plan2__old{
  opacity: .55;
  text-decoration: line-through;
  font-size: 18px;
}
.plan2__new{
  font-size: 30px;
}

.plan2__foreverKicker{
  margin-top: 8px;
  font-weight: 800;
  opacity: .9;
}

.plan2__note{
  margin-top: 10px;
  font-weight: 900;
}

/* правая часть “Навсегда” */
.plan2__foreverRight{
  border-radius: 22px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.plan2__ill{
  opacity: .75;
  font-weight: 800;
  text-align: center;
}

/* на всякий случай: убираем влияние чужих глобальных картинок/ul */
.pricing2 img{ max-width: 100%; height: auto; display: block; }

/* ===== PRICING HEAD — центрирование под твою разметку ===== */
.section--pricing2 .pricing-title,
.section--pricing2 .pricing-subtitle{
  text-align: center !important;
}

.section--pricing2 .pricing-title{
  margin: 0 !important;
  font-weight: 950 !important;
  letter-spacing: -0.6px !important;
  font-size: clamp(34px, 4.2vw, 56px) !important;
}

.section--pricing2 .pricing-subtitle{
  margin: 10px auto 0 !important;
  max-width: 820px !important;
  color: rgba(255,255,255,0.68) !important;
  line-height: 1.5 !important;
}

/* === Center + same typography as "Как это работает" for tasks header === */
.section--tasks .section-head{
  text-align: center;
  margin-bottom: 26px;
}

.section--tasks .section-title{
  margin: 0;
  font-weight: 950;
  letter-spacing: -0.6px;
  font-size: clamp(34px, 4.2vw, 56px);
}

.section--tasks .section-subtitle{
  margin: 10px auto 0;
  max-width: 820px;
  color: rgba(255,255,255,0.68);
  line-height: 1.5;
  text-align: center;
}

/* ===== Pricing: картинка справа без рамок/фона ===== */
.plan2__foreverRight{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible !important;
}

.plan2__ill{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible !important;
}

/* сам PNG */
.plan2__ill-img{
  width: min(520px, 95%);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 30px 80px rgba(0,0,0,.55));
  user-select: none;
  pointer-events: none;
}

/* ===== REVIEWS (carousel like competitor, but dark style) ===== */

.section--reviews{
  padding: 64px 0;
}

.reviews-carousel{
  margin-top: 18px;
}

.reviews-scroller{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 10px 4px 18px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.reviews-scroller::-webkit-scrollbar{ height: 8px; }
.reviews-scroller::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.12);
  border-radius: 999px;
}
.reviews-scroller::-webkit-scrollbar-track{
  background: transparent;
}

.review-card{
  scroll-snap-align: center;
  flex: 0 0 min(520px, 86vw);
  border-radius: 22px;
  padding: 18px 18px 16px;
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(124,58,237,.20), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  transition: transform .35s ease, filter .35s ease, opacity .35s ease, box-shadow .35s ease, border-color .35s ease;
  opacity: .55;
  filter: saturate(.75) brightness(.9);
  position: relative;
}

/* active highlight (JS adds .is-active) */
.review-card.is-active{
  opacity: 1;
  filter: saturate(1) brightness(1);
  transform: scale(1.03);
  border-color: rgba(124,58,237,.55);
  box-shadow:
    0 22px 70px rgba(0,0,0,.55),
    0 0 0 1px rgba(124,58,237,.25),
    0 0 48px rgba(124,58,237,.22);
}

/* top row */
.review-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.review-user{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.review-ava{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.review-meta{ min-width: 0; }
.review-name{
  font-weight: 850;
  letter-spacing: -.2px;
  font-size: 18px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-sub{
  margin-top: 3px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-stars{
  font-size: 14px;
  letter-spacing: 1px;
  color: rgba(255,255,255,.65);
  user-select: none;
}

.review-card.is-active .review-stars{
  color: rgba(255,255,255,.85);
  text-shadow: 0 0 18px rgba(124,58,237,.35);
}

.review-text{
  color: rgba(255,255,255,.82);
  line-height: 1.55;
  font-size: 15px;
}

/* bottom hint */
.reviews-hint{
  margin-top: 6px;
  text-align: center;
  color: rgba(255,255,255,.55);
  font-size: 14px;
}

/* responsive: allow 2 cards visible on wide screens */
@media (min-width: 1100px){
  .review-card{ flex-basis: 460px; }
}

/* ===== Reviews 2 (как у конкурента: центральный аватар + мини-лента) ===== */
.section--reviews2 { padding-top: 64px; padding-bottom: 64px; }

.reviews2{
  margin-top: 26px;
  position: relative;
}

.reviews2__strip{
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  padding: 10px 4px 18px;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}
.reviews2__strip::-webkit-scrollbar{ display:none; }

.reviews2__thumb{
  width: 82px;
  height: 82px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  flex: 0 0 auto;
  scroll-snap-align: center;
  transition: transform .25s ease, filter .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .25s ease;
  opacity: .45;
  filter: grayscale(1) contrast(.95);
}
.reviews2__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reviews2__thumb.is-active{
  width: 120px;
  height: 120px;
  border-radius: 30px;
  opacity: 1;
  filter: none;
  transform: translateY(-6px);
  border-color: rgba(124,58,237,.55);
  box-shadow: 0 0 0 6px rgba(124,58,237,.12), 0 18px 50px rgba(0,0,0,.55);
}

.reviews2__stage{
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.reviews2__card{
  width: min(920px, 100%);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(1200px 600px at 50% 0%, rgba(124,58,237,.22), rgba(0,0,0,0) 55%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  padding: 24px 22px 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.reviews2__card::before{
  content:"";
  position:absolute; inset:-2px;
  border-radius: 30px;
  pointer-events:none;
  opacity:.65;
  background: radial-gradient(600px 200px at 50% 0%, rgba(124,58,237,.22), rgba(0,0,0,0) 70%);
}

.reviews2__hero{
  width: 150px;
  height: 150px;
  border-radius: 38px;
  margin: 0 auto 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  box-shadow: 0 16px 45px rgba(0,0,0,.45), 0 0 0 10px rgba(124,58,237,.10);
}
.reviews2__hero img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
}

.reviews2__stars{
  letter-spacing: 6px;
  font-size: 18px;
  color: rgba(255,255,255,.90);
  opacity: .95;
  margin: 4px 0 10px;
}

.reviews2__name{
  font-weight: 950;
  letter-spacing: -0.4px;
  font-size: clamp(22px, 2.4vw, 34px);
  margin: 0 0 4px;
}

.reviews2__meta{
  color: rgba(255,255,255,.72);
  font-size: 14px;
  margin-bottom: 14px;
}

.reviews2__text{
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,.84);
  max-width: 760px;
  margin: 0 auto;
}

.reviews2__hint{
  text-align: center;
  margin-top: 16px;
  color: rgba(255,255,255,.55);
  font-size: 14px;
}

/* анимация смены текста */
.reviews2__card.is-fading{
  opacity: .0;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
}
.reviews2__card{
  opacity: 1;
  transform: translateY(0);
  transition: opacity .22s ease, transform .22s ease;
}

@media (max-width: 720px){
  .reviews2__thumb{ width: 64px; height: 64px; border-radius: 18px; }
  .reviews2__thumb.is-active{ width: 92px; height: 92px; border-radius: 24px; }
  .reviews2__hero{ width: 130px; height: 130px; border-radius: 34px; }
  .reviews2__card{ padding: 18px 16px 20px; border-radius: 24px; }
}

/* ===== Reviews (auto carousel, no user control) ===== */
.reviews-stage{
  position: relative;
  margin-top: 22px;
}

.reviews-scroller{
  display: flex;
  gap: 18px;
  overflow: hidden;              /* запрет скролла пользователем */
  padding: 6px 6px 22px;
  scroll-behavior: smooth;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;            /* не даём свайп */
}

.review-card{
  flex: 0 0 min(520px, 86vw);
  border-radius: 22px;
  padding: 18px 18px 20px;
  background:
    radial-gradient(140% 120% at 0% 0%, rgba(124,58,237,.26) 0%, rgba(0,0,0,0) 55%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  transform: scale(.94);
  filter: saturate(.95) brightness(.92);
  opacity: .62;
  transition: transform .55s ease, opacity .55s ease, filter .55s ease, box-shadow .55s ease;
  will-change: transform;
}

.review-card.is-active{
  transform: scale(1);
  opacity: 1;
  filter: saturate(1.05) brightness(1);
  border-color: rgba(124,58,237,.35);
  box-shadow:
    0 26px 90px rgba(0,0,0,.62),
    0 0 0 1px rgba(124,58,237,.22),
    0 0 36px rgba(124,58,237,.22);
  position: relative;
  z-index: 2;
}

.review-top{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.review-meta{
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-name{
  font-weight: 900;
  letter-spacing: -0.2px;
  font-size: 18px;
  line-height: 1.1;
}

.review-sub{
  color: rgba(255,255,255,.70);
  font-size: 13.5px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

.review-stars{
  margin-left: auto;
  color: rgba(255,255,255,.62);
  letter-spacing: 2px;
  font-size: 14px;
}

.review-text{
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.55;
}

/* адаптив */
@media (max-width: 820px){
  .review-card{ flex-basis: 88vw; }
}

/* =========================
   Reviews — single auto slider (no controls)
========================= */

.section--reviews2 { padding-top: 90px; padding-bottom: 90px; }

.reviews2{
  position: relative;
  height: 520px;            /* высота блока под большую аватарку + текст */
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 900px){
  .reviews2{ height: 540px; }
}
@media (max-width: 560px){
  .reviews2{ height: 560px; }
}

.review2{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px 18px;

  opacity: 0;
  transform: translateY(14px) scale(0.98);
  pointer-events: none;

  transition: opacity 600ms ease, transform 600ms ease;
}

.review2.is-active{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: none; /* пользователь не кликает/не выбирает */
}

/* аватарка большая */
.review2__avatar{
  width: 170px;
  height: 170px;
  border-radius: 28px;
  object-fit: cover;

  box-shadow:
    0 18px 60px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.12),
    0 0 40px rgba(124,58,237,.22);
  margin-bottom: 14px;
}

.review2__stars{
  font-size: 20px;
  letter-spacing: 5px;
  color: rgba(255,255,255,.88);
  margin-bottom: 10px;
  text-shadow: 0 8px 22px rgba(124,58,237,.28);
}

.review2__name{
  font-weight: 950;
  letter-spacing: -0.5px;
  font-size: clamp(26px, 3.3vw, 44px);
  margin-bottom: 12px;
}

.review2__text{
  max-width: 860px;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
  font-size: clamp(15px, 1.25vw, 18px);
  padding: 0 10px;
}

/* лёгкий “glow” вокруг активного отзыва */
.review2.is-active .review2__avatar{
  box-shadow:
    0 22px 70px rgba(0,0,0,.58),
    0 0 0 1px rgba(255,255,255,.14),
    0 0 60px rgba(124,58,237,.30);
}

/* если включен reduced motion — без анимаций */
@media (prefers-reduced-motion: reduce){
  .review2{ transition: none; }
}

/* === Reviews2: tighter layout (avatar → stars → name → text) === */
.reviews2{
  display: grid;
  place-items: center;
}

.review2{
  text-align: center;
}

/* аватар ближе к звёздам */
.review2__avatar{
  width: 140px;            /* можешь 120–160 */
  height: 140px;
  border-radius: 28px;
  margin: 0 auto 10px;     /* было больше — уплотняем */
  display: block;
}

/* звёзды ближе к имени */
.review2__stars{
  margin: 0 0 10px;        /* плотнее */
  line-height: 1;
  letter-spacing: 6px;     /* чуть “воздуха” между звёздами */
  font-size: 22px;         /* можно 20–26 */
}

/* имя ближе к тексту */
.review2__name{
  margin: 0;
  margin-bottom: 8px;      /* уплотняем */
  font-weight: 950;
  letter-spacing: -0.6px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
}

/* текст — компактнее и читабельнее */
.review2__text{
  margin: 0 auto;
  max-width: 900px;
  color: rgba(255,255,255,0.78);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.35;       /* плотнее */
}

/* =========================
   REVIEWS v2 — single review autoplay (one-by-one)
   Works with: .reviews2[data-review-stage] > .review2
   ========================= */

.section--reviews2 .reviews2{
  position: relative;
  margin-top: 26px;
  min-height: 520px; /* чтобы блок не прыгал по высоте */
}

@media (max-width: 900px){
  .section--reviews2 .reviews2{ min-height: 560px; }
}

/* Одна "сцена" — показываем только активный отзыв */
.section--reviews2 .review2{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  opacity: 0;
  transform: translateY(12px) scale(.985);
  transition: opacity .45s ease, transform .45s ease, filter .45s ease;
  pointer-events: none;

  /* плотнее компоновка */
  gap: 10px;
}

/* Активный */
.section--reviews2 .review2.is-active{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: none;
  filter: drop-shadow(0 18px 60px rgba(124,58,237,.28));
}

/* Аватар — большой, с мягким глоу */
.section--reviews2 .review2__avatar{
  width: 150px;
  height: 150px;
  border-radius: 28px;
  object-fit: cover;

  box-shadow:
    0 22px 70px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.12),
    0 0 40px rgba(124,58,237,.28);
}

/* Звезды — ближе к имени */
.section--reviews2 .review2__stars{
  margin-top: 2px;
  letter-spacing: 6px;
  font-size: 22px;
  line-height: 1;
  color: rgba(255,255,255,.92);
  opacity: .95;
}

/* Имя — ближе к тексту */
.section--reviews2 .review2__name{
  margin-top: 2px;
  font-weight: 950;
  letter-spacing: -0.6px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
}

/* Текст — компактнее и ограничим ширину */
.section--reviews2 .review2__text{
  margin-top: 4px;
  max-width: 920px;
  font-size: 20px;
  line-height: 1.45;
  color: rgba(255,255,255,.78);
}

/* На мобилке чуть меньше */
@media (max-width: 700px){
  .section--reviews2 .review2__avatar{ width: 130px; height: 130px; border-radius: 24px; }
  .section--reviews2 .review2__text{ font-size: 18px; }
}

/* ================================
   Global section spacing (ONE source of truth)
   ================================ */

:root{
  /* общий вертикальный отступ секций */
  --section-pad-y: clamp(120px, 7vw, 120px);

  /* расстояние от заголовка/подзаголовка до контента секции */
  --section-head-gap: 26px;
}

/* одинаковые отступы у всех секций */
.section{
  padding-block: var(--section-pad-y);
}

/* если где-то было margin-top у секций — убираем, чтобы не "плыли" */
.section + .section{
  margin-top: 0;
}

/* единый отступ после хедера секции (подходит под твой стиль .zones-head/.reviews-head и т.д.) */
.section .section-head,
.section .zones-head,
.section .levels-head,
.section .faq-head,
.section .reviews-head,
.section .pricing-head{
  margin-bottom: var(--section-head-gap);
}

/* если какие-то секции имеют свой padding — принудительно выравниваем */
.section--zones,
.section--tasks,
.section--pricing2,
.section--reviews2,
.section--faq,
.section--levels{
  padding-block: var(--section-pad-y);
}

/* HERO часто не должен иметь верхний padding, иначе появляется лишний зазор под шапкой.
   Оставь, если твой hero — это section с классом section--hero */
.section--hero{
  padding-top: 0;
}

/* =========================
   Support CTA (bottom block)
   ========================= */
.section--support{
  padding: 70px 0 90px;
}

.support-card{
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    radial-gradient(1200px 380px at 30% 30%, rgba(124,58,237,0.45), transparent 60%),
    radial-gradient(900px 360px at 85% 60%, rgba(59,130,246,0.22), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.support-card__bg{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(500px 260px at 20% 65%, rgba(124,58,237,0.30), transparent 60%),
    radial-gradient(420px 240px at 70% 20%, rgba(124,58,237,0.18), transparent 60%);
  filter: blur(0px);
}

.support-card{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  padding: 34px 34px;
  align-items: center;
}

.support-card__left{
  position: relative;
  z-index: 2;
  padding-right: 10px;
}

.support-card__kicker{
  font-weight: 800;
  color: rgba(255,255,255,0.70);
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}

.support-card__title{
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 950;
  letter-spacing: -0.8px;
  line-height: 1.05;
}

.support-card__text{
  margin: 12px 0 22px;
  max-width: 560px;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  font-size: 16px;
}

.support-card__actions{
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.support-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.2px;
  user-select: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease;
}

.support-btn__icon{
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
}

.support-btn--tg{
  background: linear-gradient(180deg, rgba(124,58,237,0.95), rgba(124,58,237,0.70));
  color: #fff;
  box-shadow: 0 16px 40px rgba(124,58,237,0.30);
  border-color: rgba(124,58,237,0.35);
}

.support-btn--mail{
  width: 54px;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.90);
}

.support-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.18);
  filter: brightness(1.04);
}

.support-btn--tg:hover{
  box-shadow: 0 22px 60px rgba(124,58,237,0.40);
}

/* Right side image (PNG without рамки) */
.support-card__right{
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 220px;
}

.support-card__img{
  width: min(520px, 44vw);
  max-width: 520px;
  height: auto;
  object-fit: contain;
  transform: translate(10px, -8px);
  filter: drop-shadow(0 26px 46px rgba(0,0,0,0.55));
}

/* Responsive */
@media (max-width: 980px){
  .support-card{
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .support-card__right{
    justify-content: center;
    min-height: 180px;
  }
  .support-card__img{
    width: min(520px, 78vw);
    transform: translate(0, 0);
  }
}

.section--support {
  padding: 40px 0 120px;
}

.support-wrap {
  position: relative;
  overflow: visible;
}

.support-card {
  position: relative;
  min-height: 480px;
  padding: 54px 56px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(900px 500px at 22% 28%, rgba(116, 53, 255, 0.34), transparent 60%),
    radial-gradient(700px 420px at 58% 18%, rgba(116, 53, 255, 0.18), transparent 65%),
    radial-gradient(500px 340px at 84% 50%, rgba(40, 95, 255, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(12, 14, 24, 0.96), rgba(7, 9, 16, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.support-card__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 260px at 20% 95%, rgba(126, 61, 255, 0.28), transparent 70%),
    radial-gradient(380px 240px at 70% 26%, rgba(77, 103, 255, 0.12), transparent 75%);
}

.support-card__left {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.support-card__kicker {
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.76);
}

.support-card__title {
  margin: 0;
  max-width: 980px;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
}

.support-card__text {
  margin: 28px 0 0;
  max-width: 700px;
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.support-card__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  position: relative;
  z-index: 3;
}

.support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 76px;
  border-radius: 22px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.support-btn:hover {
  transform: translateY(-2px);
}

.support-btn--tg {
  padding: 0 28px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, #8b4dff 0%, #6e36f3 100%);
  box-shadow:
    0 16px 34px rgba(104, 51, 239, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.support-btn--mail {
  width: 76px;
  min-width: 76px;
  padding: 0;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.support-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  line-height: 1;
}

.support-card__img {
  position: absolute;
  right: -110px;
  bottom: -70px;
  height: 700px;
  width: auto;
  max-width: none;
  z-index: 4;
  pointer-events: none;
  user-select: none;
}

/* Чуть сильнее вынос на очень широких экранах */
@media (min-width: 1600px) {
  .support-card__img {
    right: -10px;
    bottom: -150px;
    height: 760px;
  }
}

/* Ноутбуки */
@media (max-width: 1280px) {
  .support-card {
    min-height: 430px;
    padding: 48px 44px;
  }

  .support-card__left {
    max-width: 620px;
  }

  .support-card__text {
    max-width: 560px;
    font-size: 18px;
  }

  .support-card__img {
    right: -90px;
    bottom: -40px;
    height: 580px;
  }
}

/* Планшеты */
@media (max-width: 980px) {
  .section--support {
    padding: 32px 0 90px;
  }

  .support-card {
    min-height: auto;
    padding: 36px 28px 260px;
    border-radius: 28px;
  }

  .support-card__left {
    max-width: 100%;
  }

  .support-card__title {
    max-width: 100%;
    line-height: 1;
  }

  .support-card__text {
    max-width: 100%;
    margin-top: 20px;
    font-size: 17px;
  }

  .support-card__actions {
    gap: 14px;
    margin-top: 24px;
    flex-wrap: wrap;
  }

  .support-btn {
    min-height: 64px;
    border-radius: 18px;
  }

  .support-btn--tg {
    font-size: 18px;
    padding: 0 22px;
  }

  .support-btn--mail {
    width: 64px;
    min-width: 64px;
  }

  .support-card__img {
    right: -20px;
    bottom: -20px;
    height: 360px;
  }
}

/* Мобилки */
@media (max-width: 640px) {
  .support-card {
    padding: 28px 20px 230px;
    border-radius: 24px;
  }

  .support-card__kicker {
    margin-bottom: 14px;
    font-size: 16px;
  }

  .support-card__title {
    font-size: 40px;
  }

  .support-card__text {
    font-size: 16px;
    line-height: 1.5;
  }

  .support-card__actions {
    gap: 12px;
  }

  .support-btn--tg {
    width: 100%;
    padding: 0 20px;
    font-size: 17px;
  }

  .support-btn--mail {
    width: 60px;
    min-width: 60px;
    min-height: 60px;
  }

  .support-card__img {
    right: -36px;
    bottom: -14px;
    height: 290px;
  }
}

/* === Purchase modal (checkout) — theme version === */
.is-hidden{ display:none !important; }

.modal--purchase{
  width: min(1040px, 100%);
  border-radius: 34px;
  border: 1px solid rgba(124,58,237,0.22);
  background: rgba(8,10,16,0.72);
}

.modal-close--purchase{
  border-color: rgba(124,58,237,0.25);
  background: rgba(0,0,0,0.22);
}
.modal-close--purchase:hover{
  border-color: rgba(124,58,237,0.45);
  background: rgba(124,58,237,0.12);
}

.purchase{ padding: 34px 34px 26px; }
.purchase__title{
  margin: 0 0 12px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(34px, 4.2vw, 62px);
}
.purchase__kicker{
  margin: 0 0 12px;
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  font-weight: 650;
}
.purchase__priceRow{ display:flex; align-items:baseline; gap:14px; flex-wrap:wrap; }
.purchase__priceLabel{ color: rgba(255,255,255,0.72); font-size:20px; font-weight:800; }
.purchase__pricePill{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 6px 16px;
  border-radius: 16px;
  border: 1px solid rgba(124,58,237,0.50);
  background: rgba(124,58,237,0.14);
  color: rgba(255,255,255,0.95);
  font-weight: 1000;
  font-size: 24px;
}
.purchase__priceOld{
  color: rgba(255,255,255,0.32);
  font-weight: 900;
  font-size: 22px;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.purchase__divider{
  height: 1px;
  margin: 22px 0 18px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.26), transparent);
}
.purchase__input{
  height: 74px;
  border-radius: 24px;
  font-size: 20px;
  padding: 0 22px;
}
.purchase__pay{
  height: 90px;
  border-radius: 30px;
  margin-top: 16px;
  font-size: 24px;
  font-weight: 1000;
  background: linear-gradient(90deg, rgba(124,58,237,1), rgba(59,130,246,0.95));
  border-color: rgba(124,58,237,0.35);
  box-shadow: 0 20px 70px rgba(124,58,237,0.22), 0 14px 55px rgba(0,0,0,0.55);
}
.purchase__fineprint{
  margin: 18px 0 12px;
  color: rgba(255,255,255,0.52);
  font-size: 14px;
  line-height: 1.5;
}

.purchase__check{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 10px 0;
  color: rgba(255,255,255,0.70);
  font-size: 14px;
  line-height: 1.5;
}
.purchase__checkInput{ position:absolute; opacity:0; pointer-events:none; }
.purchase__checkBox{
  width: 22px; height: 22px; flex:0 0 22px;
  border-radius: 6px;
  border: 1px solid rgba(124,58,237,0.35);
  background: rgba(0,0,0,0.25);
  margin-top: 2px;
  position: relative;
}
.purchase__checkInput:checked + .purchase__checkBox{
  border-color: rgba(124,58,237,0.70);
  background: rgba(124,58,237,0.20);
}
.purchase__checkInput:checked + .purchase__checkBox::after{
  content:"";
  position:absolute;
  left: 6px; top: 3px;
  width: 7px; height: 12px;
  border-right: 2px solid rgba(255,255,255,0.95);
  border-bottom: 2px solid rgba(255,255,255,0.95);
  transform: rotate(40deg);
}
.purchase__checkText a{ color: rgba(59,130,246,0.95); text-decoration: underline; }

@media (max-width: 640px){
  .purchase{ padding: 22px 18px 18px; }
  .purchase__input{ height: 66px; border-radius: 20px; font-size: 18px; }
  .purchase__pay{ height: 78px; border-radius: 26px; font-size: 22px; }
}

/* === Smooth modal animation (works even if previously used display:none) === */
.modal-overlay{
  position: fixed;
  inset: 0;
  display: flex;              /* важно: НЕ none */
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms ease, visibility 260ms ease;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(10px);
  z-index: 9999;
}

/* mounted = уже “в DOM видим”, но ещё прозрачный */
.modal-overlay.is-mounted{
  visibility: visible;
  pointer-events: auto;
}

/* open = плавно проявляем */
.modal-overlay.is-open{
  opacity: 1;
}

/* closing = плавно скрываем */
.modal-overlay.is-closing{
  opacity: 0;
}

/* panel */
.modal{
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: transform 320ms cubic-bezier(.2,.9,.2,1), opacity 320ms ease;
  will-change: transform, opacity;
}

.modal-overlay.is-open .modal{
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-overlay.is-closing .modal{
  opacity: 0;
  transform: translateY(22px) scale(0.985);
}

@media (prefers-reduced-motion: reduce){
  .modal-overlay, .modal{ transition:none !important; }
}

/* === Pricing palette: purple-only === */
:root{
  /* base UI */
  --sl-bg-0: rgba(8, 10, 18, 0.92);
  --sl-card: rgba(16, 18, 30, 0.72);
  --sl-stroke: rgba(124, 58, 237, 0.22);
  --sl-stroke-strong: rgba(124, 58, 237, 0.40);

  /* purple ramp */
  --p-1: #7C3AED; /* violet */
  --p-2: #6D28D9; /* deep violet */
  --p-3: #4F46E5; /* indigo */
  --p-4: #4338CA; /* deep indigo */
  --p-5: #A855F7; /* magenta violet */
  --p-6: #C026D3; /* fuchsia */
}

/* === Pricing cards: unified purple style === */
.plan2{
  background: radial-gradient(1200px 520px at 18% 0%, rgba(124,58,237,.22), transparent 60%),
              radial-gradient(900px 520px at 88% 14%, rgba(79,70,229,.18), transparent 62%),
              var(--sl-card);
  border: 1px solid var(--sl-stroke);
  box-shadow: 0 22px 80px rgba(0,0,0,.55);
}

.plan2::before{
  /* subtle gloss */
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0));
  opacity:.75;
}

.plan2__badge{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
}

.plan2__price .strike{
  color: rgba(255,255,255,.28);
  text-decoration-thickness: 2px;
}

/* buttons inside plans (if you use .plan2__cta as button) */
.plan2__cta{
  width:100%;
  height: 64px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 55px rgba(0,0,0,.45);
}

/* === Individual tiers: purple shades only === */
/* Starter: light violet */
.plan2--lite{
  --tier-a: var(--p-3);
  --tier-b: var(--p-1);
}
.plan2--lite .plan2__cta{
  background: linear-gradient(90deg, rgba(79,70,229,1), rgba(124,58,237,.95));
}

/* Pro: deeper indigo */
.plan2--premium{
  --tier-a: var(--p-4);
  --tier-b: var(--p-2);
}
.plan2--premium .plan2__cta{
  background: linear-gradient(90deg, rgba(67,56,202,1), rgba(109,40,217,.95));
}

/* Elite: violet -> magenta (premium highlight) */
.plan2--chosen{
  --tier-a: var(--p-1);
  --tier-b: var(--p-5);
  border-color: var(--sl-stroke-strong);
  box-shadow: 0 28px 110px rgba(124,58,237,.18), 0 22px 80px rgba(0,0,0,.55);
}
.plan2--chosen .plan2__cta{
  background: linear-gradient(90deg, rgba(124,58,237,1), rgba(168,85,247,.98));
}

/* Legend: fuchsia -> violet (most “royal”) */
.plan2--forever{
  --tier-a: var(--p-6);
  --tier-b: var(--p-5);
  border-color: rgba(192,38,211,.28);
}
.plan2--forever .plan2__cta{
  background: linear-gradient(90deg, rgba(192,38,211,1), rgba(168,85,247,.98));
}

/* optional: accent glow per card */
.plan2--lite, .plan2--premium, .plan2--chosen, .plan2--forever{
  background:
    radial-gradient(1100px 520px at 18% 0%, color-mix(in srgb, var(--tier-a) 26%, transparent), transparent 62%),
    radial-gradient(900px 520px at 88% 14%, color-mix(in srgb, var(--tier-b) 18%, transparent), transparent 62%),
    var(--sl-card);
}

/* === Pricing list dots (bullets) — purple-only === */
/* Подстрой селекторы под твою разметку:
   - если точки это .dot / .bullet / .plan2__dot — добавь ниже аналогично
*/

.plan2 .dot,
.plan2 .bullet,
.plan2 .plan2__dot,
.plan2 li::marker{
  color: rgba(168,85,247,.85);
}

/* Если точки сделаны как отдельный <span class="dot"></span> кружок */
.plan2 .dot,
.plan2 .bullet,
.plan2 .plan2__dot{
  border-color: rgba(168,85,247,.55) !important;
  background: rgba(168,85,247,.10) !important;
  box-shadow: 0 0 0 4px rgba(168,85,247,.10);
}

/* Starter */
.plan2--lite .dot,
.plan2--lite .bullet,
.plan2--lite .plan2__dot{
  border-color: rgba(124,58,237,.55) !important;
  background: rgba(124,58,237,.10) !important;
}

/* Pro */
.plan2--premium .dot,
.plan2--premium .bullet,
.plan2--premium .plan2__dot{
  border-color: rgba(79,70,229,.55) !important;
  background: rgba(79,70,229,.10) !important;
}

/* Elite */
.plan2--chosen .dot,
.plan2--chosen .bullet,
.plan2--chosen .plan2__dot{
  border-color: rgba(168,85,247,.60) !important;
  background: rgba(168,85,247,.12) !important;
}

/* Legend */
.plan2--forever .dot,
.plan2--forever .bullet,
.plan2--forever .plan2__dot{
  border-color: rgba(192,38,211,.55) !important;
  background: rgba(192,38,211,.10) !important;
}

/* === HARD OVERRIDE: kill old glow colors on pricing cards === */
/* If your cards use .plan2 + modifiers, this will force purple glow */

.plan2{
  /* Force border + glow to purple (ignores old vars) */
  border-color: rgba(124,58,237,.28) !important;
  box-shadow:
    0 26px 110px rgba(0,0,0,.55),
    0 0 0 1px rgba(124,58,237,.22),
    0 0 42px rgba(124,58,237,.16) !important;

  /* Kill any old filter-based glow */
  filter: none !important;

  /* If old CSS uses these vars for glow — overwrite usage by not relying on them */
  --zone-accent: rgba(124,58,237,1);
  --accent: rgba(124,58,237,1);
}

/* Some templates draw glow via pseudo-elements */
.plan2::before,
.plan2::after{
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
}

/* Re-apply our purple-only background glow (so it still looks premium) */
.plan2{
  background:
    radial-gradient(1100px 520px at 18% 0%, rgba(124,58,237,.26), transparent 62%),
    radial-gradient(900px 520px at 88% 14%, rgba(79,70,229,.20), transparent 62%),
    radial-gradient(900px 520px at 60% 95%, rgba(168,85,247,.10), transparent 68%),
    rgba(16,18,30,.72) !important;
}

/* Per-tier subtle tint (still purple-only) */
.plan2--lite{
  box-shadow:
    0 26px 110px rgba(0,0,0,.55),
    0 0 0 1px rgba(79,70,229,.22),
    0 0 40px rgba(79,70,229,.14) !important;
}
.plan2--premium{
  box-shadow:
    0 26px 110px rgba(0,0,0,.55),
    0 0 0 1px rgba(67,56,202,.22),
    0 0 40px rgba(67,56,202,.14) !important;
}
.plan2--chosen{
  box-shadow:
    0 30px 120px rgba(0,0,0,.58),
    0 0 0 1px rgba(168,85,247,.26),
    0 0 50px rgba(168,85,247,.18) !important;
}
.plan2--forever{
  box-shadow:
    0 30px 120px rgba(0,0,0,.58),
    0 0 0 1px rgba(192,38,211,.22),
    0 0 50px rgba(192,38,211,.16) !important;
}

/* === Legend note color (purple style) === */
.plan2--forever .plan2__note,
.plan2--forever .plan2__subtitle,
.plan2--forever .plan2__footnote,
.plan2--forever .plan2__fineprint,
.plan2--forever .plan2__extra,
.plan2--forever .plan2__alert{
  color: rgba(168,85,247,.92) !important; /* violet/magenta */
  text-shadow: 0 10px 28px rgba(168,85,247,.14);
}

/* Fallback: if it's just a <p> before the button */
.plan2--forever p{
  color: rgba(168,85,247,.92);
}

/* === FORCE hover glow (overrides any old !important) === */

/* 1) Проверка: hover вообще срабатывает? (оставь на минуту) */
.plan2:hover{ outline: 2px solid rgba(168,85,247,.55); outline-offset: 4px; }

/* 2) Реальный glow: ставим !important чтобы перебить старые "HARD OVERRIDE" */
.plan2{
  position: relative;
  transition: transform 220ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.plan2:hover,
.plan2:focus-within{
  transform: translateY(-4px);
  border-color: rgba(168,85,247,.55) !important;
  box-shadow:
    0 34px 140px rgba(0,0,0,.62),
    0 0 0 1px rgba(168,85,247,.30),
    0 0 90px rgba(168,85,247,.22) !important;
}

/* 3) Если хочешь glow разный по тарифам — тоже с !important */
.plan2--lite:hover{ box-shadow: 0 34px 140px rgba(0,0,0,.62), 0 0 0 1px rgba(79,70,229,.30), 0 0 90px rgba(79,70,229,.20) !important; }
.plan2--premium:hover{ box-shadow: 0 34px 140px rgba(0,0,0,.62), 0 0 0 1px rgba(67,56,202,.30), 0 0 90px rgba(67,56,202,.20) !important; }
.plan2--chosen:hover{ box-shadow: 0 38px 160px rgba(0,0,0,.66), 0 0 0 1px rgba(168,85,247,.34), 0 0 110px rgba(168,85,247,.26) !important; }
.plan2--forever:hover{ box-shadow: 0 38px 160px rgba(0,0,0,.66), 0 0 0 1px rgba(192,38,211,.30), 0 0 110px rgba(192,38,211,.22) !important; }

/* === Fix game cards readability + competitor-like layout === */

/* 1) Сверху оставляем “чистую” зону под текст */
.zone-card{
  min-height: 520px;
  background:
    radial-gradient(900px 520px at 18% 0%, rgba(124,58,237,.22), transparent 62%),
    radial-gradient(900px 520px at 88% 14%, rgba(79,70,229,.18), transparent 64%),
    rgba(16,18,30,.78) !important;
}

/* 2) Картинка только снизу и сильнее затемнение */
.zone-card::after{
  height: 58% !important;           /* меньше, чтобы не лезла в заголовок */
  opacity: 1 !important;
  background:
    linear-gradient(180deg, rgba(16,18,30,0) 0%, rgba(16,18,30,.55) 28%, rgba(8,10,18,.90) 100%),
    radial-gradient(900px 520px at 50% 18%, rgba(0,0,0,0), rgba(0,0,0,.55)),
    var(--zone-img, none) !important;
  background-size: cover !important;
  background-position: center bottom !important;
  filter: saturate(.95) contrast(1.05);
}

/* 3) Верхняя панель — компактнее, как у конкурента */
.zone-card__top{
  padding: 22px 22px 12px !important;
}
.zone-card__title h3{
  font-size: 34px !important;
  line-height: 1.05;
}
.zone-card__logo{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.10);
}

/* 4) Бейджи и тег — стеклянные, читаемые */
.zone-pill,
.zone-tag{
  background: rgba(0,0,0,.32) !important;
  border-color: rgba(255,255,255,.12) !important;
  backdrop-filter: blur(10px);
}

/* 5) Линия-акцент — ярче */
.zone-divider{
  opacity: .9 !important;
  background: linear-gradient(90deg, transparent, rgba(168,85,247,.62), transparent) !important;
}

/* 6) Описание — строго 2 строки, чтобы не лезло на картинку */
.zone-card__body{
  color: rgba(255,255,255,.72) !important;
  max-width: 92%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 52px !important;
}

/* 7) Battle Pass тег — снизу слева (как у конкурента) */
.zone-tag{
  left: 18px !important;
  bottom: 18px !important;
  font-weight: 900;
}

/* 8) Hover — glow + лёгкий подъём */
.zone-card:hover{
  border-color: rgba(168,85,247,.48) !important;
  box-shadow:
    0 34px 150px rgba(0,0,0,.62),
    0 0 0 1px rgba(168,85,247,.25),
    0 0 95px rgba(168,85,247,.18) !important;
}

/* 9) “Другие игры”: сделать спокойнее */
.zone-card--other .zone-pill{
  color: rgba(255,255,255,.60) !important;
}

/* Mobile */
@media (max-width: 640px){
  .zone-card{ min-height: 460px; }
  .zone-card__title h3{ font-size: 28px !important; }
  .zone-card::after{ height: 60% !important; }
}

/* === Games block (competitor-like cards) === */

.games-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 1024px){
  .games-grid{ grid-template-columns: 1fr; }
}

.game-card{
  --accent: rgba(124,58,237,1);

  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(14,16,26,.82);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 26px 120px rgba(0,0,0,.58);
  transition: transform 220ms ease, box-shadow 240ms ease, border-color 240ms ease;
  min-height: 520px;
}

.game-card:hover{
  transform: translateY(-4px);
  border-color: rgba(168,85,247,.35);
  box-shadow:
    0 34px 150px rgba(0,0,0,.64),
    0 0 0 1px rgba(168,85,247,.18),
    0 0 90px rgba(168,85,247,.14);
}

.game-card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 22px 22px 14px;
}

.game-card__brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}

.game-card__logo{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.10);
  object-fit: cover;
}

.game-card__emoji{
  width: 34px;
  height: 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 10px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.10);
  font-size: 18px;
}

.game-card__title{
  font-weight: 1000;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card__status{
  color: rgba(255,255,255,.78);
  font-weight: 800;
  font-size: 16px;
  opacity: .95;
}

.game-card__line{
  height: 2px;
  margin: 0 22px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .75;
}

.game-card__desc{
  padding: 14px 22px 0;
  color: rgba(255,255,255,.60);
  font-size: 16px;
  line-height: 1.45;
  min-height: 60px;
}

.game-card__media{
  position: absolute;
  inset: 140px 0 0 0;   /* как у конкурента: картинка снизу, текст сверху */
  background-image: var(--img);
  background-size: cover;
  background-position: center bottom;
  filter: saturate(1.02) contrast(1.05);
}

.game-card__media::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 50% 20%, rgba(0,0,0,0), rgba(0,0,0,.45)),
    linear-gradient(180deg, rgba(14,16,26,.12) 0%, rgba(14,16,26,.78) 64%, rgba(10,12,20,.92) 100%);
}

.game-card__badge{
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  height: 34px;
  padding: 0 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.80);
  font-weight: 900;
  font-size: 14px;
  backdrop-filter: blur(10px);
}

/* accents (purple-only) */
.game-card--pubg{ --accent: rgba(168,85,247,1); }
.game-card--standoff{ --accent: rgba(124,58,237,1); }
.game-card--other{ --accent: rgba(79,70,229,1); }

/* "Soon" card: can be disabled */
.game-card.is-disabled{
  cursor: default;
  opacity: .88;
}
.game-card.is-disabled:hover{
  transform: none;
  box-shadow: 0 26px 120px rgba(0,0,0,.58);
  border-color: rgba(255,255,255,.08);
}

/* === Achievements-style tasks block (like game UI) === */

.achv-hud{
  margin: 18px auto 18px;
  max-width: 1100px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.72);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: lowercase;
}

.achv-hud__num{
  color: rgba(168,85,247,.95);
  font-weight: 1000;
  margin: 0 6px;
}

.achv-hud__sep{ opacity: .7; margin: 0 2px; }

.achv-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 1100px){
  .achv-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .achv-grid{ grid-template-columns: 1fr; }
}

.achv-card{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(800px 320px at 18% 0%, rgba(124,58,237,.20), transparent 60%),
    radial-gradient(900px 360px at 88% 10%, rgba(79,70,229,.16), transparent 62%),
    rgba(16,18,30,.70);
  box-shadow: 0 18px 70px rgba(0,0,0,.55);
  display:flex;
  gap: 12px;
  padding: 12px;
  min-height: 116px;
  transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.achv-card:hover{
  transform: translateY(-2px);
  border-color: rgba(168,85,247,.28);
  box-shadow:
    0 26px 95px rgba(0,0,0,.62),
    0 0 0 1px rgba(168,85,247,.16),
    0 0 60px rgba(168,85,247,.12);
}

.achv-card__icon{
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex: 0 0 64px;
}

.achv-card__icon img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .95;
}

.achv-card__main{ flex:1; min-width: 0; }

.achv-card__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

.achv-card__title{
  font-weight: 1000;
  color: rgba(255,255,255,.92);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.achv-card__reward{
  font-weight: 1000;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  white-space: nowrap;
}

.achv-card__gem{
  color: rgba(168,85,247,.95);
  margin-left: 4px;
}

.achv-card__desc{
  margin-top: 6px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}

.achv-card__progress{
  margin-top: 10px;
  display:flex;
  align-items:center;
  gap: 10px;
}

.achv-card__bar{
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.06);
  overflow:hidden;
  flex: 1;
}

.achv-card__bar > span{
  position:absolute;
  inset:0;
  width: var(--p, 0%);
  background: linear-gradient(90deg, rgba(124,58,237,1), rgba(79,70,229,.95));
  border-radius: 999px;
}

.achv-card__nums{
  color: rgba(255,255,255,.62);
  font-weight: 900;
  font-size: 12px;
  width: 44px;
  text-align: right;
}

.achv-note{
  margin-top: 14px;
  color: rgba(255,255,255,.52);
  text-align:center;
  font-size: 14px;
}

/* === App cabinet layout (competitor-like) === */
.app-shell{
  margin:0;
  min-height:100vh;
  display:grid;
  grid-template-columns: 280px 1fr;
  background:
    radial-gradient(1200px 700px at 30% 0%, rgba(124,58,237,.18), transparent 60%),
    radial-gradient(1100px 650px at 90% 30%, rgba(79,70,229,.14), transparent 62%),
    #070810;
  color: rgba(255,255,255,.92);
}

.app-side{
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px 16px;
  border-right: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.app-brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  color: rgba(255,255,255,.92);
  font-weight: 900;
}
.app-brand__logo{
  width: 42px; height: 42px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: rgba(124,58,237,.18);
  border: 1px solid rgba(124,58,237,.22);
}
.app-nav{ display:flex; flex-direction:column; gap: 8px; }
.app-nav__item{
  display:flex; align-items:center; gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration:none;
  color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.16);
}
.app-nav__item:hover{
  border-color: rgba(168,85,247,.26);
  color: rgba(255,255,255,.92);
}
.app-nav__item.is-active{
  background: linear-gradient(90deg, rgba(124,58,237,.32), rgba(79,70,229,.22));
  border-color: rgba(168,85,247,.26);
  color: rgba(255,255,255,.95);
}
.app-nav__spacer{ height: 8px; }
.app-nav__divider{ height:1px; background: rgba(255,255,255,.08); margin: 10px 0; }

.app-side__bottom{ margin-top:auto; display:flex; flex-direction:column; gap: 12px; }
.app-user{ display:flex; gap: 10px; align-items:center; }
.app-user__avatar{
  width: 42px; height: 42px; border-radius: 999px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  font-weight: 900;
}
.app-user__email{ font-weight: 800; font-size: 14px; }
.pill{
  display:inline-flex; align-items:center; justify-content:center;
  height: 24px; padding: 0 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.70);
}
.pill--ok{ border-color: rgba(168,85,247,.28); color: rgba(168,85,247,.95); }

.app-logout{
  width:100%;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.80);
  font-weight: 900;
  cursor:pointer;
}
.app-logout:hover{ border-color: rgba(168,85,247,.22); }

.app-main{ padding: 18px 22px; }
.app-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
}
.app-burger{
  display:none;
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.92);
  cursor:pointer;
}

.app-crumbs{ color: rgba(255,255,255,.75); font-weight: 800; }
.crumb-muted{ opacity:.7; }
.crumb-sep{ opacity:.45; margin: 0 6px; }

.app-profile{
  display:flex; align-items:center; gap: 10px;
  text-decoration:none;
  color: rgba(255,255,255,.92);
}
.app-profile__meta{ text-align:right; }
.app-profile__id{ font-weight: 1000; }
.app-profile__sub{ color: rgba(255,255,255,.62); font-weight: 800; font-size: 12px; }
.app-profile__circle{
  width: 44px; height: 44px; border-radius: 999px;
  display:grid; place-items:center;
  background: rgba(124,58,237,.20);
  border: 1px solid rgba(124,58,237,.22);
  font-weight: 1000;
}

.app-content{ padding: 18px 6px; }

.app-pagehead{ text-align:center; padding: 18px 0 10px; }
.app-h1{ margin:0; font-size: clamp(38px, 4.4vw, 64px); font-weight: 1000; letter-spacing: -0.02em; }
.app-sub{ margin: 10px 0 0; color: rgba(255,255,255,.62); font-weight: 700; }

.app-cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.app-card{
  position: relative;
  overflow:hidden;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  text-decoration:none;
  color: rgba(255,255,255,.92);
  box-shadow: 0 24px 110px rgba(0,0,0,.55);
  min-height: 360px;
}
.app-card:hover{
  border-color: rgba(168,85,247,.26);
  box-shadow: 0 32px 140px rgba(0,0,0,.62), 0 0 90px rgba(168,85,247,.12);
  transform: translateY(-3px);
}
.app-card__top{
  display:flex;
  justify-content:space-between;
  gap: 14px;
  padding: 20px 20px 12px;
}
.app-card__title{
  font-weight: 1000;
  font-size: 28px;
  line-height: 1.1;
}
.app-card__rating{
  font-weight: 1000;
  white-space: nowrap;
  opacity: .95;
}
.app-card__line{
  height: 2px;
  margin: 0 20px;
  background: linear-gradient(90deg, transparent, rgba(168,85,247,.55), transparent);
  opacity:.8;
}
.app-card__desc{
  padding: 12px 20px 0;
  color: rgba(255,255,255,.60);
  font-weight: 700;
  font-size: 14px;
  min-height: 52px;
}
.app-card__media{
  position:absolute;
  inset: 140px 0 0 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center bottom;
}
.app-card__media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.70) 70%, rgba(0,0,0,.86) 100%);
}

/* responsive */
@media (max-width: 1100px){
  .app-shell{ grid-template-columns: 240px 1fr; }
  .app-cards{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px){
  .app-shell{ grid-template-columns: 1fr; }
  .app-side{ position: fixed; left: 0; top: 0; width: 300px; transform: translateX(-110%); transition: transform 220ms ease; z-index: 9999; }
  .app-side.is-open{ transform: translateX(0); }
  .app-burger{ display:inline-grid; place-items:center; }
  .app-cards{ grid-template-columns: 1fr; }
}

/* === Battle Pass (cabinet) === */
.app-profile__lvl{
  height: 34px; padding: 0 12px; border-radius: 999px;
  display:inline-flex; align-items:center; justify-content:center;
  font-weight: 1000; font-size: 12px;
  background: rgba(124,58,237,.18);
  border: 1px solid rgba(124,58,237,.22);
  color: rgba(255,255,255,.92);
}

.bp-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}
@media (max-width: 980px){ .bp-grid{ grid-template-columns: 1fr; } }

.bp-card{
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  text-decoration:none;
  color: rgba(255,255,255,.92);
  min-height: 240px;
  box-shadow: 0 24px 110px rgba(0,0,0,.55);
}
.bp-card:hover{
  border-color: rgba(168,85,247,.26);
  box-shadow: 0 32px 140px rgba(0,0,0,.62), 0 0 90px rgba(168,85,247,.12);
  transform: translateY(-3px);
}
.bp-card__top{ display:flex; justify-content:space-between; gap: 12px; padding: 18px 18px 10px; }
.bp-card__title{ font-weight: 1000; font-size: 28px; }
.bp-card__pill{
  height: 30px; padding: 0 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  color: rgba(255,255,255,.72);
  font-weight: 900; font-size: 12px;
  display:inline-flex; align-items:center;
}
.bp-card__stats{ display:flex; gap: 14px; padding: 0 18px 12px; }
.bp-stat__k{ font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.52); font-weight: 900; }
.bp-stat__v{ font-weight: 1000; }

.bp-card__bar{
  margin: 0 18px 16px;
  height: 10px; border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.06);
  overflow:hidden;
}
.bp-card__bar span{ display:block; height: 100%; background: linear-gradient(90deg, rgba(124,58,237,1), rgba(79,70,229,.95)); }

.bp-card__media{
  position:absolute; inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center bottom;
  opacity: .18;
}
.bp-card__media::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.75));
}

.bp-head{ display:flex; align-items:flex-end; justify-content:space-between; gap: 16px; }
.bp-h1{ margin:0; font-size: 42px; font-weight: 1000; letter-spacing: -0.02em; }
.bp-sub{ margin-top: 6px; color: rgba(255,255,255,.62); font-weight: 800; }

.bp-progress{
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.16);
}
.bp-progress__bar{
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.06);
  overflow:hidden;
}
.bp-progress__bar span{ display:block; height: 100%; background: linear-gradient(90deg, rgba(124,58,237,1), rgba(79,70,229,.95)); }
.bp-progress__text{ margin-top: 10px; color: rgba(255,255,255,.62); font-weight: 800; }

.bp-tasks{ display:flex; flex-direction:column; gap: 10px; margin-top: 16px; }
.bp-task{
  display:flex; align-items:center; justify-content:space-between; gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.16);
}
.bp-task.is-done{ border-color: rgba(168,85,247,.22); background: linear-gradient(90deg, rgba(124,58,237,.14), rgba(0,0,0,.14)); }
.bp-task__title{ font-weight: 1000; }
.bp-task__desc{ color: rgba(255,255,255,.62); font-weight: 700; margin-top: 4px; }
.bp-task__btn{
  height: 42px; padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.88);
  font-weight: 900;
  cursor:pointer;
}
.bp-task__btn:hover{ border-color: rgba(168,85,247,.22); }

/* === Task cards grid === */
.bp-taskgrid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}
@media (max-width: 980px){ .bp-taskgrid{ grid-template-columns: 1fr; } }

.taskcard{
  position: relative;
  overflow:hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.16);
  box-shadow: 0 18px 70px rgba(0,0,0,.55);
  min-height: 180px;
}
.taskcard__media{
  position:absolute;
  inset:0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  opacity: .22;
  filter: saturate(1.05) contrast(1.05);
}
.taskcard__media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.82));
}
.taskcard__body{
  position:relative;
  z-index: 2;
  padding: 16px;
}
.taskcard__title{ font-weight: 1000; font-size: 18px; }
.taskcard__desc{ margin-top: 6px; color: rgba(255,255,255,.62); font-weight: 700; }
.taskcard__footer{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.taskcard__status{ color: rgba(255,255,255,.70); font-weight: 800; font-size: 13px; }
.taskcard__btn{
  height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(90deg, rgba(124,58,237,1), rgba(79,70,229,.95));
  color: rgba(255,255,255,.95);
  font-weight: 1000;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.taskcard__btn--ghost{
  background: rgba(0,0,0,.22);
}
.taskcard.is-done{
  border-color: rgba(168,85,247,.22);
}

/* === Submit page === */
.submit-card{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  margin-top: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.16);
  padding: 16px;
}
@media (max-width: 980px){
  .submit-card{ grid-template-columns: 1fr; }
}
.submit-card__title{ font-weight: 1000; font-size: 22px; }
.submit-card__desc{ margin-top: 6px; color: rgba(255,255,255,.62); font-weight: 700; }

.submit-field{ display:flex; flex-direction:column; gap: 8px; margin-top: 12px; }
.submit-field span{ color: rgba(255,255,255,.60); font-weight: 800; font-size: 13px; }
.submit-field input{
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.92);
  padding: 0 12px;
}

.dropzone{
  position: relative;
  border-radius: 18px;
  border: 1px dashed rgba(168,85,247,.35);
  background: rgba(124,58,237,.08);
  padding: 16px;
  cursor:pointer;
}
.dropzone.is-over{ border-color: rgba(168,85,247,.70); background: rgba(124,58,237,.12); }
.dropzone__input{ position:absolute; inset:0; opacity:0; cursor:pointer; }
.dropzone__hint{ color: rgba(255,255,255,.70); font-weight: 800; }
.dropzone__name{ margin-top: 10px; color: rgba(255,255,255,.55); font-weight: 800; }

.uploadbar{ margin-top: 12px; }
.uploadbar__bar{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.06);
}
.uploadbar__bar span{
  display:block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(124,58,237,1), rgba(79,70,229,.95));
}
.uploadbar__pct{ margin-top: 8px; color: rgba(255,255,255,.62); font-weight: 900; }

.submit-btn{
  width: 100%;
  height: 46px;
  border-radius: 14px;
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(90deg, rgba(124,58,237,1), rgba(79,70,229,.95));
  color: rgba(255,255,255,.95);
  font-weight: 1000;
  cursor:pointer;
}
.submit-btn:disabled{ opacity:.55; cursor:not-allowed; }

.submit-result{
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(168,85,247,.22);
  background: rgba(124,58,237,.10);
  color: rgba(255,255,255,.86);
  font-weight: 900;
}

.submit-note{
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.16);
  color: rgba(255,255,255,.72);
  font-weight: 800;
}
.submit-note--ok{ border-color: rgba(168,85,247,.22); }

.mod-list{ margin-top: 16px; display:flex; flex-direction:column; gap: 10px; }
.mod-item{
  display:flex; justify-content:space-between; gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.16);
}
.mod-item__title{ font-weight: 1000; }
.mod-item__meta{ margin-top: 6px; color: rgba(255,255,255,.62); font-weight: 800; display:flex; gap: 14px; flex-wrap:wrap; }
.mod-item__actions{ display:flex; gap: 10px; align-items:center; }
.mod-btn{
  height: 40px; padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.90);
  font-weight: 1000;
  cursor:pointer;
}
.mod-btn--ok{ border-color: rgba(168,85,247,.22); }
.mod-btn--bad{ border-color: rgba(255,80,120,.22); }

/* task status */
.taskcard.is-pending{ border-color: rgba(168,85,247,.18); }
.taskcard.is-pending .taskcard__status{ color: rgba(255,255,255,.78); }

/* modal */
.sl-modal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(10px);
  z-index: 99999;
}
.sl-modal.is-open{ display:flex; }
.sl-modal__panel{
  width: min(520px, 100%);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(16,18,30,.88);
  box-shadow: 0 30px 140px rgba(0,0,0,.65);
  padding: 18px;
}
.sl-modal__title{
  font-weight: 1000;
  font-size: 22px;
}
.sl-modal__text{
  margin-top: 10px;
  color: rgba(255,255,255,.72);
  font-weight: 800;
  line-height: 1.45;
}
.sl-modal__actions{ margin-top: 14px; display:flex; justify-content:flex-end; }
.sl-modal__btn{
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(90deg, rgba(124,58,237,1), rgba(79,70,229,.95));
  color: rgba(255,255,255,.95);
  font-weight: 1000;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.login-help{
  color: rgba(255,255,255,.78);
  font-weight: 800;
}
.login-help__link{
  color: rgba(168,85,247,.95);
  font-weight: 1000;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.login-help__link:hover{
  color: rgba(168,85,247,1);
  text-shadow: 0 10px 28px rgba(168,85,247,.18);
}

.dash-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}
@media (max-width: 1100px){ .dash-grid{ grid-template-columns: 1fr; } }

.bp-product{
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 520px at 18% 0%, rgba(124,58,237,.22), transparent 62%),
    radial-gradient(900px 520px at 88% 14%, rgba(79,70,229,.18), transparent 64%),
    rgba(0,0,0,.18);
  box-shadow: 0 24px 110px rgba(0,0,0,.55);
  padding: 18px;
}
.bp-product__top{ display:flex; justify-content:space-between; gap: 12px; align-items:flex-start; }
.bp-product__title{ font-size: 28px; font-weight: 1000; }
.bp-product__sub{ margin-top: 6px; color: rgba(255,255,255,.68); font-weight: 800; }
.bp-product__price{ font-weight: 1000; color: rgba(168,85,247,.95); }

.bp-product__meta{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}
@media (max-width: 900px){ .bp-product__meta{ grid-template-columns: repeat(2,1fr); } }
.bp-meta{ padding: 12px; border-radius: 18px; background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.08); }
.bp-meta__k{ color: rgba(255,255,255,.55); font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing:.06em; }
.bp-meta__v{ margin-top: 6px; font-weight: 1000; }

.bp-product__progress{ margin-top: 14px; }
.bp-product__bar{ height: 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.06); overflow:hidden; }
.bp-product__bar span{ display:block; height:100%; background: linear-gradient(90deg, rgba(124,58,237,1), rgba(79,70,229,.95)); }
.bp-product__progtext{ margin-top: 10px; color: rgba(255,255,255,.70); font-weight: 800; }

.bp-product__actions{ display:flex; gap: 10px; margin-top: 14px; flex-wrap:wrap; }
.btn-primary{
  height: 44px; padding: 0 14px; border-radius: 14px;
  background: linear-gradient(90deg, rgba(124,58,237,1), rgba(79,70,229,.95));
  color: rgba(255,255,255,.95);
  font-weight: 1000;
  text-decoration:none;
  display:inline-flex; align-items:center; justify-content:center;
  border: 1px solid rgba(255,255,255,.10);
}
.btn-ghost{
  height: 44px; padding: 0 14px; border-radius: 14px;
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.90);
  font-weight: 1000;
  text-decoration:none;
  display:inline-flex; align-items:center; justify-content:center;
  border: 1px solid rgba(255,255,255,.10);
}
.bp-product__note{ margin-top: 12px; color: rgba(255,255,255,.55); font-weight: 700; line-height: 1.4; }

.dash-card{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.16);
  padding: 16px;
}
.dash-card__title{ font-weight: 1000; font-size: 16px; margin-bottom: 10px; }
.dash-list{ margin:0; padding-left: 18px; color: rgba(255,255,255,.70); font-weight: 800; }
.dash-list li{ margin: 8px 0; }
.dash-link{ display:inline-block; margin-top: 10px; color: rgba(168,85,247,.95); font-weight: 1000; text-decoration:none; }
.dash-link:hover{ text-decoration: underline; }

.dash-rewards{ display:grid; grid-template-columns: 1fr; gap: 10px; }
.dash-reward{ padding: 12px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.14); }
.dash-reward__t{ font-weight: 1000; }
.dash-reward__d{ margin-top: 6px; color: rgba(255,255,255,.62); font-weight: 800; }
.dash-reward__k{ margin-top: 8px; color: rgba(255,255,255,.55); font-weight: 800; font-size: 12px; }

.dash-activity{ display:flex; flex-direction:column; gap: 10px; }
.dash-act{ padding: 12px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.14); }
.dash-act__t{ font-weight: 1000; }
.dash-act__d{ margin-top: 6px; color: rgba(255,255,255,.62); font-weight: 800; }

.season-hero{
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  padding: 18px;
}
.season-hero__title{ font-size: 32px; font-weight: 1000; }
.season-hero__sub{ margin-top: 6px; color: rgba(255,255,255,.65); font-weight: 800; }
.season-hero__games{ margin-top: 10px; color: rgba(255,255,255,.60); font-weight: 800; }

.season-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 1100px){ .season-grid{ grid-template-columns: 1fr; } }
.stage{ padding: 12px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.14); }
.stage__t{ font-weight: 1000; }
.stage__d{ margin-top: 6px; color: rgba(255,255,255,.62); font-weight: 800; }
.stage__k{ margin-top: 8px; color: rgba(255,255,255,.55); font-weight: 800; font-size: 12px; }

.timeline{ display:flex; flex-direction:column; gap: 10px; margin-top: 14px; }
.timeline-item{ padding: 14px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.16); }
.timeline-item__t{ font-weight: 1000; }
.timeline-item__d{ margin-top: 6px; color: rgba(255,255,255,.62); font-weight: 800; }

.rewards-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
@media (max-width: 1100px){ .rewards-grid{ grid-template-columns: 1fr; } }
.reward-card{ padding: 14px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.16); }
.reward-card__t{ font-weight: 1000; font-size: 18px; }
.reward-card__d{ margin-top: 6px; color: rgba(255,255,255,.62); font-weight: 800; }
.reward-card__k{ margin-top: 10px; color: rgba(255,255,255,.55); font-weight: 800; }

.sub-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 10px; }
@media (max-width: 900px){ .sub-grid{ grid-template-columns: 1fr; } }
.sub-item{ padding: 12px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.14); display:flex; justify-content:space-between; gap: 10px; }
.sub-item span{ color: rgba(255,255,255,.60); font-weight: 800; }
.sub-note{ margin-top: 12px; color: rgba(255,255,255,.55); font-weight: 700; line-height: 1.4; }

.pay-list{ display:flex; flex-direction:column; gap: 10px; margin-top: 10px; }
.pay-item{ display:grid; grid-template-columns: 1fr auto auto; gap: 10px; padding: 12px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.14); color: rgba(255,255,255,.80); font-weight: 900; }

/* === HERO (Infinity Battle Pass) === */
.bp-hero{
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.10);
  overflow:hidden;
  background: rgba(0,0,0,.18);
  box-shadow: 0 28px 140px rgba(0,0,0,.60);
  min-height: 260px;
}

.bp-hero__bg{
  position:absolute;
  inset:0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  opacity: .22;
  filter: saturate(1.05) contrast(1.05);
}

.bp-hero__bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 18% 0%, rgba(124,58,237,.35), transparent 62%),
    radial-gradient(900px 520px at 88% 14%, rgba(79,70,229,.28), transparent 64%),
    linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.75));
}

.bp-hero__content{
  position: relative;
  z-index: 2;
  padding: 22px;
  max-width: 900px;
}

.bp-hero__badge{
  display:inline-flex;
  align-items:center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.88);
  font-weight: 1000;
  font-size: 12px;
  letter-spacing: .04em;
}

.bp-hero__title{
  margin: 12px 0 0;
  font-size: 44px;
  line-height: 1.05;
  font-weight: 1000;
}

.bp-hero__subtitle{
  margin-top: 10px;
  color: rgba(255,255,255,.72);
  font-weight: 800;
  max-width: 760px;
}

.bp-hero__actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 14px;
}

/* === Popular block === */
.popular{
  margin-top: 18px;
}

.popular__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 12px;
  margin-bottom: 12px;
}

.popular__title{
  font-size: 22px;
  font-weight: 1000;
}

.popular__subtitle{
  margin-top: 4px;
  color: rgba(255,255,255,.60);
  font-weight: 800;
}

/* === Task tiles (competitor-like) === */
.popular__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 1100px){ .popular__grid{ grid-template-columns: 1fr; } }

.tasktile{
  position: relative;
  display:block;
  text-decoration:none;
  border-radius: 26px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  box-shadow: 0 18px 90px rgba(0,0,0,.55);
  min-height: 420px;
  padding: 18px;
}

.tasktile::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  opacity: .18;
  filter: saturate(1.05) contrast(1.05);
}

.tasktile::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.14), rgba(0,0,0,.82)),
    radial-gradient(650px 420px at 50% 92%, rgba(124,58,237,.24), transparent 60%);
}

.tasktile__top{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 10px;
}

.tasktile__name{
  font-size: 30px;
  font-weight: 1000;
  color: rgba(255,255,255,.95);
}

.tasktile__rate{
  font-weight: 1000;
  color: rgba(255,255,255,.90);
  font-size: 16px;
}

.tasktile__line{
  position:relative;
  z-index:2;
  margin-top: 12px;
  height: 2px;
  background: linear-gradient(90deg, rgba(168,85,247,.0), rgba(168,85,247,.70), rgba(168,85,247,.0));
  opacity: .75;
}

.tasktile__desc{
  position:relative;
  z-index:2;
  margin-top: 14px;
  color: rgba(255,255,255,.62);
  font-weight: 900;
  font-size: 16px;
  max-width: 90%;
}

.tasktile__media{
  position:absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  background-image: var(--img);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  opacity: .95;
  z-index: 1;
  transform: translateY(6px);
  filter: drop-shadow(0 26px 70px rgba(0,0,0,.55));
}

.tasktile__hint{
  position:absolute;
  z-index:3;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.26);
  color: rgba(255,255,255,.78);
  font-weight: 900;
  font-size: 12px;
}

.tasktile:hover{
  transform: translateY(-2px);
  transition: transform .18s ease;
  border-color: rgba(168,85,247,.20);
}

/* dashboard hero tweaks */
.bp-hero{
  min-height: 420px; /* было ~260px, делаем выше */
}

.bp-hero__content{
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* по вертикали в центр */
  align-items: center;     /* по горизонтали в центр */
  text-align: center;      /* текст по центру */
  margin: 0 auto;
}

.bp-hero__subtitle{
  margin-left: auto;
  margin-right: auto;
}

.bp-hero__actions--center{
  justify-content: center;
}

/* Task tiles: full-size background, no "second image shadow" */
.tasktile{
  position: relative;
  display:block;
  text-decoration:none;
  border-radius: 26px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.10);
  box-shadow: 0 18px 90px rgba(0,0,0,.50);
  min-height: 420px;
  padding: 18px;
}

/* background image fills whole card */
.tasktile::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--img);
  background-size: cover;          /* ВО ВСЮ КАРТОЧКУ */
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;                      /* без блеклости */
  transform: none;
  filter: none;
}

/* keep only one overlay (no heavy shadow behind) */
.tasktile::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.70));
}

/* remove old lower image layer completely */
.tasktile__media{ display:none !important; }

/* content on top */
.tasktile__top,
.tasktile__line,
.tasktile__desc,
.tasktile__hint{
  position:relative;
  z-index:2;
}

/* optional: a bit cleaner text */
.tasktile__desc{
  color: rgba(255,255,255,.78);
}

/* Popular section heading: center + bigger */
.popular__head{
  justify-content: center;
  text-align: center;
}

.popular__title{
  font-size: 34px;   /* было ~22 */
  font-weight: 1000;
  line-height: 1.1;
}

.popular__subtitle{
  font-size: 18px;   /* было меньше */
  font-weight: 900;
  color: rgba(255,255,255,.68);
  margin-top: 8px;
}

/* Bigger text on task cards + hint pinned to bottom */
.tasktile{
  padding-bottom: 64px; /* место под кнопку/хинт снизу */
}

.tasktile__name{
  font-size: 36px;      /* было ~30 */
  line-height: 1.05;
}

.tasktile__rate{
  font-size: 18px;      /* чуть больше */
}

.tasktile__desc{
  margin-top: 18px;
  font-size: 20px;      /* КРУПНЕЕ текст задания */
  font-weight: 1000;
  color: rgba(255,255,255,.90);
  text-shadow: 0 10px 28px rgba(0,0,0,.55);
  max-width: 92%;
}

/* hint always at bottom */
.tasktile__hint{
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 3;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.30);

  color: rgba(255,255,255,.90);
  font-weight: 1000;
  font-size: 14px;

  text-align: center;
}

/* Spacing around "Популярные задания" block */
.popular{
  margin-top: 44px;   /* отступ от hero вниз */
}

.popular__head{
  margin-bottom: 22px; /* отступ от заголовка до карточек */
}

.popular__title{
  margin: 0;
  padding-top: 8px;    /* чтобы заголовок не прилипал сверху */
}

/* White divider line under game title */
.tasktile__line{
  height: 2px;
  background: rgba(255,255,255,.78) !important;
  opacity: 1 !important;
}

/* ===== Task Submit (modern) ===== */
.ts-wrap { max-width: 1200px; margin: 0 auto; }

.ts-hero{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:24px; padding:26px 26px; border-radius:24px;
  border:1px solid rgba(255,255,255,.10);
  background: radial-gradient(1200px 500px at 10% 0%, rgba(140,90,255,.22), transparent 60%),
              radial-gradient(900px 500px at 90% 20%, rgba(60,140,255,.14), transparent 55%),
              rgba(0,0,0,.18);
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
}

.ts-badges{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:12px; }
.ts-badge{
  font-weight:900; font-size:12px; letter-spacing:.02em;
  padding:8px 12px; border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}
.ts-badge--soft{ opacity:.9; }

.ts-title{ margin:0; font-size:48px; line-height:1.05; }
.ts-subtitle{ margin-top:8px; opacity:.9; font-size:16px; }
.ts-desc{ margin-top:14px; opacity:.75; max-width:70ch; }

.ts-back{ margin-top:6px; }

.ts-alert{
  margin-top:18px; padding:16px 18px; border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
}
.ts-alert--ok{ border-color: rgba(120,255,160,.22); }

.ts-card{
  margin-top:18px;
  display:grid; grid-template-columns: 1fr 1fr;
  gap:16px;
}
@media (max-width: 980px){
  .ts-card{ grid-template-columns: 1fr; }
  .ts-title{ font-size:38px; }
}

.ts-block{
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  padding:18px;
}

.ts-block__title{ font-weight:1000; font-size:18px; }
.ts-block__hint{ margin-top:6px; opacity:.7; font-size:13px; }

.ts-form{ display:grid; gap:12px; margin-top:14px; }
.ts-field span{ display:block; font-size:12px; opacity:.8; margin-bottom:6px; }
.ts-field input{
  width:100%; border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  padding:14px 14px;
  outline:none;
}
.ts-field input:focus{
  border-color: rgba(160,110,255,.55);
  box-shadow: 0 0 0 4px rgba(160,110,255,.16);
}

.ts-steps{
  display:grid; grid-template-columns: 1fr 1fr; gap:10px;
  margin-top:16px;
}
.ts-step{
  display:flex; gap:10px; align-items:center;
  padding:10px 12px; border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.ts-step__n{
  width:26px; height:26px; border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  font-weight:1000; font-size:12px;
  background: rgba(160,110,255,.20);
  border:1px solid rgba(160,110,255,.30);
}
.ts-step__t{ font-size:13px; opacity:.85; font-weight:800; }

.ts-dropzone{
  margin-top:14px;
  border-radius:18px;
  border:1px dashed rgba(160,110,255,.55);
  background: radial-gradient(800px 240px at 50% 0%, rgba(160,110,255,.14), transparent 55%),
              rgba(0,0,0,.18);
  padding:16px;
  cursor:pointer;
  position:relative;
}
.ts-dropzone__input{
  position:absolute; inset:0; opacity:0; cursor:pointer;
}
.ts-dropzone__ui{ display:flex; gap:12px; align-items:center; }
.ts-dropzone__icon{
  width:40px; height:40px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.ts-dropzone__big{ font-weight:1000; font-size:14px; }
.ts-dropzone__small{ opacity:.75; font-size:12px; margin-top:2px; }
.ts-dropzone__name{ margin-top:10px; opacity:.85; font-size:12px; }

.ts-upload{ margin-top:14px; display:flex; gap:10px; align-items:center; }
.ts-upload__bar{
  flex:1; height:12px; border-radius:999px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  overflow:hidden;
}
.ts-upload__bar span{
  display:block; height:100%;
  width:0%;
  background: linear-gradient(90deg, rgba(150,90,255,1), rgba(70,130,255,1));
}
.ts-upload__pct{ width:56px; text-align:right; font-weight:1000; opacity:.8; }

.ts-actions{ margin-top:14px; }
.ts-btn{
  width:100%;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  font-weight:1000;
}
.ts-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
  filter: grayscale(.2);
}
.ts-actions__note{ margin-top:8px; opacity:.7; font-size:12px; }

/* ===== Season (modern) ===== */
.season-wrap{ max-width: 1200px; margin: 0 auto; }

.season-hero{
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 420px at 12% 10%, rgba(160,110,255,.22), transparent 60%),
    radial-gradient(900px 420px at 88% 20%, rgba(70,130,255,.12), transparent 58%),
    rgba(0,0,0,.18);
  box-shadow: 0 24px 90px rgba(0,0,0,.50);
  padding: 26px;
}

.season-pill{
  display:inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 1000;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}

.season-title{
  margin: 14px 0 0 0;
  font-size: 44px;
  line-height: 1.05;
}

.season-kv{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 12px;
}
.season-kv__item{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  padding: 12px 14px;
}
.season-kv__k{ opacity:.65; font-size:12px; font-weight:900; }
.season-kv__v{ margin-top:6px; font-weight:900; opacity:.92; }

.season-chip{
  display:inline-flex;
  margin: 0 8px 6px 0;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}

.season-progress{
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  padding: 14px;
}
.season-progress__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.season-progress__label{ opacity:.7; font-weight:900; font-size:12px; }
.season-progress__lvl{ font-weight:1000; font-size:14px; }

.season-progress__bar{
  margin-top: 10px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  overflow:hidden;
}
.season-progress__bar span{
  display:block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(150,90,255,1), rgba(70,130,255,1));
}
.season-progress__sub{
  margin-top: 8px;
  opacity: .75;
  font-size: 12px;
}

.season-actions{
  margin-top: 14px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.season-grid{
  margin-top: 16px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 980px){
  .season-title{ font-size: 36px; }
  .season-kv{ grid-template-columns: 1fr; }
  .season-grid{ grid-template-columns: 1fr; }
}

.season-card{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  padding: 16px;
}
.season-card__head{ margin-bottom: 10px; }
.season-card__title{ font-weight: 1000; font-size: 18px; }
.season-card__hint{ margin-top: 6px; opacity: .7; font-size: 12px; }

.season-list{ display:grid; gap: 10px; }

.season-item, .season-reward{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  padding: 12px 14px;
}
.season-item__row, .season-reward__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.season-item__name, .season-reward__name{
  font-weight: 1000;
}
.season-item__req, .season-reward__tag{
  opacity:.75;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  white-space: nowrap;
}
.season-item__desc, .season-reward__desc{
  margin-top: 8px;
  opacity:.75;
  font-size: 12px;
  line-height: 1.45;
}

.season-reward__status{
  margin-top: 10px;
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  font-weight: 1000;
  font-size: 12px;
  opacity: .85;
}
.season-reward__status.is-ok{
  border-color: rgba(120,255,160,.22);
  background: rgba(120,255,160,.08);
}

/* ===== Support FAB + Modal (Space Levels) ===== */
.sl-support-fab{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 76px;
  height: 76px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.12);
  background: radial-gradient(80px 80px at 30% 25%, rgba(255,255,255,.25), transparent 55%),
              linear-gradient(180deg, rgba(150,90,255,.95), rgba(80,120,255,.65));
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  cursor: pointer;
  z-index: 50;
  display: grid;
  place-items: center;
  transform: translateZ(0);
  animation: slFabFloat 3.4s ease-in-out infinite;
}

.sl-support-fab__icon{
  font-size: 26px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.45));
  transform: translateY(1px);
}

.sl-support-fab__pulse{
  position:absolute;
  inset: -10px;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 50%, rgba(160,110,255,.35), transparent 60%);
  filter: blur(2px);
  opacity: .9;
  animation: slPulse 2.2s ease-in-out infinite;
  pointer-events:none;
}

.sl-support-fab:hover{
  transform: translateY(-2px) scale(1.02);
  transition: transform .18s ease;
}

@keyframes slFabFloat{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-6px); }
}
@keyframes slPulse{
  0%,100%{ transform: scale(.92); opacity: .55; }
  50%{ transform: scale(1.05); opacity: 1; }
}

/* ===== Support Modal: smooth open/close (no blur) ===== */
.sl-support{
  position: fixed;
  inset: 0;
  display: flex;                 /* важно: не display:none */
  align-items: flex-end;
  justify-content: flex-end;
  padding: 18px;

  background: rgba(0,0,0,.28);   /* без blur */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  z-index: 60;

  /* hidden state */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .20s ease, visibility .20s ease;
}

.sl-support.is-open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sl-support__panel{
  width: min(520px, calc(100vw - 24px));
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.12);
  background: radial-gradient(900px 380px at 10% 0%, rgba(160,110,255,.18), transparent 60%),
              rgba(10,10,16,.92);
  box-shadow: 0 30px 110px rgba(0,0,0,.65);
  padding: 18px;

  /* closed -> open animation */
  transform: translateY(18px) scale(.98);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}

.sl-support.is-open .sl-support__panel{
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* closing (optional slightly faster) */
.sl-support.is-closing{
  opacity: 0;
  visibility: visible; /* чтобы не "мигало" */
  pointer-events: none;
}
.sl-support.is-closing .sl-support__panel{
  transform: translateY(18px) scale(.98);
  opacity: 0;
}

.sl-support__panel{
  width: min(520px, calc(100vw - 24px));
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.12);
  background: radial-gradient(900px 380px at 10% 0%, rgba(160,110,255,.18), transparent 60%),
              rgba(10,10,16,.92);
  box-shadow: 0 30px 110px rgba(0,0,0,.65);
  padding: 18px;
  transform: translateY(18px);
  opacity: 0;
  transition: transform .20s ease, opacity .20s ease;
}
.sl-support.is-open .sl-support__panel{
  transform: translateY(0);
  opacity: 1;
}

.sl-support__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.sl-support__kicker{
  font-weight: 1000;
  font-size: 12px;
  letter-spacing: .08em;
  opacity: .85;
}
.sl-support__close{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  cursor:pointer;
  color: rgba(255,255,255,.9);
}

.sl-support__title{
  font-size: 22px;
  font-weight: 1000;
  line-height: 1.2;
  margin-bottom: 14px;
}

.sl-support__card{
  display:flex;
  gap: 12px;
  align-items:center;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  text-decoration: none;
  color: #fff;
  margin-top: 10px;
}
.sl-support__card--tg{
  background: linear-gradient(180deg, rgba(160,110,255,.25), rgba(255,255,255,.04));
  border-color: rgba(160,110,255,.35);
}
.sl-support__logo{
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  font-size: 20px;
}

.sl-support__meta{ flex:1; }
.sl-support__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.sl-support__name{ font-weight: 1000; font-size: 18px; }
.sl-support__tag{
  font-weight: 1000;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
}
.sl-support__sub{ opacity: .8; font-weight: 900; margin-top: 4px; }

/* ===== Support FAB: notification dot + hover ring + no click blur ===== */
.sl-support-fab{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 76px;
  height: 76px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.12);
  background: radial-gradient(80px 80px at 30% 25%, rgba(255,255,255,.25), transparent 55%),
              linear-gradient(180deg, rgba(150,90,255,.95), rgba(80,120,255,.65));
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  cursor: pointer;
  z-index: 50;
  display: grid;
  place-items: center;
  transform: translateZ(0);
  animation: slFabFloat 3.4s ease-in-out infinite;

  /* ✅ убираем "blur/обводку" от браузера при клике */
  outline: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.sl-support-fab:focus{ outline: none; }
.sl-support-fab:focus-visible{
  /* если хочешь оставить accessibility — оставляем красивый focus */
  box-shadow:
    0 22px 70px rgba(0,0,0,.55),
    0 0 0 3px rgba(255,255,255,.22),
    0 0 0 7px rgba(160,110,255,.22);
}

/* ✅ обводка при наведении */
.sl-support-fab:hover{
  transform: translateY(-2px) scale(1.02);
  transition: transform .18s ease;
  box-shadow:
    0 22px 70px rgba(0,0,0,.55),
    0 0 0 2px rgba(255,255,255,.22),
    0 0 0 6px rgba(160,110,255,.18);
}

/* если у тебя где-то было filter: blur(...) на актив — убиваем */
.sl-support-fab:active{
  filter: none !important;
  outline: none !important;
}

/* ✅ точка-уведомление */
.sl-support-fab__dot{
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.85), rgba(255,255,255,.35) 45%, rgba(255,255,255,.15) 70%);
  border: 2px solid rgba(0,0,0,.35);
  box-shadow: 0 10px 24px rgba(0,0,0,.55);
}

/* кольца вокруг точки */
.sl-support-fab__dot::before,
.sl-support-fab__dot::after{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,.25);
  opacity:.65;
  transform: scale(.85);
  animation: slDotPulse 1.8s ease-in-out infinite;
}
.sl-support-fab__dot::after{
  inset:-18px;
  opacity:.35;
  animation-delay: .35s;
}

@keyframes slDotPulse{
  0%,100%{ transform: scale(.85); opacity:.55; }
  50%{ transform: scale(1.05); opacity: 1; }
}

.sl-support-fab.is-opened .sl-support-fab__icon{
  transform: rotate(90deg);
  transition: transform .18s ease;
}

/* ===== Rewards (modern) ===== */
.rw-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.rw-h1{
  margin: 0;
  font-size: 44px;
  line-height: 1.05;
  font-weight: 1000;
}

.rw-sub{
  margin-top: 8px;
  opacity: .75;
  font-weight: 900;
}

.rw-metrics{
  display:flex;
  gap: 10px;
}
.rw-metric{
  min-width: 96px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding: 10px 12px;
  text-align:right;
}
.rw-metric__k{ opacity:.65; font-weight:900; font-size:12px; }
.rw-metric__v{ margin-top:4px; font-weight:1000; font-size:20px; }

.rw-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1100px){
  .rw-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px){
  .rw-h1{ font-size: 34px; }
  .rw-grid{ grid-template-columns: 1fr; }
}

.rw-card{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(520px 220px at 20% 0%, rgba(160,110,255,.18), transparent 60%),
    rgba(0,0,0,.18);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  padding: 14px;
  overflow:hidden;
}

.rw-card__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}

.rw-card__badge{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  flex: 0 0 auto;
}

.rw-card__meta{
  flex: 1 1 auto;
  min-width: 0;
}

.rw-card__title{
  font-weight: 1000;
  font-size: 18px;
  line-height: 1.2;
}

.rw-card__desc{
  margin-top: 8px;
  opacity: .78;
  font-weight: 900;
  line-height: 1.35;
}

.rw-card__status{
  flex: 0 0 auto;
}

.rw-pill{
  display:inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.24);
  font-weight: 1000;
  font-size: 12px;
  opacity: .9;
  white-space: nowrap;
}

.rw-pill--ok{
  border-color: rgba(120,255,160,.22);
  background: rgba(120,255,160,.08);
}

.rw-card__bottom{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.rw-card__hint{
  opacity: .65;
  font-size: 12px;
  font-weight: 900;
}

.rw-empty{
  margin-top: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding: 18px;
}
.rw-empty__title{ font-weight:1000; font-size: 18px; }
.rw-empty__text{ margin-top: 8px; opacity:.75; font-weight:900; }
.rw-empty .btn{ margin-top: 14px; }

/* Rewards: убрать любую "точку" справа сверху, если где-то осталась */
.rw-card::after,
.rw-card::before{
  content: none !important;
}

/* компактные строки "Игра/Задание/Статус" */
.rw-card__lines{
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.rw-line{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}

.rw-line__k{
  opacity: .7;
  font-weight: 900;
  font-size: 12px;
}

.rw-line__v{
  font-weight: 1000;
  opacity: .95;
  text-align: right;
}

/* === Rewards (cabinet) === */
.rewards-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:22px;
}

.rewards-title{ margin:0; }
.rewards-sub{ margin-top:8px; }

.rewards-total{
  min-width:92px;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  backdrop-filter: blur(10px);
  text-align:right;
}
.rewards-total__k{
  font-size:14px;
  opacity:.75;
}
.rewards-total__v{
  font-size:28px;
  font-weight:800;
  line-height:1.05;
}

.rewards-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:18px;
}

@media (max-width: 1100px){
  .rewards-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px){
  .rewards-head{ align-items:flex-start; flex-direction:column; }
  .rewards-total{ width:100%; text-align:left; }
  .rewards-grid{ grid-template-columns: 1fr; }
}

.reward-card{
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background: radial-gradient(120% 160% at 20% 0%, rgba(140,84,255,.18) 0%, rgba(0,0,0,.00) 55%),
              rgba(255,255,255,.03);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  overflow:hidden;
  padding:18px;
}

.reward-card__top{
  display:flex;
  align-items:center;
  gap:14px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.reward-ico{
  width:44px;
  height:44px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  font-size:20px;
}

.reward-main{ min-width:0; }

.reward-title{
  font-size:20px;
  font-weight:800;
  letter-spacing:.2px;
}

.reward-note{
  margin-top:4px;
  font-size:13px;
  opacity:.75;
}

.reward-meta{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.reward-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}

.reward-label{
  font-size:13px;
  opacity:.7;
}

.reward-value{
  font-size:14px;
  font-weight:700;
  text-align:right;
  max-width:70%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* =========================================================
   Modern tasks page (game.html)
   ========================================================= */

.bp-muted { opacity: .72; }
.bp-dot { opacity: .45; padding: 0 8px; display:inline-block; }
.bp-pill{
  display:inline-flex; align-items:center; gap:8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.9);
  font-weight: 600;
  font-size: 13px;
}

.bp-game { max-width: 1240px; margin: 0 auto; }
.bp-game__top{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.bp-game__h1{ margin: 0; font-size: 54px; letter-spacing: -0.02em; }
.bp-game__meta{ margin-top: 8px; display:flex; align-items:center; flex-wrap:wrap; }

.bp-game__progress{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.bp-game__progressRow{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom: 10px;
}
.bp-game__progressNums{ font-weight: 700; opacity:.9; }

.bp-bar{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  overflow:hidden;
}
.bp-bar > span{
  display:block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(145,86,255,1), rgba(92,130,255,1));
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset;
}

.bp-game__controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  margin: 14px 0 18px;
}
.bp-filters{
  display:flex; gap: 10px; flex-wrap:wrap;
}
.bp-filter{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
  color: rgba(255,255,255,.86);
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.bp-filter:hover{ transform: translateY(-1px); border-color: rgba(145,86,255,.45); }
.bp-filter.is-active{
  background: linear-gradient(90deg, rgba(145,86,255,.9), rgba(92,130,255,.85));
  border-color: rgba(255,255,255,.16);
  color: #fff;
}

.bp-search{ position:relative; min-width: 280px; width: 360px; max-width: 44vw; }
.bp-search__input{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.92);
  padding: 12px 40px 12px 14px;
  outline: none;
}
.bp-search__input:focus{ border-color: rgba(145,86,255,.55); box-shadow: 0 0 0 3px rgba(145,86,255,.15); }
.bp-search__icon{
  position:absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  opacity: .6;
  pointer-events:none;
}

/* grid */
.bp-taskGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* card */
.bp-taskCard{
  position:relative;
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  min-height: 168px;
  padding: 16px;
  transition: transform .14s ease, border-color .14s ease;
}
.bp-taskCard:hover{
  transform: translateY(-2px);
  border-color: rgba(145,86,255,.35);
}

.bp-taskCard__bg{
  position:absolute; inset:0;
  background-image: var(--bg-url);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  opacity: .95;
}
.bp-taskCard__overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 400px at 20% 10%, rgba(145,86,255,.18), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.64));
}

.bp-taskCard__head,
.bp-taskCard__body,
.bp-taskCard__foot{ position:relative; z-index:2; }

.bp-taskCard__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}
.bp-taskCard__game{
  font-weight: 900;
  font-size: 26px;
  letter-spacing:-0.02em;
  text-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.bp-taskCard__badges{ display:flex; gap: 8px; flex-wrap:wrap; justify-content:flex-end; }

.bp-badge{
  display:inline-flex; align-items:center; gap:6px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.28);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
  color: rgba(255,255,255,.92);
}
.bp-badge--done{ border-color: rgba(80, 255, 170, .22); }
.bp-badge--pending{ border-color: rgba(255, 220, 110, .22); }
.bp-badge--rejected{ border-color: rgba(255, 110, 110, .22); }
.bp-badge--todo{ border-color: rgba(145,86,255,.26); }

.bp-taskCard__body{ margin-top: 16px; }
.bp-taskCard__title{
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing:-0.01em;
  text-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.bp-taskCard__desc{
  margin-top: 6px;
  font-size: 14px;
  opacity: .78;
  line-height: 1.25;
  max-width: 82%;
}

.bp-taskCard__foot{
  margin-top: 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.bp-taskCard__hint{
  font-size: 13px;
  opacity: .78;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.10);
}

/* button */
.bp-taskBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 900;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(90deg, rgba(145,86,255,.95), rgba(92,130,255,.92));
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
  text-decoration:none;
  position:relative;
  z-index:3;
}
.bp-taskBtn:hover{ filter: brightness(1.03); }
.bp-taskBtn--ghost{
  background: rgba(0,0,0,.28);
  border-color: rgba(255,255,255,.14);
  box-shadow: none;
}
.bp-taskBtn--disabled{
  opacity: .6;
  pointer-events: none;
  background: rgba(0,0,0,.30);
  border-color: rgba(255,255,255,.12);
  box-shadow:none;
}

/* full-card link (keeps button clickable due to z-index) */
.bp-taskCard__link{
  position:absolute; inset:0;
  z-index:1;
}

/* responsive */
@media (max-width: 980px){
  .bp-game__h1{ font-size: 42px; }
  .bp-taskGrid{ grid-template-columns: 1fr; }
  .bp-search{ width: 100%; max-width: 100%; }
  .bp-game__controls{ flex-direction: column; align-items: stretch; }
}

/* ===== App sidebar v2 ===== */
.app-side{
  padding: 22px 16px;
}

.app-brand{
  display:flex;
  align-items:center;
  gap:12px;
  padding: 10px 10px;
  border-radius: 16px;
  text-decoration:none;
}

.app-brand__logo{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius: 16px;
  background: rgba(125, 75, 255, .18);
  border: 1px solid rgba(160, 120, 255, .20);
  box-shadow: 0 12px 38px rgba(80, 40, 140, .35);
}

.app-brand__text{
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .2px;
}

.app-nav{
  margin-top: 14px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.app-nav__group{
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.app-nav__title{
  opacity: .75;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 4px 8px 0;
}

.app-nav__divider{
  height: 1px;
  background: rgba(255,255,255,.06);
  margin: 4px 0;
}

.app-nav__item{
  position: relative;
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 18px;
  text-decoration:none;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.app-nav__item:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.05);
  border-color: rgba(160,120,255,.22);
}

.app-nav__icon{
  width: 34px;
  height: 34px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  flex: 0 0 auto;
}

.app-nav__label{
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .1px;
}

.app-nav__item.is-active{
  background: linear-gradient(90deg, rgba(125,75,255,.34), rgba(125,75,255,.12));
  border-color: rgba(160,120,255,.30);
  box-shadow: 0 16px 42px rgba(90, 40, 160, .35);
}

.app-nav__item.is-active::before{
  content:"";
  position:absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 99px;
  background: rgba(185, 150, 255, .95);
}

/* bottom user */
.app-side__bottom{
  margin-top: auto;
  padding-top: 14px;
}

.app-user{
  display:flex;
  gap: 12px;
  align-items:center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}

.app-user__avatar{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  font-weight: 900;
  background: rgba(125,75,255,.18);
  border: 1px solid rgba(160,120,255,.20);
}

.app-logout{
  margin-top: 12px;
  width:100%;
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  font-weight: 800;
  cursor:pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.app-logout:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.05);
  border-color: rgba(160,120,255,.22);
}

/* ===== App sidebar logo (no background + bigger) ===== */
.app-brand__logo{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  outline: none !important;

  /* убираем “квадратик” */
  border-radius: 0 !important;

  /* делаем больше */
  width: 64px;
  height: 64px;
  padding: 0;
  display: grid;
  place-items: center;
}

.app-brand__logo img{
  width: 64px;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(120, 60, 255, .25));
}

/* ===========================
   MOBILE FIX PACK (Space Levels)
   Paste to END of main.css
   =========================== */

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

/* iOS viewport fix */
:root { --vh: 100vh; }
@supports (height: 100dvh) {
  :root { --vh: 100dvh; }
}

/* Prevent horizontal scroll on mobile */
html, body { max-width: 100%; overflow-x: hidden; }

/* Images */
img, video { max-width: 100%; height: auto; }

/* ---------- Global container / spacing ---------- */
@media (max-width: 900px) {
  .container,
  .wrap,
  .page,
  .content,
  .public-wrap {
    width: 100%;
    max-width: 100%;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Headings scale */
  h1 { font-size: 36px !important; line-height: 1.05 !important; }
  h2 { font-size: 28px !important; line-height: 1.1 !important; }
  h3 { font-size: 20px !important; line-height: 1.2 !important; }

  /* Buttons */
  .btn, .btn-primary, .btn-ghost, button.btn, a.btn {
    width: 100%;
    max-width: 100%;
  }
}

/* ---------- PUBLIC: top header ---------- */
@media (max-width: 900px) {
  .topbar,
  .header,
  .public-topbar {
    padding: 14px 16px !important;
  }

  .brand,
  .logo,
  .site-brand,
  .public-brand {
    gap: 10px !important;
  }

  /* If your logo is too big on mobile */
  .brand img,
  .logo img,
  .site-brand img {
    height: 28px !important;
    width: auto !important;
  }

  /* Burger alignment */
  [data-burger] {
    width: 44px;
    height: 44px;
  }
}

/* ---------- PUBLIC: hero section (the huge text) ---------- */
@media (max-width: 900px) {
  .hero,
  .hero-wrap,
  .hero-card {
    padding: 18px 16px !important;
    border-radius: 18px !important;
  }

  .hero h1,
  .hero-title {
    font-size: 34px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.02em !important;
    text-shadow: none !important; /* often looks грязно on mobile */
  }

  .hero .sub,
  .hero-sub,
  .hero p {
    font-size: 15px !important;
    line-height: 1.35 !important;
    opacity: .9;
  }

  .hero .actions,
  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 14px !important;
  }

  .hero .btn,
  .hero-actions .btn {
    height: 52px !important;
    border-radius: 16px !important;
  }
}

/* ---------- PUBLIC: "How it works" big cards ---------- */
@media (max-width: 900px) {
  .how,
  .howv2,
  .how-grid,
  .howv2-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .howv2-card {
    min-height: 220px !important;
    padding: 16px !important;
    border-radius: 18px !important;
  }

  .howv2-card .num,
  .howv2-step {
    transform: none !important;
  }
}

/* ---------- PUBLIC: checkout/login modal mobile ---------- */
@media (max-width: 900px) {
  .modal-overlay .modal,
  .modal-overlay .modal-inner,
  .modal-overlay .modal-panel {
    width: calc(100% - 24px) !important;
    max-width: 520px !important;
    margin: 12px auto !important;
    border-radius: 18px !important;
  }

  .modal-overlay .modal-inner h2,
  .modal-overlay .modal-title {
    font-size: 26px !important;
  }

  .modal-overlay input,
  .modal-overlay .input {
    height: 52px !important;
    border-radius: 16px !important;
  }

  .modal-overlay .btn,
  .modal-overlay button {
    height: 52px !important;
    border-radius: 16px !important;
  }
}

/* ---------- Support widget (chat bubble + panel) ---------- */
@media (max-width: 900px) {
  .support-fab,
  .chat-fab,
  [data-support-fab] {
    right: 14px !important;
    bottom: 18px !important;
    transform: none !important;
  }

  .support-panel,
  .chat-panel,
  [data-support-panel] {
    right: 14px !important;
    left: 14px !important;
    bottom: 92px !important;
    width: auto !important;
    max-width: none !important;
    border-radius: 18px !important;
  }
}

/* ===========================
   APP (cabinet) MOBILE
   =========================== */

@media (max-width: 980px) {
  /* Turn sidebar into drawer */
  .app-shell {
    display: block !important;
    min-height: var(--vh);
  }

  .app-side {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    width: 320px !important;
    max-width: 86vw !important;
    transform: translateX(-110%) !important;
    transition: transform .22s ease !important;
    z-index: 50 !important;
  }

  .app-side.is-open,
  .app-side.open {
    transform: translateX(0) !important;
  }

  /* Optional: dark overlay when sidebar open */
  body.app-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 49;
  }
  body.app-shell:has(.app-side.is-open)::before,
  body.app-shell:has(.app-side.open)::before {
    opacity: 1;
    pointer-events: auto;
  }

  .app-main {
    margin-left: 0 !important;
    width: 100% !important;
  }

  .app-topbar {
    padding: 12px 14px !important;
    gap: 10px !important;
  }

  .app-crumbs { display: none !important; } /* на мобиле не надо */
  .app-profile__meta { display: none !important; } /* оставим кружок + lvl */
}

/* App content padding mobile */
@media (max-width: 900px) {
  .app-content { padding: 14px !important; }

  /* Grids -> 1 column */
  .bp-taskgrid,
  .rewards-grid,
  .activity-grid,
  .dashboard-grid,
  .grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Task cards in game page */
  .taskcard {
    border-radius: 18px !important;
  }

  .taskcard__title { font-size: 18px !important; }
  .taskcard__desc  { font-size: 13px !important; line-height: 1.35 !important; }

  .taskcard__btn {
    height: 44px !important;
    border-radius: 14px !important;
  }

  /* Top header blocks */
  .bp-head {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .bp-head .btn { width: 100% !important; }

  /* Progress bar spacing */
  .bp-progress { padding: 14px !important; border-radius: 18px !important; }
}

/* Task submit page layout -> stacked */
@media (max-width: 900px) {
  .submit-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .dropzone { min-height: 110px !important; }
  .submit-btn { height: 52px !important; border-radius: 16px !important; width: 100% !important; }
}

/* Fix overly wide text blocks */
@media (max-width: 900px) {
  .bp-h1 { font-size: 34px !important; line-height: 1.05 !important; }
  .bp-sub { font-size: 14px !important; line-height: 1.35 !important; }
}

/* =========================================================
   MOBILE FIXES: Support PNG + Purchase modal
   Paste at VERY END of main.css
   ========================================================= */

/* ---------- A) SUPPORT CARD: PNG character on mobile ---------- */
@media (max-width: 980px){
  /* секция не должна раздуваться */
  .section--support{
    padding: 32px 0 72px !important;
  }

  /* карточка: убираем “гигантский” min-height/padding под картинку */
  .support-card{
    min-height: auto !important;
    height: auto !important;
    padding: 28px 20px 22px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
  }

  /* если у тебя картинка была absolute — убиваем на мобилке */
  .support-card__img{
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;

    width: min(360px, 88vw) !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 260px !important;

    object-fit: contain !important;
    transform: none !important;
    margin: 14px auto 0 !important;
    display: block !important;
    pointer-events: none !important;
    user-select: none !important;
    filter: drop-shadow(0 18px 40px rgba(0,0,0,0.45)) !important;
  }
}

@media (max-width: 640px){
  .support-card__img{
    width: min(320px, 88vw) !important;
    max-height: 220px !important;
  }
}

/* ---------- B) PURCHASE MODAL: 10₽ checkout on mobile ---------- */
/* overlay должен скроллиться */
.modal-overlay{
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* сама панель модалки должна ограничиваться по высоте */
.modal{
  max-height: calc(100vh - 48px) !important;
  max-height: calc(100dvh - 48px) !important;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 640px){
  .modal-overlay{
    align-items: flex-start !important;
    padding: 14px !important;
  }

  .modal{
    border-radius: 24px !important;
  }

  .modal-close{
    width: 44px !important;
    height: 44px !important;
    top: 10px !important;
    right: 10px !important;
    border-radius: 14px !important;
  }

  /* если у тебя блок оплаты называется purchase (по скрину — похоже так) */
  .purchase{
    padding: 20px 16px 16px !important;
  }

  .purchase__title{
    font-size: 30px !important;
    line-height: 1.05 !important;
  }

  .purchase__kicker{
    font-size: 15px !important;
  }

  .purchase__input{
    height: 60px !important;
    border-radius: 18px !important;
    font-size: 17px !important;
  }

  .purchase__pay{
    height: 72px !important;
    border-radius: 22px !important;
    font-size: 20px !important;
  }
}

/* path: spacelevels/static/css/main.css */
/* === Unsubscribe page (Space Levels) === */

.sl-unsub{
  position: relative;
  padding: 96px 0 90px;
  overflow: hidden;
}

.sl-unsub__bg{
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(900px 520px at 20% 20%, rgba(124,58,237,.22), transparent 60%),
    radial-gradient(900px 520px at 85% 55%, rgba(79,70,229,.16), transparent 62%);
  filter: blur(28px);
  opacity: .9;
  pointer-events:none;
}

.sl-unsub__wrap{ position: relative; z-index: 1; }

.sl-unsub__hero{
  max-width: 980px;
  margin: 0 auto 22px;
  text-align: center;
}

.sl-unsub__badge{
  display:inline-flex;
  align-items:center;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.82);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.sl-unsub__title{
  margin: 18px 0 10px;
  font-weight: 1000;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(40px, 5vw, 74px);
}

.sl-unsub__title span{
  color: var(--accent);
  text-shadow: 0 18px 55px rgba(124,58,237,.22);
}

.sl-unsub__subtitle{
  margin: 0 auto;
  max-width: 860px;
  color: rgba(255,255,255,.70);
  font-size: 18px;
  line-height: 1.5;
}

.sl-unsub__card{
  max-width: 920px;
  margin: 18px auto 22px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(124,58,237,.18), transparent 62%),
    rgba(0,0,0,.22);
  box-shadow: 0 26px 110px rgba(0,0,0,.55);
  padding: 24px;
}

.sl-unsub__cardTitle{
  margin: 0 0 14px;
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: 28px;
  text-align: center;
}

.sl-unsub__form{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.sl-unsub__input{
  height: 56px;
  border-radius: 18px;
}

.sl-unsub__btn{
  height: 56px;
  border-radius: 18px;
  padding: 0 18px;
  white-space: nowrap;
}

.sl-unsub__sent{
  margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 16px;
  text-align: center;
}

.sl-unsub__sentTitle{
  font-weight: 1000;
  margin-bottom: 6px;
}

.sl-unsub__sentText{
  color: rgba(255,255,255,.72);
  margin-bottom: 12px;
}

.sl-unsub__mailBtn{
  display:inline-flex;
  justify-content:center;
  min-width: 320px;
}

.sl-unsub__sentNote{
  margin-top: 10px;
  color: rgba(255,255,255,.55);
  font-size: 13px;
  line-height: 1.4;
}

/* Help block */
.sl-unsub-help{
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 520px at 18% 0%, rgba(124,58,237,.22), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  box-shadow: 0 26px 110px rgba(0,0,0,.55);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  overflow: hidden;
  padding: 26px;
}

.sl-unsub-help__title{
  margin: 0;
  font-weight: 1000;
  letter-spacing: -0.02em;
  font-size: 34px;
}

.sl-unsub-help__text{
  margin-top: 10px;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
  font-size: 16px;
  max-width: 58ch;
}

.sl-unsub-help__videoBtn{
  margin-top: 14px;
  height: 52px;
  border-radius: 18px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  box-shadow: none;
}

.sl-unsub-help__hint{
  margin-top: 12px;
  color: rgba(255,255,255,.62);
  font-weight: 800;
}
.sl-unsub-help__hint a{
  color: rgba(59,130,246,.95);
  text-decoration: underline;
}

/* right illustration (pure CSS) */
.sl-unsub-help__right{
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(600px 300px at 70% 30%, rgba(255,255,255,.10), rgba(0,0,0,0) 65%),
    radial-gradient(600px 300px at 30% 90%, rgba(124,58,237,.22), rgba(0,0,0,0) 65%),
    rgba(0,0,0,.18);
  min-height: 220px;
}

/* Video modal */
.sl-video{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.sl-video.is-open{ display:flex; }

.sl-video__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.72);
}

.sl-video__panel{
  position: relative;
  width: min(980px, 100%);
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(10,10,16,.88);
  box-shadow: 0 30px 140px rgba(0,0,0,.70);
  overflow: hidden;
  z-index: 1;
}

.sl-video__close{
  position:absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  cursor: pointer;
  z-index: 2;
}

.sl-video__frame{
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,.35);
}

.sl-video__player,
.sl-video__iframe{
  width: 100%;
  height: 100%;
  display:block;
}

/* Mobile */
@media (max-width: 820px){
  .sl-unsub{ padding: 74px 0 70px; }
  .sl-unsub__form{ grid-template-columns: 1fr; }
  .sl-unsub__btn{ width: 100%; }
  .sl-unsub__mailBtn{ width: 100%; min-width: 0; }
  .sl-unsub-help{ grid-template-columns: 1fr; }
  .sl-unsub-help__right{ min-height: 180px; }
}

/* === Unsubscribe layout fix: vertical rhythm + separated blocks === */

.sl-unsub{
  padding: 110px 0 110px;
}

/* Единый вертикальный ритм: все блоки в колонку и с равным gap */
.sl-unsub__wrap{
  display: grid;
  gap: 26px;                 /* главный отступ между блоками */
}

/* HERO отделяем сильнее и делаем "воздух" */
.sl-unsub__hero{
  margin: 0 auto;
  padding: 10px 0 6px;
}

.sl-unsub__subtitle{
  margin-top: 10px;
}

/* Карточки: одинаковая ширина и центр */
.sl-unsub__card,
.sl-unsub-help{
  width: min(1120px, 100%);
  margin: 0 auto;
}

/* Добавляем “разделитель” между HERO и карточкой */
.sl-unsub__card{
  position: relative;
  padding: 26px;
}

.sl-unsub__card::before{
  content:"";
  position:absolute;
  left: 22px;
  right: 22px;
  top: -14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
  opacity: .9;
}

/* Форма: аккуратнее, чтобы не "растягивалось" */
.sl-unsub__form{
  grid-template-columns: 1fr 240px;
}

.sl-unsub__btn{
  width: 240px;
  justify-content: center;
}

/* HELP блок — отдельный “экран” (как у конкурента) */
.sl-unsub-help{
  position: relative;
  padding: 30px;
  gap: 22px;
}

/* Лёгкий разделитель перед help блоком */
.sl-unsub-help::before{
  content:"";
  position:absolute;
  left: 22px;
  right: 22px;
  top: -14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.22), transparent);
  opacity: .9;
}

/* Заголовки help блока – меньше “давят”, больше воздуха */
.sl-unsub-help__title{
  font-size: 32px;
  line-height: 1.08;
}

.sl-unsub-help__text{
  margin-top: 12px;
  max-width: 62ch;
}

/* Кнопка видео — на отдельной строке, без склеивания */
.sl-unsub-help__videoBtn{
  margin-top: 16px;
}

/* Правая "плашка" — пусть выглядит как отдельный блок, а не пустота */
.sl-unsub-help__right{
  min-height: 260px;
  border-radius: 24px;
  background:
    radial-gradient(700px 320px at 70% 30%, rgba(255,255,255,.10), rgba(0,0,0,0) 65%),
    radial-gradient(700px 320px at 30% 90%, rgba(124,58,237,.22), rgba(0,0,0,0) 65%),
    rgba(0,0,0,.20);
}

/* На мобиле — каждый блок как отдельная карточка (по очереди вниз) */
@media (max-width: 820px){
  .sl-unsub{
    padding: 84px 0 90px;
  }

  .sl-unsub__wrap{
    gap: 18px;
  }

  .sl-unsub__title{
    font-size: 40px;
    line-height: 1.02;
  }

  .sl-unsub__card{
    padding: 18px;
  }

  .sl-unsub__card::before,
  .sl-unsub-help::before{
    left: 14px;
    right: 14px;
  }

  .sl-unsub__form{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sl-unsub__btn{
    width: 100%;
  }

  .sl-unsub-help{
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .sl-unsub-help__right{
    min-height: 180px;
  }
}

/* ===== Unsubscribe page ===== */
.unsub-page{
  /* фон как у hero */
  background:
    radial-gradient(1200px 700px at 25% 0%, rgba(124,58,237,0.26), transparent 55%),
    radial-gradient(900px 600px at 85% 45%, rgba(59,130,246,0.18), transparent 60%),
    radial-gradient(900px 900px at 40% 100%, rgba(124,58,237,0.14), transparent 55%),
    var(--bg);
}

.unsub-hero{
  min-height: calc(100svh - var(--topnav-h));
  padding: 72px 0 96px;
  background: var(--unsub-bg) center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.unsub-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 540px at 18% 22%, rgba(124,58,237,0.38), transparent 60%),
    radial-gradient(800px 520px at 85% 78%, rgba(96,165,250,0.20), transparent 55%),
    linear-gradient(180deg, rgba(10,11,16,0.40) 0%, rgba(10,11,16,0.88) 70%, rgba(10,11,16,0.96) 100%);
  pointer-events:none;
}

.unsub-hero__inner{ position: relative; z-index: 1; }

.unsub-title{
  text-align:center;
  margin: 0 auto 14px;
  max-width: 980px;
  font-weight: 1000;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-size: clamp(40px, 5.2vw, 76px);
}
.unsub-title span{ color: var(--accent); }

.unsub-subtitle{
  text-align:center;
  margin: 0 auto 28px;
  max-width: 820px;
  color: rgba(255,255,255,0.72);
  font-size: 18px;
  line-height: 1.5;
}

.unsub-card{
  max-width: 980px;
  margin: 0 auto;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 22px 80px rgba(0,0,0,0.40);
  backdrop-filter: blur(14px);
  padding: 22px;
}

.unsub-card__title{
  text-align:center;
  font-weight: 950;
  font-size: 22px;
  margin-bottom: 14px;
}

.unsub-form{
  display:flex;
  gap: 12px;
  align-items:center;
}

.unsub-input{ height: 64px; border-radius: 18px; }
.unsub-btn{ height: 64px; border-radius: 18px; padding: 0 18px; }

.unsub-ok{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(34,197,94,0.35);
  background: rgba(34,197,94,0.10);
  color: rgba(255,255,255,0.90);
  font-weight: 800;
}

.unsub-help{
  max-width: 1100px;
  margin: 26px auto 0;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 22px 80px rgba(0,0,0,0.35);
  backdrop-filter: blur(14px);
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 22px;
}

.unsub-help__title{ margin:0; font-weight: 950; font-size: 30px; line-height: 1.08; }
.unsub-help__text{ margin: 10px 0 16px; color: rgba(255,255,255,0.72); line-height: 1.5; }

.unsub-videoPreview{
  width: 100%;
  min-height: 260px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.22);
}

/* video modal */
.unsub-videoModal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
}
.unsub-videoModal.is-open{ display:block; }
.unsub-videoModal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.68);
}
.unsub-videoModal__panel{
  position: relative;
  width: min(980px, calc(100% - 24px));
  margin: 6vh auto 0;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10,12,18,0.85);
  box-shadow: 0 30px 120px rgba(0,0,0,0.70);
  overflow:hidden;
}
.unsub-videoModal__close{
  position:absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  cursor:pointer;
  z-index: 2;
}
.unsub-videoWrap{
  position: relative;
  padding-top: 56.25%;
}
.unsub-iframe{
  position:absolute;
  inset:0;
  width: 100%;
  height: 100%;
}

/* mobile */
@media (max-width: 820px){
  .unsub-form{ flex-direction: column; align-items: stretch; }
  .unsub-help{ grid-template-columns: 1fr; }
  .unsub-hero{ padding: 56px 0 80px; }
}

/* ===== Unsubscribe layout (separated sections) ===== */

.unsub-hero{
  min-height: calc(100svh - var(--topnav-h));
  padding: 88px 0 96px;
  background: var(--unsub-bg) center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.unsub-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 540px at 18% 22%, rgba(124,58,237,0.38), transparent 60%),
    radial-gradient(800px 520px at 85% 78%, rgba(96,165,250,0.20), transparent 55%),
    linear-gradient(180deg, rgba(10,11,16,0.40) 0%, rgba(10,11,16,0.88) 70%, rgba(10,11,16,0.96) 100%);
  pointer-events:none;
}

.unsub-hero__inner{ position: relative; z-index: 1; text-align:center; }
.unsub-title{
  margin: 0 auto 14px;
  max-width: 980px;
  font-weight: 1000;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-size: clamp(40px, 5.2vw, 76px);
}
.unsub-title span{ color: var(--accent); }

.unsub-subtitle{
  margin: 0 auto 26px;
  max-width: 820px;
  color: rgba(255,255,255,0.72);
  font-size: 18px;
  line-height: 1.5;
}

.unsub-section{
  padding: 96px 0;
}
@media (max-width: 820px){
  .unsub-section{ padding: 64px 0; }
  .unsub-hero{ padding: 64px 0 72px; }
}

/* чтобы якорь не прятался под sticky topnav */
#cancel, #help, #docs{
  scroll-margin-top: calc(var(--topnav-h) + 18px);
}

.unsub-card{
  max-width: 980px;
  margin: 0 auto;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 22px 80px rgba(0,0,0,0.40);
  backdrop-filter: blur(14px);
  padding: 22px;
}

.unsub-card__head{ text-align:center; margin-bottom: 14px; }
.unsub-card__title{ margin:0; font-weight: 950; font-size: 28px; }
.unsub-card__hint{ margin: 10px auto 0; color: rgba(255,255,255,0.68); max-width: 680px; }

.unsub-form{
  display:flex;
  gap: 12px;
  align-items:center;
}
.unsub-input{ height: 64px; border-radius: 18px; }
.unsub-btn{ height: 64px; border-radius: 18px; padding: 0 18px; }

@media (max-width: 820px){
  .unsub-form{ flex-direction: column; align-items: stretch; }
}

/* =======================
   Unsubscribe page
   ======================= */

.unsub-section{
  padding: 56px 0;
}

/* HERO */
.unsub-hero{
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  background-image: var(--unsub-hero-bg);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.unsub-hero__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 50% 40%, rgba(124,58,237,.25), transparent 60%),
    linear-gradient(to bottom, rgba(8,10,14,.35), rgba(8,10,14,.88));
  pointer-events: none;
}

.unsub-hero__inner{
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
}

.unsub-hero__content{
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.unsub-hero__title{
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
  font-size: clamp(34px, 5vw, 74px);
  margin: 0 0 18px;
}

.unsub-accent{
  color: var(--accent);
  text-shadow: 0 12px 60px rgba(124,58,237,.45);
}

.unsub-hero__subtitle{
  max-width: 720px;
  margin: 0 auto 22px;
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.55;
}

.unsub-hero__actions{
  display: flex;
  justify-content: center;
}

/* FORM CARD */
.unsub-card{
  max-width: 860px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 90px rgba(0,0,0,.35);
}

.unsub-card__title{
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
}

.unsub-card__desc{
  margin: 0 0 18px;
  color: rgba(255,255,255,.70);
}

.unsub-form{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.unsub-input{
  width: 100%;
}

.unsub-submit{
  white-space: nowrap;
}

/* HELP CARD (как на главной: картинка вылезает наружу) */
.unsub-help{
  position: relative;
  overflow: visible; /* важно: картинка может “вылезать” */
  padding: 36px 40px;
  min-height: 360px;

  border-radius: 28px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 90px rgba(0,0,0,.35);

  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 20px;
  align-items: center;
}

.unsub-help__text{
  max-width: 560px;
}

.unsub-help__kicker{
  color: rgba(255,255,255,.62);
  font-weight: 600;
  margin-bottom: 10px;
}

.unsub-help__title{
  margin: 0 0 14px;
  font-weight: 900;
  line-height: 1.05;
  font-size: clamp(30px, 3.2vw, 54px);
}

.unsub-help__desc{
  margin: 0 0 18px;
  color: rgba(255,255,255,.70);
  line-height: 1.6;
}

.unsub-help__actions{
  display: flex;
  align-items: center;
  gap: 12px;
}

.unsub-video-btn{
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(124,58,237,.92);
  border: 1px solid rgba(167,139,250,.35);
  box-shadow:
    0 16px 60px rgba(124,58,237,.35),
    0 0 0 1px rgba(255,255,255,.08) inset;
}

.unsub-video-btn:hover{
  filter: brightness(1.06);
  box-shadow:
    0 18px 70px rgba(124,58,237,.45),
    0 0 0 1px rgba(255,255,255,.10) inset;
}

.unsub-mail-chip{
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.unsub-help__art{
  position: absolute;
  right: 10px;
  bottom: -100px;
  width: min(520px, 42vw);
  max-width:400px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 26px 80px rgba(0,0,0,.55));
}

/* VIDEO MODAL */
.unsub-video{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.unsub-video[aria-hidden="false"]{
  display: block;
}

.unsub-video__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.66);
  backdrop-filter: blur(10px);
}

.unsub-video__panel{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(980px, calc(100vw - 28px));
  border-radius: 22px;
  background: rgba(10,12,16,.92);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 30px 120px rgba(0,0,0,.55);
  overflow: hidden;
}

.unsub-video__close{
  position: absolute;
  right: 12px;
  top: 10px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
}

.unsub-video__frame{
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
}

.unsub-video__frame iframe{
  width: 100%;
  height: 100%;
  display: block;
}

/* MOBILE */
@media (max-width: 860px){
  .unsub-form{
    grid-template-columns: 1fr;
  }

  .unsub-help{
    grid-template-columns: 1fr;
    padding: 24px;
    min-height: 0;
  }

  .unsub-help__art{
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 420px;
    margin: 16px auto 0;
    display: block;
  }
}

.unsub-card{
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 90px rgba(0,0,0,.45);
  padding: 44px;
}

.unsub-btn{
  border-radius: 22px;
  padding: 18px 28px;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(124,58,237,1), rgba(92,45,200,1));
  box-shadow: 0 16px 40px rgba(124,58,237,.35);
}
.unsub-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(124,58,237,.45);
}

.unsub-input{
  border-radius: 22px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.10);
  padding: 18px 20px;
  font-size: 18px;
}
.unsub-input:focus{
  outline: none;
  border-color: rgba(124,58,237,.55);
  box-shadow: 0 0 0 4px rgba(124,58,237,.15);
}

.unsub-form{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
@media (max-width: 720px){
  .unsub-form{ grid-template-columns: 1fr; }
  .unsub-btn{ width: 100%; justify-content: center; }
}

/* Toast */
.sl-toast{
  position: fixed;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: none;
}

.sl-toast__inner{
  min-width: 280px;
  max-width: min(720px, calc(100vw - 32px));
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  text-align: center;

  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow: 0 20px 70px rgba(0,0,0,.45);
}

.sl-toast.is-error .sl-toast__inner{
  background: rgba(255, 110, 110, .92);
  color: #fff;
}

.sl-toast.is-success .sl-toast__inner{
  background: rgba(64, 210, 140, .92);
  color: #07140d;
}

.sl-toast{
  opacity: 0;
  transition: opacity .22s ease, transform .22s ease;
}

.sl-toast.is-show{
  opacity: 1;
  transform: translateX(-50%) translateY(6px);
}

.unsub-result__actions{
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.unsub-card__desc{
  text-align: center;
}
