*{margin:0;padding:0;box-sizing:border-box}
:root{
  --bg:#0E0E12;
  --bg2:#15151c;
  --card:#191921;
  --yellow:#FFE600;
  --magenta:#F81BC1;
  --cyan:#09F1FD;
  --text:#f6f6f8;
  --muted:#9a9aa8;
  --tg:#229ed9;
}
html{font-size:16px;scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  background:var(--bg);color:var(--text);line-height:1.55;
  overflow-x:hidden;
}
.wrap{max-width:880px;margin:0 auto;padding:0 20px}
a{color:inherit}

/* NEON BACKDROP */
body::before{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(680px 420px at 18% -8%, rgba(248,27,193,.16), transparent 62%),
    radial-gradient(700px 460px at 88% 4%, rgba(9,241,253,.13), transparent 60%),
    radial-gradient(900px 520px at 50% 108%, rgba(255,230,0,.08), transparent 60%);
}

/* TOP NAV */
.topnav{
  position:sticky;top:0;z-index:50;
  background:rgba(14,14,18,.82);backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.topnav .wrap{display:flex;align-items:center;justify-content:space-between;padding:12px 20px}
.topnav .brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:18px;text-decoration:none;letter-spacing:-.02em}
.topnav .brand img{width:34px;height:34px;border-radius:50%}
.topnav .brand b{color:var(--yellow)}
.topnav .nav-cta{
  display:inline-flex;align-items:center;gap:7px;
  background:linear-gradient(135deg,#2aabee,#229ed9);color:#fff;
  font-size:14px;font-weight:800;text-decoration:none;padding:9px 16px;border-radius:11px;
}
.topnav .nav-cta svg{width:16px;height:16px;fill:#fff}

/* HERO */
.hero{text-align:center;padding:64px 20px 40px;position:relative}
.mascot{
  width:min(360px,72vw);height:auto;display:block;margin:0 auto 6px;
  filter:drop-shadow(0 0 26px rgba(255,230,0,.28)) drop-shadow(0 18px 40px rgba(0,0,0,.55));
  animation:float 4.2s ease-in-out infinite;
}
.mascot.sm{width:min(220px,52vw)}
@keyframes float{0%,100%{transform:translateY(0) rotate(-1.5deg)}50%{transform:translateY(-14px) rotate(1.5deg)}}
.badge{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(255,230,0,.1);border:1px solid rgba(255,230,0,.32);
  color:var(--yellow);font-weight:700;font-size:13px;letter-spacing:.04em;text-transform:uppercase;
  padding:7px 16px;border-radius:999px;margin-bottom:20px;
}
.badge .dot{width:8px;height:8px;border-radius:50%;background:var(--yellow);box-shadow:0 0 10px var(--yellow);animation:pulse 1.6s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}
.hero h1{
  font-size:clamp(30px,5.8vw,52px);font-weight:900;letter-spacing:-.025em;
  margin:6px 0 16px;line-height:1.04;
}
.hero h1 .hl{
  color:var(--yellow);
  text-shadow:0 0 22px rgba(255,230,0,.45),3px 3px 0 var(--magenta),-2px -2px 0 var(--cyan);
}
.hero p.sub{
  font-size:clamp(16px,2.5vw,21px);color:#cfcfe0;max-width:580px;margin:0 auto 30px;
}
.cta{
  display:inline-flex;align-items:center;gap:11px;
  background:linear-gradient(135deg,#2aabee,#229ed9);color:#fff;
  font-size:19px;font-weight:800;text-decoration:none;
  padding:18px 36px;border-radius:16px;
  box-shadow:0 14px 34px rgba(34,158,217,.45);
  transition:transform .15s ease, box-shadow .15s ease;
}
.cta:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(34,158,217,.6)}
.cta svg{width:24px;height:24px;fill:#fff}
.cta.yellow{background:linear-gradient(135deg,#FFE600,#ffc400);color:#1a1500;box-shadow:0 14px 34px rgba(255,230,0,.35)}
.cta.yellow svg{fill:#1a1500}
.cta.yellow:hover{box-shadow:0 18px 44px rgba(255,230,0,.5)}
.cta-note{margin-top:13px;color:var(--muted);font-size:14px}

/* BREADCRUMB */
.crumbs{font-size:13px;color:var(--muted);padding:18px 0 0;text-align:center}
.crumbs a{color:var(--cyan);text-decoration:none;display:inline-block;padding:6px 2px}
.crumbs span{margin:0 5px;opacity:.5}

/* SECTIONS */
section{padding:42px 0}
h2{font-size:clamp(24px,4.2vw,34px);font-weight:900;letter-spacing:-.02em;margin-bottom:10px;text-align:center}
.lead{text-align:center;color:var(--muted);max-width:620px;margin:0 auto 30px;font-size:16px}

/* ARTICLE BODY */
.article{
  background:linear-gradient(180deg,var(--bg2),var(--card));
  border:1px solid rgba(255,255,255,.06);border-radius:22px;
  padding:32px 30px;margin-bottom:18px;
}
.article h2{text-align:left;font-size:clamp(20px,3vw,26px);margin:28px 0 12px}
.article h2:first-child{margin-top:0}
.article p{color:#c8c8d6;font-size:16.5px;margin-bottom:14px}
.article ul{margin:0 0 16px 0;padding-left:0;list-style:none}
.article li{color:#c8c8d6;font-size:16px;margin-bottom:9px;padding-left:28px;position:relative}
.article li::before{content:"🔥";position:absolute;left:0;top:0}
.tags{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:18px}
.tags span{
  background:rgba(9,241,253,.08);border:1px solid rgba(9,241,253,.22);color:#bdf6fa;
  font-size:13px;line-height:1.3;padding:6px 14px;border-radius:999px;white-space:nowrap;
}

/* INLINE CTA */
.inline-cta{
  display:inline-flex;align-items:center;gap:8px;
  color:var(--yellow);font-weight:800;text-decoration:none;font-size:16px;
  border-bottom:2px solid rgba(255,230,0,.35);padding-bottom:1px;
}
.inline-cta:hover{border-color:var(--yellow)}
.inline-cta::before{content:"👉";font-size:18px}

/* CTA CARD (mid-article) */
.cta-card{
  display:flex;align-items:center;gap:22px;flex-wrap:wrap;justify-content:center;
  background:linear-gradient(135deg,rgba(248,27,193,.12),rgba(9,241,253,.09));
  border:1px solid rgba(255,255,255,.08);border-radius:22px;padding:26px 28px;margin:22px 0;
}
.cta-card img{width:120px;height:auto;flex-shrink:0;filter:drop-shadow(0 10px 26px rgba(0,0,0,.45))}
.cta-card .txt{flex:1;min-width:230px}
.cta-card h3{font-size:21px;font-weight:900;margin-bottom:7px}
.cta-card p{color:var(--muted);font-size:15px;margin-bottom:15px}

/* ANSWER (статьи-ответы) — секции-карточки, как в каталоге rev.games */
.answer{display:flex;flex-direction:column;gap:0}
.sec-card{
  background:linear-gradient(180deg,var(--bg2),var(--card));
  border:1px solid rgba(255,255,255,.06);border-radius:22px;
  padding:28px 30px;margin-bottom:18px;
}
.sec-card>:first-child{margin-top:0}
.sec-card>:last-child{margin-bottom:0}
/* иерархия заголовков: h2 крупный акцент секции, h3 подзаголовок */
.sec-card h2{
  text-align:left;font-size:clamp(21px,3vw,27px);font-weight:900;letter-spacing:-.015em;
  margin:0 0 16px;color:#fff;line-height:1.22;max-width:34ch;
}
.sec-card h3{
  text-align:left;font-size:clamp(17px,2.2vw,20px);font-weight:800;letter-spacing:-.01em;
  margin:30px 0 12px;color:#f1f1f7;line-height:1.3;max-width:40ch;
}
.sec-card h3:first-child{margin-top:0}
/* основной текст: комфортная высота строки и ширина ~68ch */
.sec-card p{
  color:#c8c8d6;font-size:17px;line-height:1.72;
  margin:0 0 17px;max-width:68ch;
}
.sec-card p:last-child{margin-bottom:0}
/* списки: воздух между пунктами, ровный левый край */
.sec-card ul{margin:0 0 18px 0;padding-left:0;list-style:none;max-width:68ch}
.sec-card li{color:#c8c8d6;font-size:16.5px;margin-bottom:11px;padding-left:24px;position:relative;line-height:1.6}
.sec-card li:last-child{margin-bottom:0}
.sec-card ul>li::before{content:"";position:absolute;left:3px;top:11px;width:7px;height:7px;border-radius:50%;background:var(--yellow)}
.sec-card ol{margin:0 0 18px 0;padding-left:0;list-style:none;counter-reset:lr;max-width:68ch}
.sec-card ol>li{counter-increment:lr;padding-left:38px;margin-bottom:13px}
.sec-card ol>li::before{content:counter(lr);position:absolute;left:0;top:1px;width:24px;height:24px;border-radius:50%;background:rgba(255,230,0,.14);color:var(--yellow);font-size:13px;font-weight:800;display:flex;align-items:center;justify-content:center}
/* ссылки: подчёркивание со смещением, акцент циан */
.sec-card a{color:#bdf6fa;text-decoration:underline;text-decoration-color:rgba(9,241,253,.35);text-underline-offset:3px;text-decoration-thickness:1px;transition:text-decoration-color .15s}
.sec-card a:hover{text-decoration-color:#bdf6fa}
.sec-card strong{color:#fff;font-weight:700}
/* первый абзац секции крупнее, как лид */
.sec-card h2 + p{font-size:18px;color:#d6d6e2}
/* таблицы 1 в 1 как в статьях rev.games: рамка, скругление, шапка, зебра */
.sec-card .tbl-wrap{overflow-x:auto;margin:18px 0;-webkit-overflow-scrolling:touch;border:1px solid rgba(255,255,255,.08);border-radius:10px}
.sec-card table{width:100%;border-collapse:collapse;font-size:15px;min-width:520px;margin:0}
.sec-card thead{background:rgba(255,255,255,.05)}
.sec-card th{text-align:left;padding:12px 16px;font-weight:700;color:#fff;border-bottom:1px solid rgba(255,255,255,.1);white-space:nowrap}
.sec-card td{padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.06);color:#c8c8d6;vertical-align:top}
.sec-card tbody tr:last-child td{border-bottom:none}
.sec-card tbody tr:nth-child(even) td{background:rgba(255,255,255,.02)}
/* FAQ внутри секции — пары вопрос/ответ с разделителем */
.sec-card .qa{padding:16px 0;border-top:1px solid rgba(255,255,255,.07)}
.sec-card .qa:first-of-type{border-top:none;padding-top:6px}
.sec-card .qa:last-of-type{padding-bottom:0}
.sec-card .qa h3{margin:0 0 8px;color:#fff;font-size:clamp(16px,2.2vw,18px)}
.sec-card .qa p{margin-bottom:0}

/* RELATED GRID */
.related{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.rel-card{
  background:var(--card);border:1px solid rgba(255,255,255,.07);
  border-radius:16px;padding:18px 20px;text-decoration:none;color:var(--text);
  transition:border-color .2s,transform .2s,box-shadow .2s;
  display:flex;flex-direction:column;height:100%;
}
.rel-card:hover{border-color:rgba(255,230,0,.55);transform:translateY(-4px);box-shadow:0 12px 30px rgba(0,0,0,.35)}
.rel-card .ico{font-size:28px;margin-bottom:8px}
.rel-card b{display:block;font-size:16px;font-weight:800;margin-bottom:4px;color:#fff}
.rel-card span{color:var(--muted);font-size:13px;flex:1}
.rel-card .go{
  display:inline-flex;align-items:center;gap:6px;margin-top:14px;
  color:var(--yellow);font-weight:800;font-size:14px;font-style:normal;
}
.rel-card:hover .go{gap:10px}
.rel-card .go{transition:gap .2s}

/* HUB GROUPS */
.hub-group{margin-bottom:34px}
.hub-group h2{text-align:left;font-size:22px;margin-bottom:14px;display:flex;align-items:center;gap:10px}
.hub-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.hub-list a{
  background:var(--card);border:1px solid rgba(255,255,255,.07);border-radius:13px;
  padding:14px 18px;text-decoration:none;color:var(--text);font-weight:700;font-size:15px;
  transition:border-color .2s,transform .2s;display:flex;align-items:center;gap:9px;
}
.hub-list a:hover{border-color:rgba(9,241,253,.4);transform:translateX(3px)}
.hub-list a .e{font-size:19px}

/* FINAL */
.final{
  text-align:center;
  background:linear-gradient(135deg,rgba(255,230,0,.12),rgba(248,27,193,.12));
  border:1px solid rgba(255,230,0,.18);
  border-radius:26px;padding:46px 28px;margin:30px 0;
}
.final img{width:120px;height:auto;margin:0 auto 14px;display:block;filter:drop-shadow(0 8px 22px rgba(0,0,0,.5))}
.final h2{margin-bottom:12px}
.final p{color:var(--muted);font-size:18px;margin-bottom:26px}

/* FAQ — выпадающие списки (аккордеон) */
.faq{border:1px solid rgba(255,255,255,.08);border-radius:14px;overflow:hidden;margin-top:6px}
.faq details{border-bottom:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.015)}
.faq details:last-child{border-bottom:none}
.faq details[open]{background:rgba(255,255,255,.04)}
.faq summary{
  font-weight:800;font-size:16.5px;color:#fff;list-style:none;cursor:pointer;
  display:flex;justify-content:space-between;align-items:center;gap:14px;
  padding:16px 20px;transition:color .15s;
}
.faq summary:hover{color:var(--yellow)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--yellow);font-size:24px;font-weight:400;line-height:1;flex-shrink:0;transition:transform .2s}
.faq details[open] summary::after{content:"×"}
.faq summary{line-height:1.4}
.faq details>:not(summary){padding:0 20px 18px;margin:0}
.faq details p{color:#c8c8d6;font-size:16px;line-height:1.7;max-width:64ch;margin:0 0 12px}
.faq details p:last-child{margin-bottom:0}
.faq details ul,.faq details ol{padding:2px 20px 16px 40px;max-width:64ch}
.faq details li{color:#c8c8d6;font-size:15.5px;line-height:1.6;margin-bottom:8px}

footer{text-align:center;padding:36px 20px 56px;color:var(--muted);font-size:13px}
footer a{color:var(--yellow);text-decoration:none}
footer .foot-links{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin-bottom:16px}
footer .foot-links a{color:var(--cyan);text-decoration:none;font-size:14px}

/* ============ MOBILE ============ */
@media (max-width:900px){
  .wrap{padding:0 16px}
  .sec-card{padding:24px 20px}
}
@media (max-width:640px){
  .wrap{padding:0 14px}
  .hero{padding:40px 16px 28px}
  .topnav .wrap{padding:10px 14px;min-height:48px}
  .topnav .nav-cta{font-size:14px;padding:12px 16px;min-height:44px;border-radius:12px}
  .topnav .brand{font-size:16px;padding:8px 0;min-height:44px}
  .topnav .brand img{width:32px;height:32px}
  .crumbs a{padding:12px 6px;min-height:44px;display:inline-flex;align-items:center}
  .inline-cta{padding:14px 18px;min-height:44px;background:rgba(255,230,0,.08);border:1px solid rgba(255,230,0,.35);border-radius:12px;border-bottom-width:1px}
  .inline-cta:hover{background:rgba(255,230,0,.15)}

  /* секции-карточки */
  .sec-card{padding:20px 16px;border-radius:18px;margin-bottom:14px}
  .sec-card h2{font-size:20px;margin-bottom:12px}
  .sec-card h3{font-size:17px}
  .sec-card p{font-size:15.5px;line-height:1.6}
  .sec-card li{font-size:15px}

  /* ТАБЛИЦЫ НА МОБИЛЕ: строки превращаются в карточки.
     Каждая строка, отдельная карточка, каждая ячейка, строка «Лейбл: значение».
     Скролл и наезжающие колонки уходят полностью. */
  .sec-card .tbl-wrap{overflow:visible;border:none;border-radius:0;margin:16px 0}
  .sec-card table{min-width:0;font-size:15px;border-collapse:separate;border-spacing:0}
  .sec-card thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .sec-card tbody tr{
    display:block;margin-bottom:12px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.09);border-radius:12px;
    padding:4px 0;overflow:hidden;
  }
  .sec-card tbody tr:last-child{margin-bottom:0}
  .sec-card tbody tr:nth-child(even) td{background:transparent}
  .sec-card tbody td{
    display:flex;justify-content:space-between;align-items:baseline;gap:14px;
    padding:10px 16px;border:none;
    border-bottom:1px solid rgba(255,255,255,.06);
    text-align:right;color:#e3e3ee;line-height:1.45;
  }
  .sec-card tbody tr td:last-child{border-bottom:none}
  .sec-card tbody td::before{
    content:attr(data-label);
    flex:0 0 42%;text-align:left;
    color:var(--muted);font-weight:700;font-size:13.5px;
  }
  /* первая ячейка строки, как заголовок карточки */
  .sec-card tbody td:first-child{
    background:rgba(255,230,0,.06);
    color:#fff;font-weight:800;font-size:16px;text-align:left;
  }
  .sec-card tbody td:first-child::before{display:none}

  /* FAQ-аккордеон */
  .faq summary{font-size:15px;padding:14px 16px;gap:10px}
  .faq summary::after{font-size:22px}
  .faq details>:not(summary){padding:0 16px 14px}
  .faq details ul,.faq details ol{padding:0 16px 14px 34px}

  /* CTA в бота — вертикально, маскот сверху */
  .cta-card{flex-direction:column;text-align:center;gap:14px;padding:22px 18px}
  .cta-card img{width:96px}
  .cta-card .txt{min-width:0}
  .cta-card h3{font-size:19px}

  /* карточки-ссылки на хабе и related */
  .related{grid-template-columns:1fr;gap:12px}
  .rel-card{padding:16px 18px}

  /* финальный блок */
  .final{padding:36px 20px;border-radius:22px}
  .final img{width:96px}
  .final p{font-size:16px}
}
