/* phzzz shared stylesheet. All custom classes use the w629b- prefix. */
/* Palette: #CC99FF | #800080 | #F4A460 | #141414 | #DEB887 | #C0C0C0  */
/* Dark base, light text. Mobile-first, max viewport 430px.                */

:root {
  --w629b-primary: #800080;
  --w629b-primary-soft: #CC99FF;
  --w629b-accent: #F4A460;
  --w629b-bg: #141414;
  --w629b-bg-2: #1c1430;
  --w629b-sand: #DEB887;
  --w629b-silver: #C0C0C0;
  --w629b-text: #f3ecff;
  --w629b-muted: #b5a7c9;
  --w629b-line: rgba(204, 153, 255, 0.18);
  --w629b-radius: 14px;
}

* { box-sizing: border-box; }

html {
  font-size: 62.5%; /* 1rem = 10px baseline for rem math */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--w629b-bg);
  color: var(--w629b-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--w629b-primary-soft); text-decoration: none; }
a:hover { color: var(--w629b-accent); }

.w629b-skip {
  position: absolute; left: -999px; top: 0;
  background: var(--w629b-primary); color: #fff; padding: 8px 12px; z-index: 99999;
}
.w629b-skip:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.w629b-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(120deg, #1a0a2a 0%, #2a0f3d 60%, #14101f 100%);
  border-bottom: 1px solid var(--w629b-line);
  box-shadow: 0 4px 18px rgba(0,0,0,0.45);
}
.w629b-header-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; gap: 8px;
}
.w629b-brand { display: flex; align-items: center; gap: 8px; }
.w629b-brand img { width: 28px; height: 28px; border-radius: 7px; }
.w629b-brand-name {
  font-size: 1.9rem; font-weight: 800; letter-spacing: 0.4px;
  background: linear-gradient(90deg, var(--w629b-primary-soft), var(--w629b-accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.w629b-brand-tag { font-size: 1.0rem; color: var(--w629b-muted); }

.w629b-header-actions { display: flex; align-items: center; gap: 6px; }
.w629b-menu-btn {
  background: transparent; border: 1px solid var(--w629b-line);
  color: var(--w629b-text); width: 38px; height: 38px; border-radius: 9px;
  font-size: 1.8rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}

.w629b-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-radius: 999px; cursor: pointer;
  font-weight: 700; font-size: 1.35rem; padding: 9px 16px;
  text-decoration: none; min-height: 38px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.w629b-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.w629b-btn-primary {
  background: linear-gradient(135deg, var(--w629b-accent), #d8884d);
  color: #1a0e00; box-shadow: 0 4px 14px rgba(244,164,96,0.35);
}
.w629b-btn-ghost {
  background: rgba(204,153,255,0.12); color: var(--w629b-primary-soft);
  border: 1px solid var(--w629b-line);
}
.w629b-btn-purple {
  background: linear-gradient(135deg, var(--w629b-primary), #5a005a);
  color: #fff; box-shadow: 0 4px 14px rgba(128,0,128,0.45);
}
.w629b-btn-block { width: 100%; padding: 13px; font-size: 1.55rem; }

/* ---------- Mobile menu ---------- */
.w629b-mobile-menu {
  display: none;
  background: #190c2b; border-bottom: 1px solid var(--w629b-line);
  padding: 8px 12px 14px;
}
.w629b-mobile-menu.w629b-menu-open { display: block; }
.w629b-mobile-menu a {
  display: block; padding: 10px 12px; border-radius: 9px;
  color: var(--w629b-text); font-size: 1.4rem; font-weight: 600;
  border-left: 3px solid transparent;
}
.w629b-mobile-menu a:hover { background: rgba(204,153,255,0.12); border-left-color: var(--w629b-accent); }

/* ---------- Layout ---------- */
.w629b-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 12px; }
main { padding-bottom: 90px; }
.w629b-section { padding: 18px 0; }
.w629b-section-title {
  font-size: 1.7rem; font-weight: 800; margin: 0 0 4px;
  display: flex; align-items: center; gap: 8px;
}
.w629b-section-title .material-symbols-outlined { font-size: 22px; color: var(--w629b-accent); }
.w629b-section-sub { color: var(--w629b-muted); font-size: 1.25rem; margin: 0 0 12px; }

/* ---------- Carousel ---------- */
.w629b-carousel {
  position: relative; border-radius: var(--w629b-radius); overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.45); margin: 12px 0;
}
.w629b-slide {
  display: none; position: relative; cursor: pointer;
}
.w629b-slide.w629b-slide-active { display: block; }
.w629b-slide img { width: 100%; height: 190px; object-fit: cover; }
.w629b-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  padding: 28px 14px 12px; color: #fff;
}
.w629b-slide-cap h2 { margin: 0 0 4px; font-size: 1.6rem; color: #fff; }
.w629b-slide-cap p { margin: 0; font-size: 1.2rem; color: var(--w629b-sand); }
.w629b-dots { position: absolute; bottom: 8px; right: 12px; display: flex; gap: 5px; z-index: 4; }
.w629b-slide-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35);
}
.w629b-slide-dot.w629b-dot-active { background: var(--w629b-accent); }

/* ---------- Filter chips ---------- */
.w629b-filter-row { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; }
.w629b-filter-chip {
  white-space: nowrap; padding: 7px 14px; border-radius: 999px;
  background: rgba(204,153,255,0.10); color: var(--w629b-text);
  font-size: 1.25rem; font-weight: 600; border: 1px solid var(--w629b-line);
  cursor: pointer;
}
.w629b-filter-chip.w629b-chip-active {
  background: linear-gradient(135deg, var(--w629b-primary), var(--w629b-accent));
  color: #fff; border-color: transparent;
}

/* ---------- Game grid ---------- */
.w629b-game-section { margin: 14px 0 22px; }
.w629b-game-section h3 {
  font-size: 1.5rem; margin: 0 0 10px; color: var(--w629b-primary-soft);
  display: flex; align-items: center; gap: 8px;
}
.w629b-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.w629b-game-card {
  background: #1c1430; border: 1px solid var(--w629b-line); border-radius: 12px;
  padding: 8px; text-align: center; cursor: pointer; transition: transform 0.12s ease, border-color 0.12s;
  overflow: hidden;
}
.w629b-game-card:hover { transform: translateY(-2px); border-color: var(--w629b-accent); }
.w629b-game-card img { width: 100%; height: 76px; object-fit: cover; border-radius: 8px; margin-bottom: 6px; }
.w629b-game-name {
  font-size: 1.15rem; color: var(--w629b-text); font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- Hero / features / cards ---------- */
.w629b-hero {
  background: radial-gradient(120% 80% at 80% 0%, rgba(128,0,128,0.45), transparent),
              linear-gradient(135deg, #1a0a2a, #2a0f3d);
  padding: 16px 14px; border-radius: var(--w629b-radius); margin: 12px 0;
  border: 1px solid var(--w629b-line);
}
.w629b-hero h1 { font-size: 2.2rem; margin: 0 0 6px; line-height: 1.3; }
.w629b-hero p { font-size: 1.3rem; color: var(--w629b-muted); margin: 0 0 12px; }

.w629b-card {
  background: #1c1430; border: 1px solid var(--w629b-line); border-radius: var(--w629b-radius);
  padding: 14px; margin: 10px 0;
}
.w629b-card h3 { margin: 0 0 6px; font-size: 1.5rem; color: var(--w629b-primary-soft); }
.w629b-card p { margin: 0; font-size: 1.3rem; color: var(--w629b-muted); }

.w629b-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.w629b-feature {
  background: #1c1430; border: 1px solid var(--w629b-line); border-radius: 12px;
  padding: 12px; text-align: center;
}
.w629b-feature .material-symbols-outlined { font-size: 28px; color: var(--w629b-accent); }
.w629b-feature h4 { margin: 6px 0 4px; font-size: 1.3rem; }
.w629b-feature p { margin: 0; font-size: 1.15rem; color: var(--w629b-muted); }

/* ---------- RTP / stats ---------- */
.w629b-stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.w629b-stat {
  background: #1c1430; border: 1px solid var(--w629b-line); border-radius: 12px;
  padding: 12px; text-align: center;
}
.w629b-stat-num { font-size: 2.0rem; font-weight: 800; color: var(--w629b-accent); }
.w629b-stat-label { font-size: 1.15rem; color: var(--w629b-muted); }
.w629b-bar { height: 8px; background: rgba(255,255,255,0.10); border-radius: 6px; overflow: hidden; margin-top: 6px; }
.w629b-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--w629b-primary), var(--w629b-accent)); }

/* ---------- Testimonials ---------- */
.w629b-quote {
  background: #1c1430; border-left: 4px solid var(--w629b-accent);
  border-radius: 10px; padding: 12px; margin: 8px 0;
}
.w629b-quote p { margin: 0 0 6px; font-size: 1.3rem; }
.w629b-quote cite { color: var(--w629b-sand); font-style: normal; font-size: 1.15rem; }

/* ---------- Winners ---------- */
.w629b-winner {
  display: flex; align-items: center; justify-content: space-between;
  background: #1c1430; border: 1px solid var(--w629b-line); border-radius: 10px;
  padding: 9px 12px; margin: 6px 0;
}
.w629b-winner-name { font-weight: 700; font-size: 1.25rem; }
.w629b-winner-game { font-size: 1.1rem; color: var(--w629b-muted); }
.w629b-winner-amount { color: var(--w629b-accent); font-weight: 800; font-size: 1.4rem; }

/* ---------- Payment ---------- */
.w629b-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.w629b-pay {
  background: #1c1430; border: 1px solid var(--w629b-line); border-radius: 10px;
  padding: 10px 4px; text-align: center; font-size: 1.05rem; color: var(--w629b-muted);
}

/* ---------- Steps ---------- */
.w629b-step {
  display: flex; gap: 10px; margin: 8px 0; align-items: flex-start;
}
.w629b-step-num {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--w629b-primary), var(--w629b-accent));
  color: #fff; font-weight: 800; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.w629b-step-body h4 { margin: 0 0 2px; font-size: 1.3rem; }
.w629b-step-body p { margin: 0; font-size: 1.2rem; color: var(--w629b-muted); }

/* ---------- FAQ ---------- */
.w629b-faq { border-bottom: 1px solid var(--w629b-line); padding: 10px 0; }
.w629b-faq summary {
  cursor: pointer; font-weight: 700; font-size: 1.3rem; color: var(--w629b-text);
  list-style: none; position: relative; padding-right: 22px;
}
.w629b-faq summary::-webkit-details-marker { display: none; }
.w629b-faq summary::after {
  content: "+"; position: absolute; right: 0; color: var(--w629b-accent); font-weight: 800;
}
.w629b-faq[open] summary::after { content: "−"; }
.w629b-faq p { margin: 8px 0 0; font-size: 1.25rem; color: var(--w629b-muted); }

/* ---------- App download ---------- */
.w629b-app-cta {
  background: linear-gradient(135deg, #2a0f3d, #1a0a2a);
  border: 1px solid var(--w629b-line); border-radius: var(--w629b-radius);
  padding: 14px; text-align: center; margin: 10px 0;
}
.w629b-app-cta img { border-radius: 10px; margin: 0 auto 10px; }
.w629b-app-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

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

/* ---------- Footer ---------- */
.w629b-footer {
  background: #0f0820; border-top: 1px solid var(--w629b-line);
  padding: 18px 12px 8px; margin-top: 16px;
}
.w629b-footer-brand { font-size: 1.4rem; font-weight: 800; color: var(--w629b-primary-soft); margin-bottom: 6px; }
.w629b-footer p { font-size: 1.2rem; color: var(--w629b-muted); margin: 0 0 10px; }
.w629b-footer-links {
  display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 10px;
}
.w629b-footer-links a {
  font-size: 1.15rem; color: var(--w629b-sand);
  text-decoration: underline; text-underline-offset: 2px;
}
.w629b-footer-promos { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.w629b-footer-copy { font-size: 1.1rem; color: var(--w629b-muted); padding-top: 8px; border-top: 1px solid var(--w629b-line); }

/* ---------- Bottom nav (mobile only) ---------- */
.w629b-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  height: 62px;
  background: linear-gradient(180deg, #2a0f3d, #190c2b);
  border-top: 1px solid var(--w629b-line);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.55);
}
.w629b-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--w629b-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; cursor: pointer; padding: 4px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.w629b-bottom-nav-btn:active { transform: scale(0.92); }
.w629b-bottom-nav-btn span.icon { font-size: 22px; line-height: 1; }
.w629b-bottom-nav-btn span.label { font-size: 1.0rem; font-weight: 600; }
.w629b-bottom-nav-btn.w629b-bottom-active { color: var(--w629b-accent); }
.w629b-bottom-nav-btn.w629b-bottom-promo { color: var(--w629b-primary-soft); }

@media (min-width: 769px) {
  .w629b-bottom-nav { display: none; }
  main { padding-bottom: 24px; }
}

/* ---------- Utility ---------- */
.w629b-text-center { text-align: center; }
.w629b-mt-8 { margin-top: 8px; }
.w629b-mt-16 { margin-top: 16px; }
.w629b-badge {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  background: rgba(244,164,96,0.18); color: var(--w629b-accent);
  font-size: 1.05rem; font-weight: 700;
}
.w629b-inline-link { color: var(--w629b-accent); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
