/*!
 * Winzir (winzir.homes) base stylesheet
 * Palette: #34495E base, #FFD700 gold, #FF8C00 amber, #999999 muted, #FFBF00 honey.
 * Mobile-first layout (max-width 430px reference), scales up to desktop.
 * Every custom class is namespaced with the wb7b3- prefix.
 */
:root {
  --wb7b3-bg: #34495E;
  --wb7b3-bg-deep: #2a3a4a;
  --wb7b3-bg-soft: #3d5267;
  --wb7b3-gold: #FFD700;
  --wb7b3-amber: #FF8C00;
  --wb7b3-honey: #FFBF00;
  --wb7b3-muted: #999999;
  --wb7b3-text: #f4f7fb;
  --wb7b3-text-dim: #c5d0dc;
  --wb7b3-card: #3d5267;
  --wb7b3-card-2: #455d76;
  --wb7b3-border: rgba(255, 215, 0, 0.22);
  --wb7b3-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  --wb7b3-radius: 14px;
  --wb7b3-radius-sm: 10px;
  --wb7b3-primary: #FFD700;
  --wb7b3-accent: #FF8C00;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: linear-gradient(160deg, #2a3a4a 0%, #34495E 45%, #2a3a4a 100%);
  color: var(--wb7b3-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--wb7b3-gold); text-decoration: none; }
a:hover { color: var(--wb7b3-honey); }

.wb7b3-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 12px; }
.wb7b3-wrapper { padding: 18px 12px; }

/* ---------------- Header ---------------- */
.wb7b3-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(42,58,74,0.98), rgba(52,73,94,0.92));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--wb7b3-border);
}
.wb7b3-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  max-width: 1200px;
  margin: 0 auto;
}
.wb7b3-brand { display: flex; align-items: center; gap: 10px; }
.wb7b3-logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--wb7b3-gold);
  background: radial-gradient(circle at 30% 30%, #FFD700, #FF8C00);
}
.wb7b3-brand-name {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--wb7b3-gold);
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
.wb7b3-brand-name span { color: var(--wb7b3-text); font-weight: 500; font-size: 1.2rem; }
.wb7b3-header-actions { display: flex; align-items: center; gap: 8px; }

.wb7b3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.35rem;
  padding: 9px 16px;
  border-radius: 30px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  min-height: 38px;
  text-decoration: none;
}
.wb7b3-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.wb7b3-btn:active { transform: translateY(0); }
.wb7b3-btn-register {
  background: linear-gradient(135deg, #FFD700, #FF8C00);
  color: #2a3a4a;
  box-shadow: 0 6px 16px rgba(255, 140, 0, 0.35);
}
.wb7b3-btn-login {
  background: transparent;
  color: var(--wb7b3-gold);
  border: 1.5px solid var(--wb7b3-gold);
}
.wb7b3-btn-cta {
  background: linear-gradient(135deg, #FFBF00, #FF8C00);
  color: #2a3a4a;
  box-shadow: 0 8px 20px rgba(255, 140, 0, 0.4);
  padding: 12px 22px;
  font-size: 1.5rem;
}
.wb7b3-btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--wb7b3-text);
  border: 1px solid var(--wb7b3-border);
}

.wb7b3-burger {
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid var(--wb7b3-border);
  border-radius: 10px;
  color: var(--wb7b3-gold);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 2rem;
}

/* ---------------- Desktop nav ---------------- */
.wb7b3-desktop-nav { display: none; align-items: center; gap: 16px; }
.wb7b3-desktop-nav a {
  color: var(--wb7b3-text-dim);
  font-size: 1.35rem;
  font-weight: 600;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
}
.wb7b3-desktop-nav a:hover, .wb7b3-desktop-nav .wb7b3-current {
  color: var(--wb7b3-gold);
  border-bottom-color: var(--wb7b3-gold);
}

/* ---------------- Mobile slide-in menu ---------------- */
.wb7b3-mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 78%; max-width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, #2a3a4a, #34495E);
  z-index: 9999;
  padding: 70px 18px 24px;
  transition: right 0.28s ease;
  box-shadow: -8px 0 24px rgba(0,0,0,0.4);
  overflow-y: auto;
}
.wb7b3-mobile-nav.wb7b3-menu-open { right: 0; }
.wb7b3-mobile-nav a {
  display: block;
  color: var(--wb7b3-text);
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,215,0,0.12);
  font-size: 1.45rem;
  font-weight: 600;
}
.wb7b3-mobile-nav a:hover { color: var(--wb7b3-gold); padding-left: 16px; }
.wb7b3-mobile-nav .wb7b3-current { color: var(--wb7b3-gold); }
.wb7b3-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.wb7b3-overlay.wb7b3-menu-open { opacity: 1; pointer-events: auto; }

/* ---------------- Layout main ---------------- */
.wb7b3-main {
  padding-top: 62px; /* header height */
  padding-bottom: 80px; /* bottom nav clearance */
}
.wb7b3-section { padding: 22px 12px; }
.wb7b3-section-alt { background: rgba(255,255,255,0.03); }

.wb7b3-h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 14px 0 8px;
  line-height: 1.25;
  color: var(--wb7b3-text);
}
.wb7b3-h1 em { color: var(--wb7b3-gold); font-style: normal; }
.wb7b3-h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 22px 0 10px;
  padding-left: 10px;
  border-left: 4px solid var(--wb7b3-gold);
  color: var(--wb7b3-text);
}
.wb7b3-h3 { font-size: 1.6rem; font-weight: 700; margin: 14px 0 6px; color: var(--wb7b3-honey); }
.wb7b3-lead { color: var(--wb7b3-text-dim); font-size: 1.45rem; margin-bottom: 12px; }
.wb7b3-p { margin: 0 0 12px; color: var(--wb7b3-text-dim); }
.wb7b3-p b, .wb7b3-strong { color: var(--wb7b3-gold); }

/* ---------------- Carousel ---------------- */
.wb7b3-carousel {
  position: relative;
  border-radius: var(--wb7b3-radius);
  overflow: hidden;
  box-shadow: var(--wb7b3-shadow);
  margin: 14px 0 6px;
}
.wb7b3-slide {
  position: relative;
  display: none;
  cursor: pointer;
}
.wb7b3-slide img { width: 100%; height: 200px; object-fit: cover; }
.wb7b3-slide-active { display: block; animation: wb7b3-fade 0.6s ease; }
@keyframes wb7b3-fade { from {opacity: 0.4;} to {opacity: 1;} }
.wb7b3-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 16px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.78), transparent);
  color: #fff;
}
.wb7b3-slide-caption h3 { margin: 0 0 4px; color: var(--wb7b3-gold); font-size: 1.7rem; }
.wb7b3-slide-caption p { margin: 0; font-size: 1.3rem; color: var(--wb7b3-text); }
.wb7b3-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
  z-index: 3;
}
.wb7b3-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background 0.2s;
  border: none;
}
.wb7b3-dot-active { background: var(--wb7b3-gold); width: 22px; border-radius: 6px; }

/* ---------------- Category chips ---------------- */
.wb7b3-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 8px 0 14px;
}
.wb7b3-chip {
  background: rgba(255,255,255,0.06);
  color: var(--wb7b3-text-dim);
  border: 1px solid var(--wb7b3-border);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
}
.wb7b3-chip-active, .wb7b3-chip:hover {
  background: linear-gradient(135deg, #FFD700, #FF8C00);
  color: #2a3a4a;
  border-color: transparent;
  font-weight: 700;
}

/* ---------------- Game grid ---------------- */
.wb7b3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.wb7b3-card {
  background: var(--wb7b3-card);
  border-radius: var(--wb7b3-radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255,215,0,0.08);
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  display: block;
  text-align: center;
}
.wb7b3-card:hover {
  transform: translateY(-3px);
  border-color: var(--wb7b3-gold);
  box-shadow: 0 10px 18px rgba(0,0,0,0.35);
}
.wb7b3-card img {
  width: 100%; height: 88px; object-fit: cover;
  background: #1f2c3b;
}
.wb7b3-card-name {
  padding: 6px 4px;
  font-size: 1.18rem;
  color: var(--wb7b3-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wb7b3-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 22px 0 6px;
}
.wb7b3-cat-head h2 { margin: 0; font-size: 1.85rem; }
.wb7b3-cat-link { font-size: 1.25rem; color: var(--wb7b3-honey); font-weight: 700; }

/* ---------------- Feature blocks ---------------- */
.wb7b3-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.wb7b3-feature {
  background: var(--wb7b3-card);
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: var(--wb7b3-radius-sm);
  padding: 14px 12px;
  text-align: center;
}
.wb7b3-feature .wb7b3-ic {
  font-size: 2.6rem;
  color: var(--wb7b3-gold);
  margin-bottom: 6px;
}
.wb7b3-feature h3 { margin: 4px 0; font-size: 1.4rem; }
.wb7b3-feature p { margin: 0; font-size: 1.2rem; color: var(--wb7b3-text-dim); }

/* ---------------- Stats / RTP ---------------- */
.wb7b3-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 10px 0;
}
.wb7b3-stat {
  background: linear-gradient(135deg, var(--wb7b3-card), var(--wb7b3-card-2));
  border-radius: var(--wb7b3-radius-sm);
  padding: 14px;
  text-align: center;
  border: 1px solid var(--wb7b3-border);
}
.wb7b3-stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--wb7b3-gold);
  line-height: 1.1;
}
.wb7b3-stat-label { font-size: 1.2rem; color: var(--wb7b3-text-dim); margin-top: 4px; }

.wb7b3-rtp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 1.3rem;
}
.wb7b3-rtp-table th, .wb7b3-rtp-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255,215,0,0.1);
}
.wb7b3-rtp-table th { color: var(--wb7b3-gold); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.4px; }
.wb7b3-rtp-table td.wb7b3-rt-val { color: var(--wb7b3-honey); font-weight: 700; text-align: right; }

/* ---------------- Testimonials ---------------- */
.wb7b3-testimonials { display: grid; gap: 10px; margin-top: 10px; }
.wb7b3-testimonial {
  background: var(--wb7b3-card);
  border-left: 3px solid var(--wb7b3-gold);
  border-radius: 8px;
  padding: 12px 14px;
}
.wb7b3-testimonial p { margin: 0 0 6px; font-size: 1.32rem; color: var(--wb7b3-text); }
.wb7b3-testimonial .wb7b3-author { font-size: 1.18rem; color: var(--wb7b3-honey); font-weight: 700; }
.wb7b3-stars { color: var(--wb7b3-gold); font-size: 1.3rem; letter-spacing: 2px; }

/* ---------------- Winners ---------------- */
.wb7b3-winners {
  background: var(--wb7b3-card);
  border-radius: var(--wb7b3-radius-sm);
  padding: 8px 12px;
  margin-top: 8px;
}
.wb7b3-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255,215,0,0.15);
  font-size: 1.28rem;
}
.wb7b3-winner:last-child { border-bottom: none; }
.wb7b3-winner b { color: var(--wb7b3-gold); }
.wb7b3-winner small { color: var(--wb7b3-muted); display: block; font-size: 1.1rem; }

/* ---------------- Payment methods ---------------- */
.wb7b3-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.wb7b3-pay {
  background: #fff;
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
  color: #2a3a4a;
  font-weight: 700;
  font-size: 1.2rem;
  min-height: 50px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------------- FAQ ---------------- */
.wb7b3-faq { margin-top: 8px; }
.wb7b3-faq-item {
  background: var(--wb7b3-card);
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}
.wb7b3-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 700;
  color: var(--wb7b3-text);
  font-size: 1.4rem;
}
.wb7b3-faq-q .wb7b3-faq-ic { color: var(--wb7b3-gold); transition: transform 0.25s; }
.wb7b3-faq-open .wb7b3-faq-q .wb7b3-faq-ic { transform: rotate(45deg); }
.wb7b3-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 14px;
  color: var(--wb7b3-text-dim);
  font-size: 1.32rem;
}
.wb7b3-faq-open .wb7b3-faq-a { max-height: 320px; padding: 0 14px 12px; }

/* ---------------- CTA banner ---------------- */
.wb7b3-cta-banner {
  background: linear-gradient(135deg, #FF8C00, #FFD700);
  border-radius: var(--wb7b3-radius);
  padding: 18px 14px;
  text-align: center;
  margin: 16px 0;
  color: #2a3a4a;
}
.wb7b3-cta-banner h3 { margin: 0 0 6px; color: #2a3a4a; font-size: 1.8rem; }
.wb7b3-cta-banner p { margin: 0 0 10px; color: #2a3a4a; font-size: 1.3rem; }

/* ---------------- App download CTA ---------------- */
.wb7b3-app-cta {
  background: var(--wb7b3-card);
  border: 1px solid var(--wb7b3-border);
  border-radius: var(--wb7b3-radius);
  padding: 16px;
  display: flex; gap: 12px; align-items: center;
  margin: 12px 0;
}
.wb7b3-app-ic {
  font-size: 3.4rem; color: var(--wb7b3-gold);
  flex-shrink: 0;
}
.wb7b3-app-cta h3 { margin: 0 0 4px; }
.wb7b3-app-cta p { margin: 0 0 8px; font-size: 1.28rem; color: var(--wb7b3-text-dim); }

/* ---------------- Footer ---------------- */
.wb7b3-footer {
  background: #1f2c3b;
  padding: 22px 12px 16px;
  margin-top: 22px;
  border-top: 2px solid var(--wb7b3-gold);
}
.wb7b3-footer h4 { color: var(--wb7b3-gold); font-size: 1.4rem; margin: 10px 0 6px; }
.wb7b3-footer p { color: var(--wb7b3-text-dim); font-size: 1.25rem; margin: 0 0 8px; }
.wb7b3-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 10px;
  margin: 8px 0;
}
.wb7b3-footer-links a { color: var(--wb7b3-text-dim); font-size: 1.22rem; }
.wb7b3-footer-links a:hover { color: var(--wb7b3-gold); }
.wb7b3-footer-promos {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 8px 0 12px;
}
.wb7b3-footer-copy {
  text-align: center;
  font-size: 1.15rem;
  color: var(--wb7b3-muted);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 12px;
  margin-top: 8px;
}

/* ---------------- Bottom nav ---------------- */
.wb7b3-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 60px;
  background: linear-gradient(180deg, rgba(52,73,94,0.98), rgba(31,44,59,0.98));
  border-top: 1px solid var(--wb7b3-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -6px 18px rgba(0,0,0,0.3);
}
.wb7b3-bottomnav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  color: var(--wb7b3-text-dim);
  font-size: 1.05rem;
  text-decoration: none;
  gap: 2px;
  transition: color 0.18s, transform 0.18s;
  position: relative;
}
.wb7b3-bottomnav a .wb7b3-bnic { font-size: 2.2rem; line-height: 1; }
.wb7b3-bottomnav a:hover, .wb7b3-bottomnav .wb7b3-current { color: var(--wb7b3-gold); transform: translateY(-2px); }
.wb7b3-bottomnav a:active { transform: scale(0.92); }
.wb7b3-bottomnav .wb7b3-badge {
  position: absolute;
  top: 6px; right: 22%;
  background: #FF8C00;
  color: #fff;
  font-size: 0.9rem;
  padding: 1px 5px;
  border-radius: 8px;
  font-weight: 700;
}

/* ---------------- Scroll-to-top ---------------- */
.wb7b3-top-btn {
  position: fixed;
  bottom: 74px; right: 14px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--wb7b3-gold);
  color: #2a3a4a;
  border: none;
  cursor: pointer;
  font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 999;
  box-shadow: var(--wb7b3-shadow);
}
.wb7b3-top-visible { opacity: 1; pointer-events: auto; }

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

/* ---------------- Desktop / tablet rules ---------------- */
@media (min-width: 768px) {
  .wb7b3-burger { display: none; }
  .wb7b3-mobile-nav, .wb7b3-overlay { display: none !important; }
  .wb7b3-bottomnav { display: none; }
  .wb7b3-main { padding-bottom: 0; }
  .wb7b3-desktop-nav { display: flex; }
  .wb7b3-grid { grid-template-columns: repeat(5, 1fr); }
  .wb7b3-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .wb7b3-stats { grid-template-columns: repeat(4, 1fr); }
  .wb7b3-pay-grid { grid-template-columns: repeat(6, 1fr); }
  .wb7b3-footer-links { grid-template-columns: repeat(3, 1fr); }
  .wb7b3-slide img { height: 340px; }
  .wb7b3-h1 { font-size: 3rem; }
}
@media (min-width: 992px) {
  .wb7b3-grid { grid-template-columns: repeat(6, 1fr); }
}

/* Utility */
.wb7b3-text-center { text-align: center; }
.wb7b3-mt-8 { margin-top: 8px; }
.wb7b3-mt-16 { margin-top: 16px; }
.wb7b3-mb-8 { margin-bottom: 8px; }
.wb7b3-hidden { display: none; }
.wb7b3-link-inline { color: var(--wb7b3-honey); font-weight: 700; border-bottom: 1px dashed currentColor; }
