/* ============================================================
 * colorplay.css - Colorplay basefiles stylesheet
 * Prefix: wb3a6-
 * Palette: #1E1E1E | #DCDCDC | #3C3C3C | #004D40 | #BBBBBB | #4A4A4A
 * Mobile-first. Max design width 430px.
 * ============================================================ */

:root {
  --wb3a6-bg: #1E1E1E;
  --wb3a6-bg-2: #3C3C3C;
  --wb3a6-bg-3: #2a2a2a;
  --wb3a6-text: #DCDCDC;
  --wb3a6-muted: #BBBBBB;
  --wb3a6-dim: #4A4A4A;
  --wb3a6-primary: #004D40;
  --wb3a6-primary-2: #00695C;
  --wb3a6-accent: #00BFA5;
  --wb3a6-gold: #E0B65C;
  --wb3a6-radius: 14px;
  --wb3a6-radius-sm: 10px;
  --wb3a6-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  --wb3a6-header-h: 60px;
  --wb3a6-nav-h: 64px;
  --wb3a6-maxw: 430px;
}

/* Reset / base ------------------------------------------------ */
* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--wb3a6-bg);
  color: var(--wb3a6-text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--wb3a6-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout primitives ------------------------------------------ */
.wb3a6-wrapper {
  width: 100%;
  max-width: var(--wb3a6-maxw);
  margin: 0 auto;
  padding: 0 14px;
}
.wb3a6-container {
  width: 100%;
  max-width: var(--wb3a6-maxw);
  margin: 0 auto;
}
main {
  padding-top: var(--wb3a6-header-h);
  padding-bottom: calc(var(--wb3a6-nav-h) + 24px);
}
section { padding: 22px 0; }

/* Typography helpers ----------------------------------------- */
.wb3a6-h1, h1 {
  font-size: 2.6rem;
  line-height: 3rem;
  color: #fff;
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.wb3a6-h2, h2 {
  font-size: 2.2rem;
  line-height: 2.6rem;
  color: #fff;
  margin: 0 0 12px;
  font-weight: 700;
}
.wb3a6-h3, h3 {
  font-size: 1.9rem;
  line-height: 2.4rem;
  color: var(--wb3a6-accent);
  margin: 0 0 10px;
  font-weight: 700;
}
p { margin: 0 0 12px; color: var(--wb3a6-text); }
.wb3a6-lead { font-size: 1.7rem; color: var(--wb3a6-muted); }
.wb3a6-eyebrow {
  display: inline-block;
  font-size: 1.2rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--wb3a6-gold);
  margin-bottom: 8px;
}
.wb3a6-text-accent { color: var(--wb3a6-accent); }
.wb3a6-text-gold { color: var(--wb3a6-gold); }

/* Buttons ---------------------------------------------------- */
.wb3a6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--wb3a6-radius-sm);
  padding: 12px 18px;
  min-height: 44px;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.wb3a6-btn:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.08); }
.wb3a6-btn-primary {
  background: linear-gradient(135deg, var(--wb3a6-primary), var(--wb3a6-primary-2));
  color: #fff;
  box-shadow: var(--wb3a6-shadow);
}
.wb3a6-btn-accent {
  background: linear-gradient(135deg, var(--wb3a6-accent), #00897B);
  color: #fff;
  box-shadow: var(--wb3a6-shadow);
}
.wb3a6-btn-gold {
  background: linear-gradient(135deg, var(--wb3a6-gold), #B8923A);
  color: #1E1E1E;
}
.wb3a6-btn-ghost {
  background: transparent;
  color: var(--wb3a6-text);
  border: 1.5px solid var(--wb3a6-dim);
}
.wb3a6-btn-block { display: flex; width: 100%; }
.wb3a6-btn-lg { padding: 14px 22px; font-size: 1.65rem; min-height: 50px; }

/* Header ----------------------------------------------------- */
.wb3a6-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--wb3a6-header-h);
  background: linear-gradient(180deg, #181818, #1E1E1E);
  border-bottom: 1px solid rgba(0,0,0,0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.wb3a6-header .wb3a6-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.wb3a6-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 1.8rem;
  text-decoration: none;
}
.wb3a6-brand img {
  width: 30px; height: 30px;
  border-radius: 8px;
}
.wb3a6-brand:hover { text-decoration: none; }
.wb3a6-brand small {
  display: block;
  font-size: 1rem;
  color: var(--wb3a6-accent);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.wb3a6-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wb3a6-header-actions .wb3a6-btn { padding: 8px 12px; font-size: 1.35rem; min-height: 38px; }
.wb3a6-menu-toggle {
  background: transparent;
  border: 1px solid var(--wb3a6-dim);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile slide-down menu ------------------------------------- */
.wb3a6-mobile-menu {
  position: fixed;
  top: var(--wb3a6-header-h);
  left: 0; right: 0;
  background: #202020;
  border-bottom: 1px solid var(--wb3a6-dim);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  z-index: 9999;
}
.wb3a6-mobile-menu.wb3a6-active { max-height: 70vh; overflow-y: auto; }
.wb3a6-mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 10px 14px 16px;
}
.wb3a6-mobile-menu a {
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--wb3a6-text);
  font-size: 1.5rem;
}
.wb3a6-mobile-menu a:hover { color: var(--wb3a6-accent); }
.wb3a6-menu-open { overflow: hidden; }

/* Desktop nav (hidden on mobile) ---------------------------- */
.wb3a6-desktop-nav { display: none; }

/* Carousel --------------------------------------------------- */
.wb3a6-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--wb3a6-radius);
  box-shadow: var(--wb3a6-shadow);
  margin: 18px 0 6px;
}
.wb3a6-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.wb3a6-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
}
.wb3a6-slide img { width: 100%; height: 190px; object-fit: cover; }
.wb3a6-slide-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), rgba(0,0,0,0));
  color: #fff;
}
.wb3a6-slide-content h3 { color: #fff; margin: 0 0 4px; }
.wb3a6-slide-content p { margin: 0; font-size: 1.35rem; color: var(--wb3a6-muted); }
.wb3a6-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
}
.wb3a6-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--wb3a6-dim);
  border: 0;
  cursor: pointer;
  padding: 0;
}
.wb3a6-dot-active { background: var(--wb3a6-accent); width: 22px; border-radius: 4px; }

/* Hero ------------------------------------------------------- */
.wb3a6-hero {
  padding: 24px 0 10px;
  text-align: center;
}
.wb3a6-hero .wb3a6-btn { margin: 6px 4px; }
.wb3a6-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.wb3a6-stat {
  background: var(--wb3a6-bg-3);
  border: 1px solid var(--wb3a6-dim);
  border-radius: var(--wb3a6-radius-sm);
  padding: 12px 8px;
  text-align: center;
}
.wb3a6-stat strong { display: block; font-size: 2rem; color: var(--wb3a6-accent); }
.wb3a6-stat span { font-size: 1.2rem; color: var(--wb3a6-muted); }

/* Filter bar ------------------------------------------------- */
.wb3a6-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 14px;
  margin: 0 -14px;
  padding-left: 14px;
  padding-right: 14px;
  scrollbar-width: none;
}
.wb3a6-filter-bar::-webkit-scrollbar { display: none; }
.wb3a6-filter-btn {
  flex: 0 0 auto;
  background: var(--wb3a6-bg-3);
  border: 1px solid var(--wb3a6-dim);
  color: var(--wb3a6-text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 1.3rem;
  cursor: pointer;
  white-space: nowrap;
}
.wb3a6-filter-active {
  background: var(--wb3a6-primary);
  border-color: var(--wb3a6-accent);
  color: #fff;
}

/* Section header --------------------------------------------- */
.wb3a6-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.wb3a6-section-head .wb3a6-link { font-size: 1.3rem; color: var(--wb3a6-accent); }

/* Game grid -------------------------------------------------- */
.wb3a6-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.wb3a6-grid-4 { grid-template-columns: repeat(4, 1fr); }
.wb3a6-game-card {
  background: var(--wb3a6-bg-3);
  border: 1px solid var(--wb3a6-dim);
  border-radius: var(--wb3a6-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  display: block;
  text-decoration: none;
  color: var(--wb3a6-text);
}
.wb3a6-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--wb3a6-accent);
  text-decoration: none;
}
.wb3a6-game-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #111;
}
.wb3a6-game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wb3a6-game-name {
  padding: 6px 8px;
  font-size: 1.15rem;
  color: var(--wb3a6-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wb3a6-game-badge {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--wb3a6-gold);
  color: #1E1E1E;
  font-size: 1rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.wb3a6-cat-section { padding: 14px 0; }
.wb3a6-cat-section h2 { display: flex; align-items: center; gap: 8px; }
.wb3a6-cat-section h2 i { color: var(--wb3a6-accent); }

/* Cards ------------------------------------------------------ */
.wb3a6-card {
  background: var(--wb3a6-bg-3);
  border: 1px solid var(--wb3a6-dim);
  border-radius: var(--wb3a6-radius);
  padding: 16px;
  margin-bottom: 12px;
}
.wb3a6-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.wb3a6-card-title i { color: var(--wb3a6-accent); font-size: 1.9rem; }
.wb3a6-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.wb3a6-mini-card {
  background: var(--wb3a6-bg-3);
  border: 1px solid var(--wb3a6-dim);
  border-radius: var(--wb3a6-radius-sm);
  padding: 12px;
}
.wb3a6-mini-card h3 { font-size: 1.5rem; margin-bottom: 6px; }

/* Steps list (How to Play) ----------------------------------- */
.wb3a6-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.wb3a6-steps li {
  position: relative;
  padding: 12px 12px 12px 52px;
  margin-bottom: 10px;
  background: var(--wb3a6-bg-3);
  border-radius: var(--wb3a6-radius-sm);
  border: 1px solid var(--wb3a6-dim);
}
.wb3a6-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 12px; top: 12px;
  width: 30px; height: 30px;
  background: var(--wb3a6-primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
}

/* FAQ -------------------------------------------------------- */
.wb3a6-faq-item {
  background: var(--wb3a6-bg-3);
  border: 1px solid var(--wb3a6-dim);
  border-radius: var(--wb3a6-radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.wb3a6-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  font-size: 1.5rem;
}
.wb3a6-faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  transition: max-height 0.25s ease, padding 0.25s ease;
  color: var(--wb3a6-muted);
}
.wb3a6-faq-open .wb3a6-faq-a { max-height: 320px; padding: 0 16px 14px; }
.wb3a6-faq-toggle { color: var(--wb3a6-accent); transition: transform 0.25s ease; }
.wb3a6-faq-open .wb3a6-faq-toggle { transform: rotate(45deg); }

/* Feature list ----------------------------------------------- */
.wb3a6-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.wb3a6-feature-row:last-child { border-bottom: 0; }
.wb3a6-feature-row i {
  font-size: 2rem;
  color: var(--wb3a6-accent);
  flex: 0 0 auto;
  width: 32px;
  text-align: center;
  margin-top: 2px;
}

/* Testimonial ------------------------------------------------ */
.wb3a6-testimonial {
  background: var(--wb3a6-bg-3);
  border-left: 3px solid var(--wb3a6-accent);
  border-radius: var(--wb3a6-radius-sm);
  padding: 14px;
  margin-bottom: 10px;
}
.wb3a6-testimonial .wb3a6-stars { color: var(--wb3a6-gold); margin-bottom: 6px; font-size: 1.4rem; }
.wb3a6-testimonial cite { display: block; margin-top: 6px; color: var(--wb3a6-muted); font-style: normal; font-size: 1.3rem; }

/* Payment chips ---------------------------------------------- */
.wb3a6-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wb3a6-chip {
  background: var(--wb3a6-bg-3);
  border: 1px solid var(--wb3a6-dim);
  color: var(--wb3a6-text);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Winners table --------------------------------------------- */
.wb3a6-winners {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.3rem;
}
.wb3a6-winners th, .wb3a6-winners td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: left;
}
.wb3a6-winners th { color: var(--wb3a6-accent); font-weight: 700; }
.wb3a6-winners td .wb3a6-amt { color: var(--wb3a6-gold); font-weight: 700; }

/* Promo CTA band -------------------------------------------- */
.wb3a6-cta-band {
  background: linear-gradient(135deg, var(--wb3a6-primary), var(--wb3a6-primary-2));
  border-radius: var(--wb3a6-radius);
  padding: 18px;
  text-align: center;
  margin: 16px 0;
  box-shadow: var(--wb3a6-shadow);
}
.wb3a6-cta-band h2 { color: #fff; margin-bottom: 6px; }
.wb3a6-cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 12px; }

/* Footer ----------------------------------------------------- */
.wb3a6-footer {
  background: #161616;
  border-top: 1px solid var(--wb3a6-dim);
  padding: 22px 0 calc(var(--wb3a6-nav-h) + 24px);
  margin-top: 10px;
}
.wb3a6-footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}
.wb3a6-footer h4 { color: #fff; font-size: 1.5rem; margin: 0 0 8px; }
.wb3a6-footer a { display: block; color: var(--wb3a6-muted); padding: 4px 0; font-size: 1.35rem; }
.wb3a6-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.wb3a6-footer-promos .wb3a6-btn { flex: 1 1 auto; padding: 8px 12px; font-size: 1.3rem; min-height: 40px; }
.wb3a6-footer-brand p { color: var(--wb3a6-muted); font-size: 1.3rem; }
.wb3a6-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 12px;
  text-align: center;
  color: var(--wb3a6-muted);
  font-size: 1.2rem;
}

/* Bottom nav ------------------------------------------------- */
.wb3a6-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--wb3a6-nav-h);
  background: linear-gradient(180deg, #1c1c1c, #111);
  border-top: 1px solid var(--wb3a6-dim);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
}
.wb3a6-bottom-nav button,
.wb3a6-bottom-nav a {
  flex: 1 1 0;
  background: transparent;
  border: 0;
  color: var(--wb3a6-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 1.05rem;
  min-width: 60px;
  min-height: 60px;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.wb3a6-bottom-nav button:hover,
.wb3a6-bottom-nav a:hover { text-decoration: none; color: var(--wb3a6-accent); }
.wb3a6-bottom-nav .material-icons,
.wb3a6-bottom-nav i,
.wb3a6-bottom-nav ion-icon {
  font-size: 22px;
}
.wb3a6-bottom-nav .wb3a6-active { color: var(--wb3a6-accent); }
.wb3a6-bottom-nav .wb3a6-active::before {
  content: "";
  position: absolute;
  top: 0; left: 30%; right: 30%;
  height: 3px;
  background: var(--wb3a6-accent);
  border-radius: 0 0 4px 4px;
}
.wb3a6-nav-badge {
  position: absolute;
  top: 8px; right: 22%;
  background: var(--wb3a6-gold);
  color: #1E1E1E;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 5px;
}

/* Back to top ------------------------------------------------ */
.wb3a6-back-top {
  position: fixed;
  right: 14px;
  bottom: calc(var(--wb3a6-nav-h) + 14px);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--wb3a6-primary);
  color: #fff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 999;
}
.wb3a6-show { opacity: 1; pointer-events: auto; }

/* Reveal animation ------------------------------------------ */
.wb3a6-reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.wb3a6-revealed { opacity: 1; transform: none; }

/* Responsive ------------------------------------------------- */
@media (min-width: 768px) {
  html { font-size: 70%; }
  body { background: #141414; }
  .wb3a6-wrapper, .wb3a6-container { max-width: 760px; }
  .wb3a6-bottom-nav { display: none; }
  main { padding-bottom: 40px; }
  .wb3a6-footer { padding-bottom: 22px; }
  .wb3a6-grid { grid-template-columns: repeat(5, 1fr); }
  .wb3a6-grid-4 { grid-template-columns: repeat(6, 1fr); }
  .wb3a6-footer-cols { grid-template-columns: repeat(4, 1fr); }
  .wb3a6-desktop-nav { display: flex; gap: 14px; }
  .wb3a6-desktop-nav a { color: var(--wb3a6-muted); font-size: 1.35rem; }
  .wb3a6-desktop-nav a:hover { color: var(--wb3a6-accent); }
  .wb3a6-menu-toggle { display: none; }
  .wb3a6-slide img { height: 320px; }
}

@media (min-width: 1024px) {
  .wb3a6-wrapper, .wb3a6-container { max-width: 960px; }
  .wb3a6-grid { grid-template-columns: repeat(6, 1fr); }
}
