/*
Theme Name: 1xbook
Author: 1xbook
Description: 1xbook sports, casino, mobile and account guide theme with configurable CTA destinations.
Version: 4.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: one-xbook
*/
:root{--bg:#0a111a;--panel:#111c28;--panel2:#172536;--line:#25374b;--text:#f3f7fb;--muted:#9eafbf;--blue:#0797d4;--blue2:#05658f;--gold:#ffc400;--green:#25d366;--side:238px;--top:58px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.6}
body,button,input,textarea{font-family:Arial,Helvetica,sans-serif}
a{color:inherit;text-decoration:none}
img{max-width:100%}
.skip{position:absolute;left:-9999px}
.site-header{position:fixed;top:0;left:0;right:0;height:var(--top);z-index:3000;background:linear-gradient(180deg,#079bd8,#056b9d);border-bottom:1px solid rgba(255,255,255,.15)}
.topbar{height:100%;display:flex;align-items:center;padding:0 12px;gap:12px}
.brand{width:238px;display:flex;align-items:center;flex:0 0 auto}
.logo{display:flex;align-items:center;width:135px;height:50px}
.logo img{width:125px;height:42px;object-fit:contain}
.mobile-menu{display:none}
.main-nav{height:100%;display:flex;align-items:stretch;gap:2px;overflow:hidden}
.main-nav a{display:flex;align-items:center;padding:0 10px;color:#fff;font-size:11px;font-weight:800;white-space:nowrap;border-bottom:3px solid transparent}
.main-nav a:hover,.main-nav a:first-child{background:rgba(0,0,0,.12);border-bottom-color:#fff}
.top-actions{margin-left:auto;display:flex;align-items:center;gap:8px}
.clock{font-size:11px;color:#eaf8ff;white-space:nowrap}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 16px;border-radius:5px;font-size:12px;font-weight:800;border:1px solid transparent;cursor:pointer}
.header-login{background:#073f61;color:#fff}
.header-join,.btn.primary{background:var(--gold);color:#101820}
.btn.secondary{background:#0b4668;color:#fff;border-color:#216184}
.sidebar{position:fixed;z-index:2500;top:var(--top);bottom:0;left:0;width:var(--side);overflow-y:auto;background:#111b28;border-right:1px solid var(--line);padding:22px 14px 80px}
.provider-title{display:flex;align-items:center;gap:10px;margin-bottom:24px}
.provider-title strong{font-size:14px}
.provider-symbol{font-size:22px}
.provider-subtitle{font-size:11px;color:var(--muted);margin:0 0 12px}
.provider-row{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:8px;padding:9px 5px;border-radius:6px;color:#d7e4ef}
.provider-row:hover{background:#172b3f}
.provider-row img{width:27px;height:27px;object-fit:contain;border-radius:5px}
.provider-row span{font-size:11px;font-weight:700}
.provider-row em{font-style:normal;color:#6d8498}
.sidebar-bottom{border-top:1px solid var(--line);margin-top:18px;padding-top:12px}
.sidebar-bottom a{display:block;padding:7px 5px;color:#8fa5b8;font-size:10px}
.sidebar-bottom a:hover{color:#fff}
.side-close{display:none}
.page-wrap{margin-left:var(--side);padding-top:var(--top);min-height:100vh}
.content{padding:12px 14px 100px;max-width:1500px;margin:0 auto}
.hero{position:relative;overflow:hidden;height:330px;border-radius:10px;background:#0d1722;border:1px solid var(--line)}
.hero-track{height:100%;display:flex;transition:transform .45s ease}
.hero-slide{flex:0 0 100%;height:100%;display:flex;align-items:center;justify-content:center;background:#101b28}
.hero-slide img{width:100%;height:100%;object-fit:cover}
.hero-slide:first-child img{object-fit:contain;padding:35px}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;font-size:26px;cursor:pointer;z-index:3}
.hero-prev{left:10px}.hero-next{right:10px}
.hero-dots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:6px}
.hero-dots button{width:8px;height:8px;border:0;border-radius:50%;background:#718497;padding:0}
.hero-dots button.active{background:#fff}
.category-tabs{display:flex;gap:8px;overflow-x:auto;padding:10px 0 4px;scrollbar-width:none}
.category-tabs::-webkit-scrollbar{display:none}
.category-tab{flex:0 0 82px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:8px 5px;background:var(--panel);border:1px solid var(--line);border-radius:8px;color:#bdccda}
.category-tab:hover{background:#1a2a3c;color:#fff;border-color:#2f5975}
.category-tab img{width:40px;height:40px;object-fit:contain}
.category-tab span{font-size:9px;font-weight:800;text-align:center;white-space:nowrap}
.game-section{margin-top:18px}
.game-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}
.game-section-head h2{font-size:17px;margin:0}
.game-section-head a{font-size:10px;color:#73c8eb}
.game-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px}
.game-card{position:relative;display:block;aspect-ratio:1.22/1;border:1px solid #26394d;border-radius:7px;overflow:hidden;background:#101a25}
.game-card img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease,filter .2s ease}
.game-card:hover img{transform:scale(1.04);filter:brightness(1.08)}
.game-name{position:absolute;left:0;right:0;bottom:0;padding:18px 6px 6px;background:linear-gradient(transparent,rgba(0,0,0,.88));font-size:10px;font-weight:800;color:#fff}
.editorial{max-width:1120px;margin:24px auto 0;padding:28px;background:var(--panel);border:1px solid var(--line);border-radius:10px}
.eyebrow{color:#73c8eb;text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:900}
.editorial h1{font-size:32px;line-height:1.2;margin:8px 0 16px;color:#fff}
.editorial h2{font-size:21px;line-height:1.3;margin:30px 0 10px;color:#f5f8fb}
.editorial h3{font-size:17px}
.editorial p,.editorial li{color:#b7c4d0;font-size:14px;line-height:1.85}
.editorial .lead{font-size:16px;color:#d5e0e9;line-height:1.75}
.editorial a{color:#6dcef3}
.editorial ol,.editorial ul{padding-left:22px}
.breadcrumb{font-size:10px;color:#71869a;margin:0 auto 8px;max-width:1120px}
.breadcrumb a{color:#8ccfeb}
.breadcrumb span{padding:0 5px}
.page-hero{position:relative;max-width:1120px;width:100%;aspect-ratio:1920/620;height:auto;margin:0 auto;border-radius:10px;overflow:hidden;border:1px solid var(--line);background:#0d1722}
.page-hero img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
.page-hero-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:24px;background:linear-gradient(transparent,rgba(5,12,20,.9))}
.page-hero-overlay span{font-size:10px;text-transform:uppercase;color:#7bd1f3;font-weight:900}
.page-hero-overlay strong{font-size:26px}
.one-xbook-cta-box{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:28px 0;padding:18px;background:#14263a;border:1px solid #28516d;border-radius:9px}
.one-xbook-cta-box strong{display:block;font-size:16px;color:#fff}
.one-xbook-cta-box span{display:block;color:#91a8bb;font-size:12px;margin-top:3px}
.cta-actions{display:flex;gap:7px;flex-wrap:wrap}
.faq{margin-top:30px}
.faq details{border-top:1px solid var(--line)}
.faq summary{padding:14px 0;font-weight:800;color:#e6eef5;cursor:pointer}
.faq .answer{padding:0 0 12px}
.faq .answer p{margin:0}
.related-inline{line-height:2.3}
.one-xbook-form-wrap{max-width:680px;margin:0 auto 28px;padding:22px;background:#0d1825;border:1px solid #294157;border-radius:9px}
.form-intro h2{margin-top:0}
.form-intro p{font-size:13px}
.one-xbook-form{display:grid;gap:13px}
.one-xbook-form label{font-size:11px;font-weight:800;color:#d6e1ea}
.one-xbook-form input,.one-xbook-form textarea{display:block;width:100%;margin-top:6px;background:#0a121c;color:#fff;border:1px solid #2c4155;border-radius:5px;padding:11px 12px;outline:none}
.one-xbook-form input:focus,.one-xbook-form textarea:focus{border-color:#48b6e3}
.form-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.footer{background:#08101a;border-top:1px solid var(--line);padding:34px 24px 90px}
.footer-grid{max-width:1250px;margin:auto;display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:28px}
.footer-logo{width:125px;height:45px;object-fit:contain}
.footer h3{font-size:12px;margin:0 0 8px;color:#fff}
.footer p,.footer a{font-size:10px;color:#8296a9;line-height:1.8}
.footer a:hover{color:#fff}
.footer-bottom{max-width:1250px;margin:22px auto 0;padding-top:14px;border-top:1px solid #1b2a3a;color:#64788b;font-size:9px}
.sticky-cta{position:fixed;z-index:4000;left:50%;bottom:12px;transform:translateX(-50%);background:var(--gold);color:#111!important;border-radius:24px;padding:11px 24px;font-size:12px;font-weight:900;box-shadow:0 7px 25px rgba(0,0,0,.5)}
.whatsapp{position:fixed;z-index:4001;right:16px;bottom:13px;width:46px;height:46px;display:flex;align-items:center;justify-content:center}
.whatsapp img{width:100%;height:100%;display:block}
.home-intro{margin-top:24px}
.home-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.home-columns>div{background:#0d1825;border:1px solid var(--line);border-radius:8px;padding:17px}
.home-columns h2{font-size:17px;margin:0 0 8px}
.home-columns p{margin:0;font-size:13px}
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px}
.blog-card{background:#0d1825;border:1px solid var(--line);border-radius:9px;overflow:hidden}
.blog-card:hover{border-color:#32617d}
.blog-card-image{height:190px}
.blog-card-image img{width:100%;height:100%;object-fit:cover}
.blog-card-body{padding:16px}
.blog-card-body small{color:#6f879b;font-size:9px}
.blog-card-body h2{font-size:18px;margin:7px 0}
.blog-card-body p{font-size:12px;line-height:1.65;margin:0 0 10px}
.read-more{font-size:11px;color:#6dcef3}
.post-date{font-size:10px!important;color:#71869a!important}
.editorial>img{border-radius:8px;margin:12px 0 20px}
.mobile-overlay{display:none}
.inner-page-title h1 { text-align:center; }

@media(max-width:1200px){
  .brand{width:200px}.main-nav a{padding:0 7px}.game-grid{grid-template-columns:repeat(7,minmax(0,1fr))}
  .footer-grid{grid-template-columns:1.5fr repeat(2,1fr)}
}
@media(max-width:900px){
  :root{--side:0px;--top:58px}
  .mobile-menu{display:block;border:0;background:none;color:#fff;font-size:24px;width:38px;height:38px;padding:0;margin-right:4px}
  .brand{width:auto}.logo{width:105px}.logo img{width:100px}
  .main-nav{display:none}.top-actions .clock,.top-actions .header-login,.top-actions .header-join{display:none}
  .sidebar{left:-300px;width:300px;transition:left .25s ease;box-shadow:8px 0 28px rgba(0,0,0,.55)}
  .sidebar.open{left:0}.side-close{display:block;position:absolute;right:10px;top:10px;background:none;border:0;color:#fff;font-size:29px;cursor:pointer}
  .mobile-overlay.show{display:block;position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:2400}
  .content{padding:9px 8px 100px}.hero{height:240px}.game-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
  .home-columns{grid-template-columns:1fr}.footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  .hero{height:150px}.hero-slide:first-child img{padding:18px}.hero-arrow{width:32px;height:32px;font-size:20px}
  .category-tab{flex-basis:68px;min-width:68px}.category-tab img{width:34px;height:34px}
  .game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.game-card{aspect-ratio:1.35/1}
  .editorial{padding:18px 14px}.editorial h1{font-size:24px}.editorial h2{font-size:19px}.editorial p,.editorial li{font-size:13px}
  .page-hero{aspect-ratio:900/500}.page-hero-overlay{padding:15px}.page-hero-overlay strong{font-size:21px}
  .one-xbook-cta-box{display:block}.cta-actions{margin-top:12px}.sticky-cta{left:8px;right:8px;transform:none;text-align:center}
  .whatsapp{right:10px;bottom:64px;width:44px;height:44px}.footer-grid{grid-template-columns:1fr}.blog-grid{grid-template-columns:1fr}
}


/* 1xbook v2 layout refinements */
.hero-slide picture,.hero-slide picture img{display:block;width:100%;height:100%}
.hero-slide picture img{object-fit:cover}
.page-hero picture,.page-hero picture img{display:block;width:100%;height:100%}
.page-hero picture img{object-fit:cover;object-position:center center}
.footer{margin-left:var(--side);position:relative;z-index:1}
.homepage{padding-bottom:55px}
.home-action-strip{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:18px 0;padding:22px 24px;background:linear-gradient(120deg,#10283b,#0d1724);border:1px solid #29506b;border-radius:12px;box-shadow:0 12px 35px rgba(0,0,0,.18)}
.home-action-strip h2{margin:3px 0 4px;font-size:22px;color:#fff}.home-action-strip p{margin:0;color:#93a9ba;font-size:13px}
.home-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}
.feature-panel{position:relative;min-height:205px;padding:24px;border-radius:12px;overflow:hidden;border:1px solid #2b4357;background:#101d2a}.feature-panel:after{content:"";position:absolute;right:-45px;top:-55px;width:170px;height:170px;border-radius:50%;background:rgba(255,196,0,.08)}
.feature-panel h2{margin:6px 0 9px;font-size:20px;color:#fff}.feature-panel p{margin:0;color:#aebdca;font-size:13px;line-height:1.75}.feature-panel a{color:#72d0f5}.feature-link{display:inline-block;margin-top:15px;font-weight:800;font-size:11px}.feature-icon{display:inline-flex;width:36px;height:36px;align-items:center;justify-content:center;border-radius:9px;background:var(--gold);color:#101820;font-size:12px;font-weight:900}
.content-callout{margin:22px 0;padding:16px 18px;border-left:4px solid var(--gold);background:#0b1724;color:#b7c6d2;border-radius:0 8px 8px 0}.content-callout strong{color:#fff}.content-callout a{font-weight:800}
.home-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:24px 0}.home-stat-grid div{padding:17px;background:#0d1825;border:1px solid var(--line);border-radius:9px}.home-stat-grid strong{display:block;color:var(--gold);font-size:17px}.home-stat-grid span{display:block;margin-top:4px;color:#91a4b5;font-size:11px;line-height:1.5}
.home-blog-section{max-width:1250px;margin:22px auto 0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:12px}.section-heading h2{margin:4px 0 0;font-size:24px}.compact-blog{margin-top:0}.compact-blog .blog-card-image{height:170px}
.blog-topic-strip{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.blog-topic-strip a{padding:8px 12px;border:1px solid #2a4c64;background:#0d1825;border-radius:20px;font-size:11px;font-weight:800;color:#9dddf5}.blog-topic-strip a:hover{background:#153047;color:#fff}
.single-post-image{display:block;width:100%;max-height:520px;object-fit:cover;border-radius:10px;margin:14px 0 26px}.related-post-nav{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:28px;padding-top:18px;border-top:1px solid var(--line)}
.form-only{max-width:680px;margin:12px auto 28px}.form-only .form-intro h1{margin:0 0 8px;font-size:28px}.form-only .form-intro p{margin:0 0 15px;color:#a9b9c7}.form-submit{border:0;width:100%}
.sidebar{box-shadow:inset -1px 0 0 rgba(255,255,255,.02)}
@media(max-width:1200px){.home-feature-grid{grid-template-columns:1fr 1fr}.home-stat-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.footer{margin-left:0}.home-action-strip{display:block}.home-action-strip .cta-actions{margin-top:14px}.home-feature-grid{grid-template-columns:1fr}.section-heading{align-items:flex-start;display:block}.section-heading .btn{margin-top:10px}}
@media(max-width:600px){.home-action-strip{padding:18px}.home-action-strip h2{font-size:19px}.home-stat-grid{grid-template-columns:1fr 1fr}.page-hero{aspect-ratio:900/500}.page-hero-overlay strong{max-width:90%}.home-editorial{margin-top:16px}.home-blog-section{margin-top:18px}}
.page-action-grid{max-width:1120px;margin:14px auto 0;display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.page-action-grid a{display:block;padding:13px 14px;background:#0e1c2a;border:1px solid #253d52;border-radius:8px}.page-action-grid strong{display:block;font-size:12px;color:#fff}.page-action-grid span{display:block;margin-top:3px;font-size:10px;color:#7e98aa}.page-action-grid a:hover{border-color:#3d718f;background:#13263a}.page-related-section{max-width:1120px;margin:24px auto 0}.page-related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.related-tile{display:flex;flex-direction:column;justify-content:space-between;min-height:88px;padding:15px;background:#0d1825;border:1px solid var(--line);border-radius:8px}.related-tile strong{font-size:12px;color:#fff}.related-tile span{font-size:10px;color:#6dcef3;margin-top:10px}.form-page-editorial{max-width:780px;margin:24px auto}.form-page-editorial .one-xbook-form-wrap{margin:0}.form-page-editorial .one-xbook-form-wrap h1{font-size:27px}
@media(max-width:900px){.page-action-grid{grid-template-columns:repeat(2,1fr)}.page-related-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.page-action-grid{grid-template-columns:1fr 1fr}.page-related-grid{grid-template-columns:1fr}.page-action-grid a{padding:11px}}
.form-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px;padding-top:13px;border-top:1px solid var(--line)}.form-links a{font-size:10px;color:#79cdef;font-weight:800}.form-links a:hover{color:#fff}

/* v4 gaming sidebar and content polish */
.sidebar{scrollbar-width:thin;scrollbar-color:#4a6072 #0c1520;padding-right:10px}
.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-track{background:#0c1520;border-radius:8px}.sidebar::-webkit-scrollbar-thumb{background:#4a6072;border-radius:8px}.sidebar::-webkit-scrollbar-thumb:hover{background:#6f879a}
.provider-title{padding:5px 7px 12px;border-bottom:1px solid var(--line);margin-bottom:10px}.provider-title strong{font-size:15px;letter-spacing:.4px}
.provider-row{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;min-height:52px;margin:5px 0;padding:5px 7px;border:1px solid transparent;border-radius:9px;background:#0d1824;color:#dce8f2;text-decoration:none;transition:.18s ease}
.provider-row:hover{border-color:#294256;background:#132333;transform:translateX(1px)}
.provider-row img{width:42px;height:42px;border-radius:7px;object-fit:cover;background:#0a111a;display:block}.provider-row span{font-size:11px;font-weight:800;line-height:1.25}.provider-row em{display:none}
.sidebar-bottom{padding:12px 5px 80px}.sidebar-bottom a{display:block;padding:8px 7px;border-radius:6px}.sidebar-bottom a:hover{background:#172738}
.content{min-width:0}.page-wrap{min-height:100vh}.footer{position:relative;z-index:2;clear:both}
.editorial{max-width:1120px;margin:0 auto}.content-section{margin:24px 0;padding:24px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(180deg,#101c29,#0d1722)}.content-section h2{margin-top:0}.content-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.content-card{display:flex;flex-direction:column;gap:8px;padding:18px;border:1px solid var(--line);border-radius:11px;background:#0c1722;color:#fff;text-decoration:none;min-height:125px}.content-card:hover{border-color:#4e6c80;transform:translateY(-2px)}.content-card span{color:#91a5b6;font-size:12px;line-height:1.5}.content-card b{margin-top:auto;font-size:11px;color:#d8e8f2}.gaming-cta{display:flex;justify-content:space-between;align-items:center;gap:22px;margin:28px 0;padding:25px;border:1px solid #35566c;border-radius:14px;background:linear-gradient(135deg,#102435,#0c1722)}.gaming-cta strong{display:block;font-size:22px;margin:3px 0 4px}.gaming-cta p{margin:0;color:#93a8b8}.designed-section{margin:30px 0}.lead{font-size:17px;line-height:1.8}.editorial a{color:#d9edf8;text-decoration:underline;text-decoration-color:#527084;text-underline-offset:3px}.editorial a:hover{color:#fff;text-decoration-color:#fff}
@media(max-width:900px){.content-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gaming-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.content-card-grid{grid-template-columns:1fr}.content-section{padding:18px;margin:18px 0}.gaming-cta{padding:18px}.gaming-cta strong{font-size:19px}.lead{font-size:15px}.provider-row{grid-template-columns:38px 1fr;min-height:48px}.provider-row img{width:38px;height:38px}}
