/* ===== Oxplay Core Layout - wbd8e prefix ===== */
:root{
  --wbd8e-bg:#1A1A1A;
  --wbd8e-bg-alt:#232323;
  --wbd8e-bg-soft:#2c2c2c;
  --wbd8e-text:#FFF8DC;
  --wbd8e-text-muted:#ADB5BD;
  --wbd8e-accent:#FFD700;
  --wbd8e-accent-soft:#FFEF94;
  --wbd8e-violet:#EE82EE;
  --wbd8e-border:rgba(255,215,0,.18);
  --wbd8e-radius:12px;
  --wbd8e-shadow:0 6px 22px rgba(0,0,0,.45);
  --wbd8e-header-h:56px;
  --wbd8e-nav-h:62px;
}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html{font-size:62.5%}
body{
  font-family:'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  background:var(--wbd8e-bg);
  color:var(--wbd8e-text);
  font-size:1.5rem;line-height:1.5;
  overflow-x:hidden;
  max-width:430px;margin:0 auto;position:relative;
}
a{color:var(--wbd8e-accent-soft);text-decoration:none}
img{max-width:100%;display:block}
h1,h2,h3{line-height:1.25;font-weight:700}
.wbd8e-container{width:100%;max-width:430px;margin:0 auto;padding:0 14px}
.wbd8e-wrapper{padding-top:var(--wbd8e-header-h);padding-bottom:90px}

/* ===== Header ===== */
.wbd8e-header{
  position:fixed;top:0;left:50%;transform:translateX(-50%);
  width:100%;max-width:430px;height:var(--wbd8e-header-h);z-index:1000;
  background:linear-gradient(180deg,#1a1a1a 0%,#202020 100%);
  border-bottom:1px solid var(--wbd8e-border);
  display:flex;align-items:center;justify-content:space-between;
  padding:0 12px;
}
.wbd8e-logo{display:flex;align-items:center;gap:8px;color:var(--wbd8e-accent);font-weight:800;font-size:1.7rem}
.wbd8e-logo .wbd8e-logo-ico{width:28px;height:28px;border-radius:8px;
  background:linear-gradient(135deg,#FFD700,#EE82EE);
  display:flex;align-items:center;justify-content:center;color:#1A1A1A;font-size:1.5rem;font-weight:900}
.wbd8e-header-actions{display:flex;align-items:center;gap:8px}
.wbd8e-btn{
  border:none;cursor:pointer;border-radius:20px;font-weight:700;
  padding:8px 16px;font-size:1.3rem;min-height:36px;min-width:64px;
  transition:transform .15s ease,opacity .15s ease;
}
.wbd8e-btn:active{transform:scale(.94)}
.wbd8e-btn-login{background:transparent;color:var(--wbd8e-text);border:1px solid var(--wbd8e-accent)}
.wbd8e-btn-register{background:linear-gradient(90deg,#FFD700,#FFEF94);color:#1A1A1A}
.wbd8e-menu-toggle{
  background:transparent;border:none;color:var(--wbd8e-text);
  font-size:2.2rem;cursor:pointer;width:44px;height:44px;display:flex;align-items:center;justify-content:center;
}

/* ===== Mobile Menu (slide down) ===== */
.wbd8e-mobile-menu{
  position:fixed;top:var(--wbd8e-header-h);left:50%;transform:translateX(-50%);
  width:100%;max-width:430px;background:#202020;
  border-bottom:1px solid var(--wbd8e-border);
  max-height:0;overflow:hidden;transition:max-height .3s ease;z-index:9999;
}
.wbd8e-mobile-menu.open{max-height:560px}
.wbd8e-mobile-menu ul{list-style:none;padding:6px 14px 14px}
.wbd8e-mobile-menu li a{
  display:block;padding:12px 8px;color:var(--wbd8e-text);font-size:1.4rem;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.wbd8e-mobile-menu li a:active{color:var(--wbd8e-accent)}

/* ===== Hero / Carousel ===== */
.wbd8e-hero{margin:12px 0}
.wbd8e-carousel{position:relative;border-radius:var(--wbd8e-radius);overflow:hidden;box-shadow:var(--wbd8e-shadow)}
.wbd8e-carousel-track{display:flex;transition:transform .5s ease}
.wbd8e-carousel-slide{min-width:100%;cursor:pointer;position:relative}
.wbd8e-carousel-slide img{width:100%;height:200px;object-fit:cover}
.wbd8e-carousel-slide .wbd8e-slide-cap{
  position:absolute;left:14px;bottom:14px;color:#fff;
  text-shadow:0 2px 6px rgba(0,0,0,.8);font-size:1.6rem;font-weight:700;
}
.wbd8e-carousel-dots{display:flex;justify-content:center;gap:6px;margin-top:8px}
.wbd8e-carousel-dots span{
  width:7px;height:7px;border-radius:50%;background:var(--wbd8e-text-muted);cursor:pointer;
}
.wbd8e-carousel-dots span.active{background:var(--wbd8e-accent);width:18px;border-radius:4px}

/* ===== Section title ===== */
.wbd8e-section{margin:18px 0}
.wbd8e-section-title{
  display:flex;align-items:center;gap:8px;font-size:1.8rem;color:var(--wbd8e-accent);
  margin-bottom:10px;padding-left:4px;border-left:4px solid var(--wbd8e-violet);padding-left:10px;
}
.wbd8e-section-title i{font-size:2rem}

/* ===== Game grid ===== */
.wbd8e-game-block{margin:18px 0}
.wbd8e-game-block h2{font-size:1.8rem;color:var(--wbd8e-accent);margin:0 0 10px 4px}
.wbd8e-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.wbd8e-game-card{
  background:var(--wbd8e-bg-soft);border-radius:10px;overflow:hidden;cursor:pointer;
  border:1px solid rgba(255,255,255,.05);transition:transform .15s ease,border-color .15s ease;
}
.wbd8e-game-card:active{transform:scale(.96);border-color:var(--wbd8e-accent)}
.wbd8e-game-card img{width:100%;aspect-ratio:1/1;object-fit:cover}
.wbd8e-game-card .wbd8e-game-name{
  font-size:1.1rem;color:var(--wbd8e-text);padding:5px 4px;text-align:center;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:24px;
}

/* ===== Cards / info blocks ===== */
.wbd8e-card{
  background:var(--wbd8e-bg-alt);border:1px solid var(--wbd8e-border);
  border-radius:var(--wbd8e-radius);padding:14px;margin:10px 0;box-shadow:var(--wbd8e-shadow);
}
.wbd8e-card h3{color:var(--wbd8e-accent-soft);font-size:1.6rem;margin-bottom:8px}
.wbd8e-card p{color:var(--wbd8e-text);font-size:1.35rem;line-height:1.55}
.wbd8e-card .wbd8e-card-link{color:var(--wbd8e-accent);font-weight:700}

.wbd8e-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}
.wbd8e-stat{
  background:var(--wbd8e-bg-soft);border-radius:10px;padding:10px 4px;text-align:center;
  border:1px solid rgba(255,215,0,.1);
}
.wbd8e-stat .wbd8e-stat-num{font-size:1.8rem;color:var(--wbd8e-accent);font-weight:800}
.wbd8e-stat .wbd8e-stat-label{font-size:1.1rem;color:var(--wbd8e-text-muted);margin-top:2px}

/* ===== Promo CTA banner ===== */
.wbd8e-cta{
  background:linear-gradient(135deg,#FFD700 0%,#EE82EE 100%);
  border-radius:var(--wbd8e-radius);padding:16px;margin:14px 0;text-align:center;cursor:pointer;
  color:#1A1A1A;font-weight:800;font-size:1.7rem;box-shadow:var(--wbd8e-shadow);
}
.wbd8e-cta:active{transform:scale(.98)}
.wbd8e-cta small{display:block;font-size:1.2rem;font-weight:600;margin-top:4px}

/* ===== Testimonial ===== */
.wbd8e-testi{display:flex;gap:8px;overflow-x:auto;padding:6px 0;scroll-snap-type:x mandatory}
.wbd8e-testi-item{
  min-width:240px;background:var(--wbd8e-bg-soft);border-radius:10px;padding:12px;
  scroll-snap-align:start;border:1px solid rgba(255,255,255,.06);
}
.wbd8e-testi-item .wbd8e-testi-name{color:var(--wbd8e-accent);font-size:1.3rem;font-weight:700}
.wbd8e-testi-item .wbd8e-testi-stars{color:var(--wbd8e-accent-soft);font-size:1.2rem;margin:2px 0}
.wbd8e-testi-item p{font-size:1.25rem;color:var(--wbd8e-text)}

/* ===== Payment row ===== */
.wbd8e-pay{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.wbd8e-pay span{
  background:var(--wbd8e-bg-soft);border:1px solid rgba(255,215,0,.15);
  padding:6px 12px;border-radius:20px;font-size:1.2rem;color:var(--wbd8e-text)
}

/* ===== Winners ticker ===== */
.wbd8e-winners{background:var(--wbd8e-bg-soft);border-radius:10px;padding:10px 12px;margin:10px 0}
.wbd8e-winners-item{display:flex;justify-content:space-between;font-size:1.2rem;padding:3px 0;border-bottom:1px dashed rgba(255,255,255,.06)}
.wbd8e-winners-item:last-child{border:none}
.wbd8e-winners-item .wbd8e-win-amount{color:var(--wbd8e-accent);font-weight:700}

/* ===== Footer ===== */
.wbd8e-footer{
  background:#161616;border-top:1px solid var(--wbd8e-border);
  padding:18px 14px 24px;margin-top:18px;
}
.wbd8e-footer-brand{color:var(--wbd8e-text);font-size:1.3rem;line-height:1.6;margin-bottom:12px}
.wbd8e-footer-links{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:12px}
.wbd8e-footer-links a{color:var(--wbd8e-text-muted);font-size:1.25rem;padding:4px 0}
.wbd8e-footer-links a:active{color:var(--wbd8e-accent)}
.wbd8e-footer-promo{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.wbd8e-footer-promo button{
  flex:1 1 45%;background:linear-gradient(90deg,#FFD700,#FFEF94);color:#1A1A1A;
  border:none;border-radius:18px;padding:9px 10px;font-size:1.2rem;font-weight:700;cursor:pointer;min-height:40px;
}
.wbd8e-footer-promo button:active{transform:scale(.96)}
.wbd8e-footer-copy{color:var(--wbd8e-text-muted);font-size:1.15rem;text-align:center;margin-top:12px}

/* ===== Mobile Bottom Nav ===== */
.wbd8e-bottom-nav{
  position:fixed;bottom:0;left:50%;transform:translateX(-50%);
  width:100%;max-width:430px;height:var(--wbd8e-nav-h);z-index:1000;
  background:#1a1a1a;border-top:1px solid var(--wbd8e-border);
  display:flex;justify-content:space-around;align-items:center;
}
.wbd8e-nav-btn{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:none;border:none;cursor:pointer;min-width:60px;min-height:60px;
  color:var(--wbd8e-text-muted);font-size:1.05rem;gap:2px;transition:color .15s ease,transform .15s ease;
}
.wbd8e-nav-btn i,.wbd8e-nav-btn .material-icons-outlined{font-size:22px}
.wbd8e-nav-btn:active{transform:scale(.92)}
.wbd8e-nav-btn.active{color:var(--wbd8e-accent)}
.wbd8e-nav-btn.wbd8e-nav-promo{color:var(--wbd8e-violet)}
.wbd8e-nav-btn.wbd8e-nav-promo i{font-size:24px}

/* desktop */
@media (min-width:769px){
  .wbd8e-bottom-nav{display:none}
  .wbd8e-wrapper{padding-bottom:30px}
}
@media (max-width:768px){
  .wbd8e-wrapper{padding-bottom:calc(var(--wbd8e-nav-h) + 24px)}
}
@media (max-width:360px){
  .wbd8e-grid{grid-template-columns:repeat(3,1fr)}
}
