/* ============================================================
 * 66win casino - design-efbe.css
 * Mobile-first styling. All classes prefixed with "veb4-".
 * Palette: #20B2AA | #808080 | #2C2C2C | #5F9EA0
 * Root font: 62.5% -> 1rem = 10px
 * ============================================================ */

:root {
  --veb4-primary: #20B2AA;
  --veb4-secondary: #5F9EA0;
  --veb4-dark: #2C2C2C;
  --veb4-neutral: #808080;
  --veb4-bg: #1A1F23;
  --veb4-surface: #232A30;
  --veb4-surface-2: #2C343B;
  --veb4-text: #F5F7FA;
  --veb4-muted: #B7C0C9;
  --veb4-accent: #FFD166;
  --veb4-accent-2: #EF476F;
  --veb4-border: rgba(255, 255, 255, 0.08);
  --veb4-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --veb4-radius: 14px;
  --veb4-radius-sm: 10px;
  --veb4-header-h: 60px;
  --veb4-bottom-h: 62px;
  --veb4-max: 430px;
}

* { box-sizing: border-box; }

html { font-size: 62.5%; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--veb4-bg);
  color: var(--veb4-text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", system-ui, sans-serif;
  line-height: 1.5rem;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; display: block; }
a { color: var(--veb4-primary); text-decoration: none; }

/* Page shell centered for desktop preview */
.veb4-wrapper {
  max-width: var(--veb4-max);
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, #14191d 0%, #1A1F23 40%, #20262c 100%);
}

/* ============================================================
 * HEADER
 * ============================================================ */
.veb4-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(20, 24, 28, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--veb4-border);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.veb4-header-scrolled {
  background: rgba(10, 14, 17, 0.96);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.veb4-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.veb4-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
}
.veb4-brand-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--veb4-text);
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.veb4-brand-title span { color: var(--veb4-primary); }

.veb4-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.veb4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  font-size: 1.3rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  min-height: 36px;
  font-family: inherit;
}
.veb4-btn:hover { transform: translateY(-1px); }
.veb4-btn:active { transform: translateY(0); }
.veb4-btn-login {
  background: transparent;
  color: var(--veb4-text);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.veb4-btn-register {
  background: linear-gradient(135deg, var(--veb4-primary) 0%, var(--veb4-secondary) 100%);
  color: #0C1416;
  box-shadow: 0 6px 14px rgba(32, 178, 170, 0.35);
}
.veb4-btn-cta {
  background: linear-gradient(135deg, #FFD166 0%, #F4A300 100%);
  color: #2C2C2C;
  font-weight: 800;
  padding: 1.1rem 2.2rem;
  font-size: 1.4rem;
  box-shadow: 0 10px 22px rgba(255, 209, 102, 0.3);
}
.veb4-link-bold {
  color: var(--veb4-accent);
  font-weight: 700;
  border-bottom: 1px dashed rgba(255, 209, 102, 0.5);
  padding-bottom: 1px;
}

.veb4-menu-toggle {
  background: transparent;
  border: 0;
  color: var(--veb4-text);
  font-size: 1.9rem;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
 * MOBILE MENU
 * ============================================================ */
.veb4-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 78%;
  max-width: 320px;
  height: 100vh;
  background: #16191d;
  border-left: 1px solid var(--veb4-border);
  transform: translateX(110%);
  transition: transform 0.28s ease;
  z-index: 9999;
  padding: 6.5rem 1.6rem 2rem;
  overflow-y: auto;
}
.veb4-menu-open { transform: translateX(0); }
.veb4-mobile-menu h4 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--veb4-muted);
  margin: 1.6rem 0 0.8rem;
}
.veb4-mobile-menu a {
  display: block;
  padding: 1rem 0.8rem;
  font-size: 1.35rem;
  color: var(--veb4-text);
  border-bottom: 1px solid var(--veb4-border);
  border-radius: 8px;
}
.veb4-mobile-menu a:hover { background: var(--veb4-surface); }
.veb4-menu-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: 0;
  color: var(--veb4-text);
  font-size: 2rem;
  cursor: pointer;
}
.veb4-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9990;
}
.veb4-lock-scroll { overflow: hidden; }

/* ============================================================
 * MAIN / SECTIONS
 * ============================================================ */
main.veb4-main { padding: 1.4rem 1.2rem 9rem; }

.veb4-section {
  margin: 2.4rem 0;
  position: relative;
}
.veb4-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.veb4-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--veb4-text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.veb4-section-title i { color: var(--veb4-accent); }
.veb4-section-link {
  font-size: 1.15rem;
  color: var(--veb4-primary);
  font-weight: 600;
}

/* ============================================================
 * HERO CAROUSEL
 * ============================================================ */
.veb4-hero {
  position: relative;
  border-radius: var(--veb4-radius);
  overflow: hidden;
  margin: 1rem 0 2rem;
  box-shadow: var(--veb4-shadow);
}
.veb4-hero-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0c1013;
}
.veb4-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.veb4-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.veb4-slide-active { opacity: 1; }
.veb4-hero-caption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  max-width: 80%;
}
.veb4-hero-dots {
  position: absolute;
  bottom: 0.6rem;
  right: 1rem;
  display: flex;
  gap: 0.4rem;
}
.veb4-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}
.veb4-dot-active { background: var(--veb4-accent); }

/* ============================================================
 * GAME GRID
 * ============================================================ */
.veb4-filter-bar {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scrollbar-width: none;
}
.veb4-filter-bar::-webkit-scrollbar { display: none; }
.veb4-chip {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: var(--veb4-surface);
  color: var(--veb4-muted);
  font-size: 1.2rem;
  border: 1px solid var(--veb4-border);
  white-space: nowrap;
  cursor: pointer;
  font-weight: 600;
}
.veb4-chip-active {
  background: linear-gradient(135deg, var(--veb4-primary), var(--veb4-secondary));
  color: #0C1416;
  border-color: transparent;
}

.veb4-game-block { margin: 1.8rem 0; }
.veb4-game-block-title {
  font-size: 1.4rem;
  color: var(--veb4-text);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.veb4-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.veb4-game-card {
  background: var(--veb4-surface);
  border-radius: var(--veb4-radius-sm);
  padding: 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid var(--veb4-border);
  overflow: hidden;
}
.veb4-game-card:hover {
  transform: translateY(-2px);
  background: var(--veb4-surface-2);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}
.veb4-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}
.veb4-game-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--veb4-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.veb4-game-badge {
  display: inline-block;
  background: var(--veb4-accent-2);
  color: #fff;
  font-size: 0.9rem;
  padding: 0.1rem 0.5rem;
  border-radius: 6px;
  margin-left: 0.3rem;
}

/* ============================================================
 * INFO / FEATURES / FAQ
 * ============================================================ */
.veb4-card {
  background: var(--veb4-surface);
  border: 1px solid var(--veb4-border);
  border-radius: var(--veb4-radius);
  padding: 1.6rem;
  margin: 1.2rem 0;
}
.veb4-card h2, .veb4-card h3 { margin-top: 0; }
.veb4-card p { color: var(--veb4-muted); font-size: 1.25rem; }

.veb4-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.veb4-feature {
  background: var(--veb4-surface-2);
  border-radius: var(--veb4-radius-sm);
  padding: 1.2rem 1rem;
  text-align: center;
  border: 1px solid var(--veb4-border);
}
.veb4-feature i {
  font-size: 2.2rem;
  color: var(--veb4-primary);
  margin-bottom: 0.6rem;
}
.veb4-feature h4 { margin: 0.4rem 0 0.2rem; font-size: 1.2rem; color: var(--veb4-text); }
.veb4-feature p { margin: 0; font-size: 1.1rem; color: var(--veb4-muted); }

.veb4-faq-item {
  border-bottom: 1px solid var(--veb4-border);
  padding: 1rem 0;
}
.veb4-faq-item summary {
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--veb4-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}
.veb4-faq-item summary::-webkit-details-marker { display: none; }
.veb4-faq-item p { margin: 0.8rem 0 0; color: var(--veb4-muted); font-size: 1.2rem; }

/* ============================================================
 * RTP / WINNERS / TESTIMONIALS / PAYMENTS / ACHIEVEMENTS
 * ============================================================ */
.veb4-rtp-row {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  gap: 0.6rem;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--veb4-border);
  font-size: 1.15rem;
}
.veb4-rtp-row:last-child { border-bottom: 0; }
.veb4-rtp-bar {
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 0.3rem;
}
.veb4-rtp-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--veb4-primary), var(--veb4-accent));
}

.veb4-winners {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.veb4-winners::-webkit-scrollbar { display: none; }
.veb4-winner {
  flex: 0 0 150px;
  background: var(--veb4-surface-2);
  border-radius: var(--veb4-radius-sm);
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--veb4-border);
}
.veb4-winner .veb4-winner-name { font-weight: 700; color: var(--veb4-accent); font-size: 1.15rem; }
.veb4-winner .veb4-winner-game { color: var(--veb4-muted); font-size: 1.05rem; margin: 0.2rem 0; }
.veb4-winner .veb4-winner-amount { font-size: 1.3rem; font-weight: 700; color: var(--veb4-primary); }

.veb4-testimonial {
  background: var(--veb4-surface-2);
  border-left: 3px solid var(--veb4-accent);
  border-radius: var(--veb4-radius-sm);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
}
.veb4-testimonial p { margin: 0 0 0.6rem; font-size: 1.2rem; color: var(--veb4-text); font-style: italic; }
.veb4-testimonial small { color: var(--veb4-muted); }

.veb4-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.veb4-pay {
  background: var(--veb4-surface-2);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 1.1rem;
  color: var(--veb4-muted);
  border: 1px solid var(--veb4-border);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.veb4-achievement {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--veb4-surface-2);
  border-radius: var(--veb4-radius-sm);
  margin-bottom: 0.6rem;
  border: 1px solid var(--veb4-border);
}
.veb4-achievement i { font-size: 2rem; color: var(--veb4-accent); }
.veb4-achievement h4 { margin: 0; font-size: 1.25rem; color: var(--veb4-text); }
.veb4-achievement p { margin: 0.2rem 0 0; color: var(--veb4-muted); font-size: 1.1rem; }

/* App download banner */
.veb4-app-banner {
  background: linear-gradient(135deg, #2C343B 0%, #1A1F23 100%);
  border: 1px solid var(--veb4-border);
  border-radius: var(--veb4-radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.6rem 0;
}
.veb4-app-row { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.veb4-app-store {
  background: #0C1416;
  color: #fff;
  border: 1px solid var(--veb4-border);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Promo / security / CTA blocks */
.veb4-cta-band {
  background: linear-gradient(135deg, #FFD166 0%, #EF476F 100%);
  color: #1A1F23;
  border-radius: var(--veb4-radius);
  padding: 1.6rem;
  text-align: center;
  font-weight: 800;
  margin: 1.6rem 0;
}
.veb4-cta-band h3 { margin: 0 0 0.4rem; font-size: 1.6rem; }
.veb4-cta-band p { margin: 0; opacity: 0.9; font-weight: 600; }

/* ============================================================
 * FOOTER
 * ============================================================ */
.veb4-footer {
  background: #11151A;
  padding: 2.4rem 1.4rem 9rem;
  border-top: 1px solid var(--veb4-border);
  color: var(--veb4-muted);
}
.veb4-footer h4 {
  color: var(--veb4-text);
  font-size: 1.3rem;
  margin: 1.4rem 0 0.6rem;
}
.veb4-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-top: 0.6rem;
}
.veb4-footer-links a {
  font-size: 1.15rem;
  color: var(--veb4-muted);
}
.veb4-footer-links a:hover { color: var(--veb4-primary); }
.veb4-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}
.veb4-footer-promos .veb4-btn { font-size: 1.1rem; padding: 0.7rem 1rem; }
.veb4-footer-copy {
  font-size: 1.1rem;
  margin-top: 1.6rem;
  border-top: 1px solid var(--veb4-border);
  padding-top: 1.4rem;
  text-align: center;
}

/* ============================================================
 * MOBILE BOTTOM NAVIGATION
 * ============================================================ */
.veb4-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: var(--veb4-bottom-h);
  background: rgba(15, 19, 23, 0.98);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--veb4-border);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.35);
}
.veb4-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 60px;
  min-height: 60px;
  color: var(--veb4-muted);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease, transform 0.18s ease;
}
.veb4-bottom-nav a i,
.veb4-bottom-nav a span.material-icons,
.veb4-bottom-nav a ion-icon,
.veb4-bottom-nav a bi {
  font-size: 22px;
}
.veb4-bottom-nav a ion-icon { font-size: 24px; }
.veb4-bottom-nav a:hover { color: var(--veb4-primary); transform: translateY(-1px); }
.veb4-bottom-nav a:active { transform: scale(0.95); }
.veb4-nav-current {
  color: var(--veb4-accent) !important;
}
.veb4-nav-current::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--veb4-accent);
}
.veb4-nav-promo {
  background: linear-gradient(135deg, var(--veb4-primary), var(--veb4-secondary));
  color: #0C1416 !important;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-top: -22px;
  box-shadow: 0 8px 18px rgba(32, 178, 170, 0.45);
  border: 3px solid rgba(255, 255, 255, 0.08);
}
.veb4-nav-promo i, .veb4-nav-promo span.material-icons { font-size: 22px; }

/* ============================================================
 * SCROLL REVEAL
 * ============================================================ */
.veb4-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.veb4-reveal.veb4-inview { opacity: 1; transform: translateY(0); }

/* ============================================================
 * DESKTOP LAYOUT
 * ============================================================ */
@media (min-width: 769px) {
  .veb4-bottom-nav { display: none; }
  .veb4-menu-toggle { display: none; }
  .veb4-wrapper {
    max-width: 960px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
  }
  main.veb4-main { padding-bottom: 3rem; }
  .veb4-footer { padding-bottom: 2.4rem; }
  .veb4-game-grid { grid-template-columns: repeat(6, 1fr); }
  .veb4-features-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
 * UTILITIES
 * ============================================================ */
.veb4-text-center { text-align: center; }
.veb4-mt-1 { margin-top: 0.5rem; }
.veb4-mt-2 { margin-top: 1rem; }
.veb4-hidden { display: none; }
.veb4-pill {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  background: rgba(32, 178, 170, 0.18);
  color: var(--veb4-primary);
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
}
