:root{--bg:#0b0b0e;--panel:#111216;--panel2:#18191e;--panel3:#202127;--line:#2a2b32;--muted:#8e909d;--text:#f7f7fb;--purple:#886cff;--purple2:#7418ff;--green:#4fe08a;--rail:78px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#0a0a0c;color:var(--text);font:14px/1.38 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-x:hidden}button,input{font:inherit}button,a{color:inherit}.app-shell{min-height:100vh}.sidebar{position:fixed;z-index:70;left:0;top:0;bottom:0;width:var(--rail);background:#111216;border-right:1px solid #272830;display:flex;flex-direction:column;padding:16px 12px 10px;overflow:hidden;transition:width .22s ease,transform .22s ease}.sidebar.open{width:370px;box-shadow:30px 0 70px #0009}.desktop-rail-head{height:56px;display:flex;align-items:center;gap:19px;flex:0 0 auto}.rail-burger,.mobile-burger{border:0;background:#1b1c22;border-radius:11px;width:48px;height:48px;display:grid;place-items:center;cursor:pointer;flex:0 0 auto}.rail-burger:hover,.mobile-burger:hover{background:#24252d}.rail-burger img,.mobile-burger img{width:28px;height:28px}.rail-logo{width:168px;opacity:0;transform:translateX(-6px);transition:.16s}.sidebar.open .rail-logo{opacity:1;transform:none}.drawer-mobile-head{display:none}.mode-tabs{margin:7px 0 14px;display:flex;gap:10px}.mode-tab{border:1px solid #24262e;background:#1a1b20;color:#b7b7c0;border-radius:9px;height:48px;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;flex:1;min-width:52px}.mode-tab img{width:20px;height:20px}.mode-tab span{display:none;font-size:15px;font-weight:700}.sidebar.open .mode-tab span{display:inline}.mode-tab.active{background:linear-gradient(100deg,#7c1cff,#6c0be9);border-color:#7a26ff;color:white}.menu-search{height:49px;border:1px solid #2a2c34;border-radius:10px;background:#0a0a0d;display:flex;align-items:center;gap:13px;padding:0 15px;margin-bottom:14px;opacity:0;pointer-events:none;transition:.15s}.sidebar.open .menu-search{opacity:1;pointer-events:auto}.menu-search img{width:23px;height:23px}.menu-search input{background:transparent;border:0;outline:0;color:#eee;font-size:17px;width:100%}.menu-search input::placeholder{color:#747681}.token-panel{display:none;border-bottom:1px solid #2a2c33;padding:9px 0 18px;margin-bottom:10px}.sidebar.open .token-panel{display:block}.token-row{display:flex;align-items:center;gap:12px}.token-row>img{width:54px;height:54px;border:1px solid #343641;border-radius:8px;padding:8px}.token-row div{display:flex;flex-direction:column;gap:4px}.token-row b{font-size:16px}.token-row b span{color:#7f818e;font-weight:600}.token-row strong{font-size:16px;color:#8f93a2}.token-row strong em{font-style:normal;color:var(--green)}.token-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.token-actions button{border:0;background:#22242d;border-radius:8px;height:42px;font-weight:700;color:#c4c5cc}.side-nav{display:flex;flex-direction:column;gap:4px;min-width:346px}.side-nav a{height:44px;display:flex;align-items:center;gap:17px;text-decoration:none;border-radius:9px;padding:0 12px;color:#b0b1ba;white-space:nowrap;position:relative}.side-nav a:hover{background:#1c1d22;color:white}.side-nav a.active{background:#1c1d22;color:#9c78ff}.side-nav a.active:before{content:"";position:absolute;left:-12px;top:6px;bottom:6px;width:4px;border-radius:0 4px 4px 0;background:#8b63ff}.side-nav img{width:25px;height:25px;flex:0 0 25px}.side-nav a.active img{filter:sepia(.2) saturate(5) hue-rotate(215deg) brightness(1.08)}.side-nav span{opacity:0;transition:.12s;font-size:16px}.sidebar.open .side-nav span{opacity:1}.side-nav em{margin-left:auto;font-style:normal;color:#61e593;opacity:0}.sidebar.open .side-nav em{opacity:1}.side-spacer{flex:1;min-height:10px}.side-mini-links{border-top:1px solid #26272e;padding-top:8px}.status-dot{width:10px;height:10px;border-radius:50%;margin-left:6px;flex:0 0 auto}.gold{background:#e1ad48}.green{background:#4ce08a}.sidebar-backdrop{position:fixed;inset:0;background:#0008;z-index:60;opacity:0;pointer-events:none;transition:.2s}.sidebar-backdrop.show{opacity:1;pointer-events:auto}.page{margin-left:var(--rail);min-width:0}.topbar{height:88px;position:sticky;top:0;z-index:45;background:#080809f5;border-bottom:1px solid #25262c;display:flex;align-items:center;padding:0 126px;gap:20px}.desktop-logo{width:200px}.mobile-brand{display:none}.top-actions{margin-left:auto;display:flex;gap:10px}.login,.register{height:56px;border:0;border-radius:8px;padding:0 20px;font-weight:700;font-size:16px;cursor:pointer}.login{background:#252832}.register{background:linear-gradient(100deg,#7317ef,#8d17ff)}.login:hover,.register:hover{filter:brightness(1.08)}main{max-width:1500px;margin:0 auto;padding:20px 36px 0}.hero{position:relative;border-radius:12px;overflow:hidden;margin-bottom:28px}.hero-viewport{overflow:hidden;border-radius:12px}.hero-track{display:flex;transition:transform .42s cubic-bezier(.2,.75,.25,1)}.hero-slide{min-width:100%;aspect-ratio:3.2/1;background:#15161b}.hero-slide img{width:100%;height:100%;display:block;object-fit:cover}.hero-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:1px solid #ffffff24;background:#0d0e12cc;color:white;font-size:30px;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 5px 25px #0008}.hero-arrow:hover{background:#252630}.hero-prev{left:14px}.hero-next{right:14px}.hero-dots{position:absolute;z-index:4;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:7px}.hero-dots button{width:7px;height:7px;border-radius:50%;border:0;padding:0;background:#ffffff66;cursor:pointer}.hero-dots button.active{width:22px;border-radius:5px;background:#fff}.content-section{padding:16px 0 13px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.section-title h2{display:flex;align-items:center;gap:9px;font-size:18px;margin:0}.section-icon{width:30px;height:30px;border-radius:8px;background:#241842;display:grid;place-items:center;box-shadow:inset 0 0 0 1px #8e68ff20}.section-icon img{width:19px;height:19px;filter:sepia(.2) saturate(8) hue-rotate(215deg) brightness(1.2)}.section-controls{display:flex;align-items:center;gap:6px}.see-all,.round-arrow{border:1px solid #30313a;background:#1a1b20;color:#bec0ca;border-radius:7px;cursor:pointer}.see-all{height:33px;padding:0 12px}.round-arrow{width:33px;height:33px;font-size:21px}.see-all:hover,.round-arrow:hover{background:#272831;color:#fff}.game-row,.tournament-row,.providers-row{display:flex;gap:12px;overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth}.game-row::-webkit-scrollbar,.tournament-row::-webkit-scrollbar,.providers-row::-webkit-scrollbar{display:none}.game-card{position:relative;min-width:152px;width:152px;border-radius:9px;overflow:hidden;background:#15161b;border:1px solid #272932;cursor:pointer;scroll-snap-align:start}.game-card img{display:block;width:100%;aspect-ratio:.75;object-fit:cover;transition:.2s}.game-card:after{content:"▶";position:absolute;inset:0;display:grid;place-items:center;font-size:26px;opacity:0;background:#0003;transition:.2s}.game-card:hover img{transform:scale(1.04);filter:brightness(.72)}.game-card:hover:after{opacity:1}.game-card .meta{display:none}.tournament-card{position:relative;min-width:520px;height:215px;border-radius:10px;overflow:hidden;border:1px solid #282a32}.tournament-card img{width:100%;height:100%;object-fit:cover}.tour-overlay{position:absolute;left:0;right:0;bottom:0;padding:22px 17px 15px;background:linear-gradient(transparent,#0e0e11 72%);display:flex;justify-content:space-between;gap:12px}.tour-overlay span{color:#a4a6b0}.providers-row button{min-width:210px;height:74px;border:1px solid #2a2b33;background:#15161b;border-radius:9px;color:#e7e7eb;display:flex;align-items:center;gap:12px;padding:0 18px;cursor:pointer;font-weight:700}.providers-row button:hover{background:#202128}.providers-row img{width:27px;height:27px;filter:sepia(.2) saturate(7) hue-rotate(215deg) brightness(1.1)}.table-section{padding-bottom:42px}.table-tabs{display:flex;border-bottom:1px solid #282a31}.table-tabs button{padding:10px 15px;border:0;background:none;color:#8e909d;border-bottom:2px solid transparent;cursor:pointer}.table-tabs button.active{color:white;border-bottom-color:#886cff}.bet-table-wrap{overflow:auto;border:1px solid #262830;border-radius:9px;margin-top:10px}.bet-table{width:100%;min-width:780px;border-collapse:collapse;background:#121318}.bet-table th,.bet-table td{padding:12px;border-bottom:1px solid #25272e;text-align:left;font-size:12px}.bet-table th{background:#17181d;color:#7f818c}.bet-table td{color:#c5c6cd}.win{color:#5ce58d!important}.site-footer{margin:18px -36px 0;padding:64px 126px 28px;background:#131418;border-top:1px solid #26272d}.footer-main{display:grid;grid-template-columns:180px 1fr 1fr 1fr 1fr 280px;gap:38px}.footer-brand img{width:180px}.footer-col{display:flex;flex-direction:column;gap:14px}.footer-col h3{margin:0 0 2px;font-size:16px}.footer-col a{text-decoration:none;color:#8e909d;font-size:14px}.footer-col a:hover{color:#fff}.footer-selects{display:flex;flex-direction:column;gap:22px}.footer-selects button{height:56px;border:0;border-radius:8px;background:#202228;color:#fff;padding:0 18px;text-align:left;display:flex;align-items:center;justify-content:space-between}.footer-selects b{color:#8f6dff}.legal{color:#8c8e9a;margin:86px 0 36px;line-height:1.6}.footer-bottom{border-top:1px solid #2b2d34;padding-top:32px;color:#8e909d;display:flex;justify-content:space-between;align-items:center}.copy-row{display:flex;align-items:center;gap:22px}.footer-badges{display:flex;align-items:center;gap:16px}.footer-badges .cga{width:62px;height:36px;object-fit:contain}.footer-badges .cert{width:38px;height:38px;object-fit:contain}.footer-badges .age{width:38px;height:38px}.mobile-bottom{display:none}.modal{position:fixed;inset:0;z-index:110;background:#000c;backdrop-filter:blur(5px);display:grid;place-items:center;padding:20px;opacity:0;pointer-events:none;transition:.18s}.modal.show{opacity:1;pointer-events:auto}.modal-card{width:min(760px,96vw);background:#18191e;border:1px solid #343641;border-radius:12px;display:grid;grid-template-columns:260px 1fr;overflow:hidden;position:relative}.modal-card>img{width:100%;height:100%;min-height:360px;object-fit:cover}.modal-body{padding:32px}.modal-body h3{font-size:26px}.eyebrow{color:#9e7cff}.modal-close{position:absolute;right:12px;top:12px;width:32px;height:32px;border-radius:50%;border:0;background:#24262d;color:white;font-size:22px;cursor:pointer}
@media(max-width:1250px){.topbar{padding:0 42px}.site-footer{padding-left:42px;padding-right:42px}.footer-main{grid-template-columns:160px repeat(4,1fr)}.footer-selects{grid-column:2/-1;flex-direction:row}.footer-selects button{min-width:260px}.legal{margin-top:50px}}
@media(max-width:900px){:root{--rail:0px}.page{margin-left:0}.sidebar{width:min(370px,100vw);transform:translateX(-103%);padding:20px 13px 80px}.sidebar.open{width:min(370px,100vw);transform:none;box-shadow:20px 0 60px #000b}.desktop-rail-head{display:none}.drawer-mobile-head{display:flex;align-items:center;justify-content:space-between;padding:8px 8px 18px;border-bottom:1px solid #2a2b32;margin:0 -13px 16px}.drawer-mobile-head>img{width:145px}.drawer-actions{display:flex;gap:10px}.drawer-actions .login,.drawer-actions .register{height:48px;padding:0 17px;font-size:15px}.mode-tabs{margin:0 0 16px}.mode-tab{height:56px}.mode-tab span{display:inline}.menu-search{opacity:1;pointer-events:auto;height:56px}.token-panel{display:block}.side-nav{min-width:0}.side-nav a{height:55px;padding:0 18px}.side-nav span{opacity:1;font-size:17px}.side-nav em{opacity:1}.side-spacer{display:none}.side-mini-links{margin-top:14px}.topbar{height:124px;padding:0 24px;align-items:flex-start;padding-top:20px}.desktop-logo{display:none}.mobile-brand{display:flex;align-items:center;gap:17px}.mobile-brand>img{width:145px}.mobile-burger{display:none}.top-actions{gap:12px}.top-actions .login,.top-actions .register{height:50px;padding:0 17px;font-size:15px}main{padding:20px 20px 86px}.hero-slide{aspect-ratio:2.4/1}.game-card{min-width:134px;width:134px}.site-footer{margin-left:-20px;margin-right:-20px;padding:45px 28px 100px}.footer-main{grid-template-columns:1fr 1fr 1fr;gap:34px}.footer-brand{grid-column:1/-1}.footer-selects{grid-column:1/-1}.legal{margin-top:42px}.footer-bottom{align-items:flex-start;gap:20px}.copy-row{flex-direction:column;align-items:flex-end}.mobile-bottom{display:grid;position:fixed;z-index:75;left:0;right:0;bottom:0;height:80px;padding-bottom:env(safe-area-inset-bottom);grid-template-columns:repeat(5,1fr);background:#111216;border-top:1px solid #30313a}.mobile-bottom button{border:0;border-right:1px solid #2b2c33;background:#111216;color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;font-size:12px;font-weight:700}.mobile-bottom button:last-child{border-right:0}.mobile-bottom img{width:25px;height:25px}.mobile-bottom button.active{color:#8f68ff}.mobile-bottom button.active img{filter:sepia(.2) saturate(8) hue-rotate(215deg) brightness(1.1)}.hero-arrow{width:38px;height:38px}.sidebar-backdrop.show{background:#0007}}
@media(max-width:600px){.topbar{height:123px;padding:20px 30px 0}.mobile-brand{gap:0}.mobile-brand>img{width:145px}.top-actions{margin-left:auto}.top-actions .login{display:block}.top-actions .login,.top-actions .register{height:52px;font-size:14px;padding:0 15px}.hero{margin-top:0}.hero-slide{aspect-ratio:1.85/1}.hero-arrow{width:34px;height:34px;font-size:24px}.hero-prev{left:8px}.hero-next{right:8px}.content-section{padding-top:14px}.section-title h2{font-size:15px}.section-icon{width:28px;height:28px}.section-controls .round-arrow{display:none}.see-all{font-size:11px;height:30px}.game-card{min-width:116px;width:116px}.tournament-card{min-width:84vw;height:170px}.providers-row button{min-width:175px}.site-footer{padding:38px 22px 102px}.footer-main{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.footer-col h3{font-size:14px}.footer-col a{font-size:12px}.footer-selects{grid-column:1/-1;flex-direction:column}.footer-selects button{min-width:0}.legal{font-size:11px;margin:36px 0 24px}.footer-bottom{display:block;font-size:11px}.copy-row{align-items:flex-start;margin-top:22px}.footer-badges{margin-top:4px}.modal-card{grid-template-columns:1fr}.modal-card>img{height:240px;min-height:0}.drawer-mobile-head>img{width:140px}.drawer-actions .login,.drawer-actions .register{height:48px;padding:0 14px}.mobile-bottom{height:82px}}
@media(max-width:460px){.topbar{padding:20px 14px 0}.mobile-brand>img{width:126px}.top-actions{gap:8px}.top-actions .login,.top-actions .register{height:48px;padding:0 12px;font-size:13px}.drawer-mobile-head{gap:10px}.drawer-mobile-head>img{width:126px}.drawer-actions{gap:7px}.drawer-actions .login,.drawer-actions .register{height:44px;padding:0 11px;font-size:13px}.mode-tab{height:54px}.side-nav a{height:54px}.site-footer{padding-left:16px;padding-right:16px}}

/* v3 fixes: scrollable drawer, 3-up hero, provider strip, mobile header */
.sidebar.open{
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#343640 transparent;
}
.sidebar.open::-webkit-scrollbar{width:6px}
.sidebar.open::-webkit-scrollbar-thumb{background:#343640;border-radius:999px}
.sidebar.open::-webkit-scrollbar-track{background:transparent}
.side-spacer{flex:0 0 18px}
.side-mini-links{margin-top:auto}

.hero{overflow:visible;margin-top:8px}
.hero-viewport{overflow:hidden;border-radius:12px}
.hero-track{gap:18px;will-change:transform}
.hero-slide{
  flex:0 0 calc((100% - 36px)/3);
  min-width:0;
  aspect-ratio:16/9;
  border-radius:10px;
  overflow:hidden;
  background:#15161b;
}
.hero-slide img{border-radius:10px}
.hero-arrow{top:50%;width:42px;height:42px;background:#252832;border:0}
.hero-prev{left:-16px}.hero-next{right:-16px}
.hero-dots{bottom:-18px}
.hero{margin-bottom:38px}

.providers-row{gap:22px;scroll-snap-type:x proximity;padding:2px 0 8px}
.providers-row .provider-card{
  flex:0 0 242px;
  min-width:242px;
  height:125px;
  padding:0;
  border:0;
  border-radius:10px;
  overflow:hidden;
  background:#111216;
  scroll-snap-align:start;
}
.providers-row .provider-card img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:none;
}
.providers-row .provider-card:hover{transform:translateY(-2px);filter:brightness(1.08)}
#providers .section-title h2{font-size:28px}
#providers .section-icon{background:transparent;box-shadow:none;width:34px;height:34px}
#providers .section-icon img{width:30px;height:30px}
#providers .round-arrow{width:52px;height:52px;border-radius:50%;font-size:28px;background:#23252d;border:0}

@media(max-width:900px){
  .sidebar{bottom:80px;padding-bottom:22px}
  .sidebar.open{overflow-y:auto;-webkit-overflow-scrolling:touch}
  .side-mini-links{margin-top:18px;padding-bottom:22px}
  .topbar{
    height:104px;
    padding:16px 20px;
    align-items:center;
  }
  .mobile-brand{min-width:0;display:flex;align-items:center}
  .mobile-brand>img{width:178px;max-width:36vw}
  .top-actions{margin-left:auto;gap:12px;flex-shrink:0}
  .top-actions .login,.top-actions .register{height:56px;font-size:16px;padding:0 20px}
  .hero-track{gap:12px}
  .hero-slide{flex-basis:82%;aspect-ratio:16/9}
  .hero-prev{left:6px}.hero-next{right:6px}
  #providers .section-title h2{font-size:20px}
  .providers-row .provider-card{flex-basis:220px;min-width:220px;height:114px}
}
@media(max-width:600px){
  .topbar{height:104px;padding:16px 16px}
  .mobile-brand>img{width:170px;max-width:38vw}
  .top-actions{gap:10px}
  .top-actions .login{min-width:82px}
  .top-actions .register{min-width:154px}
  .top-actions .login,.top-actions .register{height:56px;font-size:15px;padding:0 14px}
  main{padding-top:14px}
  .hero-slide{flex-basis:92%;aspect-ratio:16/9}
  .hero-arrow{width:36px;height:36px}
  .hero-dots{display:none}
  .providers-row{gap:14px}
  .providers-row .provider-card{flex-basis:205px;min-width:205px;height:106px}
  #providers .section-controls .round-arrow{display:block;width:40px;height:40px}
}
@media(max-width:460px){
  .topbar{padding:14px 12px;height:96px}
  .mobile-brand>img{width:132px;max-width:none}
  .top-actions{gap:8px}
  .top-actions .login{min-width:68px}
  .top-actions .register{min-width:118px}
  .top-actions .login,.top-actions .register{height:48px;font-size:13px;padding:0 10px}
  .hero-slide{flex-basis:94%}
}

/* v4 mobile alignment + clean select chevrons */
.footer-selects button span{
  width:9px;
  height:9px;
  flex:0 0 9px;
  margin-left:auto;
  border-right:2px solid #c7c9d2;
  border-bottom:2px solid #c7c9d2;
  transform:rotate(45deg) translateY(-2px);
  transform-origin:center;
  font-size:0;
  line-height:0;
  opacity:.95;
}
.footer-selects button:hover span{border-color:#fff}
.footer-selects button b{margin-left:8px;margin-right:16px}

@media(max-width:900px){
  .topbar{
    width:100%;
    min-width:0;
    justify-content:space-between;
    column-gap:12px;
  }
  .mobile-brand{
    flex:1 1 auto;
    min-width:0;
    overflow:visible;
  }
  .mobile-brand>img{
    display:block;
    width:clamp(132px,31vw,168px);
    max-width:100%;
    height:auto;
    flex:0 1 auto;
    object-fit:contain;
  }
  .top-actions{
    flex:0 0 auto;
    min-width:0;
  }

  .hero,
  .hero-viewport{
    width:100%;
    max-width:100%;
  }
  .hero-viewport{
    overflow:hidden;
    margin:0 auto;
  }
  .hero-track{gap:0}
  .hero-slide{
    flex:0 0 100%;
    width:100%;
    min-width:100%;
    max-width:100%;
    aspect-ratio:16/9;
  }
  .hero-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
  }
  .hero-prev{left:10px}
  .hero-next{right:10px}
}

@media(max-width:600px){
  .topbar{
    height:102px;
    padding:15px 14px;
    gap:10px;
  }
  .mobile-brand>img{width:clamp(124px,30vw,150px)}
  .top-actions{gap:8px}
  .top-actions .login,
  .top-actions .register{
    height:52px;
    font-size:14px;
    padding-left:13px;
    padding-right:13px;
  }
  .top-actions .login{min-width:72px}
  .top-actions .register{min-width:138px}
  .hero{margin-left:0;margin-right:0}
  .hero-slide{flex-basis:100%}
}

@media(max-width:480px){
  .topbar{padding:13px 10px;gap:7px}
  .mobile-brand>img{width:122px}
  .top-actions{gap:6px}
  .top-actions .login,
  .top-actions .register{
    height:48px;
    font-size:13px;
    padding-left:10px;
    padding-right:10px;
  }
  .top-actions .login{min-width:64px}
  .top-actions .register{min-width:112px}
}

@media(max-width:390px){
  .mobile-brand>img{width:110px}
  .top-actions .login{min-width:58px}
  .top-actions .register{min-width:104px}
  .top-actions .login,
  .top-actions .register{padding-left:8px;padding-right:8px;font-size:12px}
}

/* v5 PHP-engine integration and requested UI changes */
a.login,a.register,a.mode-tab,a.see-all,.token-actions a,.mobile-bottom a{display:flex;align-items:center;justify-content:center;text-decoration:none}
.section-heading{display:flex;align-items:center;gap:9px;font-size:18px;font-weight:800;margin:0}
.provider-heading{font-size:28px}.footer-title{font-size:16px;font-weight:800;color:#f7f7fb;margin-bottom:14px}
.engine-intro,.article-card,.faq-shell{background:#111216;border:1px solid #292a32;border-radius:12px;padding:22px;margin:8px 0 20px}.engine-intro h1{margin:0 0 18px;font-size:30px;line-height:1.2}.short-article,.article,.faq-shell{color:#c7c8d1;line-height:1.65}.short-article p,.article p{margin:0 0 14px}.intro-actions{display:flex;gap:10px;margin-top:18px}.intro-actions .login,.intro-actions .register{width:auto;text-decoration:none}.article-card h2,.article-card h3,.faq-shell h2,.faq-shell h3{color:#fff}.article-card ul,.article-card ol,.short-article ul,.short-article ol,.faq-shell ul,.faq-shell ol{margin:16px 0;padding-left:24px;max-width:100%}.article-card li,.short-article li,.faq-shell li{margin-bottom:8px;overflow-wrap:anywhere}.table-scroll{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;margin:18px 0 24px}.table-scroll table{width:100%;border-collapse:collapse;table-layout:auto}.table-scroll th,.table-scroll td{white-space:nowrap;border:1px solid #30313a;padding:10px 12px;text-align:left}.table-scroll th{background:#1a1b20;color:#fff}.faq-shell .faq{margin:0}.faq-shell section{margin-top:28px}.faq-item{border-bottom:1px solid #2b2c34;padding:14px 0}.faq-item-title{margin:0 0 8px}.faq-item-content-visible{color:#aaaebb}.mobile-bottom a,.mobile-bottom button{border:0;border-right:1px solid #2b2c33;background:#111216;color:#fff;flex-direction:column;gap:5px;font-size:12px;font-weight:700}.mobile-bottom a img{width:25px;height:25px}.mobile-bottom a:last-child{border-right:0}
/* remove obsolete source sections if stale markup is ever reintroduced */
.table-section,.tournament-section{display:none}
@media(max-width:800px){.table-scroll table{width:max-content;min-width:720px;max-width:none}}
@media(max-width:900px){
  .sidebar{bottom:80px;max-height:calc(100dvh - 80px);overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
  .sidebar.open{overflow-y:auto}
  .hero-arrow{display:none}
  .hero-viewport{touch-action:pan-y pinch-zoom}
  .hero-track{user-select:none}
  .hero-slide{touch-action:pan-y pinch-zoom}
  .provider-heading{font-size:20px}
}
@media(max-width:600px){.engine-intro,.article-card,.faq-shell{padding:16px}.engine-intro h1{font-size:23px}.intro-actions{flex-direction:column}.section-heading{font-size:15px}}


/* v6: CTA alignment, larger branding, FAQ/reviews polish */
.login,.register,.mode-tab,.token-actions a,.see-all,.footer-select-btn{
  display:inline-flex;align-items:center;justify-content:center;text-align:center;
  line-height:1.15;text-decoration:none;white-space:nowrap
}
.desktop-logo{width:224px;height:auto}
.footer-brand img{width:194px;height:auto}
.drawer-mobile-head>img{width:164px;height:auto}
.rail-logo{width:178px;height:auto}
.mobile-brand>img{width:164px;height:auto}

.footer-selects .footer-select-btn{
  height:56px;border:0;border-radius:8px;background:#202228;color:#fff;
  padding:0 18px;justify-content:space-between;gap:16px
}
.footer-selects .footer-select-btn b{color:#8f6dff}
.footer-selects .footer-select-btn span{
  width:8px;height:8px;border-right:2px solid #c9cad2;border-bottom:2px solid #c9cad2;
  transform:rotate(45deg) translateY(-2px);flex:0 0 auto
}
.footer-selects .footer-select-btn:hover{background:#292b33}

/* FAQ */
.faq-shell{
  background:
    radial-gradient(circle at 5% 0%,rgba(127,67,255,.10),transparent 30%),
    #111216;
  border-color:#302b43
}
.faq-shell .faq>.h2-base-title,
.faq-shell>section>h2{
  margin:0 0 18px;font-size:26px;line-height:1.2;color:#fff
}
.faq-shell .faq-content{display:grid;gap:12px}
.faq-shell .faq-item{
  position:relative;padding:0;border:1px solid #2e3039;border-radius:12px;
  overflow:hidden;background:#17181d;box-shadow:0 8px 26px rgba(0,0,0,.14)
}
.faq-shell .faq-item:before{
  content:"";position:absolute;inset:0 0 auto 0;height:2px;
  background:linear-gradient(90deg,#7e29ff,#a27cff,transparent 80%)
}
.faq-shell .faq-item-header-wrapper{padding:17px 54px 10px 18px;position:relative}
.faq-shell .faq-item-header-wrapper:after{
  content:"?";position:absolute;right:16px;top:15px;width:28px;height:28px;border-radius:8px;
  display:grid;place-items:center;background:#282038;border:1px solid #463466;color:#a887ff;
  font-weight:900;font-size:15px
}
.faq-shell .faq-item-title{margin:0;font-size:17px;line-height:1.35;color:#fff}
.faq-shell .faq-item-content{padding:0 18px 17px}
.faq-shell .faq-item-content-visible{color:#aeb0bc;line-height:1.65}

/* Reviews */
.faq-shell>section{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:30px
}
.faq-shell>section>h2{grid-column:1/-1}
.faq-shell>section>div[itemscope][itemtype*="Review"]{
  position:relative;min-width:0;padding:20px;border:1px solid #2e3039;border-radius:12px;
  background:linear-gradient(145deg,#191a20,#141519);
  box-shadow:0 8px 26px rgba(0,0,0,.14)
}
.faq-shell>section>div[itemscope][itemtype*="Review"]:before{
  content:"★★★★★";display:block;margin-bottom:12px;color:#9b78ff;
  letter-spacing:3px;font-size:14px
}
.faq-shell>section>div[itemscope][itemtype*="Review"] h3{
  margin:0 0 10px;font-size:16px;color:#fff
}
.faq-shell>section>div[itemscope][itemtype*="Review"] p{
  margin:0;color:#adb0bb;line-height:1.62
}

@media(max-width:900px){
  .drawer-mobile-head>img{width:170px}
  .faq-shell>section{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .topbar{gap:12px;padding-left:24px;padding-right:18px}
  .mobile-brand{flex:0 1 auto;min-width:0}
  .mobile-brand>img{width:158px;max-width:100%;display:block}
  .top-actions{gap:8px}
  .top-actions .login,.top-actions .register{display:inline-flex;align-items:center;justify-content:center;line-height:1.1}
  .faq-shell .faq>.h2-base-title,.faq-shell>section>h2{font-size:22px}
  .faq-shell>section{grid-template-columns:1fr}
}
@media(max-width:470px){
  .topbar{padding-left:16px;padding-right:12px;gap:8px}
  .mobile-brand>img{width:142px}
  .top-actions .login,.top-actions .register{height:48px;padding:0 12px;font-size:13px}
  .top-actions .register{min-width:112px}
}

/* v7: prevent mobile header CTA overflow */
@media(max-width:600px){
  .topbar{
    width:100%;
    min-width:0;
    padding-left:14px;
    padding-right:14px;
    gap:8px;
    align-items:center;
  }
  .mobile-brand{
    flex:1 1 auto;
    min-width:0;
    overflow:hidden;
  }
  .mobile-brand>img{
    width:136px;
    max-width:100%;
    height:auto;
    display:block;
  }
  .top-actions{
    margin-left:auto;
    flex:0 0 auto;
    gap:7px;
    min-width:0;
  }
  .top-actions .login,
  .top-actions .register{
    box-sizing:border-box;
    min-width:0;
    height:48px;
    padding:0 12px;
    font-size:14px;
    line-height:1;
  }
  .top-actions .login{width:72px}
  .top-actions .register{width:132px}
}
@media(max-width:430px){
  .topbar{padding-left:10px;padding-right:10px;gap:6px}
  .mobile-brand>img{width:118px}
  .top-actions{gap:6px}
  .top-actions .login{width:64px;padding:0 8px;font-size:13px}
  .top-actions .register{width:116px;padding:0 8px;font-size:13px}
}
@media(max-width:370px){
  .mobile-brand>img{width:104px}
  .top-actions .login{width:58px;font-size:12px}
  .top-actions .register{width:104px;font-size:12px}
}

/* v8: compact header inside opened mobile drawer */
@media(max-width:900px){
  .drawer-mobile-head{
    width:auto;
    min-width:0;
    padding-left:12px;
    padding-right:12px;
    gap:8px;
  }
  .drawer-mobile-head>img{
    width:128px;
    max-width:38%;
    height:auto;
    flex:0 1 auto;
  }
  .drawer-actions{
    margin-left:auto;
    flex:0 0 auto;
    gap:7px;
    min-width:0;
  }
  .drawer-actions .login,
  .drawer-actions .register{
    box-sizing:border-box;
    min-width:0;
    height:46px;
    padding:0 9px;
    font-size:13px;
    line-height:1;
    white-space:nowrap;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .drawer-actions .login{width:66px}
  .drawer-actions .register{width:118px}
}
@media(max-width:390px){
  .drawer-mobile-head{padding-left:9px;padding-right:9px;gap:6px}
  .drawer-mobile-head>img{width:112px;max-width:36%}
  .drawer-actions{gap:5px}
  .drawer-actions .login{width:58px;padding:0 6px;font-size:12px}
  .drawer-actions .register{width:104px;padding:0 6px;font-size:12px}
}
@media(max-width:340px){
  .drawer-mobile-head>img{width:96px}
  .drawer-actions .login{width:54px}
  .drawer-actions .register{width:96px;font-size:11px}
}
