/* =====================================================================
   pinas77 casino login - Core stylesheet (css/theme.css)
   Every custom class uses the "vd6f-" prefix for namespace isolation.
   Mobile-first layout, root font 62.5% => 1rem = 10px.
   Palette: #2D2D2D (dark background) + #FFCCCB (light text).
   ===================================================================== */

:root {
  --vd6f-bg: #2D2D2D;
  --vd6f-bg-alt: #1F1F1F;
  --vd6f-bg-card: #3A3A3A;
  --vd6f-bg-elev: #454545;
  --vd6f-text: #FFCCCB;
  --vd6f-text-strong: #FFE7E7;
  --vd6f-text-muted: #C9A8A8;
  --vd6f-accent: #FF6B6B;
  --vd6f-accent-2: #FF8FA3;
  --vd6f-gold: #F5C451;
  --vd6f-green: #57D9A3;
  --vd6f-border: #4A4A4A;
  --vd6f-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  --vd6f-radius: 12px;
  --vd6f-radius-lg: 18px;
  --vd6f-header-h: 56px;
  --vd6f-bottomnav-h: 60px;
}

/* ----- Reset ----- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--vd6f-bg);
  color: var(--vd6f-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--vd6f-accent-2); text-decoration: none; }
a:hover { color: var(--vd6f-text-strong); text-decoration: underline; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

/* ----- Layout helpers ----- */
.vd6f-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 12px; }
.vd6f-wrapper { padding: 16px 0; }
.vd6f-section { padding: 20px 12px; }
.vd6f-section--alt { background: var(--vd6f-bg-alt); border-top: 1px solid var(--vd6f-border); border-bottom: 1px solid var(--vd6f-border); }

/* ----- Header ----- */
.vd6f-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #232323 0%, #2D2D2D 100%);
  border-bottom: 1px solid var(--vd6f-border);
  height: var(--vd6f-header-h);
}
.vd6f-header--scrolled { box-shadow: var(--vd6f-shadow); }
.vd6f-header-inner {
  max-width: 430px; margin: 0 auto; padding: 0 10px;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 6px;
}
.vd6f-brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.vd6f-brand img { width: 28px; height: 28px; border-radius: 6px; }
.vd6f-brand-name {
  font-size: 1.4rem; font-weight: 800; color: var(--vd6f-text-strong);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.2px;
}
.vd6f-brand-name span { color: var(--vd6f-gold); }
.vd6f-header-actions { display: flex; align-items: center; gap: 6px; }
.vd6f-icon-btn {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; color: var(--vd6f-text); font-size: 1.8rem;
  background: rgba(255,255,255,0.04);
}
.vd6f-icon-btn:hover { background: rgba(255,255,255,0.1); }
.vd6f-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 34px; padding: 0 12px; border-radius: 8px; font-weight: 700; font-size: 1.3rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.vd6f-btn:active { transform: scale(0.96); }
.vd6f-btn--primary { background: linear-gradient(135deg, var(--vd6f-accent), var(--vd6f-accent-2)); color: #2D0E0E; }
.vd6f-btn--ghost { background: rgba(255,255,255,0.06); color: var(--vd6f-text); border: 1px solid var(--vd6f-border); }
.vd6f-btn--gold { background: linear-gradient(135deg, #F5C451, #E0A030); color: #2D1E00; }
.vd6f-btn--block { display: flex; width: 100%; }

/* ----- Mobile slide-down menu ----- */
.vd6f-mobile-menu {
  position: fixed; top: var(--vd6f-header-h); left: 0; right: 0; z-index: 9999;
  background: var(--vd6f-bg-alt); border-bottom: 1px solid var(--vd6f-border);
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.vd6f-mobile-menu--open { max-height: 80vh; overflow-y: auto; box-shadow: var(--vd6f-shadow); }
.vd6f-mobile-menu-inner { max-width: 430px; margin: 0 auto; padding: 8px 12px 16px; }
.vd6f-mobile-menu a {
  display: flex; align-items: center; gap: 10px; padding: 12px 10px;
  color: var(--vd6f-text); border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 1.4rem;
}
.vd6f-mobile-menu a:hover { background: rgba(255,255,255,0.04); text-decoration: none; }
.vd6f-mobile-menu a i, .vd6f-mobile-menu a span.material-icons { color: var(--vd6f-gold); width: 22px; font-size: 1.8rem; }

/* ----- Hero carousel ----- */
.vd6f-carousel {
  position: relative; margin-top: calc(var(--vd6f-header-h) + 8px);
  border-radius: var(--vd6f-radius-lg); overflow: hidden; background: var(--vd6f-bg-alt);
}
.vd6f-carousel-track { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.vd6f-carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; cursor: pointer;
}
.vd6f-carousel-slide--active { opacity: 1; }
.vd6f-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.vd6f-carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,0.45); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 2;
}
.vd6f-carousel-btn:hover { background: rgba(0,0,0,0.75); }
#vd6f-carousel-prev { left: 8px; }
#vd6f-carousel-next { right: 8px; }
.vd6f-carousel-dots {
  position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px;
}
.vd6f-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); transition: all .3s; padding: 0; border: 0;
}
.vd6f-carousel-dot--active { background: var(--vd6f-gold); width: 22px; border-radius: 4px; }

/* ----- Headings & text ----- */
.vd6f-h1 { font-size: 2.1rem; font-weight: 800; color: var(--vd6f-text-strong); line-height: 1.3; margin: 18px 0 8px; }
.vd6f-h2 {
  font-size: 1.8rem; font-weight: 700; color: var(--vd6f-text-strong);
  margin: 18px 0 8px; display: flex; align-items: center; gap: 8px;
}
.vd6f-h2 i { color: var(--vd6f-gold); }
.vd6f-h3 { font-size: 1.5rem; font-weight: 700; color: var(--vd6f-accent-2); margin: 14px 0 6px; }
.vd6f-p { margin: 8px 0; color: var(--vd6f-text-muted); }
.vd6f-p strong { color: var(--vd6f-text-strong); }
.vd6f-promo-text { color: var(--vd6f-accent); font-weight: 700; cursor: pointer; }
.vd6f-promo-text:hover { text-decoration: underline; }
.vd6f-gold-text { color: var(--vd6f-gold); font-weight: 700; }

/* ----- Category chips ----- */
.vd6f-chips { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0; scrollbar-width: none; }
.vd6f-chips::-webkit-scrollbar { display: none; }
.vd6f-chip {
  flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; font-size: 1.3rem; font-weight: 600;
  background: var(--vd6f-bg-card); color: var(--vd6f-text); border: 1px solid var(--vd6f-border); cursor: pointer;
  transition: all .2s ease;
}
.vd6f-chip--active, .vd6f-chip:hover {
  background: linear-gradient(135deg, var(--vd6f-accent), var(--vd6f-accent-2)); color: #2D0E0E; border-color: transparent;
}

/* ----- Game grid ----- */
.vd6f-games-section { padding: 4px 12px 12px; }
.vd6f-game-group-title {
  font-size: 1.5rem; font-weight: 800; color: var(--vd6f-gold); margin: 14px 0 8px;
  display: flex; align-items: center; gap: 6px; scroll-margin-top: 70px;
}
.vd6f-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vd6f-game-tile {
  background: var(--vd6f-bg-card); border-radius: 10px; overflow: hidden; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  border: 1px solid var(--vd6f-border); display: flex; flex-direction: column;
}
.vd6f-game-tile:hover { transform: translateY(-2px); box-shadow: var(--vd6f-shadow); border-color: var(--vd6f-accent); }
.vd6f-game-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #000; }
.vd6f-game-name {
  font-size: 1.1rem; text-align: center; padding: 4px 2px; color: var(--vd6f-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ----- Cards ----- */
.vd6f-card {
  background: var(--vd6f-bg-card); border-radius: var(--vd6f-radius); padding: 14px;
  margin-bottom: 12px; border: 1px solid var(--vd6f-border);
}
.vd6f-card-title {
  font-size: 1.5rem; font-weight: 700; color: var(--vd6f-text-strong); margin-bottom: 6px;
  display: flex; align-items: center; gap: 6px;
}
.vd6f-card-title i, .vd6f-card-title span.material-icons { color: var(--vd6f-accent); }

/* ----- RTP / data rows ----- */
.vd6f-data-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,0.08); font-size: 1.3rem;
}
.vd6f-data-row:last-child { border-bottom: 0; }
.vd6f-data-row .label { color: var(--vd6f-text-muted); }
.vd6f-data-row .value { color: var(--vd6f-gold); font-weight: 700; }

/* ----- Feature list ----- */
.vd6f-feature-list { list-style: none; padding: 0; }
.vd6f-feature-list li {
  display: flex; gap: 8px; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,0.06); font-size: 1.3rem;
  align-items: flex-start;
}
.vd6f-feature-list li i, .vd6f-feature-list li span.material-icons { color: var(--vd6f-green); flex: 0 0 20px; font-size: 1.6rem; margin-top: 1px; }

/* ----- Testimonials ----- */
.vd6f-testimonial {
  background: var(--vd6f-bg-card); border-left: 3px solid var(--vd6f-accent);
  padding: 10px 12px; margin-bottom: 8px; border-radius: 6px; font-size: 1.3rem; color: var(--vd6f-text-muted);
}
.vd6f-testimonial .author { display: block; margin-top: 4px; color: var(--vd6f-gold); font-size: 1.2rem; font-weight: 700; }

/* ----- Icon / payment grids ----- */
.vd6f-icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.vd6f-icon-grid > div {
  background: var(--vd6f-bg-card); border-radius: 8px; padding: 10px 4px; text-align: center;
  font-size: 1.1rem; color: var(--vd6f-text-muted);
}
.vd6f-icon-grid i, .vd6f-icon-grid span.material-icons, .vd6f-icon-grid ion-icon {
  font-size: 2rem; color: var(--vd6f-gold); display: block; margin-bottom: 4px;
}

/* ----- Winner list ----- */
.vd6f-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,0.06); font-size: 1.2rem;
}
.vd6f-winner-row .name { color: var(--vd6f-text); }
.vd6f-winner-row .amount { color: var(--vd6f-green); font-weight: 700; }
.vd6f-winner-row .game { color: var(--vd6f-text-muted); font-size: 1.1rem; }

/* ----- CTA strip ----- */
.vd6f-cta {
  background: linear-gradient(135deg, var(--vd6f-accent), var(--vd6f-accent-2));
  color: #2D0E0E; padding: 16px; border-radius: var(--vd6f-radius-lg); text-align: center; margin: 12px 0;
}
.vd6f-cta h3 { color: #2D0E0E; margin-bottom: 4px; font-size: 1.7rem; }
.vd6f-cta p { color: #4A1414; margin-bottom: 10px; font-size: 1.3rem; }
.vd6f-cta .vd6f-btn--primary { background: #2D0E0E; color: var(--vd6f-text-strong); }

/* ----- FAQ ----- */
.vd6f-faq-item { border-bottom: 1px dashed rgba(255,255,255,0.08); padding: 10px 0; }
.vd6f-faq-q { font-weight: 700; color: var(--vd6f-text-strong); font-size: 1.35rem; margin-bottom: 4px; }
.vd6f-faq-a { color: var(--vd6f-text-muted); font-size: 1.25rem; }

/* ----- Footer ----- */
.vd6f-footer {
  background: var(--vd6f-bg-alt); border-top: 1px solid var(--vd6f-border);
  padding: 20px 12px; margin-top: 20px;
}
.vd6f-footer-inner { max-width: 430px; margin: 0 auto; }
.vd6f-footer-brand { font-size: 1.3rem; color: var(--vd6f-text-muted); margin-bottom: 12px; line-height: 1.6; }
.vd6f-footer-brand strong { color: var(--vd6f-text-strong); }
.vd6f-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin: 12px 0; }
.vd6f-footer-links a {
  color: var(--vd6f-text); font-size: 1.2rem; padding: 4px 0; border-bottom: 1px dashed rgba(255,255,255,0.05);
}
.vd6f-footer-promos { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.vd6f-footer-copy {
  font-size: 1.1rem; color: var(--vd6f-text-muted); text-align: center; margin-top: 10px;
  border-top: 1px solid var(--vd6f-border); padding-top: 10px;
}

/* ----- Mobile bottom nav ----- */
.vd6f-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--vd6f-bottomnav-h);
  background: linear-gradient(180deg, #2A2A2A 0%, #1A1A1A 100%);
  border-top: 1px solid var(--vd6f-border);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.4);
}
.vd6f-bottom-nav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--vd6f-text-muted); font-size: 1.05rem; gap: 2px; min-width: 60px; min-height: 60px;
  transition: color .2s ease, transform .15s ease; padding: 4px 2px; text-decoration: none;
}
.vd6f-bottom-nav-btn:hover { color: var(--vd6f-text-strong); text-decoration: none; }
.vd6f-bottom-nav-btn:active { transform: scale(0.92); }
.vd6f-bottom-nav-btn i, .vd6f-bottom-nav-btn span.material-icons,
.vd6f-bottom-nav-btn span.material-icons-outlined { font-size: 2.2rem; }
.vd6f-bottom-nav-btn ion-icon { font-size: 2.4rem; }
.vd6f-bottom-nav-btn span.bi { font-size: 2.1rem; }
.vd6f-bottom-nav-btn--active { color: var(--vd6f-gold); }
.vd6f-bottom-nav-btn--promo { color: var(--vd6f-accent); }
.vd6f-bottom-nav-btn--promo ion-icon, .vd6f-bottom-nav-btn--promo i {
  background: linear-gradient(135deg, var(--vd6f-accent), var(--vd6f-gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ----- Desktop rules ----- */
@media (min-width: 769px) {
  .vd6f-bottom-nav { display: none; }
}

/* ----- Mobile bottom padding so content isn't covered ----- */
@media (max-width: 768px) {
  main.vd6f-main { padding-bottom: 80px; }
  body { padding-bottom: env(safe-area-inset-bottom); }
}

@media (min-width: 431px) {
  .vd6f-container, .vd6f-header-inner, .vd6f-mobile-menu-inner, .vd6f-footer-inner { max-width: 430px; }
}

/* ----- Utilities ----- */
.vd6f-text-center { text-align: center; }
.vd6f-row { display: flex; gap: 8px; flex-wrap: wrap; }
.vd6f-row > * { flex: 1; }
.vd6f-hidden-mobile { display: none; }
@media (min-width: 769px) { .vd6f-hidden-mobile { display: initial; } }
