/*
 * 78 wins - Core Stylesheet
 * CSS class prefix: v6bb-
 * Color palette: #880E4F | #1E1E1E | #800080 | #FFDFBA | #8B008B
 * Dark colors = backgrounds, light colors = text
 * Mobile-first, max-width 430px
 */

:root {
  --v6bb-primary: #880E4F;
  --v6bb-bg: #1E1E1E;
  --v6bb-purple: #800080;
  --v6bb-cream: #FFDFBA;
  --v6bb-magenta: #8B008B;
  --v6bb-text: #FFDFBA;
  --v6bb-text-dark: #1E1E1E;
  --v6bb-accent: #8B008B;
  --v6bb-card-bg: #2a1a22;
  --v6bb-card-border: #4a2535;
  --v6bb-gold: #FFDFBA;
  --v6bb-white: #fff;
  --v6bb-muted: #d8b89a;
  --v6bb-shadow: 0 0.3rem 1rem rgba(0,0,0,0.45);
}

/* Reset and base */
* { 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(--v6bb-bg);
  color: var(--v6bb-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--v6bb-cream); text-decoration: none; }
a:hover { color: var(--v6bb-gold); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Layout containers */
.v6bb-wrapper { max-width: 430px; margin: 0 auto; position: relative; min-height: 100vh; background: var(--v6bb-bg); }
.v6bb-container { width: 100%; padding: 0 1.2rem; }
.v6bb-section { padding: 2rem 1.2rem; }
.v6bb-grid { display: grid; gap: 1rem; }

/* Header */
.v6bb-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, var(--v6bb-primary), var(--v6bb-magenta));
  padding: 0.6rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 0.2rem 0.8rem rgba(0,0,0,0.5);
  max-width: 430px; margin: 0 auto;
}
.v6bb-header-logo { display: flex; align-items: center; gap: 0.6rem; }
.v6bb-header-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.5rem; }
.v6bb-header-name { color: var(--v6bb-cream); font-weight: 700; font-size: 1.6rem; letter-spacing: 0.03rem; }
.v6bb-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.v6bb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.3rem;
  padding: 0.6rem 1.1rem; border-radius: 2rem; font-size: 1.25rem; font-weight: 600;
  min-height: 3.2rem; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.v6bb-btn:active { transform: scale(0.95); }
.v6bb-btn-register {
  background: var(--v6bb-cream); color: var(--v6bb-primary);
  box-shadow: 0 0.2rem 0.5rem rgba(0,0,0,0.35);
}
.v6bb-btn-login {
  background: transparent; color: var(--v6bb-cream); border: 0.1rem solid var(--v6bb-cream);
}
.v6bb-menu-toggle {
  width: 3.2rem; height: 3.2rem; display: flex; align-items: center; justify-content: center;
  color: var(--v6bb-cream); font-size: 1.8rem; border-radius: 0.5rem;
}
.v6bb-menu-toggle:hover { background: rgba(255,223,186,0.15); }

/* Mobile expandable menu */
.v6bb-mobile-menu {
  position: fixed; top: 4.8rem; left: 0; right: 0; z-index: 9999;
  background: var(--v6bb-bg); border-bottom: 0.2rem solid var(--v6bb-magenta);
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  max-width: 430px; margin: 0 auto;
}
.v6bb-mobile-menu.v6bb-menu-open { max-height: 60rem; }
.v6bb-mobile-menu-inner { padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: 0.3rem; }
.v6bb-mobile-menu a {
  display: block; padding: 1rem 1rem; color: var(--v6bb-cream);
  border-radius: 0.5rem; font-size: 1.35rem; border-left: 0.3rem solid transparent;
}
.v6bb-mobile-menu a:hover { background: rgba(136,14,79,0.4); border-left-color: var(--v6bb-cream); }

/* Main content spacing for fixed header */
.v6bb-main { padding-top: 4.8rem; padding-bottom: 8rem; }

/* Hero carousel */
.v6bb-carousel { position: relative; width: 100%; overflow: hidden; border-radius: 0; }
.v6bb-carousel-track { position: relative; width: 100%; height: 18rem; }
.v6bb-carousel-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.6s ease; cursor: pointer;
}
.v6bb-carousel-slide.v6bb-slide-active { opacity: 1; }
.v6bb-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.v6bb-carousel-overlay {
  position: absolute; left: 1rem; bottom: 1.2rem; z-index: 2;
  background: rgba(30,30,30,0.55); padding: 0.6rem 1rem; border-radius: 0.5rem;
  color: var(--v6bb-cream); font-weight: 600; font-size: 1.3rem;
}
.v6bb-carousel-dots { position: absolute; bottom: 0.6rem; right: 1rem; display: flex; gap: 0.4rem; z-index: 3; }
.v6bb-carousel-dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: rgba(255,223,186,0.4); cursor: pointer; }
.v6bb-carousel-dot.v6bb-dot-active { background: var(--v6bb-cream); }

/* Headings */
.v6bb-h1 { font-size: 1.9rem; color: var(--v6bb-cream); margin: 1.5rem 0 0.8rem; line-height: 1.35; font-weight: 800; }
.v6bb-h2 { font-size: 1.6rem; color: var(--v6bb-cream); margin: 1.8rem 0 0.6rem; font-weight: 700; border-left: 0.3rem solid var(--v6bb-cream); padding-left: 0.8rem; }
.v6bb-h3 { font-size: 1.4rem; color: var(--v6bb-gold); margin: 1.2rem 0 0.5rem; font-weight: 700; }
.v6bb-para { color: var(--v6bb-text); margin-bottom: 0.8rem; line-height: 1.55; font-size: 1.32rem; }
.v6bb-text-link { color: var(--v6bb-gold); font-weight: 700; text-decoration: underline; cursor: pointer; }

/* Filter tabs */
.v6bb-filter-tabs { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.8rem 0; -webkit-overflow-scrolling: touch; }
.v6bb-filter-tab {
  white-space: nowrap; padding: 0.6rem 1.1rem; border-radius: 2rem; font-size: 1.2rem;
  background: var(--v6bb-card-bg); color: var(--v6bb-cream); border: 0.1rem solid var(--v6bb-card-border);
}
.v6bb-filter-tab.v6bb-tab-active { background: var(--v6bb-primary); color: var(--v6bb-cream); border-color: var(--v6bb-cream); }

/* Game grid */
.v6bb-game-group { margin-bottom: 1.5rem; }
.v6bb-group-title {
  display: flex; align-items: center; gap: 0.5rem; font-size: 1.35rem; font-weight: 700;
  color: var(--v6bb-cream); margin: 1rem 0 0.8rem; text-transform: uppercase; letter-spacing: 0.05rem;
}
.v6bb-group-title i { color: var(--v6bb-gold); }
.v6bb-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.v6bb-game-card {
  background: var(--v6bb-card-bg); border: 0.1rem solid var(--v6bb-card-border);
  border-radius: 0.7rem; overflow: hidden; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.v6bb-game-card:active { transform: scale(0.96); }
.v6bb-game-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.v6bb-game-name { font-size: 1.05rem; color: var(--v6bb-cream); text-align: center; padding: 0.4rem 0.3rem; line-height: 1.25; min-height: 2.8rem; }

/* Generic cards */
.v6bb-card {
  background: var(--v6bb-card-bg); border: 0.1rem solid var(--v6bb-card-border);
  border-radius: 0.8rem; padding: 1.2rem; margin-bottom: 1rem; box-shadow: var(--v6bb-shadow);
}
.v6bb-card-title { color: var(--v6bb-gold); font-size: 1.4rem; font-weight: 700; margin-bottom: 0.6rem; }
.v6bb-card-list { list-style: none; padding: 0; }
.v6bb-card-list li { padding: 0.6rem 0; border-bottom: 0.1rem solid rgba(255,223,186,0.12); font-size: 1.28rem; color: var(--v6bb-cream); }
.v6bb-card-list li:last-child { border-bottom: none; }
.v6bb-card-list i { color: var(--v6bb-primary); margin-right: 0.5rem; }

/* CTA banner */
.v6bb-cta {
  background: linear-gradient(90deg, var(--v6bb-primary), var(--v6bb-magenta));
  border-radius: 0.8rem; padding: 1.4rem; text-align: center; margin: 1.5rem 0;
}
.v6bb-cta-title { color: var(--v6bb-cream); font-size: 1.6rem; font-weight: 800; margin-bottom: 0.5rem; }
.v6bb-cta-text { color: var(--v6bb-cream); font-size: 1.25rem; margin-bottom: 1rem; }
.v6bb-cta-btn {
  display: inline-block; background: var(--v6bb-cream); color: var(--v6bb-primary);
  padding: 0.9rem 2rem; border-radius: 2rem; font-weight: 700; font-size: 1.3rem;
}

/* Payment methods */
.v6bb-pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.v6bb-pay-item {
  background: var(--v6bb-card-bg); border: 0.1rem solid var(--v6bb-card-border);
  border-radius: 0.5rem; padding: 0.8rem 0.4rem; text-align: center; font-size: 1.1rem; color: var(--v6bb-cream);
}
.v6bb-pay-item i { font-size: 1.8rem; color: var(--v6bb-gold); display: block; margin-bottom: 0.3rem; }

/* Testimonials */
.v6bb-testimonial { background: var(--v6bb-card-bg); border-left: 0.3rem solid var(--v6bb-cream); border-radius: 0.5rem; padding: 1rem; margin-bottom: 0.8rem; }
.v6bb-testimonial-text { color: var(--v6bb-cream); font-size: 1.25rem; font-style: italic; margin-bottom: 0.5rem; }
.v6bb-testimonial-author { color: var(--v6bb-gold); font-size: 1.1rem; font-weight: 600; }

/* Winners showcase */
.v6bb-winner-row { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 0.1rem solid rgba(255,223,186,0.1); font-size: 1.2rem; }
.v6bb-winner-name { color: var(--v6bb-cream); }
.v6bb-winner-amount { color: var(--v6bb-gold); font-weight: 700; }

/* Achievements / tricks */
.v6bb-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.v6bb-stat-box { background: var(--v6bb-card-bg); border: 0.1rem solid var(--v6bb-card-border); border-radius: 0.6rem; padding: 0.9rem; text-align: center; }
.v6bb-stat-num { color: var(--v6bb-gold); font-size: 1.6rem; font-weight: 800; }
.v6bb-stat-label { color: var(--v6bb-cream); font-size: 1.1rem; margin-top: 0.2rem; }

/* Footer */
.v6bb-footer { background: #160f13; padding: 2rem 1.2rem 1.5rem; border-top: 0.2rem solid var(--v6bb-primary); }
.v6bb-footer-brand { color: var(--v6bb-cream); font-size: 1.25rem; margin-bottom: 1rem; line-height: 1.5; }
.v6bb-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 1rem; }
.v6bb-footer-links a { color: var(--v6bb-cream); font-size: 1.15rem; text-decoration: underline; }
.v6bb-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.v6bb-footer-promo button { background: var(--v6bb-primary); color: var(--v6bb-cream); padding: 0.6rem 1rem; border-radius: 1.5rem; font-size: 1.15rem; font-weight: 600; }
.v6bb-footer-copy { color: var(--v6bb-muted); font-size: 1.1rem; border-top: 0.1rem solid rgba(255,223,186,0.1); padding-top: 0.8rem; text-align: center; }

/* Bottom mobile navigation */
.v6bb-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, var(--v6bb-primary), var(--v6bb-magenta));
  display: flex; justify-content: space-around; align-items: stretch;
  height: 6rem; max-width: 430px; margin: 0 auto;
  box-shadow: 0 -0.2rem 0.8rem rgba(0,0,0,0.5);
}
.v6bb-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.2rem; color: var(--v6bb-cream);
  background: transparent; transition: transform 0.15s ease, color 0.15s ease;
  border-top: 0.2rem solid transparent;
}
.v6bb-bottom-nav-btn i { font-size: 2.2rem; }
.v6bb-bottom-nav-btn span { font-size: 1rem; }
.v6bb-bottom-nav-btn:active { transform: scale(0.92); }
.v6bb-bottom-nav-btn.v6bb-nav-current { color: var(--v6bb-gold); border-top-color: var(--v6bb-gold); }

/* Desktop: hide bottom nav, show top menu toggle always visible */
@media (min-width: 769px) {
  .v6bb-bottom-nav { display: none; }
  .v6bb-wrapper { max-width: 430px; }
}

/* Mobile padding clearance handled by .v6bb-main padding-bottom: 8rem */
@media (max-width: 768px) {
  .v6bb-main { padding-bottom: 8rem; }
}

/* Utility */
.v6bb-text-center { text-align: center; }
.v6bb-mt-1 { margin-top: 1rem; }
.v6bb-mb-1 { margin-bottom: 1rem; }
.v6bb-hidden { display: none; }
.v6bb-promo-inline { color: var(--v6bb-gold); font-weight: 700; cursor: pointer; text-decoration: underline; }
