/* v9bet.cfd - core stylesheet
   Class prefix: v9a0- | Palette: #AFEEEE (light) on #2C2C2C (dark) */

:root {
  --v9a0-primary: #AFEEEE;
  --v9a0-bg: #2C2C2C;
  --v9a0-text: #AFEEEE;
  --v9a0-bg-soft: #3a3a3a;
  --v9a0-bg-card: #353535;
  --v9a0-line: rgba(175, 238, 238, 0.16);
  --v9a0-accent: #FFD24A;
  --v9a0-accent-2: #FF7A59;
  --v9a0-success: #5BD5A0;
  --v9a0-radius: 14px;
  --v9a0-radius-sm: 10px;
  --v9a0-shadow: 0 8px 26px rgba(0, 0, 0, 0.36);
  --v9a0-header-h: 58px;
  --v9a0-bnav-h: 60px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  background: var(--v9a0-bg);
  color: var(--v9a0-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
}

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

/* Mobile-first wrapper - hard cap 430px per spec */
.v9a0-wrapper {
  width: 100%;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  background: var(--v9a0-bg);
  min-height: 100vh;
}

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

/* ---------- Header ---------- */
.v9a0-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(28, 28, 28, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--v9a0-line);
  transition: box-shadow .25s ease, background .25s ease;
}
.v9a0-header-scrolled { box-shadow: 0 4px 16px rgba(0,0,0,.45); }
.v9a0-header-inner {
  max-width: 430px; margin: 0 auto;
  height: var(--v9a0-header-h);
  display: flex; align-items: center; gap: 8px;
  padding: 0 12px;
}
.v9a0-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 1.6rem; }
.v9a0-brand img { width: 28px; height: 28px; border-radius: 8px; }
.v9a0-brand span { background: linear-gradient(90deg, var(--v9a0-primary), #ffffff); -webkit-background-clip: text; background-clip: text; color: transparent; }

.v9a0-header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.v9a0-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 36px; padding: 0 14px;
  border-radius: 999px; border: none; cursor: pointer;
  font-weight: 700; font-size: 1.3rem; line-height: 1;
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}
.v9a0-btn:active { transform: scale(0.96); }
.v9a0-btn-primary { background: linear-gradient(135deg, var(--v9a0-accent), var(--v9a0-accent-2)); color: #2C2C2C; box-shadow: 0 4px 14px rgba(255,210,74,.32); }
.v9a0-btn-ghost { background: transparent; color: var(--v9a0-primary); border: 1px solid var(--v9a0-primary); }
.v9a0-btn-block { width: 100%; min-height: 46px; font-size: 1.5rem; }

.v9a0-menu-toggle {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--v9a0-bg-soft); border: 1px solid var(--v9a0-line);
  color: var(--v9a0-primary); display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.8rem;
}
.v9a0-menu-toggle.v9a0-active { background: var(--v9a0-primary); color: #2C2C2C; }

/* ---------- Expandable mobile menu ---------- */
.v9a0-mobile-menu {
  position: fixed; top: var(--v9a0-header-h); left: 0; right: 0; z-index: 9999;
  max-width: 430px; margin: 0 auto;
  background: #232323; border-bottom: 1px solid var(--v9a0-line);
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  box-shadow: var(--v9a0-shadow);
}
.v9a0-mobile-menu.v9a0-menu-open { max-height: 460px; }
.v9a0-mobile-menu ul { list-style: none; margin: 0; padding: 8px 12px; }
.v9a0-mobile-menu li { border-bottom: 1px solid var(--v9a0-line); }
.v9a0-mobile-menu li:last-child { border-bottom: none; }
.v9a0-mobile-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 6px; color: var(--v9a0-text); font-weight: 600;
}
.v9a0-mobile-menu a i { width: 22px; text-align: center; color: var(--v9a0-accent); }

/* ---------- Hero / Carousel ---------- */
.v9a0-hero { padding-top: calc(var(--v9a0-header-h) + 10px); }
.v9a0-carousel { position: relative; margin: 0 12px; border-radius: var(--v9a0-radius); overflow: hidden; box-shadow: var(--v9a0-shadow); }
.v9a0-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease;
  cursor: pointer;
}
.v9a0-slide.v9a0-slide-active { opacity: 1; position: relative; }
.v9a0-slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.v9a0-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  color: #fff; font-weight: 700; font-size: 1.45rem;
}
.v9a0-dots { position: absolute; bottom: 8px; right: 12px; display: flex; gap: 6px; }
.v9a0-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); }
.v9a0-dot.v9a0-dot-active { background: var(--v9a0-accent); width: 22px; border-radius: 6px; }

/* ---------- Section base ---------- */
.v9a0-section { padding: 22px 14px 6px; }
.v9a0-section-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.v9a0-section-head h2 { font-size: 1.7rem; margin: 0; color: #fff; }
.v9a0-section-head .v9a0-ico { color: var(--v9a0-accent); font-size: 2rem; }
.v9a0-section-head .v9a0-more { margin-left: auto; font-size: 1.2rem; color: var(--v9a0-primary); }
.v9a0-lead { margin: 4px 0 12px; color: rgba(175,238,238,.78); font-size: 1.32rem; }

/* ---------- Game grid ---------- */
.v9a0-cat-title {
  display: flex; align-items: center; gap: 8px;
  margin: 18px 0 10px; font-size: 1.5rem; color: #fff; font-weight: 700;
}
.v9a0-cat-title i { color: var(--v9a0-accent); }
.v9a0-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.v9a0-game {
  display: block; background: var(--v9a0-bg-card); border: 1px solid var(--v9a0-line);
  border-radius: var(--v9a0-radius-sm); overflow: hidden; cursor: pointer;
  transition: transform .15s ease, border-color .2s ease;
  text-align: center;
}
.v9a0-game:hover { text-decoration: none; border-color: var(--v9a0-primary); transform: translateY(-2px); }
.v9a0-game img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.v9a0-game-name { padding: 6px 4px; font-size: 1.1rem; color: var(--v9a0-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Cards / Features ---------- */
.v9a0-card {
  background: var(--v9a0-bg-card); border: 1px solid var(--v9a0-line);
  border-radius: var(--v9a0-radius); padding: 14px; margin-bottom: 12px;
  box-shadow: var(--v9a0-shadow);
}
.v9a0-card h3 { margin: 0 0 8px; font-size: 1.45rem; color: #fff; }
.v9a0-card p { margin: 0 0 8px; color: rgba(175,238,238,.85); font-size: 1.28rem; }
.v9a0-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.v9a0-feature {
  background: var(--v9a0-bg-card); border: 1px solid var(--v9a0-line);
  border-radius: var(--v9a0-radius-sm); padding: 12px; text-align: center;
}
.v9a0-feature i { font-size: 2.4rem; color: var(--v9a0-accent); margin-bottom: 6px; display: inline-block; }
.v9a0-feature b { display: block; color: #fff; font-size: 1.25rem; margin-bottom: 4px; }
.v9a0-feature span { color: rgba(175,238,238,.7); font-size: 1.1rem; }

/* ---------- RTP compact table ---------- */
.v9a0-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.v9a0-rtp-table th, .v9a0-rtp-table td { padding: 8px 6px; text-align: left; border-bottom: 1px solid var(--v9a0-line); }
.v9a0-rtp-table th { color: var(--v9a0-accent); font-weight: 700; }
.v9a0-rtp-table td:last-child { color: var(--v9a0-success); font-weight: 700; text-align: right; }

/* ---------- Testimonials ---------- */
.v9a0-quote {
  background: var(--v9a0-bg-card); border-left: 3px solid var(--v9a0-accent);
  border-radius: 0 var(--v9a0-radius-sm) var(--v9a0-radius-sm) 0;
  padding: 12px 14px; margin-bottom: 10px;
}
.v9a0-quote p { margin: 0 0 6px; font-size: 1.25rem; color: rgba(175,238,238,.9); font-style: italic; }
.v9a0-quote b { color: var(--v9a0-accent); font-size: 1.15rem; }

/* ---------- Winners / payment ---------- */
.v9a0-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v9a0-chip {
  background: var(--v9a0-bg-card); border: 1px solid var(--v9a0-line);
  border-radius: 999px; padding: 6px 12px; font-size: 1.15rem; color: var(--v9a0-text);
  display: inline-flex; align-items: center; gap: 6px;
}
.v9a0-chip i { color: var(--v9a0-accent); }

.v9a0-winners li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--v9a0-line); font-size: 1.2rem; }
.v9a0-winners b { color: var(--v9a0-success); }

/* ---------- CTA ---------- */
.v9a0-cta {
  background: linear-gradient(135deg, rgba(255,210,74,.12), rgba(255,122,89,.12));
  border: 1px solid var(--v9a0-line); border-radius: var(--v9a0-radius);
  padding: 18px 14px; text-align: center; margin: 14px 0;
}
.v9a0-cta h3 { margin: 0 0 8px; color: #fff; font-size: 1.6rem; }
.v9a0-cta p { margin: 0 0 12px; color: rgba(175,238,238,.85); font-size: 1.25rem; }

/* ---------- App download CTA ---------- */
.v9a0-app {
  display: flex; gap: 12px; align-items: center;
  background: var(--v9a0-bg-card); border: 1px solid var(--v9a0-line);
  border-radius: var(--v9a0-radius); padding: 12px; margin-bottom: 12px;
}
.v9a0-app img { width: 90px; height: 90px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.v9a0-app-body { flex: 1; min-width: 0; }
.v9a0-app-body h3 { margin: 0 0 4px; color: #fff; font-size: 1.4rem; }
.v9a0-app-body p { margin: 0 0 8px; font-size: 1.15rem; color: rgba(175,238,238,.8); }

/* ---------- Footer ---------- */
.v9a0-footer {
  background: #1f1f1f; border-top: 1px solid var(--v9a0-line);
  padding: 22px 14px 30px; margin-top: 24px;
}
.v9a0-footer p { color: rgba(175,238,238,.75); font-size: 1.2rem; margin: 0 0 12px; }
.v9a0-footer-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.v9a0-footer-links a {
  background: var(--v9a0-bg-card); border: 1px solid var(--v9a0-line);
  padding: 6px 12px; border-radius: 999px; font-size: 1.15rem; color: var(--v9a0-text);
}
.v9a0-footer-links a:hover { background: var(--v9a0-primary); color: #2C2C2C; text-decoration: none; }
.v9a0-footer-navlist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 12px; margin-bottom: 12px; }
.v9a0-footer-navlist a { font-size: 1.2rem; color: rgba(175,238,238,.82); padding: 4px 0; }
.v9a0-copy { font-size: 1.1rem; color: rgba(175,238,238,.5); border-top: 1px solid var(--v9a0-line); padding-top: 10px; }

/* ---------- Mobile bottom nav ---------- */
.v9a0-bnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  height: var(--v9a0-bnav-h);
  background: rgba(24,24,24,.98);
  border-top: 1px solid var(--v9a0-line);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -4px 14px rgba(0,0,0,.4);
}
.v9a0-bnav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; background: none; border: none; color: rgba(175,238,238,.7);
  cursor: pointer; padding: 4px 0; transition: color .2s ease, transform .15s ease;
  font-family: inherit;
}
.v9a0-bnav-btn i, .v9a0-bnav-btn .material-symbols-outlined { font-size: 22px; }
.v9a0-bnav-btn span { font-size: 1rem; line-height: 1; }
.v9a0-bnav-btn:active { transform: scale(0.9); }
.v9a0-bnav-btn:hover { color: var(--v9a0-primary); text-decoration: none; }
.v9a0-bnav-current { color: var(--v9a0-accent) !important; }
.v9a0-bnav-promo { position: relative; }
.v9a0-bnav-promo::before {
  content: ''; position: absolute; top: -10px; width: 46px; height: 46px;
  border-radius: 50%; background: linear-gradient(135deg, var(--v9a0-accent), var(--v9a0-accent-2));
  box-shadow: 0 4px 12px rgba(255,210,74,.4); z-index: -1;
}
.v9a0-bnav-promo i { color: #2C2C2C; font-size: 22px; }
.v9a0-bnav-promo span { color: var(--v9a0-accent); font-weight: 700; }
.v9a0-bnav-badge {
  position: absolute; top: 4px; right: 14px;
  background: var(--v9a0-accent-2); color: #fff; font-size: .9rem; font-weight: 700;
  min-width: 16px; height: 16px; border-radius: 8px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Reveal animation ---------- */
.v9a0-reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.v9a0-reveal.v9a0-revealed { opacity: 1; transform: none; }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .v9a0-bnav { display: none; }
  main.v9a0-main { padding-bottom: 24px; }
  .v9a0-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  main.v9a0-main { padding-bottom: calc(var(--v9a0-bnav-h) + 16px); }
}
