:root{
  --bg:#0e1017;
  --body:#0b0d14;
  --text:#e6e6e7;
  --muted:#a7adbb;
  --brand:#f21fa4;
  --accent:#29d99c;
  --line:rgba(255,255,255,.08);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--body);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}

.container{max-width:1200px;margin:0 auto;padding:0 16px}

.site-header{
  position:sticky;top:0;z-index:100;
  backdrop-filter:saturate(140%) blur(8px);
  background:color-mix(in oklab,var(--bg),transparent 10%);
  border-bottom:1px solid var(--line);
}
.header-row{display:flex;align-items:center;justify-content:space-between;padding:12px 7px}
.left{display:flex;align-items:center;gap:12px}
.brand{display:flex;align-items:center;gap:10px;user-select:none}
.brand img{width:50px}
.brand-mark{width:32px;height:32px;border-radius:12px;background:var(--brand)}
.brand-text{font-weight:800;letter-spacing:.06em;color:var(--brand)}

.main-nav{display:none;gap:24px;align-items:center;font-weight:700;font-size:13px;color:#dfe3ec}
.main-nav a{opacity:.9}
.main-nav a:hover{opacity:1}
.with-badge{position:relative;display:inline-flex;align-items:center}
.badge{position:absolute;right:-10px;top:-14px;font-size:10px;line-height:1;padding:3px 6px;border-radius:6px;background:var(--accent);color:#07120d;font-weight:900}
.nav-item{list-style:none;text-decoration:none}

.right{display:flex;align-items:center;gap:10px}
.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:12px;background:rgba(255,255,255,.05);border:1px solid var(--line)}
.pill{display:none;align-items:center;gap:8px;border:1px solid var(--line);background:rgba(255,255,255,.05);padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800}
.pill .disc{width:18px;height:18px;border-radius:50%;background:conic-gradient(from 45deg,#ff267e,#ffc23d)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;border-radius:14px;font-weight:800;font-size:14px}
.btn-outline{border:1px solid rgba(255,255,255,.2)}
.btn-outline:hover{background:rgba(255,255,255,.08)}
.btn-primary{background:var(--accent);color:#07120d}
.btn-primary:hover{filter:brightness(1.05)}

.burger{
  position:relative;display:inline-flex;width:40px;height:40px;
  align-items:center;justify-content:center;border:1px solid var(--line);
  border-radius:12px;background:rgba(255,255,255,.05);
}
.burger span{
  position:absolute;left:50%;width:20px;height:2px;background:#fff;border-radius:2px;
  transform:translateX(-50%) translateZ(0);backface-visibility:hidden;
}
.burger span:nth-child(1){top:12px}
.burger span:nth-child(2){top:19px}
.burger span:nth-child(3){top:26px}

.drawer{position:fixed;inset:0;display:grid;grid-template-columns:1fr;pointer-events:none}
.drawer .backdrop{grid-row:1/2;grid-column:1/2;background:rgba(0,0,0,.5);opacity:0;transition:.25s}
.drawer .panel{
  grid-row:1/2;grid-column:1/2;width:82vw;max-width:320px;height:100vh;
  background:var(--bg);border-right:1px solid var(--line);
  transform:translateX(-100%);transition:transform .25s;
}
.panel{display:flex;flex-direction:column}
.panel-head{display:flex;align-items:center;justify-content:space-between;padding:14px;border-bottom:1px solid var(--line)}
.drawer-nav{display:flex;flex-direction:column;padding:8px}
.drawer-nav a{padding:12px;border-radius:12px}
.drawer-nav a:hover{background:rgba(255,255,255,.06)}
.drawer-actions{display:flex;gap:8px;padding:12px;border-top:1px solid var(--line)}

html.menu-open .drawer{pointer-events:auto}
html.menu-open .drawer .backdrop{opacity:1}
html.menu-open .drawer .panel{transform:none}
html.menu-open{overflow:hidden}

@media (min-width:768px){
  .burger{display:none}
  .main-nav{display:flex}
}
@media (min-width:1024px){
  .pill{display:inline-flex}
}

.demo-content{padding:32px 0}
.demo-content h1{margin:0 0 8px}
.demo-content p{color:var(--muted)}

.hero-bonus{
  position:relative;overflow:hidden;
  background:
    radial-gradient(1200px 600px at 15% -10%,rgba(242,31,164,.18),transparent 60%),
    radial-gradient(1000px 600px at 85% 0%,rgba(41,217,156,.12),transparent 60%),
    var(--body);
}
.hero-wrap{display:grid;grid-template-columns:1fr;gap:28px;padding:44px 20px 36px}
.eyebrow{display:inline-block;font-weight:800;letter-spacing:.06em;font-size:14px;color:#dff6ee;opacity:.9}
.hero-title{margin:10px 0 18px;font-size:34px;line-height:1.1}
.hero-title span{background:linear-gradient(90deg,var(--brand),var(--accent));-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-cta{margin-top:6px;width:max-content;padding:12px 18px}
.hero-disclaimer{margin-top:16px;max-width:560px;font-size:12px;color:var(--muted)}
.hero-right{display:grid;grid-template-columns:1fr 56px 1fr;align-items:end;gap:12px}
.versus{
  align-self:center;justify-self:center;font-weight:900;letter-spacing:.06em;color:#cdd5e0;
  background:rgba(255,255,255,.06);border:1px solid var(--line);width:56px;height:56px;display:grid;place-items:center;border-radius:14px;box-shadow:0 6px 18px rgba(0,0,0,.35)
}
.hero-card{
  position:relative;border:1px solid var(--line);border-radius:22px;padding:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  box-shadow:0 12px 40px rgba(0,0,0,.35)
}
.hero-card .card-tag{font-weight:900;letter-spacing:.04em;font-size:12px;color:#b8bfcc;margin-bottom:8px}
.hero-card .amount{font-size:18px;color:#e9ecf2}
.hero-card .amount strong{font-size:28px}
.hero-card .extra{margin-top:10px;display:inline-block;font-weight:800;padding:8px 12px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid var(--line)}
.hero-casino{--glow:drop-shadow(0 0 24px rgba(242,31,164,.35))}
.hero-sport{--glow:drop-shadow(0 0 24px rgba(41,217,156,.35))}
.hero-casino .amount strong{color:var(--brand);filter:var(--glow)}
.hero-sport .amount strong{color:var(--accent);filter:var(--glow)}
.blob{position:absolute;filter:blur(40px) saturate(120%);opacity:.5;pointer-events:none}
.blob-left{width:320px;height:320px;left:-80px;bottom:-40px;background:radial-gradient(circle at 30% 30%,rgba(242,31,164,.6),transparent 60%)}
.blob-right{width:360px;height:360px;right:-80px;top:-60px;background:radial-gradient(circle at 70% 40%,rgba(41,217,156,.55),transparent 60%)}

@media (min-width:860px){
  .hero-wrap{grid-template-columns:1.1fr 1fr;align-items:center;gap:36px;padding:72px 20px 64px}
  .hero-title{font-size:48px}
  .hero-card{padding:20px}
  .hero-card .amount{font-size:20px}
  .hero-card .amount strong{font-size:34px}
  .versus{width:64px;height:64px}
}
@media (min-width:1200px){
  .hero-title{font-size:56px}
  .hero-card .amount strong{font-size:40px}
}

.section-cards{padding:32px 0 40px}
.cards-grid{display:grid;gap:16px;grid-template-columns:1fr}
.card-feature{
  position:relative;text-align:center;padding:28px 20px 24px;
  border:1px solid var(--line);border-radius:20px;
  background:rgba(255,255,255,.02);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.card-feature:hover{transform:translateY(-4px);box-shadow:0 16px 40px #0b0d14;border-color:rgba(255,255,255,.18)}
.card-title{margin:0 0 8px;font-size:26px;line-height:1.1;font-weight:800;letter-spacing:.04em}
.card-sub{margin:0 0 18px;color:var(--muted);font-weight:600}
.card-cta{min-width:220px}
.card-feature--hot{
  background:rgba(255,255,255,.02);border:1px solid var(--line);
}
.card-feature--hot::after{
  content:"";position:absolute;inset:0;border-radius:20px;padding:2px;
  background:linear-gradient(90deg,var(--brand),var(--accent));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  opacity:0;transition:opacity .2s ease;
}
.card-feature--hot:hover{border-color:#0b0d14}
.card-feature--hot:hover::after{opacity:1}

@media (min-width:860px){
  .cards-grid{grid-template-columns:repeat(3,1fr);gap:24px}
  .section-cards{padding:44px 0 56px}
}

.games-section{padding:36px 0}
.games-layout{display:grid;gap:20px}
.games-grid{display:grid;gap:18px;grid-template-columns:repeat(2,1fr)}
.game-tile{position:relative;display:block;border-radius:14px;overflow:hidden;border:1px solid var(--line);background:#0e1017}
.game-tile img{width:100%;height:100%;object-fit:cover;aspect-ratio:1/1;transform:scale(1.001)}
.tile-overlay{
  position:absolute;inset:0;display:grid;place-items:center;
  background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.35) 60%);
  opacity:0;transition:opacity .2s ease,backdrop-filter .2s ease;
  backdrop-filter:saturate(120%) blur(0);
}
.play-pill{
  display:inline-block;min-width:110px;text-align:center;
  padding:10px 16px;border-radius:12px;font-weight:900;
  background:var(--brand);color:#fff;box-shadow:0 8px 24px rgba(242,31,164,.35);
}
.game-tile:hover .tile-overlay,
.game-tile:focus-visible .tile-overlay{opacity:1;backdrop-filter:saturate(140%) blur(2px)}
.game-tile:active .tile-overlay{opacity:1}

.games-aside{
  position:relative;border:1px solid var(--line);border-radius:18px;
  padding:22px;background:rgba(255,255,255,.06);
  overflow:hidden;min-height:100%;
}
.games-aside h3{margin:0 0 8px;font-size:28px;letter-spacing:.04em;font-weight:800}
.games-aside p{margin:0 0 18px;color:#cfd6e1;font-weight:700}
.games-aside .dice-art{
  position:absolute;right:-30px;bottom:-30px;width:260px;height:260px;
  background:
    radial-gradient(circle at 30% 30%,rgba(255,255,255,.75) 0 30%,transparent 31%) 0 0/70px 70px,
    radial-gradient(circle at 70% 70%,rgba(255,255,255,.65) 0 28%,transparent 29%) 35px 35px/70px 70px,
    linear-gradient(180deg,#5e6675,#3a404a);
  filter:blur(2px);opacity:.35;border-radius:24px;transform:rotate(-18deg);
}

@media (min-width:860px){
  .games-layout{grid-template-columns:3fr 2fr;align-items:stretch}
  .games-grid{grid-template-columns:repeat(3,1fr)}
}

.aviator{padding:18px 0 26px}
.aviator-card{
  position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;
  gap:20px;min-height:120px;padding:18px 22px;border-radius:14px;
  border:1px solid var(--line);overflow:hidden;
  background:#2f3441 url("/assets/images/cloud_2.png") center/cover no-repeat;
}
.aviator-card::before{content:"";position:absolute;inset:0;background:rgba(10,12,18,.35)}
.aviator-card>*{position:relative;z-index:1}
.aviator-logo{height:56px;width:auto;object-fit:contain;opacity:.9;filter:drop-shadow(0 4px 12px rgba(0,0,0,.25))}
.aviator-plane{justify-self:end;height:84px;width:auto;object-fit:contain;opacity:.85;filter:drop-shadow(0 8px 22px rgba(0,0,0,.35))}
.aviator-cta{
  padding:12px 22px;border-radius:10px;font-weight:900;text-transform:uppercase;
  background:var(--brand);color:#fff;box-shadow:0 8px 24px rgba(242,31,164,.35);
}
.aviator-cta:hover{filter:brightness(1.05)}
.aviator-cta:active{transform:translateY(1px)}

@media (max-width:860px){
  .aviator-card{grid-template-columns:1fr;text-align:center;min-height:140px;gap:12px;padding:18px}
  .aviator-logo{justify-self:center;height:48px}
  .aviator-plane{position:absolute;right:-10px;bottom:-8px;height:92px;opacity:.55}
}

.site-footer{margin-top:24px;background:#0e1017;border-top:1px solid var(--line);color:#dfe3ec}
.to-top{
  position:relative;top:-16px;left:50%;transform:translateX(-50%);
  display:grid;place-items:center;width:36px;height:36px;border-radius:50%;
  background:rgba(255,255,255,.06);border:1px solid var(--line);color:#cdd5e0;font-weight:900;
}
.to-top:hover{background:rgba(255,255,255,.1)}
.footer-bar{background:#141826;border-bottom:1px solid var(--line)}
.footer-bar__row{display:flex;align-items:center;justify-content:space-between;padding:10px 0}
.bar-left{display:flex;align-items:center;gap:10px}
.bar-logo{width:28px;height:28px;border-radius:8px;background:linear-gradient(135deg,#b88952,#6d4a2b)}
.bar-text{font-weight:800;font-size:14px;letter-spacing:.02em}
.bar-right .soc{display:inline-block;width:28px;height:28px;border-radius:8px;background:rgba(255,255,255,.06);border:1px solid var(--line);margin-left:6px}

.footer-grid{display:grid;gap:28px;padding:28px 20px;grid-template-columns:1fr}
.f-col h4{margin:0 0 10px;font-size:14px;text-transform:uppercase;font-weight:800;letter-spacing:.06em}
.f-col h5{margin:16px 0 6px;font-size:12px;text-transform:uppercase;opacity:.9}
.f-col ul{list-style:none;margin:0;padding:0}
.f-col li{margin:8px 0}
.f-col a{color:#dfe3ec;opacity:.9}
.f-col a:hover{opacity:1}
.muted{color:var(--muted)}
.contact-icons{display:flex;gap:8px;margin:6px 0 10px}
.ci{width:30px;height:30px;border-radius:8px;background:rgba(255,255,255,.06);border:1px solid var(--line)}
.pay-row{display:flex;gap:10px;margin:8px 0}
.pay-row img{height:32px;width:auto;display:block;filter:grayscale(10%)}
.soc-row{display:flex;gap:8px;margin:6px 0}
.soc.sm{width:26px;height:26px;border-radius:6px;background:rgba(255,255,255,.06);border:1px solid var(--line)}

.footer-copy{background:#0b0d14;border-top:1px solid var(--line);padding:10px 0 18px}
.copy-row{display:flex;justify-content:center;padding:6px 0}
.partners{display:flex;flex-wrap:wrap;gap:18px;justify-content:center;padding-top:8px}
.partners img{height:34px;opacity:.9;filter:saturate(90%)}

@media (min-width:900px){
  .footer-grid{grid-template-columns:1.1fr 1.1fr 1.2fr .9fr 1.2fr}
}

.rt{
  --rt-text:var(--text,#e6e6e7);
  --rt-muted:var(--muted,#a7adbb);
  --rt-line:var(--line,rgba(255,255,255,.12));
  --rt-brand:var(--brand,#f21fa4);
  --rt-accent:var(--accent,#29d99c);
  color:var(--rt-text);
  line-height:1.7;
  font-size:16px;
}
.rt>*{margin-top:0;margin-bottom:1em}
.rt :where(h1,h2,h3,h4,h5,h6){line-height:1.2;font-weight:800;letter-spacing:.01em}
.rt h1{font-size:clamp(28px,3.6vw,42px);margin:.2em 0 .4em}
.rt h2{font-size:clamp(22px,2.6vw,32px);margin:1.2em 0 .4em}
.rt h3{font-size:clamp(18px,2.2vw,24px);margin:1em 0 .3em}
.rt h4{font-size:18px}
.rt h5{font-size:16px}
.rt h6{font-size:14px;color:var(--rt-muted)}
.rt p{color:var(--rt-text)}
.rt small{color:var(--rt-muted);font-size:.875em}
.rt strong{font-weight:800}
.rt em{font-style:italic}
.rt mark{background:color-mix(in oklab,var(--rt-accent),transparent 80%);padding:.05em .25em;border-radius:.25em}
.rt abbr[title]{text-decoration:underline dotted;cursor:help}
.rt a{color:var(--rt-accent);text-decoration:none;border-bottom:1px dashed color-mix(in oklab,var(--rt-accent),transparent 60%)}
.rt a:hover{border-bottom-style:solid}
.rt hr{border:0;height:1px;background:var(--rt-line);margin:2rem 0}

.rt :where(ul,ol){padding-left:1.2em}
.rt li+li{margin-top:.35em}

.rt blockquote{
  margin:1.2em 0;padding:.9em 1.1em;
  border-left:4px solid var(--rt-accent);
  background:rgba(255,255,255,.04);
  border-radius:.5rem;color:var(--rt-text);
}
.rt blockquote :where(p,li){color:var(--rt-text)}

.rt code{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  font-size:.95em;background:rgba(255,255,255,.06);
  border:1px solid var(--rt-line);padding:.15em .35em;border-radius:.4em;
}
.rt pre{overflow:auto;padding:1em;border-radius:.8em;background:#0f1117;border:1px solid var(--rt-line)}
.rt pre code{background:transparent;border:0;padding:0;font-size:.95em}

.rt img{
  max-width:100%;height:auto;display:block;border-radius:12px;
  border:1px solid var(--rt-line);box-shadow:0 10px 30px rgba(0,0,0,.35);
}
.rt figure{margin:1.2em 0}
.rt figure img{margin-bottom:.6em}
.rt figcaption{color:var(--rt-muted);font-size:.925em}

.rt table{
  width:100%;border-collapse:separate;border-spacing:0;
  display:block;overflow-x:auto;
  border:1px solid var(--rt-line);border-radius:12px;
  background:rgba(255,255,255,.03);
}
.rt thead{position:sticky;top:0;background:rgba(255,255,255,.04)}
.rt thead th{width: 1%; color:color-mix(in oklab,var(--rt-text),white 8%)}
.rt :where(th,td){text-align:left;padding:.75rem 1rem;white-space:nowrap;border-bottom:1px solid var(--rt-line)}
.rt tr:last-child td{border-bottom:0}
.rt caption{caption-side:top;text-align:left;padding:.6rem 0 .4rem;font-weight:800;color:var(--rt-muted)}

.rt .lead{font-size:1.125em;color:color-mix(in oklab,var(--rt-text),white 8%)}
.rt .muted{color:var(--rt-muted)}

@media (max-width:700px){
  .rt{font-size:15.5px}
  .rt table{font-size:.94em}
}

.lang-switch{
  display:inline-flex;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.05);
  border-radius:999px;
  overflow:hidden;
}

.lang-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:36px;
  padding:0 12px;
  font-weight:900;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:inherit;
  text-decoration:none;
  opacity:.9;
}

.lang-btn:hover{
  opacity:1;
  background:rgba(255,255,255,.07);
}

.lang-btn.is-active{
  background:var(--accent);
  color:#07120d;
  opacity:1;
}

/* ═══════════════════════════════════════════════════════
   IMPROVED STYLES — header, hero image, footer, RT, tables
═══════════════════════════════════════════════════════ */

/* ── HEADER improved ──────────────────────────────────── */
.site-header {
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  background: rgba(11,13,20,.94);
  height: 60px;
}
.header-row { height: 60px; padding: 0 16px; gap: 8px; }

.brand img { height: 36px; width: auto; }

.main-nav { gap: 2px; }
.main-nav .nav-item { list-style: none; }
.main-nav .nav-item > a,
.main-nav li > a {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.82);
  transition: background .14s, color .14s;
  white-space: nowrap;
}
.main-nav .nav-item > a:hover,
.main-nav li > a:hover {
  background: rgba(255,255,255,.07);
  color: #fff;
}
.btn {
  padding: 9px 16px;
  font-size: 13px;
  border-radius: 12px;
  white-space: nowrap;
}
.btn-primary { box-shadow: 0 4px 18px rgba(41,217,156,.28); }
.btn-primary:hover { box-shadow: 0 6px 24px rgba(41,217,156,.45); filter: brightness(1.06); }

/* ── LANG SWITCH improved ─────────────────────────────── */
.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  flex-shrink: 0;
}
.lang-btn {
  height: 34px;
  padding: 0 13px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  transition: background .14s, color .14s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lang-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.lang-btn.is-active { background: var(--accent); color: #07120d; }

/* ── DRAWER improvements ──────────────────────────────── */
.drawer-lang {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
}
.drawer-lang .lang-btn {
  flex: 1;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
}

/* ── HERO IMAGE ───────────────────────────────────────── */
.hero-img {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero-img__inner { position: relative; padding: 0; }
.hero-img__pic {
  width: 100%;
  aspect-ratio: 1200/480;
  object-fit: cover;
  display: block;
}
.hero-img__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 clamp(16px, 5vw, 60px);
  background: linear-gradient(
    90deg,
    rgba(11,13,20,.88) 0%,
    rgba(11,13,20,.60) 48%,
    transparent 100%
  );
}
.hero-img__text { max-width: 500px; }
.hero-img__title {
  margin: 10px 0 22px;
  font-size: clamp(24px, 3.8vw, 54px);
  line-height: 1.08;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.01em;
}
.hero-img__title span {
  background: linear-gradient(90deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-img__cta { padding: 14px 30px; font-size: 15px; border-radius: 14px; }
.hero-img__fine {
  margin-top: 14px;
  font-size: 11px;
  color: rgba(255,255,255,.42);
  max-width: 400px;
  line-height: 1.55;
}

@media (max-width: 600px) {
  .hero-img__overlay {
    align-items: flex-end;
    padding-bottom: 24px;
    background: linear-gradient(180deg, transparent 20%, rgba(11,13,20,.9) 70%);
  }
  .hero-img__text { max-width: 100%; }
  .hero-img__title { font-size: clamp(20px, 7vw, 30px); }
  .hero-img__cta { width: 100%; }
}

/* ── FOOTER improved ──────────────────────────────────── */
.site-footer {
  margin-top: 32px;
  background: #080a10;
  border-top: 1px solid var(--line);
  color: #dfe3ec;
}
.footer-grid { padding: 36px 16px 28px; gap: 20px; }
.f-col h4 {
  color: rgba(255,255,255,.92);
  font-size: 11.5px;
  letter-spacing: .10em;
  margin-bottom: 12px;
}
.f-col a {
  font-size: 13px;
  color: rgba(255,255,255,.58);
  transition: color .14s;
}
.f-col a:hover { color: var(--accent); }
.f-col li { margin: 7px 0; }
.footer-note {
  margin-top: 12px;
  font-size: 11px;
  color: rgba(255,255,255,.4);
}
.pay-row { gap: 8px; margin: 6px 0; }
.pay-row img { opacity: .75; filter: saturate(70%); }
.footer-copy { background: #050709; border-top: 1px solid var(--line); padding: 12px 0 20px; }
.copy-row { padding: 6px 0; }
.partners { gap: 14px; padding-top: 8px; }
.partners img { height: 28px; opacity: .65; filter: saturate(60%); transition: opacity .14s; }
.partners img:hover { opacity: 1; }

/* ── RT — article content improved ───────────────────── */
.rt {
  font-size: 16.5px;
  line-height: 1.78;
}
.rt h1 { font-size: clamp(26px,3.4vw,40px); margin: 0 0 .5em; }
.rt h2 {
  font-size: clamp(20px,2.5vw,28px);
  margin: 1.5em 0 .4em;
  padding-bottom: .3em;
  border-bottom: 1px solid var(--line);
}
.rt h3 { font-size: clamp(16px,2vw,22px); margin: 1.2em 0 .3em; }
.rt p { color: rgba(230,230,231,.88); margin-bottom: 1em; }

/* Images in content */
.rt img {
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  margin: 1.2em auto;
}

/* ── RT TABLES — proper scroll via wrapper ────────────── */
.rt .table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  margin: 1.4em 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(255,255,255,.06);
}
.rt .table-wrap::-webkit-scrollbar { height: 5px; }
.rt .table-wrap::-webkit-scrollbar-thumb {
  background: var(--accent); border-radius: 999px;
}

.rt table {
  display: table;        /* keeps thead/tbody column sync */
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  font-size: 14px;
}

/* Fallback: tables without .table-wrap wrapper */
.rt table:not(.table-wrap > table) {
  display: block;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 1.4em 0;
}

.rt thead th {
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
  background: rgba(255,255,255,.055);
  border-bottom: 1px solid var(--line);
}
.rt thead tr th:first-child { border-radius: 12px 0 0 0; }
.rt thead tr th:last-child  { border-radius: 0 12px 0 0; }

.rt tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  vertical-align: middle;
  white-space: nowrap;
}
.rt tbody td:first-child { font-weight: 700; }
.rt tbody tr:nth-child(even) td { background: rgba(255,255,255,.025); }
.rt tbody tr:hover td { background: rgba(41,217,156,.06); }
.rt tbody tr:last-child td { border-bottom: 0; }
.rt tbody tr:last-child td:first-child { border-radius: 0 0 0 12px; }
.rt tbody tr:last-child td:last-child  { border-radius: 0 0 12px 0; }

/* ── MOBILE fixes ─────────────────────────────────────── */
@media (max-width: 767px) {
  .right .btn-outline { display: none; }
  .right .btn-primary { padding: 8px 12px; font-size: 12px; }
  .demo-content { padding: 18px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════════════════════
   REDESIGNED: HEADER, BURGER, HERO, FOOTER
═══════════════════════════════════════════════════════ */

/* ── HEADER ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 64px;
  background: rgba(9,11,18,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 1px 0 rgba(255,255,255,.04);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
  gap: 10px;
}
.left { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.brand img { height: 36px; width: auto; display: block; }

/* Desktop nav */
.main-nav {
  display: none;
  list-style: none;
  margin: 0; padding: 0;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
@media (min-width: 900px) { .main-nav { display: flex; } }

.main-nav .nav-item { list-style: none; }
.main-nav .nav-item > a,
.main-nav li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  letter-spacing: .01em;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.main-nav .nav-item > a:hover,
.main-nav li > a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  text-decoration: none;
  transition: all .17s;
}
.btn-outline {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
}
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #07120d;
  box-shadow: 0 4px 16px rgba(41,217,156,.30);
}
.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 22px rgba(41,217,156,.42);
  transform: translateY(-1px);
}

/* Lang switch */
.lang-switch {
  display: inline-flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 11px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  transition: background .14s, color .14s;
}
.lang-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.lang-btn.is-active { background: var(--accent); color: #07120d; }

/* Badge in nav */
.badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--brand);
  color: #fff;
  line-height: 1.5;
}

/* ── BURGER ─────────────────────────────────────────── */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s, border-color .15s;
  padding: 0;
}
.burger:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,.85);
  border-radius: 2px;
  transition: transform .28s cubic-bezier(.4,0,.2,1), opacity .2s;
}

html.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
html.menu-open .burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
html.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) { .burger { display: none; } }

/* ── MOBILE DRAWER ──────────────────────────────────── */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  display: flex;
  align-items: stretch;
}
.drawer .backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  backdrop-filter: blur(0px);
  transition: background .3s, backdrop-filter .3s;
}
html.menu-open .drawer { pointer-events: auto; }
html.menu-open .drawer .backdrop {
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
}

.panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(300px, 85vw);
  display: flex;
  flex-direction: column;
  background: #0d0f18;
  border-right: 1px solid rgba(255,255,255,.08);
  box-shadow: 8px 0 40px rgba(0,0,0,.55);
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
html.menu-open .panel { transform: translateX(0); }

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.panel-head .brand img { height: 30px; }

.close {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  color: rgba(255,255,255,.75);
  font-size: 16px;
  cursor: pointer;
  transition: background .14s;
}
.close:hover { background: rgba(255,255,255,.13); color: #fff; }

.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 10px 10px;
  gap: 2px;
  flex: 1;
  list-style: none;
  margin: 0;
  overflow: hidden;
}
.drawer-nav .nav-item { list-style: none; }
.drawer-nav .nav-item > a,
.drawer-nav li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,.80);
  transition: background .14s, color .14s;
}
.drawer-nav .nav-item > a:hover,
.drawer-nav li > a:hover {
  background: rgba(255,255,255,.07);
  color: #fff;
}

.drawer-lang {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.drawer-lang .lang-btn {
  flex: 1;
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  font-size: 13px;
}
.drawer-lang .lang-btn.is-active { background: var(--accent); color: #07120d; border-color: var(--accent); }

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px 20px;
}
.drawer-actions .btn { width: 100%; height: 44px; font-size: 14px; justify-content: center; }

/* ── HERO IMAGE ─────────────────────────────────────── */
.hero-img {
  position: relative;
  overflow: hidden;
  background: #080a12;
  margin-bottom: 0;
}
.hero-img__inner {
  position: relative;
  max-width: 100%;
  padding: 0;
}
.hero-img__pic {
  width: 100%;
  height: clamp(260px, 42vw, 520px);
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-img__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 6vw, 80px);
  background: linear-gradient(
    105deg,
    rgba(8,10,18,.92) 0%,
    rgba(8,10,18,.72) 42%,
    rgba(8,10,18,.25) 70%,
    transparent 100%
  );
}
.hero-img__text {
  max-width: 520px;
  animation: heroFadeIn .55s ease both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(41,217,156,.12);
  border: 1px solid rgba(41,217,156,.22);
  margin-bottom: 14px;
}
.hero-img__title {
  margin: 0 0 22px;
  font-size: clamp(26px, 4.2vw, 58px);
  line-height: 1.07;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
}
.hero-img__title span {
  background: linear-gradient(100deg, var(--brand) 0%, #ff7eb3 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-img__cta {
  height: 50px;
  padding: 0 32px;
  font-size: 15px;
  font-weight: 800;
  border-radius: 14px;
  letter-spacing: .02em;
  box-shadow: 0 8px 28px rgba(41,217,156,.35);
}
.hero-img__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(41,217,156,.48); }

.hero-img__fine {
  margin-top: 16px;
  font-size: 11px;
  color: rgba(255,255,255,.35);
  line-height: 1.6;
  max-width: 380px;
}

@media (max-width: 640px) {
  .hero-img__overlay {
    align-items: flex-end;
    padding: 0 16px 28px;
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(8,10,18,.6) 40%,
      rgba(8,10,18,.94) 80%
    );
  }
  .hero-img__text { max-width: 100%; }
  .hero-img__title { font-size: clamp(22px, 7.5vw, 34px); }
  .hero-img__cta { width: 100%; height: 48px; }
  .hero-img__fine { display: none; }
}

/* ── FOOTER ─────────────────────────────────────────── */
.site-footer {
  margin-top: 40px;
  background: #080a11;
  border-top: 1px solid rgba(255,255,255,.07);
  color: rgba(220,225,235,.82);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 20px 32px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; padding: 28px 16px 24px; } }

.f-col h4 {
  color: rgba(255,255,255,.55);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.f-col ul { list-style: none; padding: 0; margin: 0; }
.f-col li { margin: 0; }
.f-col a {
  display: block;
  padding: 5px 0;
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  transition: color .14s;
  line-height: 1.5;
}
.f-col a:hover { color: rgba(255,255,255,.92); }

.pay-row {
  display: flex;
  gap: 8px;
  margin: 6px 0;
  flex-wrap: wrap;
}
.pay-row img {
  height: 30px;
  width: auto;
  opacity: .65;
  filter: grayscale(30%);
  transition: opacity .14s;
}
.pay-row img:hover { opacity: 1; }
.footer-note {
  margin-top: 12px;
  font-size: 11px;
  color: rgba(255,255,255,.32);
}

.footer-copy {
  background: #050609;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 14px 0 22px;
}
.copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 20px;
}
.muted { font-size: 12px; color: rgba(255,255,255,.36); }

.partners {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 10px 20px 0;
}
.partners img {
  height: 26px;
  width: auto;
  opacity: .5;
  filter: grayscale(40%);
  transition: opacity .15s, filter .15s;
}
.partners img:hover { opacity: .85; filter: grayscale(0%); }