/* ============================================================
 * 888poker support - theme.css
 * Palette: #FFE4B5 (moccasin) | #0C0C0C (near-black) |
 *          #FFC0CB (pink) | #FFDFBA (peach)
 * Dark backgrounds + light text. All custom classes use the
 * "w6c01-" prefix. Mobile-first, max-width 430px wrapper.
 * ============================================================ */

/* ---------- Design tokens (CSS variables, prefixed) ---------- */
:root {
  --w6c01-bg: #0C0C0C;
  --w6c01-bg-soft: #161210;
  --w6c01-bg-card: #1c1714;
  --w6c01-text: #FFE4B5;
  --w6c01-text-muted: #FFDFBA;
  --w6c01-primary: #FFE4B5;
  --w6c01-accent: #FFC0CB;
  --w6c01-accent-2: #FFDFBA;
  --w6c01-gold: #e8b86b;
  --w6c01-border: rgba(255, 228, 181, 0.14);
  --w6c01-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  --w6c01-radius: 14px;
  --w6c01-radius-sm: 10px;
  --w6c01-maxw: 430px;
  --w6c01-header-h: 58px;
  --w6c01-bottomnav-h: 62px;
}

/* ---------- Base reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", system-ui, sans-serif;
  background: var(--w6c01-bg);
  color: var(--w6c01-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--w6c01-accent); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---------- Layout containers ---------- */
.w6c01-wrapper {
  width: 100%;
  max-width: var(--w6c01-maxw);
  margin: 0 auto;
  position: relative;
  background: radial-gradient(120% 60% at 50% 0%, #211a14 0%, var(--w6c01-bg) 58%);
  min-height: 100vh;
}
.w6c01-container { width: 100%; padding: 0 1.4rem; }

/* ---------- Header ---------- */
.w6c01-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--w6c01-header-h);
  background: linear-gradient(180deg, rgba(12,12,12,0.98), rgba(12,12,12,0.86));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--w6c01-border);
}
.w6c01-header-inner {
  max-width: var(--w6c01-maxw); margin: 0 auto; height: 100%;
  padding: 0 1.2rem; display: flex; align-items: center; gap: 0.8rem;
}
.w6c01-logo { display: flex; align-items: center; gap: 0.7rem; flex: 1; min-width: 0; }
.w6c01-logo img { width: 30px; height: 30px; border-radius: 8px; }
.w6c01-logo-text {
  font-weight: 800; font-size: 1.5rem; color: var(--w6c01-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0.2px;
}
.w6c01-logo-text span { color: var(--w6c01-accent); }

.w6c01-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.w6c01-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.1rem; border-radius: 999px; font-size: 1.3rem; font-weight: 700;
  min-height: 36px; transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}
.w6c01-btn:active { transform: scale(0.95); }
.w6c01-btn-login {
  background: transparent; color: var(--w6c01-text-muted);
  border: 1px solid var(--w6c01-border);
}
.w6c01-btn-register {
  background: linear-gradient(135deg, var(--w6c01-accent), var(--w6c01-gold));
  color: #2a1d0a; box-shadow: 0 4px 14px rgba(255, 192, 203, 0.35);
}
.w6c01-menu-btn {
  width: 38px; height: 38px; border-radius: 10px; display: inline-flex;
  align-items: center; justify-content: center; background: var(--w6c01-bg-card);
  border: 1px solid var(--w6c01-border); color: var(--w6c01-primary); font-size: 1.8rem;
}
.w6c01-menu-btn-active { background: var(--w6c01-accent); color: #2a1d0a; }

/* ---------- Mobile drawer menu ---------- */
.w6c01-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9998;
  opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.w6c01-overlay-show { opacity: 1; visibility: visible; }
.w6c01-mobile-menu {
  position: fixed; top: 0; right: -86%; width: 86%; max-width: 360px; height: 100vh;
  background: linear-gradient(180deg, #15100c, #0c0c0c); z-index: 9999;
  transform: translateX(0); transition: right .3s ease; padding: 2rem 1.6rem; overflow-y: auto;
  border-left: 1px solid var(--w6c01-border);
}
.w6c01-menu-open { right: 0; }
.w6c01-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.8rem; }
.w6c01-menu-title { font-size: 1.7rem; font-weight: 800; color: var(--w6c01-primary); }
.w6c01-menu-close { font-size: 2rem; color: var(--w6c01-text-muted); width: 36px; height: 36px; }
.w6c01-menu-list li { margin-bottom: 0.5rem; }
.w6c01-menu-list a {
  display: flex; align-items: center; gap: 0.8rem; padding: 1.05rem 1rem; border-radius: var(--w6c01-radius-sm);
  color: var(--w6c01-text); font-weight: 600; font-size: 1.45rem;
  background: var(--w6c01-bg-card); border: 1px solid var(--w6c01-border);
}
.w6c01-menu-list a:active { background: rgba(255, 192, 203, 0.12); }
.w6c01-menu-list i { color: var(--w6c01-accent); font-size: 1.7rem; width: 22px; text-align: center; }
.w6c01-menu-cta { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; }

/* ---------- Spacer under fixed header ---------- */
.w6c01-header-spacer { height: var(--w6c01-header-h); }

/* ---------- Hero carousel ---------- */
.w6c01-carousel { position: relative; width: 100%; overflow: hidden; border-radius: 0 0 18px 18px; }
.w6c01-slide {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  opacity: 0; visibility: hidden; transition: opacity .5s ease;
}
.w6c01-slide-active { opacity: 1; visibility: visible; position: relative; }
.w6c01-slide img { width: 100%; height: 100%; object-fit: cover; }
.w6c01-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem 1.4rem 1.4rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
}
.w6c01-slide-title { font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 0.3rem; }
.w6c01-slide-sub { font-size: 1.3rem; color: var(--w6c01-accent-2); }
.w6c01-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 5; }
.w6c01-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,228,181,0.45); transition: all .2s; }
.w6c01-dot-active { width: 22px; border-radius: 5px; background: var(--w6c01-accent); }

/* ---------- Section primitives ---------- */
.w6c01-section { padding: 2.2rem 1.4rem; }
.w6c01-section-alt { background: var(--w6c01-bg-soft); }
.w6c01-section-head { margin-bottom: 1.3rem; text-align: center; }
.w6c01-h1 { font-size: 2.2rem; font-weight: 800; line-height: 1.35; color: var(--w6c01-primary); }
.w6c01-h2 { font-size: 1.9rem; font-weight: 800; color: var(--w6c01-primary); margin-bottom: 0.6rem; }
.w6c01-h3 { font-size: 1.6rem; font-weight: 700; color: var(--w6c01-accent-2); margin: 1rem 0 0.5rem; }
.w6c01-lead { font-size: 1.45rem; color: var(--w6c01-text-muted); line-height: 1.6rem; }
.w6c01-p { font-size: 1.45rem; color: var(--w6c01-text-muted); line-height: 1.6rem; margin-bottom: 0.8rem; }
.w6c01-pill {
  display: inline-block; padding: 0.3rem 0.9rem; border-radius: 999px; font-size: 1.2rem; font-weight: 700;
  background: rgba(255, 192, 203, 0.16); color: var(--w6c01-accent); margin-bottom: 0.7rem;
}
.w6c01-text-link { color: var(--w6c01-accent); font-weight: 700; text-decoration: underline; }

/* ---------- CTA buttons block ---------- */
.w6c01-cta-row { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1rem; }
.w6c01-cta-big {
  flex: 1; min-width: 140px; padding: 1.1rem 1rem; font-size: 1.5rem; font-weight: 800;
  border-radius: 12px; text-align: center;
}
.w6c01-cta-primary { background: linear-gradient(135deg, var(--w6c01-accent), var(--w6c01-gold)); color: #2a1d0a; }
.w6c01-cta-ghost { background: var(--w6c01-bg-card); color: var(--w6c01-text); border: 1px solid var(--w6c01-border); }

/* ---------- Game list ---------- */
.w6c01-cat-head { display: flex; align-items: center; gap: 0.7rem; margin: 1.8rem 0 1rem; }
.w6c01-cat-head i { color: var(--w6c01-accent); font-size: 1.9rem; }
.w6c01-cat-title { font-size: 1.7rem; font-weight: 800; color: var(--w6c01-primary); flex: 1; }
.w6c01-cat-badge { font-size: 1.15rem; color: var(--w6c01-accent-2); font-weight: 600; }
.w6c01-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.w6c01-game-card { display: block; background: var(--w6c01-bg-card); border: 1px solid var(--w6c01-border); border-radius: var(--w6c01-radius-sm); overflow: hidden; transition: transform .15s; }
.w6c01-game-card:active { transform: scale(0.96); }
.w6c01-game-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #0a0a0a; }
.w6c01-game-name {
  font-size: 1.15rem; color: var(--w6c01-text); text-align: center; padding: 0.5rem 0.3rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600;
}

/* ---------- Feature / steps cards ---------- */
.w6c01-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.w6c01-card {
  background: var(--w6c01-bg-card); border: 1px solid var(--w6c01-border);
  border-radius: var(--w6c01-radius); padding: 1.3rem 1.1rem;
}
.w6c01-card-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(255,192,203,0.15); color: var(--w6c01-accent); font-size: 2rem; margin-bottom: 0.7rem; }
.w6c01-card-title { font-size: 1.45rem; font-weight: 700; color: var(--w6c01-primary); margin-bottom: 0.4rem; }
.w6c01-card-text { font-size: 1.3rem; color: var(--w6c01-text-muted); line-height: 1.5rem; }

/* ---------- Ordered steps ---------- */
.w6c01-steps { counter-reset: step; }
.w6c01-step { display: flex; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px dashed var(--w6c01-border); }
.w6c01-step:last-child { border-bottom: none; }
.w6c01-step-num { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--w6c01-accent), var(--w6c01-gold)); color: #2a1d0a; font-weight: 800; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; }

/* ---------- RTP / stats compact bars ---------- */
.w6c01-stat-row { margin-bottom: 0.9rem; }
.w6c01-stat-top { display: flex; justify-content: space-between; font-size: 1.3rem; margin-bottom: 0.3rem; }
.w6c01-stat-top b { color: var(--w6c01-primary); }
.w6c01-stat-top span { color: var(--w6c01-accent); font-weight: 700; }
.w6c01-stat-track { height: 8px; background: #2a211a; border-radius: 5px; overflow: hidden; }
.w6c01-stat-fill { height: 100%; background: linear-gradient(90deg, var(--w6c01-accent), var(--w6c01-gold)); border-radius: 5px; }

/* ---------- Testimonials ---------- */
.w6c01-quote {
  background: var(--w6c01-bg-card); border: 1px solid var(--w6c01-border); border-left: 3px solid var(--w6c01-accent);
  border-radius: var(--w6c01-radius-sm); padding: 1rem 1.1rem; margin-bottom: 0.8rem;
}
.w6c01-quote-text { font-size: 1.35rem; color: var(--w6c01-text); line-height: 1.55rem; font-style: italic; margin-bottom: 0.5rem; }
.w6c01-quote-author { font-size: 1.2rem; color: var(--w6c01-accent-2); font-weight: 700; }

/* ---------- Winners showcase ---------- */
.w6c01-winner {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0.9rem; background: var(--w6c01-bg-card);
  border: 1px solid var(--w6c01-border); border-radius: var(--w6c01-radius-sm); margin-bottom: 0.6rem;
}
.w6c01-winner-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--w6c01-accent), var(--w6c01-gold)); color: #2a1d0a; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.w6c01-winner-meta { flex: 1; min-width: 0; }
.w6c01-winner-name { font-size: 1.3rem; font-weight: 700; color: var(--w6c01-text); }
.w6c01-winner-game { font-size: 1.15rem; color: var(--w6c01-text-muted); }
.w6c01-winner-amount { font-size: 1.35rem; font-weight: 800; color: var(--w6c01-accent); }

/* ---------- FAQ accordion ---------- */
.w6c01-faq-item { background: var(--w6c01-bg-card); border: 1px solid var(--w6c01-border); border-radius: var(--w6c01-radius-sm); margin-bottom: 0.7rem; overflow: hidden; }
.w6c01-faq-q { width: 100%; text-align: left; padding: 1.05rem 1.1rem; font-size: 1.4rem; font-weight: 700; color: var(--w6c01-primary); display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; }
.w6c01-faq-q i { color: var(--w6c01-accent); transition: transform .2s; }
.w6c01-faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 1.1rem; color: var(--w6c01-text-muted); font-size: 1.35rem; }
.w6c01-faq-open .w6c01-faq-a { max-height: 320px; padding-bottom: 1.05rem; }
.w6c01-faq-open .w6c01-faq-q i { transform: rotate(45deg); }

/* ---------- Payment / logos strip ---------- */
.w6c01-chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.w6c01-chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.6rem 0.9rem; background: var(--w6c01-bg-card); border: 1px solid var(--w6c01-border); border-radius: 999px; font-size: 1.25rem; color: var(--w6c01-text-muted); font-weight: 600; }
.w6c01-chip i { color: var(--w6c01-accent); font-size: 1.5rem; }

/* ---------- App download banner ---------- */
.w6c01-app-banner {
  display: flex; align-items: center; gap: 1rem; padding: 1.3rem;
  background: linear-gradient(135deg, rgba(255,192,203,0.16), rgba(232,184,107,0.12));
  border: 1px solid var(--w6c01-border); border-radius: var(--w6c01-radius);
}
.w6c01-app-icon { width: 56px; height: 56px; border-radius: 12px; background: var(--w6c01-bg-card); display: flex; align-items: center; justify-content: center; font-size: 2.6rem; color: var(--w6c01-accent); flex-shrink: 0; }
.w6c01-app-text { flex: 1; min-width: 0; }
.w6c01-app-title { font-size: 1.5rem; font-weight: 800; color: var(--w6c01-primary); }
.w6c01-app-sub { font-size: 1.25rem; color: var(--w6c01-text-muted); }

/* ---------- Footer ---------- */
.w6c01-footer { background: #080706; border-top: 1px solid var(--w6c01-border); padding: 2rem 1.4rem 6.5rem; }
.w6c01-footer-brand { font-size: 1.5rem; font-weight: 800; color: var(--w6c01-primary); margin-bottom: 0.6rem; }
.w6c01-footer-desc { font-size: 1.3rem; color: var(--w6c01-text-muted); line-height: 1.55rem; margin-bottom: 1.2rem; }
.w6c01-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }
.w6c01-footer-promo button { padding: 0.6rem 1rem; border-radius: 999px; font-size: 1.2rem; font-weight: 700; background: linear-gradient(135deg, var(--w6c01-accent), var(--w6c01-gold)); color: #2a1d0a; }
.w6c01-footer-col-title { font-size: 1.35rem; font-weight: 800; color: var(--w6c01-accent-2); margin: 1.1rem 0 0.6rem; }
.w6c01-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 0.8rem; }
.w6c01-footer-links a { font-size: 1.25rem; color: var(--w6c01-text-muted); padding: 0.35rem 0; }
.w6c01-footer-links a:active { color: var(--w6c01-accent); }
.w6c01-copy { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--w6c01-border); font-size: 1.15rem; color: var(--w6c01-text-muted); text-align: center; }

/* ---------- Bottom nav (mobile only) ---------- */
.w6c01-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--w6c01-bottomnav-h);
  background: linear-gradient(180deg, rgba(20,16,12,0.98), rgba(8,7,6,0.99));
  backdrop-filter: blur(10px); border-top: 1px solid var(--w6c01-border);
  display: flex; justify-content: space-around; align-items: stretch;
}
.w6c01-bottom-nav-inner { max-width: var(--w6c01-maxw); margin: 0 auto; display: flex; width: 100%; }
.w6c01-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px; color: var(--w6c01-text-muted);
  position: relative; transition: color .2s;
}
.w6c01-bottom-nav-btn i { font-size: 2.2rem; }
.w6c01-bottom-nav-btn .material-icons { font-size: 2.4rem; }
.w6c01-bottom-nav-btn span { font-size: 1.05rem; font-weight: 600; }
.w6c01-bottom-nav-btn:active { color: var(--w6c01-accent); }
.w6c01-bottom-nav-active { color: var(--w6c01-accent); }
.w6c01-bottom-nav-active::before {
  content: ''; position: absolute; top: 0; width: 26px; height: 3px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--w6c01-accent), var(--w6c01-gold));
}
.w6c01-bottom-nav-center {
  position: relative; transform: translateY(-14px);
}
.w6c01-bottom-nav-center i {
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--w6c01-accent), var(--w6c01-gold)); color: #2a1d0a; font-size: 2.2rem;
  box-shadow: 0 6px 16px rgba(255,192,203,0.4);
}

/* ---------- Desktop: hide bottom nav ---------- */
@media (min-width: 769px) {
  .w6c01-bottom-nav { display: none; }
  .w6c01-footer { padding-bottom: 2rem; }
}
/* ---------- Mobile: add bottom padding so content isn't covered ---------- */
@media (max-width: 768px) {
  main.w6c01-main { padding-bottom: calc(var(--w6c01-bottomnav-h) + 12px); }
}

/* ---------- Utility ---------- */
.w6c01-center { text-align: center; }
.w6c01-mt-1 { margin-top: 0.7rem; }
.w6c01-mt-2 { margin-top: 1.4rem; }
.w6c01-hidden { display: none !important; }
