/* ============================================================
   888bet app - Core stylesheet (mobile-first, max-width 430px)
   All custom classes use the w60ce- prefix.
   Palette: #191970 #0D1117 #4169E1 #EEEEEE #00E5FF #00BFFF
   ============================================================ */

:root {
  --w60ce-primary: #191970;
  --w60ce-bg: #0D1117;
  --w60ce-accent: #4169E1;
  --w60ce-text: #EEEEEE;
  --w60ce-cyan: #00E5FF;
  --w60ce-blue: #00BFFF;
  --w60ce-card: #151b2c;
  --w60ce-card2: #1a2238;
  --w60ce-muted: #9aa3b8;
  --w60ce-gold: #ffd34d;
  --w60ce-radius: 1.2rem;
  --w60ce-shadow: 0 0.4rem 1.2rem rgba(0,0,0,0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--w60ce-bg);
  color: var(--w60ce-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--w60ce-cyan); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Header ---------- */
.w60ce-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  background: linear-gradient(135deg, var(--w60ce-primary), #0f1540);
  border-bottom: 0.1rem solid var(--w60ce-accent);
  box-shadow: var(--w60ce-shadow);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1rem; height: 5.2rem;
}
.w60ce-logo { display: flex; align-items: center; gap: 0.6rem; color: var(--w60ce-text); font-weight: 700; font-size: 1.5rem; }
.w60ce-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.w60ce-logo span { background: linear-gradient(90deg, var(--w60ce-cyan), var(--w60ce-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w60ce-head-actions { display: flex; align-items: center; gap: 0.5rem; }
.w60ce-icon-btn { background: rgba(255,255,255,0.08); border: 0; color: var(--w60ce-text); width: 3.2rem; height: 3.2rem; border-radius: 0.8rem; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; cursor: pointer; }

.w60ce-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.7rem 1.2rem; border-radius: 2rem; font-weight: 700; font-size: 1.3rem; border: 0; cursor: pointer; min-height: 3.6rem; transition: transform .15s, box-shadow .15s; text-decoration: none; }
.w60ce-btn:hover { transform: translateY(-0.1rem); }
.w60ce-btn-register { background: linear-gradient(90deg, var(--w60ce-gold), #ffae34); color: #1a1206; box-shadow: 0 0.3rem 0.8rem rgba(255,211,77,0.35); }
.w60ce-btn-login { background: linear-gradient(90deg, var(--w60ce-accent), var(--w60ce-blue)); color: #fff; box-shadow: 0 0.3rem 0.8rem rgba(65,105,225,0.35); }
.w60ce-btn-promo { background: linear-gradient(90deg, var(--w60ce-cyan), var(--w60ce-blue)); color: #04121f; }
.w60ce-btn-block { display: flex; width: 100%; padding: 1rem; font-size: 1.5rem; }

/* ---------- Mobile menu ---------- */
.w60ce-mobile-menu {
  position: fixed; top: 5.2rem; left: 0; right: 0; z-index: 9999;
  max-width: 430px; margin: 0 auto;
  background: var(--w60ce-primary);
  border-bottom: 0.1rem solid var(--w60ce-accent);
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.w60ce-mobile-menu.w60ce-menu-open { max-height: 60rem; }
.w60ce-mobile-menu a { display: block; padding: 1.2rem 1.4rem; color: var(--w60ce-text); border-bottom: 0.1rem solid rgba(255,255,255,0.06); font-size: 1.4rem; }
.w60ce-mobile-menu a:hover, .w60ce-mobile-menu a:focus { background: rgba(0,229,255,0.1); color: var(--w60ce-cyan); }

/* ---------- Layout ---------- */
.w60ce-main { padding-top: 5.2rem; }
.w60ce-container { padding: 1.2rem; }
.w60ce-section { padding: 1.6rem 1.2rem; }
.w60ce-section-alt { background: var(--w60ce-card); }
.w60ce-h1 { font-size: 2rem; line-height: 2.6rem; margin-bottom: 0.8rem; background: linear-gradient(90deg, var(--w60ce-cyan), var(--w60ce-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w60ce-h2 { font-size: 1.7rem; margin-bottom: 0.8rem; color: var(--w60ce-cyan); display: flex; align-items: center; gap: 0.5rem; }
.w60ce-h3 { font-size: 1.45rem; margin: 0.8rem 0 0.4rem; color: var(--w60ce-blue); }
.w60ce-lead { color: var(--w60ce-muted); margin-bottom: 1rem; }
.w60ce-text-link { color: var(--w60ce-cyan); font-weight: 600; }
.w60ce-promo-text { color: var(--w60ce-gold); font-weight: 700; }

/* ---------- Carousel ---------- */
.w60ce-carousel { position: relative; overflow: hidden; border-radius: var(--w60ce-radius); margin-bottom: 1.2rem; }
.w60ce-slides { display: flex; }
.w60ce-slide { min-width: 100%; position: relative; opacity: 0; transition: opacity .5s; }
.w60ce-slide img { width: 100%; height: 18rem; object-fit: cover; }
.w60ce-slide.w60ce-slide-active { opacity: 1; }
.w60ce-slide-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem; background: linear-gradient(transparent, rgba(0,0,0,0.8)); }
.w60ce-slide-cap b { color: var(--w60ce-gold); }
.w60ce-dots { position: absolute; bottom: 0.6rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.4rem; }
.w60ce-dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: rgba(255,255,255,0.4); border: 0; cursor: pointer; }
.w60ce-dot.w60ce-dot-active { background: var(--w60ce-cyan); }

/* ---------- Filter tabs ---------- */
.w60ce-filter { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.6rem 0; margin-bottom: 0.6rem; }
.w60ce-filter-tab { white-space: nowrap; padding: 0.5rem 1rem; border-radius: 2rem; background: var(--w60ce-card2); color: var(--w60ce-text); font-size: 1.2rem; cursor: pointer; border: 0.1rem solid transparent; }
.w60ce-filter-tab.w60ce-filter-active { background: var(--w60ce-accent); color: #fff; border-color: var(--w60ce-cyan); }

/* ---------- Game grid ---------- */
.w60ce-games-group { margin-bottom: 1.4rem; }
.w60ce-games-title { font-size: 1.4rem; color: var(--w60ce-cyan); margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.5rem; }
.w60ce-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.w60ce-game { background: var(--w60ce-card2); border-radius: 0.8rem; overflow: hidden; text-align: center; border: 0.1rem solid rgba(65,105,225,0.25); transition: transform .15s, border-color .15s; }
.w60ce-game:hover { transform: translateY(-0.2rem); border-color: var(--w60ce-cyan); }
.w60ce-game img { width: 100%; height: 7rem; object-fit: cover; }
.w60ce-game-name { font-size: 1rem; padding: 0.3rem; color: var(--w60ce-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Cards ---------- */
.w60ce-card { background: var(--w60ce-card); border-radius: var(--w60ce-radius); padding: 1.2rem; margin-bottom: 1rem; box-shadow: var(--w60ce-shadow); border: 0.1rem solid rgba(65,105,225,0.2); }
.w60ce-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.w60ce-mini-card { background: var(--w60ce-card2); border-radius: 0.8rem; padding: 0.9rem; text-align: center; }
.w60ce-mini-card i, .w60ce-mini-card .material-icons { font-size: 2rem; color: var(--w60ce-cyan); }
.w60ce-mini-card h4 { font-size: 1.2rem; margin: 0.3rem 0; color: var(--w60ce-text); }
.w60ce-mini-card p { font-size: 1.05rem; color: var(--w60ce-muted); }

/* ---------- Steps ---------- */
.w60ce-steps { list-style: none; counter-reset: step; }
.w60ce-steps li { position: relative; padding: 0.6rem 0 0.6rem 2.6rem; border-bottom: 0.1rem dashed rgba(255,255,255,0.08); }
.w60ce-steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0.5rem; width: 2rem; height: 2rem; line-height: 2rem; text-align: center; background: var(--w60ce-accent); color: #fff; border-radius: 50%; font-size: 1.1rem; font-weight: 700; }

/* ---------- RTP table ---------- */
.w60ce-rtp { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.w60ce-rtp th, .w60ce-rtp td { padding: 0.5rem; border-bottom: 0.1rem solid rgba(255,255,255,0.08); text-align: left; }
.w60ce-rtp th { color: var(--w60ce-cyan); }
.w60ce-rtp td .w60ce-bar { height: 0.5rem; border-radius: 0.3rem; background: linear-gradient(90deg, var(--w60ce-accent), var(--w60ce-cyan)); display: inline-block; }

/* ---------- Testimonials ---------- */
.w60ce-testi { background: var(--w60ce-card2); border-radius: 0.8rem; padding: 0.9rem; margin-bottom: 0.7rem; }
.w60ce-testi b { color: var(--w60ce-gold); }
.w60ce-testi .w60ce-stars { color: var(--w60ce-gold); }

/* ---------- Payment ---------- */
.w60ce-pay { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.w60ce-pay span { background: var(--w60ce-card2); padding: 0.4rem 0.8rem; border-radius: 0.6rem; font-size: 1.1rem; border: 0.1rem solid rgba(0,229,255,0.25); }

/* ---------- Winners ---------- */
.w60ce-winner { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 0.1rem dashed rgba(255,255,255,0.08); font-size: 1.2rem; }
.w60ce-winner b { color: var(--w60ce-gold); }

/* ---------- FAQ ---------- */
.w60ce-faq-item { border-bottom: 0.1rem solid rgba(255,255,255,0.08); padding: 0.6rem 0; }
.w60ce-faq-item h3 { margin: 0; }
.w60ce-faq-item p { color: var(--w60ce-muted); margin-top: 0.3rem; }

/* ---------- CTA ---------- */
.w60ce-cta { background: linear-gradient(135deg, var(--w60ce-primary), var(--w60ce-accent)); border-radius: var(--w60ce-radius); padding: 1.4rem; text-align: center; margin: 1rem 0; }
.w60ce-cta h3 { color: var(--w60ce-cyan); margin-bottom: 0.5rem; }
.w60ce-cta p { color: var(--w60ce-text); margin-bottom: 0.8rem; }

/* ---------- Footer ---------- */
.w60ce-footer { background: #080c14; padding: 1.6rem 1.2rem 5rem; border-top: 0.1rem solid var(--w60ce-accent); }
.w60ce-footer h4 { color: var(--w60ce-cyan); margin-bottom: 0.5rem; font-size: 1.3rem; }
.w60ce-footer p { color: var(--w60ce-muted); font-size: 1.15rem; margin-bottom: 0.8rem; }
.w60ce-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 0.6rem 0; }
.w60ce-footer-links a { color: var(--w60ce-text); font-size: 1.1rem; }
.w60ce-footer-links a:hover { color: var(--w60ce-cyan); }
.w60ce-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0; }
.w60ce-copy { color: var(--w60ce-muted); font-size: 1.05rem; margin-top: 0.8rem; text-align: center; }

/* ---------- Mobile bottom nav ---------- */
.w60ce-bnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  height: 6rem; background: linear-gradient(180deg, #0f1540, #080c14);
  border-top: 0.15rem solid var(--w60ce-accent);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -0.3rem 1rem rgba(0,0,0,0.5);
}
.w60ce-bnav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; color: var(--w60ce-muted); background: none; border: 0; cursor: pointer;
  font-size: 1rem; text-decoration: none; position: relative; transition: color .15s, transform .15s;
}
.w60ce-bnav-btn i, .w60ce-bnav-btn .material-icons, .w60ce-bnav-btn .ion { font-size: 2.2rem; }
.w60ce-bnav-btn span { font-size: 1rem; }
.w60ce-bnav-btn:hover, .w60ce-bnav-btn:focus { color: var(--w60ce-cyan); transform: translateY(-0.1rem); }
.w60ce-bnav-btn.w60ce-bnav-active { color: var(--w60ce-cyan); }
.w60ce-bnav-btn.w60ce-bnav-active::after { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 2.4rem; height: 0.2rem; background: var(--w60ce-cyan); border-radius: 0.2rem; }
.w60ce-bnav-badge { position: absolute; top: 0.4rem; right: 1.2rem; background: var(--w60ce-gold); color: #1a1206; font-size: 0.9rem; font-weight: 700; border-radius: 0.8rem; padding: 0 0.3rem; min-width: 1.4rem; text-align: center; }

/* ---------- Back to top ---------- */
.w60ce-back-top { position: fixed; right: 1rem; bottom: 7rem; z-index: 999; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--w60ce-accent); color: #fff; border: 0; cursor: pointer; font-size: 1.8rem; opacity: 0; pointer-events: none; transition: opacity .2s; }
.w60ce-back-top.w60ce-back-show { opacity: 1; pointer-events: auto; }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .w60ce-bnav { display: none; }
  body { max-width: 430px; }
}
@media (max-width: 768px) {
  .w60ce-main { padding-bottom: 7rem; }
}
