/* ============================================================
   3bet win - core stylesheet (prefix: w29d1-)
   Palette: #FF8C00 | #FFEBCD | #1C2833 | #B8860B
   Mobile-first, max-width 430px on small screens.
   ============================================================ */

:root {
  --w29d1-primary: #FF8C00;
  --w29d1-cream: #FFEBCD;
  --w29d1-dark: #1C2833;
  --w29d1-gold: #B8860B;
  --w29d1-dark-2: #141c25;
  --w29d1-dark-3: #0e151c;
  --w29d1-text: #FFEBCD;
  --w29d1-muted: #b9a98a;
  --w29d1-border: rgba(255, 140, 0, 0.18);
  --w29d1-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.45);
  --w29d1-radius: 1rem;
  --w29d1-radius-sm: 0.6rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  background: linear-gradient(160deg, var(--w29d1-dark-2) 0%, var(--w29d1-dark) 100%);
  color: var(--w29d1-text);
  line-height: 1.5rem;
  font-size: 1.45rem;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a { color: var(--w29d1-primary); text-decoration: none; }
a:hover { color: var(--w29d1-cream); }

h1, h2, h3, h4 { line-height: 2rem; margin: 0 0 0.8rem; font-weight: 700; }
h1 { font-size: 2rem; }
h2 { font-size: 1.8rem; color: var(--w29d1-cream); }
h3 { font-size: 1.55rem; color: var(--w29d1-primary); }
p { margin: 0 0 1rem; }

.w29d1-container { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 1.2rem; }
.w29d1-wrapper { padding: 1.6rem 0; }

/* ---------- Header ---------- */
.w29d1-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--w29d1-dark-3), var(--w29d1-dark) 70%);
  border-bottom: 1px solid var(--w29d1-border);
  box-shadow: 0 0.3rem 0.9rem rgba(0,0,0,0.5);
}
.w29d1-header-inner {
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1rem;
  gap: 0.6rem;
}
.w29d1-logo {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--w29d1-cream); font-weight: 800; font-size: 1.5rem;
}
.w29d1-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.5rem; }
.w29d1-logo span b { color: var(--w29d1-primary); }

.w29d1-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.w29d1-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-weight: 700; font-size: 1.3rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  min-height: 4rem;
}
.w29d1-btn:active { transform: scale(0.96); }
.w29d1-btn-primary {
  background: linear-gradient(135deg, var(--w29d1-primary), var(--w29d1-gold));
  color: #1a1207;
  box-shadow: 0 0.5rem 1.2rem rgba(255,140,0,0.35);
}
.w29d1-btn-ghost {
  background: transparent;
  color: var(--w29d1-cream);
  border: 1px solid var(--w29d1-primary);
}
.w29d1-btn-block { width: 100%; justify-content: center; }

.w29d1-menu-btn {
  background: transparent; border: 1px solid var(--w29d1-border);
  color: var(--w29d1-cream);
  width: 4rem; height: 4rem; border-radius: 0.8rem;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.8rem;
}

/* ---------- Mobile drawer ---------- */
.w29d1-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 80%; max-width: 320px;
  height: 100vh;
  background: var(--w29d1-dark-3);
  z-index: 9999;
  padding: 6rem 1.4rem 2rem;
  transition: right .28s ease;
  overflow-y: auto;
  border-left: 1px solid var(--w29d1-border);
}
.w29d1-mobile-menu.w29d1-menu-open { right: 0; }
.w29d1-mobile-menu a {
  display: block;
  padding: 1rem 0.6rem;
  border-bottom: 1px solid rgba(255,140,0,0.12);
  color: var(--w29d1-cream);
  font-weight: 600;
  font-size: 1.4rem;
}
.w29d1-mobile-menu a:hover { color: var(--w29d1-primary); padding-left: 1rem; }
.w29d1-menu-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: transparent; border: none; color: var(--w29d1-cream);
  font-size: 2rem; cursor: pointer;
}
.w29d1-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity .28s ease;
}
.w29d1-menu-overlay.w29d1-overlay-show { opacity: 1; pointer-events: auto; }

/* ---------- Hero / Carousel ---------- */
.w29d1-main { padding-top: 6.2rem; }
.w29d1-hero {
  position: relative;
  margin: 1rem 0 1.4rem;
  border-radius: var(--w29d1-radius);
  overflow: hidden;
  box-shadow: var(--w29d1-shadow);
}
.w29d1-hero-slide {
  display: none;
  position: relative;
}
.w29d1-hero-slide.w29d1-active { display: block; }
.w29d1-hero-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.w29d1-hero-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.2rem 1.2rem;
  background: linear-gradient(0deg, rgba(14,21,28,0.92), rgba(14,21,28,0));
}
.w29d1-hero-caption h2 { margin: 0 0 0.4rem; color: var(--w29d1-primary); font-size: 1.7rem; }
.w29d1-hero-caption p { margin: 0; color: var(--w29d1-cream); font-size: 1.3rem; }

.w29d1-hero-dots {
  position: absolute; bottom: 0.8rem; right: 1rem;
  display: flex; gap: 0.4rem;
}
.w29d1-hero-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,235,205,0.4);
  border: none; cursor: pointer; padding: 0;
}
.w29d1-hero-dot.w29d1-dot-active { background: var(--w29d1-primary); }

.w29d1-hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: var(--w29d1-cream);
  border: 1px solid var(--w29d1-border);
  width: 3.2rem; height: 3.2rem;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.4rem;
}
.w29d1-hero-prev { left: 0.6rem; }
.w29d1-hero-next { right: 0.6rem; }

/* ---------- Section ---------- */
.w29d1-section { margin: 1.8rem 0; }
.w29d1-section-title {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--w29d1-gold);
}
.w29d1-section-title h2 { margin: 0; font-size: 1.65rem; color: var(--w29d1-cream); }
.w29d1-section-title .w29d1-icon { color: var(--w29d1-primary); font-size: 1.8rem; }
.w29d1-section-title .w29d1-more {
  margin-left: auto; font-size: 1.2rem; color: var(--w29d1-primary);
}

/* ---------- Game grid ---------- */
.w29d1-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.w29d1-card {
  background: var(--w29d1-dark-2);
  border: 1px solid var(--w29d1-border);
  border-radius: var(--w29d1-radius-sm);
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.w29d1-card:hover {
  transform: translateY(-3px);
  border-color: var(--w29d1-primary);
  box-shadow: 0 0.6rem 1.4rem rgba(255,140,0,0.18);
}
.w29d1-card img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  background: #0e151c;
}
.w29d1-card-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--w29d1-cream);
  padding: 0.5rem 0.4rem 0.6rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.w29d1-card-tag {
  display: inline-block;
  font-size: 1rem;
  color: var(--w29d1-gold);
  background: rgba(184,134,11,0.12);
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

/* ---------- Filter buttons ---------- */
.w29d1-filter-bar {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.w29d1-filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--w29d1-border);
  background: var(--w29d1-dark-2);
  color: var(--w29d1-cream);
  font-size: 1.2rem; font-weight: 600;
  cursor: pointer;
  min-height: 3.4rem;
}
.w29d1-filter-btn.w29d1-filter-active {
  background: linear-gradient(135deg, var(--w29d1-primary), var(--w29d1-gold));
  color: #1a1207;
  border-color: transparent;
}

/* ---------- Promo banner ---------- */
.w29d1-promo {
  background: linear-gradient(135deg, rgba(255,140,0,0.16), rgba(184,134,11,0.08));
  border: 1px solid var(--w29d1-border);
  border-radius: var(--w29d1-radius);
  padding: 1.3rem;
  display: flex; flex-direction: column; gap: 0.8rem;
  margin: 1.4rem 0;
}
.w29d1-promo h3 { margin: 0; color: var(--w29d1-primary); }
.w29d1-promo p { margin: 0; color: var(--w29d1-cream); font-size: 1.3rem; }

/* ---------- Info / feature list ---------- */
.w29d1-info-card {
  background: var(--w29d1-dark-2);
  border: 1px solid var(--w29d1-border);
  border-radius: var(--w29d1-radius-sm);
  padding: 1.1rem 1.2rem;
  margin-bottom: 0.9rem;
}
.w29d1-info-card h3 { margin: 0 0 0.4rem; }
.w29d1-info-card ul { margin: 0.4rem 0 0; padding-left: 1.4rem; color: var(--w29d1-cream); }
.w29d1-info-card li { margin-bottom: 0.4rem; line-height: 1.7rem; }

.w29d1-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem;
}

/* ---------- Testimonials ---------- */
.w29d1-testimonial {
  background: var(--w29d1-dark-2);
  border-left: 3px solid var(--w29d1-primary);
  border-radius: 0.5rem;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}
.w29d1-testimonial .w29d1-name { color: var(--w29d1-primary); font-weight: 700; font-size: 1.25rem; }
.w29d1-testimonial .w29d1-stars { color: var(--w29d1-gold); font-size: 1.1rem; }
.w29d1-testimonial p { margin: 0.3rem 0 0; font-size: 1.25rem; }

/* ---------- RTP table ---------- */
.w29d1-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
  background: var(--w29d1-dark-2);
  border-radius: var(--w29d1-radius-sm);
  overflow: hidden;
}
.w29d1-rtp-table th, .w29d1-rtp-table td {
  padding: 0.65rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid var(--w29d1-border);
}
.w29d1-rtp-table th { background: rgba(255,140,0,0.14); color: var(--w29d1-cream); }
.w29d1-rtp-table td.w29d1-rtp-num { color: var(--w29d1-primary); font-weight: 700; }

/* ---------- Payment / app ---------- */
.w29d1-pay-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.w29d1-pay-chip {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--w29d1-border);
  background: var(--w29d1-dark-2);
  color: var(--w29d1-cream);
  font-size: 1.15rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
}

.w29d1-app-cta {
  background: linear-gradient(135deg, rgba(255,140,0,0.18), rgba(184,134,11,0.08));
  border: 1px solid var(--w29d1-border);
  border-radius: var(--w29d1-radius);
  padding: 1.2rem;
  display: flex; flex-direction: column; gap: 0.8rem;
  margin: 1.4rem 0;
}

/* ---------- Winners ---------- */
.w29d1-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 0.9rem;
  background: var(--w29d1-dark-2);
  border: 1px solid var(--w29d1-border);
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.w29d1-winner .w29d1-amount { color: var(--w29d1-primary); font-weight: 700; }

/* ---------- FAQ ---------- */
.w29d1-faq-item {
  background: var(--w29d1-dark-2);
  border: 1px solid var(--w29d1-border);
  border-radius: var(--w29d1-radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 0.6rem;
}
.w29d1-faq-item h3 { margin: 0 0 0.3rem; font-size: 1.35rem; color: var(--w29d1-primary); }
.w29d1-faq-item p { margin: 0; font-size: 1.25rem; color: var(--w29d1-cream); }

/* ---------- Seo text ---------- */
.w29d1-seo-text {
  background: var(--w29d1-dark-2);
  border: 1px solid var(--w29d1-border);
  border-radius: var(--w29d1-radius-sm);
  padding: 1.2rem;
  margin: 1.4rem 0;
  color: var(--w29d1-cream);
  font-size: 1.3rem;
  line-height: 1.7rem;
}
.w29d1-seo-text h2, .w29d1-seo-text h3 { color: var(--w29d1-cream); }
.w29d1-seo-text a { color: var(--w29d1-primary); font-weight: 600; }

/* ---------- Footer ---------- */
.w29d1-footer {
  background: var(--w29d1-dark-3);
  border-top: 1px solid var(--w29d1-border);
  padding: 2rem 1.2rem 9rem;
  margin-top: 1.6rem;
  color: var(--w29d1-cream);
  font-size: 1.25rem;
}
.w29d1-footer h3 { color: var(--w29d1-primary); font-size: 1.45rem; margin-bottom: 0.6rem; }
.w29d1-footer-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 0.8rem;
  margin: 0.8rem 0 1rem;
}
.w29d1-footer-links a { color: var(--w29d1-cream); font-size: 1.2rem; }
.w29d1-footer-links a:hover { color: var(--w29d1-primary); }
.w29d1-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0 1rem; }
.w29d1-footer-copy { color: var(--w29d1-muted); font-size: 1.1rem; margin-top: 1rem; }

/* ---------- Bottom nav (mobile) ---------- */
.w29d1-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 6rem;
  background: linear-gradient(90deg, var(--w29d1-dark-3), var(--w29d1-dark) 70%);
  border-top: 1px solid var(--w29d1-border);
  z-index: 1000;
  display: flex; justify-content: space-around; align-items: center;
  box-shadow: 0 -0.4rem 1rem rgba(0,0,0,0.5);
}
.w29d1-bottomnav-btn {
  flex: 1;
  min-width: 6rem; min-height: 6rem;
  background: transparent; border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem;
  color: var(--w29d1-cream);
  font-size: 1.05rem; font-weight: 600;
  cursor: pointer;
  transition: color .18s ease, transform .18s ease;
}
.w29d1-bottomnav-btn .w29d1-bicon { font-size: 2.1rem; line-height: 1; }
.w29d1-bottomnav-btn .material-icons,
.w29d1-bottomnav-btn .bi { font-size: 2.1rem; }
.w29d1-bottomnav-btn:active { transform: scale(0.92); }
.w29d1-bottomnav-btn:hover { color: var(--w29d1-primary); }
.w29d1-bottomnav-btn.w29d1-active { color: var(--w29d1-primary); }
.w29d1-bottomnav-btn.w29d1-active .w29d1-bicon { color: var(--w29d1-primary); }

/* ---------- Back to top ---------- */
.w29d1-back-top {
  position: fixed; right: 1.2rem; bottom: 7.2rem;
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--w29d1-primary), var(--w29d1-gold));
  color: #1a1207;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  z-index: 999;
  box-shadow: 0 0.5rem 1.2rem rgba(0,0,0,0.5);
}

/* ---------- Reveal animation ---------- */
.w29d1-reveal { opacity: 0; transform: translateY(2rem); transition: opacity .6s ease, transform .6s ease; }
.w29d1-reveal.w29d1-revealed { opacity: 1; transform: none; }

/* ---------- Responsive / desktop ---------- */
@media (min-width: 769px) {
  .w29d1-bottomnav { display: none; }
  .w29d1-menu-btn { display: none; }
  .w29d1-footer { padding-bottom: 2rem; }
  .w29d1-grid { grid-template-columns: repeat(5, 1fr); }
  .w29d1-grid-2 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 600px) and (max-width: 768px) {
  .w29d1-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .w29d1-main { padding-bottom: 7rem; }
  body { padding-bottom: 6rem; }
}

@media (max-width: 360px) {
  .w29d1-grid { grid-template-columns: repeat(2, 1fr); }
  .w29d1-footer-links { grid-template-columns: 1fr; }
}
