/* ============================================================
   y2mate bet - Core Stylesheet (theme-8468.css)
   All custom classes use the v8c6- prefix for isolation.
   Mobile-first design. Max content width 430px.
   Color palette: #36454F (dark bg) | #1B263B (deep bg) + accents.
   ============================================================ */

:root {
  --v8c6-primary: #36454F;
  --v8c6-bg: #1B263B;
  --v8c6-bg-alt: #0f1623;
  --v8c6-text: #f3f6fb;
  --v8c6-text-muted: #b7c2d0;
  --v8c6-accent: #e6b54a;
  --v8c6-accent-2: #ff5a5f;
  --v8c6-accent-3: #27c4a3;
  --v8c6-card: #22304a;
  --v8c6-border: #2f3e5a;
  --v8c6-radius: 12px;
  --v8c6-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

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

html { font-size: 62.5%; }

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(160deg, var(--v8c6-bg) 0%, var(--v8c6-bg-alt) 100%);
  color: var(--v8c6-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--v8c6-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ---------- Layout ---------- */
.v8c6-wrapper {
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

.v8c6-container {
  width: 100%;
  padding: 0 1.2rem;
}

main.v8c6-main { padding-bottom: 80px; }

/* ---------- Header ---------- */
.v8c6-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  z-index: 1000;
  background: rgba(27, 38, 59, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--v8c6-border);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.v8c6-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
.v8c6-brand img { width: 28px; height: 28px; border-radius: 6px; }
.v8c6-brand-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v8c6-text);
  white-space: nowrap;
}
.v8c6-brand-text span { color: var(--v8c6-accent); }

.v8c6-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.v8c6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.1rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
  min-height: 40px;
  text-decoration: none;
}
.v8c6-btn:hover { transform: translateY(-1px); text-decoration: none; filter: brightness(1.08); }
.v8c6-btn-primary { background: linear-gradient(135deg, var(--v8c6-accent), #d99a2b); color: #1B263B; }
.v8c6-btn-outline { background: transparent; color: var(--v8c6-text); border: 1px solid var(--v8c6-border); }
.v8c6-btn-sm { padding: 0.5rem 0.9rem; font-size: 1.2rem; min-height: 34px; }
.v8c6-btn-block { display: flex; width: 100%; }

.v8c6-menu-btn {
  background: transparent;
  border: 1px solid var(--v8c6-border);
  color: var(--v8c6-text);
  width: 38px; height: 38px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
}

/* ---------- Mobile menu ---------- */
.v8c6-mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--v8c6-bg-alt);
  border-bottom: 1px solid var(--v8c6-border);
  z-index: 9999;
  padding: 5.5rem 1.2rem 1.2rem;
  transform: translateY(-110%);
  transition: transform 0.28s ease;
  box-shadow: var(--v8c6-shadow);
}
.v8c6-mobile-menu.v8c6-menu-open { transform: translateY(0); }
.v8c6-mobile-menu a {
  display: block;
  padding: 1rem 0.8rem;
  border-bottom: 1px solid var(--v8c6-border);
  color: var(--v8c6-text);
  font-weight: 600;
}
.v8c6-mobile-menu a:hover { color: var(--v8c6-accent); text-decoration: none; }
.v8c6-menu-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: transparent;
  border: none;
  color: var(--v8c6-text);
  font-size: 2rem;
  cursor: pointer;
}

/* ---------- Hero / Carousel ---------- */
.v8c6-hero {
  margin-top: 62px;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
}
.v8c6-carousel { position: relative; }
.v8c6-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.v8c6-slide.v8c6-slide-active { display: block; }
.v8c6-slide img { width: 100%; height: 180px; object-fit: cover; }
.v8c6-slide-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(transparent, rgba(15,22,35,0.92));
}
.v8c6-slide-overlay h2 { font-size: 1.8rem; color: var(--v8c6-accent); }
.v8c6-slide-overlay p { font-size: 1.2rem; color: var(--v8c6-text-muted); }

.v8c6-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.v8c6-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none; cursor: pointer;
}
.v8c6-dot.v8c6-dot-active { background: var(--v8c6-accent); }

/* ---------- Sections ---------- */
.v8c6-section { padding: 2rem 1.2rem; }
.v8c6-section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--v8c6-text);
}
.v8c6-section-title .v8c6-acc { color: var(--v8c6-accent); }
.v8c6-section-sub {
  font-size: 1.3rem;
  color: var(--v8c6-text-muted);
  margin-bottom: 1.2rem;
}

.v8c6-h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 1.4rem 0 0.6rem;
  color: var(--v8c6-text);
}
.v8c6-lead { font-size: 1.35rem; color: var(--v8c6-text-muted); margin-bottom: 1.2rem; }

/* ---------- Filter tabs ---------- */
.v8c6-filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}
.v8c6-filter-tab {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--v8c6-border);
  background: transparent;
  color: var(--v8c6-text-muted);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.v8c6-filter-tab.v8c6-filter-active {
  background: var(--v8c6-accent);
  color: var(--v8c6-bg);
  border-color: var(--v8c6-accent);
}

/* ---------- Game grid ---------- */
.v8c6-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.v8c6-game-card {
  background: var(--v8c6-card);
  border: 1px solid var(--v8c6-border);
  border-radius: var(--v8c6-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}
.v8c6-game-card:hover { transform: translateY(-2px); box-shadow: var(--v8c6-shadow); }
.v8c6-game-card img { width: 100%; height: 84px; object-fit: cover; }
.v8c6-game-card .v8c6-game-name {
  font-size: 1.05rem;
  padding: 0.5rem 0.3rem;
  color: var(--v8c6-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v8c6-game-group-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.5rem 0 0.8rem;
  color: var(--v8c6-accent);
}

/* ---------- Cards / features ---------- */
.v8c6-card {
  background: var(--v8c6-card);
  border: 1px solid var(--v8c6-border);
  border-radius: var(--v8c6-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
  box-shadow: var(--v8c6-shadow);
}
.v8c6-card h3 { font-size: 1.6rem; margin-bottom: 0.6rem; color: var(--v8c6-text); }
.v8c6-card p { font-size: 1.25rem; color: var(--v8c6-text-muted); }
.v8c6-card .v8c6-card-icon { font-size: 2.4rem; color: var(--v8c6-accent); margin-bottom: 0.4rem; }

.v8c6-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.v8c6-feature-item {
  background: var(--v8c6-card);
  border: 1px solid var(--v8c6-border);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}
.v8c6-feature-item .v8c6-fi-icon { font-size: 2.2rem; color: var(--v8c6-accent); }
.v8c6-feature-item h4 { font-size: 1.3rem; margin: 0.4rem 0; }
.v8c6-feature-item p { font-size: 1.1rem; color: var(--v8c6-text-muted); }

/* ---------- RTP / data rows ---------- */
.v8c6-rtp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--v8c6-border);
  font-size: 1.25rem;
}
.v8c6-rtp-row:last-child { border-bottom: none; }
.v8c6-rtp-bar {
  flex: 1;
  height: 6px;
  background: var(--v8c6-border);
  border-radius: 4px;
  margin: 0 0.8rem;
  overflow: hidden;
}
.v8c6-rtp-bar span { display: block; height: 100%; background: var(--v8c6-accent-3); }
.v8c6-rtp-val { color: var(--v8c6-accent); font-weight: 700; }

/* ---------- Testimonials ---------- */
.v8c6-testimonial {
  background: var(--v8c6-card);
  border-left: 3px solid var(--v8c6-accent);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
}
.v8c6-testimonial .v8c6-t-name { font-weight: 700; color: var(--v8c6-accent); font-size: 1.2rem; }
.v8c6-testimonial .v8c6-t-stars { color: #ffc83d; font-size: 1.1rem; }
.v8c6-testimonial p { font-size: 1.2rem; color: var(--v8c6-text-muted); margin-top: 0.3rem; }

/* ---------- Winners ---------- */
.v8c6-winner {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--v8c6-border);
  font-size: 1.2rem;
}
.v8c6-winner .v8c6-w-amount { color: var(--v8c6-accent-3); font-weight: 700; }

/* ---------- Payment ---------- */
.v8c6-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.v8c6-pay-item {
  background: var(--v8c6-card);
  border: 1px solid var(--v8c6-border);
  border-radius: 8px;
  padding: 0.7rem 0.3rem;
  text-align: center;
  font-size: 1rem;
  color: var(--v8c6-text-muted);
}
.v8c6-pay-item .material-icons, .v8c6-pay-item i { font-size: 1.8rem; color: var(--v8c6-accent); }

/* ---------- CTA ---------- */
.v8c6-cta {
  background: linear-gradient(135deg, var(--v8c6-accent), #d99a2b);
  color: var(--v8c6-bg);
  border-radius: var(--v8c6-radius);
  padding: 1.6rem;
  text-align: center;
  margin: 1.4rem 0;
}
.v8c6-cta h3 { font-size: 1.8rem; margin-bottom: 0.4rem; }
.v8c6-cta p { font-size: 1.2rem; margin-bottom: 0.9rem; color: #2a2010; }
.v8c6-cta .v8c6-btn { background: var(--v8c6-bg); color: var(--v8c6-accent); }

/* ---------- App download ---------- */
.v8c6-app-box {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--v8c6-card);
  border: 1px solid var(--v8c6-border);
  border-radius: var(--v8c6-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.v8c6-app-box img { width: 90px; height: 120px; object-fit: cover; border-radius: 8px; }
.v8c6-app-box h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.v8c6-app-box p { font-size: 1.15rem; color: var(--v8c6-text-muted); margin-bottom: 0.6rem; }

/* ---------- Footer ---------- */
.v8c6-footer {
  background: var(--v8c6-bg-alt);
  border-top: 1px solid var(--v8c6-border);
  padding: 2rem 1.2rem 1.5rem;
  margin-top: 1.5rem;
}
.v8c6-footer-brand { font-size: 1.3rem; color: var(--v8c6-text-muted); margin-bottom: 1rem; }
.v8c6-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-bottom: 1rem;
}
.v8c6-footer-links a { font-size: 1.15rem; color: var(--v8c6-text-muted); }
.v8c6-footer-links a:hover { color: var(--v8c6-accent); }
.v8c6-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.8rem 0;
}
.v8c6-footer-copy { font-size: 1.1rem; color: var(--v8c6-text-muted); margin-top: 1rem; }

/* ---------- Bottom nav (mobile only) ---------- */
.v8c6-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 62px;
  background: rgba(15, 22, 35, 0.98);
  border-top: 1px solid var(--v8c6-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.35);
}
.v8c6-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: var(--v8c6-text-muted);
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}
.v8c6-bottomnav-btn i, .v8c6-bottomnav-btn .material-icons {
  font-size: 22px;
}
.v8c6-bottomnav-btn:hover { color: var(--v8c6-accent); transform: translateY(-1px); text-decoration: none; }
.v8c6-bottomnav-btn.v8c6-bottomnav-active { color: var(--v8c6-accent); }
.v8c6-bottomnav-btn.v8c6-bottomnav-active i { color: var(--v8c6-accent); }

/* ---------- Utility ---------- */
.v8c6-text-center { text-align: center; }
.v8c6-mt-1 { margin-top: 1rem; }
.v8c6-mt-2 { margin-top: 2rem; }
.v8c6-mb-1 { margin-bottom: 1rem; }
.v8c6-hide-desktop { display: block; }
.v8c6-promo-text { font-weight: 700; color: var(--v8c6-accent); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .v8c6-bottomnav { display: none; }
  .v8c6-hide-desktop { display: none; }
  main.v8c6-main { padding-bottom: 1.5rem; }
  .v8c6-grid { grid-template-columns: repeat(5, 1fr); }
  .v8c6-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .v8c6-pay-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (min-width: 431px) and (max-width: 768px) {
  .v8c6-grid { grid-template-columns: repeat(4, 1fr); }
}
