/* =========================================================
 * Casino Plus Bonus - style-2f9b.css
 * All custom classes use the "vb14-" prefix
 * Palette: #FF8000 | #FFD700 | #B8860B | #0A0A0A | #FF5722
 * Mobile-first, root font 62.5% (1rem = 10px)
 * Code comments in English
 * ========================================================= */

:root {
  --vb14-primary: #FF8000;
  --vb14-gold: #FFD700;
  --vb14-bronze: #B8860B;
  --vb14-bg: #0A0A0A;
  --vb14-flame: #FF5722;
  --vb14-text: #FFFFFF;
  --vb14-text-dim: #C9C9C9;
  --vb14-card: #181818;
  --vb14-card-2: #202020;
  --vb14-border: #2A2A2A;
  --vb14-radius: 1.2rem;
  --vb14-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, #1a1207 0%, var(--vb14-bg) 60%);
  color: var(--vb14-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

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

a { color: var(--vb14-gold); text-decoration: none; }

.vb14-container { width: 100%; max-width: 430px; padding: 0 1.2rem; margin: 0 auto; }
.vb14-wrapper { padding: 1.2rem 0; }

/* ---------- Header ---------- */
.vb14-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, #0a0a0a 0%, #1f1206 100%);
  border-bottom: 2px solid var(--vb14-primary);
  max-width: 430px; margin: 0 auto;
}
.vb14-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1.2rem; max-width: 430px; margin: 0 auto;
}
.vb14-brand { display: flex; align-items: center; gap: 0.6rem; }
.vb14-brand img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.vb14-brand-name {
  font-size: 1.6rem; font-weight: 800; color: var(--vb14-gold);
  letter-spacing: 0.02em;
}
.vb14-brand-name span { color: var(--vb14-primary); }

.vb14-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.vb14-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1.2rem; border-radius: 2.4rem;
  font-weight: 700; font-size: 1.3rem; cursor: pointer;
  border: none; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.vb14-btn:active { transform: scale(0.94); }
.vb14-btn-register {
  background: linear-gradient(90deg, var(--vb14-flame), var(--vb14-primary));
  color: #fff; box-shadow: 0 2px 8px rgba(255,87,34,0.45);
}
.vb14-btn-login {
  background: transparent; color: var(--vb14-gold);
  border: 1.5px solid var(--vb14-gold);
}

.vb14-menu-btn {
  background: transparent; border: none; color: var(--vb14-gold);
  font-size: 2.2rem; cursor: pointer; padding: 0.2rem 0.4rem;
}

/* ---------- Mobile menu drawer ---------- */
.vb14-mobile-menu {
  position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px;
  height: 100%; z-index: 9999; background: #121212;
  border-left: 2px solid var(--vb14-primary);
  padding: 6rem 1.4rem 2rem; transition: right 0.28s ease;
  overflow-y: auto;
}
.vb14-mobile-menu.vb14-menu-open { right: 0; }
.vb14-mobile-menu h4 {
  font-size: 1.3rem; color: var(--vb14-primary); margin: 1rem 0 0.4rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.vb14-mobile-menu a {
  display: block; padding: 0.8rem 0.4rem;
  border-bottom: 1px solid var(--vb14-border);
  color: var(--vb14-text); font-size: 1.4rem;
}
.vb14-mobile-menu a:hover { color: var(--vb14-gold); }

/* ---------- Carousel ---------- */
.vb14-carousel {
  position: relative; margin-top: 5.4rem; border-radius: var(--vb14-radius);
  overflow: hidden; box-shadow: var(--vb14-shadow);
}
.vb14-carousel-track { position: relative; height: 18rem; }
.vb14-carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  cursor: pointer;
}
.vb14-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.vb14-carousel-slide.vb14-slide-active { opacity: 1; }
.vb14-carousel-dots {
  position: absolute; bottom: 0.8rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.5rem;
}
.vb14-carousel-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer; border: none;
}
.vb14-carousel-dot.vb14-dot-active { background: var(--vb14-primary); }

/* ---------- Sections ---------- */
.vb14-section { padding: 1.6rem 0; }
.vb14-section-title {
  font-size: 1.9rem; font-weight: 800; color: var(--vb14-gold);
  margin-bottom: 0.8rem; padding-left: 0.8rem;
  border-left: 4px solid var(--vb14-primary);
}
.vb14-section-sub {
  font-size: 1.6rem; font-weight: 700; color: var(--vb14-primary); margin: 1rem 0 0.6rem;
}

.vb14-card {
  background: var(--vb14-card); border: 1px solid var(--vb14-border);
  border-radius: var(--vb14-radius); padding: 1.2rem; margin-bottom: 1rem;
  box-shadow: var(--vb14-shadow);
}
.vb14-card p { color: var(--vb14-text-dim); margin-bottom: 0.6rem; }

/* ---------- Game grid ---------- */
.vb14-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem;
}
.vb14-game {
  display: block; background: var(--vb14-card-2);
  border: 1px solid var(--vb14-border); border-radius: 0.8rem;
  padding: 0.6rem; text-align: center; cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.vb14-game:hover, .vb14-game:active {
  transform: translateY(-2px); border-color: var(--vb14-primary);
}
.vb14-game img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0.5rem; }
.vb14-game-name {
  font-size: 1.15rem; color: var(--vb14-text); margin-top: 0.4rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Category chips ---------- */
.vb14-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.vb14-chip {
  padding: 0.4rem 1rem; border-radius: 2rem; font-size: 1.2rem;
  background: var(--vb14-card-2); color: var(--vb14-text-dim);
  border: 1px solid var(--vb14-border);
}
.vb14-chip-on { background: var(--vb14-primary); color: #fff; border-color: var(--vb14-primary); }

/* ---------- Promo / play-now CTA ---------- */
.vb14-cta {
  display: block; text-align: center;
  background: linear-gradient(90deg, var(--vb14-primary), var(--vb14-flame));
  color: #fff; font-weight: 800; font-size: 1.5rem;
  padding: 1.1rem; border-radius: var(--vb14-radius);
  margin: 1rem 0; box-shadow: 0 4px 12px rgba(255,128,0,0.45);
}
.vb14-cta:hover { opacity: 0.92; }

/* ---------- Inline affiliate text link ---------- */
.vb14-aff-link { color: var(--vb14-gold); font-weight: 700; text-decoration: underline; }

/* ---------- Testimonial ---------- */
.vb14-testi { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 0.8rem; }
.vb14-testi .vb14-avatar {
  width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--vb14-primary), var(--vb14-gold));
  display: flex; align-items: center; justify-content: center; color: #0a0a0a; font-weight: 800;
}
.vb14-testi .vb14-stars { color: var(--vb14-gold); font-size: 1.1rem; }

/* ---------- Payment / winner rows ---------- */
.vb14-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0.4rem; border-bottom: 1px dashed var(--vb14-border);
}
.vb14-row span { color: var(--vb14-text-dim); }
.vb14-row strong { color: var(--vb14-gold); }

/* ---------- Footer ---------- */
.vb14-footer {
  background: #050505; border-top: 2px solid var(--vb14-bronze);
  padding: 1.6rem 1.2rem 9rem; margin-top: 1.6rem;
}
.vb14-footer p { color: var(--vb14-text-dim); font-size: 1.3rem; margin-bottom: 0.8rem; }
.vb14-footer-links {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin: 0.6rem 0 1rem;
}
.vb14-footer-links a {
  font-size: 1.25rem; color: var(--vb14-text-dim);
  padding: 0.4rem 0.2rem; border-bottom: 1px solid var(--vb14-border);
}
.vb14-footer-links a:hover { color: var(--vb14-gold); }
.vb14-footer-cta {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.6rem 0 1rem;
}
.vb14-copyright { font-size: 1.15rem; color: #777; text-align: center; }

/* ---------- Bottom navigation (mobile) ---------- */
.vb14-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: 6rem; background: #0c0c0c; border-top: 2px solid var(--vb14-primary);
  display: flex; justify-content: space-around; align-items: center;
  max-width: 430px; margin: 0 auto;
}
.vb14-bottomnav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px; background: transparent; border: none;
  color: var(--vb14-text-dim); font-size: 1.05rem; cursor: pointer;
  transition: color 0.18s ease, transform 0.18s ease;
}
.vb14-bottomnav-btn i, .vb14-bottomnav-btn .material-icons,
.vb14-bottomnav-btn ion-icon { font-size: 2.4rem; margin-bottom: 0.1rem; }
.vb14-bottomnav-btn ion-icon { font-size: 2.4rem; --ionicon-stroke-width: 32px; }
.vb14-bottomnav-btn:hover { color: var(--vb14-gold); transform: translateY(-2px); }
.vb14-bottomnav-btn:active { transform: scale(0.9); }
.vb14-bottomnav-active { color: var(--vb14-primary); }
.vb14-bottomnav-active ion-icon { color: var(--vb14-primary); }

/* ---------- Misc helpers ---------- */
.vb14-hide-desktop { display: block; }
.vb14-pill {
  display: inline-block; padding: 0.2rem 0.7rem; border-radius: 1.2rem;
  background: rgba(255,128,0,0.18); color: var(--vb14-gold); font-size: 1.1rem;
}

/* ---------- Mobile media queries ---------- */
@media (max-width: 430px) {
  body { max-width: 100%; }
  .vb14-container { padding: 0 1rem; }
  .vb14-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .vb14-section-title { font-size: 1.7rem; }
  main { padding-bottom: 8rem; }
}

@media (max-width: 360px) {
  .vb14-grid { grid-template-columns: repeat(2, 1fr); }
  .vb14-game-name { font-size: 1.05rem; }
}

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .vb14-bottomnav { display: none; }
  body { max-width: 430px; box-shadow: 0 0 40px rgba(0,0,0,0.6); }
  .vb14-footer { padding-bottom: 2rem; }
  main { padding-bottom: 2rem; }
}
