/* =============================================================
 * abc87.click - Theme stylesheet
 * Class prefix: v2b2-   (all custom classes use this prefix)
 * Palette: #F4A460 | #FFA500 | #DCDCDC | #2C3E50 | #CD853F
 * Mobile-first, max-width 430px. Root font 62.5% (1rem = 10px).
 * All comments in English.
 * =========================================================== */

:root {
  --v2b2-sandy: #F4A460;
  --v2b2-orange: #FFA500;
  --v2b2-gainsboro: #DCDCDC;
  --v2b2-dark: #2C3E50;
  --v2b2-peru: #CD853F;
  --v2b2-bg: #1a242f;
  --v2b2-bg-2: #233140;
  --v2b2-card: #2b3949;
  --v2b2-text: #f3f5f7;
  --v2b2-muted: #b9c2cc;
  --v2b2-accent: #FFA500;
  --v2b2-gold: #FFD27A;
  --v2b2-success: #4ade80;
  --v2b2-danger: #ef4444;
  --v2b2-radius: 1.2rem;
  --v2b2-shadow: 0 0.4rem 1.4rem rgba(0,0,0,.35);
}

/* Base */
* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: linear-gradient(160deg, var(--v2b2-bg) 0%, var(--v2b2-dark) 100%);
  color: var(--v2b2-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--v2b2-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout helpers */
.v2b2-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}
.v2b2-wrapper { padding: 1.4rem 0; }
.v2b2-section { margin: 2rem 0; }
.v2b2-clearfix::after { content: ""; display: table; clear: both; }

/* Header */
.v2b2-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--v2b2-dark), #34495e);
  border-bottom: 0.2rem solid var(--v2b2-orange);
  box-shadow: 0 0.2rem 0.8rem rgba(0,0,0,.35);
}
.v2b2-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
}
.v2b2-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.05rem;
}
.v2b2-brand img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.v2b2-brand .v2b2-brand-accent { color: var(--v2b2-gold); }
.v2b2-head-actions { display: flex; align-items: center; gap: 0.5rem; }
.v2b2-hamburger {
  background: transparent;
  border: 0.1rem solid var(--v2b2-sandy);
  color: var(--v2b2-gold);
  width: 3.6rem; height: 3.6rem;
  border-radius: 0.8rem;
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Buttons */
.v2b2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 2rem;
  padding: 0.7rem 1.2rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .2s;
  text-decoration: none;
  min-height: 3.6rem;
}
.v2b2-btn-primary {
  background: linear-gradient(90deg, var(--v2b2-orange), var(--v2b2-sandy));
  color: #1a242f;
  box-shadow: 0 0.3rem 0.8rem rgba(255,165,0,.4);
}
.v2b2-btn-secondary {
  background: linear-gradient(90deg, var(--v2b2-peru), var(--v2b2-dark));
  color: #fff;
}
.v2b2-btn-ghost {
  background: transparent;
  color: var(--v2b2-gold);
  border: 0.15rem solid var(--v2b2-gold);
}
.v2b2-btn-block { width: 100%; }
.v2b2-btn:hover { transform: translateY(-1px); text-decoration: none; }
.v2b2-tap { transform: scale(0.96); opacity: .9; }

/* Mobile menu */
.v2b2-mobile-menu {
  position: fixed;
  top: 0; right: -80%;
  width: 80%;
  max-width: 340px;
  height: 100vh;
  background: var(--v2b2-bg-2);
  z-index: 9999;
  padding: 2rem 1.4rem;
  transform: translateX(0);
  transition: right .28s ease;
  overflow-y: auto;
  box-shadow: -0.4rem 0 1.2rem rgba(0,0,0,.4);
}
.v2b2-mobile-menu.v2b2-menu-open { right: 0; }
.v2b2-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  float: right;
  margin-bottom: 1rem;
}
.v2b2-menu-title {
  font-size: 1.5rem;
  color: var(--v2b2-gold);
  margin: 1.5rem 0 0.8rem;
  border-bottom: 0.1rem dashed var(--v2b2-peru);
  padding-bottom: 0.4rem;
}
.v2b2-menu-list { list-style: none; padding: 0; margin: 0; }
.v2b2-menu-list li { margin: 0.4rem 0; }
.v2b2-menu-list a {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  background: var(--v2b2-card);
  color: #fff;
  font-size: 1.25rem;
}
.v2b2-menu-list a:hover { background: var(--v2b2-peru); text-decoration: none; }
.v2b2-menu-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.v2b2-menu-mask.v2b2-mask-show { opacity: 1; pointer-events: auto; }

/* Hero carousel */
.v2b2-hero {
  position: relative;
  margin-top: 6.2rem;
  border-radius: var(--v2b2-radius);
  overflow: hidden;
  box-shadow: var(--v2b2-shadow);
}
.v2b2-hero-slide {
  display: none;
  position: relative;
}
.v2b2-hero-slide.v2b2-slide-active { display: block; }
.v2b2-hero-slide img { width: 100%; height: auto; }
.v2b2-hero-caption {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1.4rem;
  background: rgba(26,36,47,.72);
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  border-left: 0.3rem solid var(--v2b2-orange);
}
.v2b2-hero-caption h2 { margin: 0 0 0.3rem; font-size: 1.4rem; color: var(--v2b2-gold); }
.v2b2-hero-caption p { margin: 0; font-size: 1.05rem; color: var(--v2b2-gainsboro); }
.v2b2-hero-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.v2b2-hero-dot {
  width: 0.8rem; height: 0.8rem;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 0;
  cursor: pointer;
}
.v2b2-hero-dot.v2b2-dot-active { background: var(--v2b2-orange); }

/* Section heading */
.v2b2-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.8rem 0 1rem;
}
.v2b2-section-title {
  font-size: 1.55rem;
  color: var(--v2b2-gold);
  margin: 0;
  position: relative;
  padding-left: 1rem;
}
.v2b2-section-title::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3rem;
  width: 0.35rem; height: 1.6rem;
  background: var(--v2b2-orange);
  border-radius: 0.2rem;
}
.v2b2-section-more { font-size: 1.1rem; color: var(--v2b2-sandy); }

/* Game grids */
.v2b2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.v2b2-grid-4 { grid-template-columns: repeat(4, 1fr); }
.v2b2-game-card {
  background: var(--v2b2-card);
  border-radius: 0.9rem;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  border: 0.1rem solid transparent;
  transition: border .15s, transform .15s;
  padding: 0.5rem;
}
.v2b2-game-card:hover {
  border-color: var(--v2b2-orange);
  transform: translateY(-2px);
  text-decoration: none;
}
.v2b2-game-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 0.7rem;
}
.v2b2-game-card .v2b2-game-name {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.05rem;
  color: var(--v2b2-text);
  line-height: 1.25;
  min-height: 2.6rem;
}
.v2b2-game-tag {
  position: absolute;
  top: 0.3rem; left: 0.3rem;
  background: var(--v2b2-danger);
  color: #fff;
  font-size: 0.9rem;
  padding: 0.1rem 0.5rem;
  border-radius: 0.5rem;
}

/* Filter tabs */
.v2b2-filter-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.4rem 0 1rem;
  scrollbar-width: none;
}
.v2b2-filter-row::-webkit-scrollbar { display: none; }
.v2b2-filter-tab {
  white-space: nowrap;
  padding: 0.55rem 1.1rem;
  border-radius: 2rem;
  background: var(--v2b2-card);
  color: var(--v2b2-muted);
  font-size: 1.15rem;
  border: 0.1rem solid transparent;
  cursor: pointer;
}
.v2b2-filter-tab.v2b2-filter-active {
  background: linear-gradient(90deg, var(--v2b2-orange), var(--v2b2-sandy));
  color: #1a242f;
  font-weight: 700;
}

/* Cards / info blocks */
.v2b2-card {
  background: var(--v2b2-card);
  border-radius: var(--v2b2-radius);
  padding: 1.2rem;
  box-shadow: var(--v2b2-shadow);
  margin: 1rem 0;
}
.v2b2-card h3 { margin: 0 0 0.6rem; color: var(--v2b2-gold); font-size: 1.35rem; }
.v2b2-card p { margin: 0.4rem 0; color: var(--v2b2-gainsboro); font-size: 1.15rem; }
.v2b2-feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 0.6rem;
}
.v2b2-feature-item {
  background: var(--v2b2-bg-2);
  border-radius: 0.9rem;
  padding: 0.9rem;
  text-align: center;
}
.v2b2-feature-item .v2b2-ico { font-size: 1.8rem; color: var(--v2b2-orange); }
.v2b2-feature-item strong { display: block; color: #fff; margin-top: 0.3rem; font-size: 1.1rem; }
.v2b2-feature-item span { font-size: 1rem; color: var(--v2b2-muted); }

/* Testimonials */
.v2b2-testimonial {
  background: var(--v2b2-bg-2);
  border-left: 0.3rem solid var(--v2b2-sandy);
  border-radius: 0.8rem;
  padding: 0.9rem 1rem;
  margin: 0.7rem 0;
}
.v2b2-testimonial .v2b2-stars { color: var(--v2b2-gold); }
.v2b2-testimonial p { margin: 0.3rem 0; color: var(--v2b2-text); font-size: 1.1rem; }
.v2b2-testimonial small { color: var(--v2b2-muted); }

/* Winners list */
.v2b2-winner-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 0.1rem dashed rgba(255,255,255,.08);
  font-size: 1.1rem;
}
.v2b2-winner-row:last-child { border-bottom: 0; }
.v2b2-winner-name { color: var(--v2b2-gold); font-weight: 600; }
.v2b2-winner-amount { color: var(--v2b2-success); font-weight: 700; }

/* Payment chips */
.v2b2-pay-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.v2b2-pay-chip {
  background: var(--v2b2-bg-2);
  border: 0.1rem solid var(--v2b2-peru);
  color: var(--v2b2-gainsboro);
  padding: 0.5rem 0.9rem;
  border-radius: 2rem;
  font-size: 1.05rem;
}

/* FAQ */
.v2b2-faq-item {
  background: var(--v2b2-card);
  border-radius: 0.9rem;
  margin: 0.6rem 0;
  overflow: hidden;
}
.v2b2-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1rem;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.v2b2-faq-q .v2b2-faq-ico { color: var(--v2b2-orange); }
.v2b2-faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  color: var(--v2b2-muted);
  font-size: 1.1rem;
  transition: max-height .25s, padding .25s;
}
.v2b2-faq-item.v2b2-faq-open .v2b2-faq-a {
  max-height: 50rem;
  padding: 0 1rem 1rem;
}

/* Promo link inline */
.v2b2-promo-link {
  color: var(--v2b2-gold);
  font-weight: 700;
  border-bottom: 0.12rem dashed var(--v2b2-orange);
}

/* Footer */
.v2b2-footer {
  background: var(--v2b2-dark);
  border-top: 0.25rem solid var(--v2b2-orange);
  padding: 2rem 1.2rem 8.5rem;
  margin-top: 2rem;
}
.v2b2-footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.v2b2-footer h4 { color: var(--v2b2-gold); margin: 0 0 0.5rem; font-size: 1.2rem; }
.v2b2-footer ul { list-style: none; padding: 0; margin: 0; }
.v2b2-footer ul li { margin: 0.35rem 0; font-size: 1.05rem; }
.v2b2-footer-bottom {
  text-align: center;
  color: var(--v2b2-muted);
  font-size: 1rem;
  margin-top: 1.5rem;
  border-top: 0.1rem solid rgba(255,255,255,.08);
  padding-top: 1rem;
}

/* Bottom mobile navigation */
.v2b2-bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 6rem;
  background: linear-gradient(90deg, var(--v2b2-dark), #34495e);
  border-top: 0.2rem solid var(--v2b2-orange);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -0.3rem 1rem rgba(0,0,0,.4);
}
.v2b2-nav-item {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  background: transparent;
  border: 0;
  color: var(--v2b2-gainsboro);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: color .2s, transform .12s;
}
.v2b2-nav-item:hover { text-decoration: none; }
.v2b2-nav-item .v2b2-nav-ico { font-size: 2rem; line-height: 1; }
.v2b2-nav-item .v2b2-nav-ico.material-icons { font-size: 2.2rem; }
.v2b2-nav-item .v2b2-nav-label { font-size: 1rem; }
.v2b2-nav-item.v2b2-nav-current {
  color: var(--v2b2-gold);
}
.v2b2-nav-item.v2b2-nav-current::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 2.4rem; height: 0.25rem;
  background: var(--v2b2-orange);
  border-radius: 0.2rem;
}
.v2b2-nav-badge {
  position: absolute;
  top: 0.5rem; right: 1.2rem;
  background: var(--v2b2-danger);
  color: #fff;
  font-size: 0.8rem;
  border-radius: 1rem;
  padding: 0 0.35rem;
}

/* Back to top */
.v2b2-totop {
  position: fixed;
  right: 1.2rem;
  bottom: 7rem;
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--v2b2-orange), var(--v2b2-peru));
  color: #fff;
  border: 0;
  font-size: 1.6rem;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: var(--v2b2-shadow);
}
.v2b2-totop.v2b2-totop-show { display: flex; }

/* Utility */
.v2b2-mt-1 { margin-top: 0.5rem; }
.v2b2-mt-2 { margin-top: 1rem; }
.v2b2-text-center { text-align: center; }
.v2b2-text-gold { color: var(--v2b2-gold); }
.v2b2-text-muted { color: var(--v2b2-muted); }
.v2b2-pb-mobile { padding-bottom: 8rem; }

/* Desktop visibility */
.v2b2-desktop-only { display: none; }

/* Responsive */
@media (min-width: 768px) {
  .v2b2-bottom-nav { display: none; }
  .v2b2-desktop-only { display: block; }
  .v2b2-container { max-width: 900px; }
}
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

/* Accessibility: focus */
.v2b2-btn:focus-visible,
.v2b2-nav-item:focus-visible,
.v2b2-hamburger:focus-visible {
  outline: 0.2rem solid var(--v2b2-gold);
  outline-offset: 0.2rem;
}
