:root{
  --bg:#0c1521;--bg2:#111c2b;--panel:#16222f;--panel2:#1c2a3a;--line:#283a4f;
  --green:#8bc63f;--green-d:#79b22f;--text:#eaf1f8;--muted:#92a4ba;--head:#0f1b29;--maxw:1340px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:'Outfit',system-ui,-apple-system,sans-serif;font-size:15px;line-height:1.62;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
h1,h2,h3{margin:0 0 .5em;line-height:1.2;font-weight:700}
a{color:inherit;text-decoration:none}
[data-go]{cursor:pointer}
:focus-visible{outline:2px solid var(--green);outline-offset:2px}

/* ---------- header (top nav) ---------- */
.tw-hd{position:sticky;top:0;z-index:50;background:var(--head);border-bottom:1px solid var(--line)}
.tw-hd-in{max-width:var(--maxw);margin:0 auto;display:flex;align-items:center;gap:22px;padding:12px clamp(14px,2.5vw,28px)}
.tw-logo{display:block;cursor:pointer}
.tw-hd .tw-logo img{height:40px;width:auto}
.tw-mainnav{display:flex;align-items:center;gap:4px;flex:1}
.tw-nav{padding:9px 12px;border-radius:8px;color:var(--muted);font-weight:600;cursor:pointer;font-size:14.5px;white-space:nowrap}
.tw-nav:hover{background:var(--panel);color:#fff}
.tw-hd-cta{display:flex;align-items:center;gap:10px}
.tw-btn{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 18px;border-radius:9px;font-weight:700;cursor:pointer;font-size:14.5px;border:0}
.tw-btn--go{background:var(--green);color:#10240a}
.tw-btn--go:hover{background:var(--green-d)}
.tw-btn--ghost{border:1.5px solid var(--line);color:var(--text);background:none}
.tw-btn--ghost:hover{border-color:var(--green);color:#fff}
.tw-burger{display:none;background:none;border:0;color:var(--text);cursor:pointer;padding:4px}
.tw-mobnav{display:none}
.tw-scrim{display:none}

/* ---------- main container ---------- */
.tw-main{max-width:var(--maxw);margin:0 auto;padding:24px clamp(14px,2.5vw,28px) 46px}
.tw-intro{margin-bottom:18px}
.tw-intro h1{font-size:1.8rem;margin-bottom:6px}
.tw-intro p{color:var(--muted);max-width:1020px}

/* ---------- hero (featured + grid) ---------- */
.tw-hero{margin-bottom:24px}
.tw-hero-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.tw-promo{position:relative;border-radius:16px;overflow:hidden;min-height:150px;display:flex;align-items:flex-end;padding:18px;cursor:pointer;color:#fff}
.tw-promo--feat{grid-column:1/-1;min-height:230px;padding:30px}
.tw-promo-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.tw-promo::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(8,12,26,.78) 0%,rgba(8,12,26,.42) 46%,rgba(8,12,26,0) 78%)}
.tw-promo-in{position:relative;z-index:2;display:flex;flex-direction:column;gap:7px;max-width:84%}
.tw-promo-h{font-size:1.15rem;font-weight:800;line-height:1.14;text-shadow:0 2px 10px rgba(0,0,0,.5)}
.tw-promo--feat .tw-promo-h{font-size:1.9rem}
.tw-promo--feat .tw-promo-h b{font-size:2.2rem}
.tw-promo-sub{font-weight:500;opacity:.95;font-size:.86rem;text-shadow:0 1px 8px rgba(0,0,0,.5)}
.tw-promo--feat .tw-promo-sub{font-size:1rem}
.tw-promo-cta{align-self:flex-start;margin-top:5px;background:var(--green);color:#10240a;font-weight:700;padding:8px 16px;border-radius:8px;font-size:.84rem}
.tw-promo--feat .tw-promo-cta{padding:10px 20px;font-size:.95rem}

/* ---------- category pills ---------- */
.tw-cats{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:5px 12px;margin-bottom:20px;flex-wrap:wrap}
.tw-cats-l{display:flex;gap:4px;flex-wrap:wrap}
.tw-cat{padding:10px 14px;color:var(--muted);font-weight:600;border-radius:8px;cursor:pointer}
.tw-cat.is-on{background:var(--green);color:#10240a}
.tw-cat:not(.is-on):hover{color:#fff}
.tw-cats-r{display:flex;gap:8px}
.tw-cat-x{display:flex;align-items:center;gap:6px;color:var(--muted);font-weight:600;cursor:pointer;padding:10px 8px}
.tw-cat-x:hover{color:#fff}

/* ---------- winners ---------- */
.tw-wins{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:16px;margin-bottom:24px}
.tw-wins-tabs{display:inline-flex;background:var(--bg);border-radius:9px;padding:4px;margin-bottom:14px;gap:4px}
.tw-wtab{padding:8px 18px;border-radius:7px;font-weight:700;color:var(--muted);cursor:pointer}
.tw-wtab.is-on{background:var(--green);color:#10240a}
.tw-wins-row{display:flex;gap:20px;overflow-x:auto;scrollbar-width:none}
.tw-wins-row[hidden]{display:none}
.tw-wins-row::-webkit-scrollbar{display:none}
.tw-win{display:flex;align-items:center;gap:10px;cursor:pointer;white-space:nowrap}
.tw-win img{width:46px;height:46px;border-radius:8px;object-fit:cover}
.tw-win-info{display:flex;flex-direction:column;line-height:1.25}
.tw-win-info b{color:var(--green);font-size:14px}
.tw-win-info span{color:var(--muted);font-size:12.5px}

/* ---------- rails ---------- */
.tw-shelf{margin-bottom:26px}
.tw-shelf-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.tw-shelf-head h2{font-size:1.22rem;margin:0}
.tw-shelf-tools{display:flex;align-items:center;gap:10px}
.tw-more{color:var(--green);font-weight:600;cursor:pointer;font-size:14px}
.tw-more:hover{text-decoration:underline}
.tw-arr{width:34px;height:34px;border-radius:50%;background:var(--panel);border:1px solid var(--line);color:var(--text);cursor:pointer;font-size:17px;line-height:1}
.tw-arr:hover{border-color:var(--green);color:#fff}
.tw-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,1fr);gap:14px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding-bottom:4px}
.tw-strip::-webkit-scrollbar{display:none}
.tw-game{scroll-snap-align:start;cursor:pointer;display:flex;flex-direction:column;min-width:0}
.tw-game-pic{position:relative;border-radius:12px;overflow:hidden;aspect-ratio:1/1;background:var(--panel)}
.tw-game-pic img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.tw-game:hover .tw-game-pic img{transform:scale(1.06)}
.tw-flag{position:absolute;top:8px;left:8px;background:#7c3aed;color:#fff;font-size:11px;font-weight:700;padding:3px 8px;border-radius:6px}
.tw-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s;background:rgba(8,14,22,.42)}
.tw-play svg{background:var(--green);color:#10240a;border-radius:50%;padding:10px;width:42px;height:42px;box-sizing:content-box}
.tw-game:hover .tw-play{opacity:1}
.tw-game-name{font-weight:700;font-size:13.5px;margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tw-game-by{color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ---------- providers ---------- */
.tw-providers{margin-bottom:26px}
.tw-prov-head h2{font-size:1.22rem}
.tw-prov-row{display:flex;flex-wrap:wrap;gap:10px}
.tw-prov{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:14px 20px;cursor:pointer;display:flex;align-items:center;min-height:56px}
.tw-prov:hover{border-color:var(--green)}
.tw-prov img{height:26px;width:auto;opacity:.9}
.tw-prov:hover img{opacity:1}

/* ---------- article / content ---------- */
.tw-article{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:26px 30px;margin-bottom:26px}
.tw-article>h2{font-size:1.55rem;margin-bottom:14px}
.tw-article>p,.tw-box p{color:var(--muted);margin:0 0 12px}
.tw-article h3{font-size:1.18rem;margin:24px 0 10px;color:#fff}
.tw-article b{color:var(--text)}
.tw-duo{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}
.tw-box{background:var(--panel2);border:1px solid var(--line);border-radius:12px;padding:18px 20px}
.tw-box>h3{margin-top:0}
.tw-note{font-size:13.5px;margin-top:0;color:var(--muted)}
.tw-tbl{width:100%;border-collapse:collapse;margin:10px 0 4px;font-size:14px}
.tw-tbl th{text-align:left;color:var(--green);font-weight:700;padding:9px 12px;border-bottom:1px solid var(--line);font-size:12.5px;text-transform:uppercase;letter-spacing:.03em}
.tw-tbl td{padding:9px 12px;border-bottom:1px solid var(--line);color:var(--muted)}
.tw-tbl tbody tr:last-child td{border-bottom:0}
.tw-tbl td:first-child{color:var(--text);font-weight:600}
.tw-vs{display:grid;grid-template-columns:1fr 1fr;gap:16px}
ul.tw-pros,ul.tw-cons{list-style:none;padding:0;margin:0;display:grid;gap:9px;align-content:start}
.tw-pros li,.tw-cons li{padding-left:26px;position:relative;color:var(--muted);font-size:14px;line-height:1.45}
.tw-pros li::before{content:"✓";position:absolute;left:0;color:var(--green);font-weight:800}
.tw-cons li::before{content:"✕";position:absolute;left:0;color:#ef5a5a;font-weight:800}
ul.tw-types{list-style:none;padding:0;margin:12px 0;display:flex;flex-wrap:wrap;gap:8px}
.tw-types li{background:var(--panel2);border:1px solid var(--line);border-radius:999px;padding:7px 14px;font-size:13px;color:var(--text)}
ol.tw-tips{margin:12px 0;padding-left:0;list-style:none;counter-reset:tip;display:grid;gap:10px}
.tw-tips li{position:relative;padding-left:42px;color:var(--muted);counter-increment:tip;line-height:1.5}
.tw-tips li::before{content:counter(tip);position:absolute;left:0;top:0;width:28px;height:28px;border-radius:8px;background:var(--green);color:#10240a;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:14px}
.tw-tips b{color:var(--text)}

/* ---------- faq ---------- */
.tw-faq{margin-bottom:30px}
.tw-faq>h2{font-size:1.55rem;margin-bottom:16px}
.tw-faqs{display:grid;gap:12px;max-width:920px}
.tw-faq details{border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow:hidden;transition:border-color .15s}
.tw-faq details:hover{border-color:var(--green)}
.tw-faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px 18px;font-weight:700}
.tw-faq summary::-webkit-details-marker{display:none}
.tw-faq summary::after{content:"+";font-size:22px;color:var(--green);transition:transform .2s;flex:0 0 auto}
.tw-faq details[open] summary{color:var(--green)}
.tw-faq details[open] summary::after{transform:rotate(45deg)}
.tw-faq-a{padding:0 18px 16px;color:var(--muted)}

/* ---------- footer ---------- */
.tw-ft{background:var(--bg2);border-top:1px solid var(--line);padding:34px 0 28px}
.tw-ft-in{max-width:var(--maxw);margin:0 auto;padding:0 clamp(14px,2.5vw,28px)}
.tw-ft-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-bottom:26px}
.tw-ft-col{display:flex;flex-direction:column;gap:9px}
.tw-ft-h{font-weight:700;color:#fff;margin-bottom:4px}
.tw-ft-link{color:var(--muted);font-size:14px;cursor:pointer}
.tw-ft-link:hover{color:var(--green)}
.tw-pays{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin-bottom:20px}
.tw-pay{background:var(--panel);border:1px solid var(--line);border-radius:7px;padding:8px 12px;display:flex;align-items:center;height:40px}
.tw-pay img{height:22px;width:auto}
.tw-ft-base{text-align:center}
.tw-ft-logo{display:inline-block}
.tw-ft-logo img{height:42px;width:auto;margin:0 auto 12px}
.tw-ft-note{color:var(--muted);font-size:13px;max-width:700px;margin:0 auto}
.tw-ft-note a{color:var(--green)}
.tw-age{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:1px solid var(--muted);border-radius:50%;font-size:11px;font-weight:700;margin-right:6px;vertical-align:middle}

/* ---------- responsive ---------- */
@media(max-width:980px){
  .tw-hero-grid{grid-template-columns:repeat(2,1fr)}
  .tw-mainnav{display:none}
  .tw-burger{display:block}
  .tw-hd-cta .tw-btn--ghost{display:none}
  .tw-mobnav{display:none;flex-direction:column;gap:4px;background:var(--head);border-bottom:1px solid var(--line);padding:10px clamp(14px,2.5vw,28px) 16px;position:sticky;top:65px;z-index:40}
  .tw-mobnav.open{display:flex}
  .tw-mob-link{padding:11px 8px;color:var(--text);font-weight:600;border-bottom:1px solid var(--line);cursor:pointer}
  .tw-mobnav .tw-btn{margin-top:8px}
}
@media(max-width:760px){.tw-duo{grid-template-columns:1fr}.tw-vs{grid-template-columns:1fr}.tw-ft-cols{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.tw-hero-grid{grid-template-columns:1fr}.tw-promo--feat .tw-promo-h{font-size:1.45rem}.tw-promo--feat .tw-promo-h b{font-size:1.7rem}}
