/* ============================================================
   3win apk - design-a1b1.css
   Mobile-first HTML5 gaming website stylesheet.
   All custom classes use the "v10a-" namespace prefix.
   Code comments in English only.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --v10a-primary: #191970;     /* midnight blue - main brand */
  --v10a-bg: #262626;          /* dark charcoal - page background */
  --v10a-surface: #1f1f3a;     /* card surface */
  --v10a-text: #F0FDFF;        /* near-white text */
  --v10a-muted: #B0E0E6;       /* powder blue - secondary text */
  --v10a-accent: #DDA0DD;      /* plum - CTA accents */
  --v10a-gold: #FFD479;
  --v10a-success: #4fd1a1;
  --v10a-border: rgba(176, 224, 230, 0.18);
  --v10a-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --v10a-radius: 14px;
  --v10a-radius-sm: 9px;
  --v10a-header-h: 58px;
  --v10a-bottomnav-h: 62px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--v10a-bg);
  color: var(--v10a-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: var(--v10a-header-h);
}
img { max-width: 100%; display: block; }
a { color: var(--v10a-muted); text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Layout helpers ---------- */
.v10a-wrapper { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 12px; }
.v10a-container { width: 100%; max-width: 430px; margin: 0 auto; }
.v10a-section { padding: 22px 12px; }
.v10a-section--alt { background: linear-gradient(180deg, #15152b 0%, var(--v10a-bg) 100%); }
.v10a-grid { display: grid; gap: 10px; }
.v10a-text-center { text-align: center; }
.v10a-hidden-mobile { display: none; }

/* ---------- Header ---------- */
.v10a-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--v10a-header-h);
  background: linear-gradient(90deg, var(--v10a-primary) 0%, #20204e 100%);
  border-bottom: 1px solid var(--v10a-border);
  z-index: 1000;
  display: flex; align-items: center;
}
.v10a-header__inner {
  width: 100%; max-width: 430px; margin: 0 auto;
  padding: 0 10px; display: flex; align-items: center; gap: 8px;
}
.v10a-logo { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.v10a-logo img { width: 30px; height: 30px; border-radius: 8px; }
.v10a-logo__name {
  font-size: 1.7rem; font-weight: 800; letter-spacing: 0.2px;
  color: var(--v10a-text); white-space: nowrap;
}
.v10a-logo__name span { color: var(--v10a-accent); }
.v10a-header__actions { display: flex; align-items: center; gap: 6px; }
.v10a-menu-btn {
  width: 38px; height: 38px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--v10a-text); font-size: 2rem; background: rgba(255,255,255,0.08);
}

/* ---------- Buttons ---------- */
.v10a-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px;
  font-size: 1.3rem; font-weight: 700; letter-spacing: 0.3px;
  transition: transform 0.15s ease, filter 0.15s ease;
  min-height: 38px; line-height: 1;
}
.v10a-btn:active { transform: scale(0.95); }
.v10a-btn--register { background: linear-gradient(135deg, #ffd479, #f5a623); color: #2a1c00; }
.v10a-btn--login { background: transparent; border: 1.5px solid var(--v10a-muted); color: var(--v10a-text); }
.v10a-btn--cta {
  background: linear-gradient(135deg, var(--v10a-accent), #b781ca);
  color: #1a0030; padding: 12px 22px; font-size: 1.5rem;
}
.v10a-btn--ghost { background: rgba(176,224,230,0.1); color: var(--v10a-muted); border: 1px solid var(--v10a-border); }
.v10a-btn--block { width: 100%; }
.v10a-text-link {
  color: var(--v10a-accent); font-weight: 800; border-bottom: 1px dashed currentColor;
}
.v10a-promo-line { font-weight: 700; }
.v10a-promo-line a { color: var(--v10a-gold); font-weight: 800; }

/* ---------- Slide-down menu ---------- */
.v10a-dropdown {
  position: fixed; top: var(--v10a-header-h); left: 0; right: 0;
  background: var(--v10a-surface);
  border-bottom: 1px solid var(--v10a-border);
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  z-index: 999;
}
.v10a-dropdown.v10a-is-open { max-height: 420px; }
.v10a-dropdown__inner { width: 100%; max-width: 430px; margin: 0 auto; padding: 10px 12px 16px; }
.v10a-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 8px; font-size: 1.4rem; font-weight: 600;
  border-bottom: 1px solid var(--v10a-border); color: var(--v10a-text);
}
.v10a-dropdown a:last-child { border-bottom: none; }
.v10a-dropdown a i { color: var(--v10a-accent); font-size: 1.7rem; width: 22px; text-align: center; }

/* ---------- Hero / Carousel ---------- */
.v10a-hero { padding: 14px 12px 4px; }
.v10a-carousel { position: relative; border-radius: var(--v10a-radius); overflow: hidden; box-shadow: var(--v10a-shadow); }
.v10a-carousel__track { display: flex; transition: transform 0.45s ease; }
.v10a-carousel__slide { min-width: 100%; position: relative; cursor: pointer; }
.v10a-carousel__slide img { width: 100%; height: 200px; object-fit: cover; }
.v10a-carousel__caption {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  background: rgba(25, 25, 112, 0.78); padding: 10px 12px; border-radius: 10px;
}
.v10a-carousel__caption h2 { font-size: 1.7rem; color: var(--v10a-text); }
.v10a-carousel__caption p { font-size: 1.2rem; color: var(--v10a-muted); margin-top: 2px; }
.v10a-carousel__dots { display: flex; gap: 6px; justify-content: center; padding: 8px 0; }
.v10a-carousel__dots button {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25);
}
.v10a-carousel__dots button.v10a-is-active { background: var(--v10a-accent); width: 20px; border-radius: 4px; }

/* ---------- Section heading ---------- */
.v10a-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.v10a-section-head h2 { font-size: 1.8rem; font-weight: 800; color: var(--v10a-text); display: flex; align-items: center; gap: 6px; }
.v10a-section-head h2 i { color: var(--v10a-accent); }
.v10a-section-head a { font-size: 1.2rem; color: var(--v10a-muted); font-weight: 600; }

/* ---------- Game blocks ---------- */
.v10a-cat-title {
  margin: 18px 0 10px; font-size: 1.6rem; font-weight: 800;
  display: flex; align-items: center; gap: 8px; color: var(--v10a-gold);
}
.v10a-cat-title i { color: var(--v10a-accent); }
.v10a-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.v10a-game-card {
  background: var(--v10a-surface); border: 1px solid var(--v10a-border);
  border-radius: var(--v10a-radius-sm); overflow: hidden; text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease; cursor: pointer;
}
.v10a-game-card:active { transform: scale(0.96); }
.v10a-game-card img { width: 100%; height: 88px; object-fit: cover; background: #0d0d22; }
.v10a-game-card__name {
  font-size: 1.15rem; font-weight: 600; color: var(--v10a-text);
  padding: 6px 4px 8px; line-height: 1.25; min-height: 34px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- Info / content cards ---------- */
.v10a-card {
  background: var(--v10a-surface); border: 1px solid var(--v10a-border);
  border-radius: var(--v10a-radius); padding: 14px; box-shadow: var(--v10a-shadow);
}
.v10a-card h3 { font-size: 1.5rem; color: var(--v10a-accent); margin-bottom: 6px; font-weight: 800; }
.v10a-card p { font-size: 1.3rem; color: var(--v10a-muted); margin-bottom: 8px; }
.v10a-card ul { padding-left: 18px; list-style: disc; }
.v10a-card li { font-size: 1.25rem; color: var(--v10a-muted); margin-bottom: 4px; }
.v10a-prose { font-size: 1.35rem; color: var(--v10a-muted); line-height: 1.7; }
.v10a-prose p { margin-bottom: 10px; }
.v10a-prose h3 { font-size: 1.55rem; color: var(--v10a-text); margin: 14px 0 6px; font-weight: 800; }
.v10a-prose strong { color: var(--v10a-accent); }

/* ---------- Steps ---------- */
.v10a-steps { display: grid; gap: 10px; }
.v10a-step {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--v10a-surface); padding: 12px; border-radius: var(--v10a-radius-sm);
  border: 1px solid var(--v10a-border);
}
.v10a-step__num {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--v10a-accent), #b781ca);
  color: #1a0030; font-weight: 800; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.v10a-step h4 { font-size: 1.4rem; color: var(--v10a-text); margin-bottom: 3px; }
.v10a-step p { font-size: 1.25rem; color: var(--v10a-muted); }

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

/* ---------- Testimonials ---------- */
.v10a-testimonial {
  background: var(--v10a-surface); border-radius: var(--v10a-radius); padding: 12px;
  border-left: 3px solid var(--v10a-accent); margin-bottom: 8px;
}
.v10a-testimonial p { font-size: 1.25rem; color: var(--v10a-muted); font-style: italic; }
.v10a-testimonial .v10a-author { font-size: 1.15rem; color: var(--v10a-gold); font-weight: 700; margin-top: 6px; }

/* ---------- Winners ticker ---------- */
.v10a-winners { background: var(--v10a-surface); border-radius: var(--v10a-radius); padding: 10px; border: 1px solid var(--v10a-border); }
.v10a-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 4px; border-bottom: 1px dashed var(--v10a-border); font-size: 1.25rem;
}
.v10a-winner-row:last-child { border-bottom: none; }
.v10a-winner-row .v10a-amount { color: var(--v10a-gold); font-weight: 800; }

/* ---------- Payment ---------- */
.v10a-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.v10a-pay {
  background: var(--v10a-surface); border-radius: var(--v10a-radius-sm);
  padding: 10px 4px; text-align: center; border: 1px solid var(--v10a-border);
}
.v10a-pay i { font-size: 2.2rem; color: var(--v10a-accent); }
.v10a-pay span { display: block; font-size: 1.05rem; color: var(--v10a-muted); margin-top: 4px; }

/* ---------- App CTA banner ---------- */
.v10a-app-cta {
  background: linear-gradient(135deg, var(--v10a-primary), #34247a);
  border-radius: var(--v10a-radius); padding: 16px; display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--v10a-border);
}
.v10a-app-cta__icon { font-size: 3.4rem; color: var(--v10a-gold); }
.v10a-app-cta h3 { font-size: 1.6rem; color: var(--v10a-text); margin-bottom: 3px; }
.v10a-app-cta p { font-size: 1.2rem; color: var(--v10a-muted); margin-bottom: 8px; }

/* ---------- Trusted / security badges ---------- */
.v10a-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.v10a-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(176,224,230,0.1); border: 1px solid var(--v10a-border);
  padding: 7px 11px; border-radius: 999px; font-size: 1.2rem; color: var(--v10a-muted);
}
.v10a-badge i { color: var(--v10a-success); }

/* ---------- FAQ ---------- */
.v10a-faq { border-bottom: 1px solid var(--v10a-border); padding: 12px 0; }
.v10a-faq__q { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; color: var(--v10a-text); font-size: 1.4rem; cursor: pointer; align-items: center; }
.v10a-faq__q i { color: var(--v10a-accent); transition: transform 0.2s; }
.v10a-faq__a { color: var(--v10a-muted); font-size: 1.25rem; margin-top: 8px; display: none; line-height: 1.6; }
.v10a-faq.v10a-is-open .v10a-faq__a { display: block; }
.v10a-faq.v10a-is-open .v10a-faq__q i { transform: rotate(45deg); }

/* ---------- Footer ---------- */
.v10a-footer {
  background: #11111f; border-top: 1px solid var(--v10a-border);
  padding: 22px 12px calc(var(--v10a-bottomnav-h) + 30px); margin-top: 20px;
}
.v10a-footer__brand { font-size: 1.3rem; color: var(--v10a-muted); line-height: 1.6; margin-bottom: 14px; }
.v10a-footer__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 10px; margin-bottom: 14px; }
.v10a-footer__links a { font-size: 1.2rem; color: var(--v10a-muted); padding: 4px 0; }
.v10a-footer__promo { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.v10a-footer__promo .v10a-btn { font-size: 1.15rem; padding: 7px 12px; min-height: 32px; }
.v10a-footer__copy { font-size: 1.1rem; color: rgba(176,224,230,0.6); text-align: center; border-top: 1px solid var(--v10a-border); padding-top: 12px; }

/* ---------- Mobile bottom nav ---------- */
.v10a-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--v10a-bottomnav-h);
  background: linear-gradient(180deg, #20204e 0%, var(--v10a-primary) 100%);
  border-top: 1px solid var(--v10a-border);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000; padding-bottom: env(safe-area-inset-bottom);
}
.v10a-bottomnav__btn {
  flex: 1; min-width: 60px; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--v10a-muted); transition: color 0.2s, transform 0.15s; position: relative;
}
.v10a-bottomnav__btn:active { transform: scale(0.92); }
.v10a-bottomnav__btn .v10a-bottomnav__icon { font-size: 2.2rem; line-height: 1; }
.v10a-bottomnav__btn .v10a-bottomnav__label { font-size: 1.05rem; font-weight: 600; }
.v10a-bottomnav__btn.v10a-is-active { color: var(--v10a-gold); }
.v10a-bottomnav__btn.v10a-is-active .v10a-bottomnav__icon { transform: translateY(-2px); }
.v10a-bottomnav__badge {
  position: absolute; top: 6px; right: 18px; min-width: 16px; height: 16px;
  background: #ff5a7a; color: #fff; font-size: 0.95rem; font-weight: 700;
  border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

/* ---------- Mobile spacing for fixed bottom nav ---------- */
@media (max-width: 768px) {
  body { padding-bottom: calc(var(--v10a-bottomnav-h) + 12px); }
  main { padding-bottom: 20px; }
}

/* ---------- Desktop: hide bottom nav, widen layout ---------- */
@media (min-width: 769px) {
  body { padding-top: 0; }
  .v10a-header { position: sticky; }
  .v10a-bottomnav { display: none; }
  .v10a-wrapper, .v10a-container, .v10a-header__inner, .v10a-dropdown__inner { max-width: 960px; }
  .v10a-footer { padding-bottom: 30px; }
  .v10a-game-grid { grid-template-columns: repeat(6, 1fr); }
  .v10a-carousel__slide img { height: 360px; }
  .v10a-hidden-mobile { display: block; }
}

/* ---------- Utility ---------- */
.v10a-mt-10 { margin-top: 10px; }
.v10a-mt-16 { margin-top: 16px; }
.v10a-mb-10 { margin-bottom: 10px; }
.v10a-promo-strip {
  background: linear-gradient(90deg, rgba(221,160,221,0.18), rgba(255,212,121,0.18));
  border: 1px solid var(--v10a-border); border-radius: var(--v10a-radius-sm);
  padding: 10px 12px; margin: 10px 0; font-size: 1.3rem; color: var(--v10a-text);
}
.v10a-pill {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  background: rgba(221,160,221,0.18); color: var(--v10a-accent); font-size: 1.1rem; font-weight: 700;
}
