/* ============================================================
   ga88.homes - theme-c82d.css
   All custom classes use prefix "vd29-"
   Palette: #00BFFF | #B0E0E6 | #0000CD | #FF9800 | #BBBBBB | #0D1117
   ============================================================ */

:root {
  --vd29-primary: #00BFFF;
  --vd29-accent: #FF9800;
  --vd29-deep: #0000CD;
  --vd29-light: #B0E0E6;
  --vd29-muted: #BBBBBB;
  --vd29-bg: #0D1117;
  --vd29-bg2: #131b26;
  --vd29-card: #1a2433;
  --vd29-text: #f2f6fb;
  --vd29-text-soft: #c8d4e6;
  --vd29-border: rgba(0, 191, 255, 0.18);
  --vd29-header-h: 5.6rem;
  --vd29-bottomnav-h: 6.2rem;
}

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

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: var(--vd29-bg);
  color: var(--vd29-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; display: block; }

a { color: var(--vd29-primary); text-decoration: none; }

.vd29-container { width: 100%; padding: 0 1.2rem; }
.vd29-wrapper { max-width: 430px; margin: 0 auto; }

/* ============ Header ============ */
.vd29-header {
  position: fixed; top: 0; left: 0; right: 0;
  max-width: 430px; margin: 0 auto;
  height: var(--vd29-header-h);
  background: linear-gradient(90deg, #0b1320, #102034);
  border-bottom: 1px solid var(--vd29-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem; z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.vd29-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.8rem; font-weight: 800; color: var(--vd29-primary);
  letter-spacing: 0.5px;
}
.vd29-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.vd29-logo span { color: var(--vd29-accent); }
.vd29-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.vd29-btn {
  border: none; border-radius: 0.8rem; padding: 0.8rem 1.2rem;
  font-size: 1.2rem; font-weight: 700; cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
  min-height: 44px;
}
.vd29-btn:active { transform: scale(0.94); }
.vd29-btn-login { background: transparent; color: var(--vd29-light); border: 1px solid var(--vd29-primary); }
.vd29-btn-register { background: linear-gradient(90deg, var(--vd29-accent), #ff7a00); color: #0D1117; }
.vd29-menu-btn {
  background: transparent; border: none; color: var(--vd29-primary);
  font-size: 1.8rem; cursor: pointer; padding: 0.4rem; min-width: 44px; min-height: 44px;
}

/* ============ Mobile expandable menu ============ */
.vd29-mobile-menu {
  position: fixed; top: var(--vd29-header-h); left: 0; right: 0;
  max-width: 430px; margin: 0 auto;
  background: #0b1320; border-bottom: 1px solid var(--vd29-border);
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  z-index: 9999;
}
.vd29-mobile-menu.vd29-menu-open { max-height: 480px; }
.vd29-mobile-menu ul { list-style: none; padding: 0.6rem 1.2rem 1.2rem; }
.vd29-mobile-menu li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.vd29-mobile-menu a {
  display: block; padding: 1.1rem 0.4rem; color: var(--vd29-text-soft);
  font-size: 1.3rem; font-weight: 600;
}
.vd29-mobile-menu a:active { color: var(--vd29-accent); }

/* ============ Hero / Carousel ============ */
.vd29-hero { margin-top: var(--vd29-header-h); }
.vd29-carousel {
  position: relative; width: 100%; height: 18rem; overflow: hidden;
}
.vd29-carousel-track { position: relative; width: 100%; height: 100%; }
.vd29-carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  cursor: pointer;
}
.vd29-carousel-slide.vd29-active { opacity: 1; }
.vd29-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.vd29-carousel-cap {
  position: absolute; left: 1.2rem; bottom: 1.4rem; right: 1.2rem;
  background: linear-gradient(90deg, rgba(0,0,0,0.65), rgba(0,0,0,0.25));
  padding: 0.8rem 1rem; border-radius: 0.8rem; color: #fff;
}
.vd29-carousel-cap strong { color: var(--vd29-accent); font-size: 1.5rem; display: block; }
.vd29-carousel-cap span { font-size: 1.1rem; color: var(--vd29-light); }
.vd29-carousel-dots {
  position: absolute; bottom: 0.6rem; right: 1rem; display: flex; gap: 0.4rem;
}
.vd29-carousel-dot {
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
}
.vd29-carousel-dot.vd29-active { background: var(--vd29-accent); }

/* ============ Sections ============ */
.vd29-section { padding: 2rem 1.2rem; }
.vd29-section-title {
  font-size: 1.6rem; font-weight: 800; margin-bottom: 0.8rem;
  color: var(--vd29-primary); border-left: 4px solid var(--vd29-accent);
  padding-left: 0.8rem;
}
.vd29-section-title em { color: var(--vd29-accent); font-style: normal; }
.vd29-lead { font-size: 1.3rem; color: var(--vd29-text-soft); margin-bottom: 1rem; }
.vd29-p { font-size: 1.25rem; color: var(--vd29-text-soft); margin-bottom: 0.8rem; }

/* ============ Game grid (compact) ============ */
.vd29-game-block { margin-bottom: 1.6rem; }
.vd29-game-h3 {
  font-size: 1.4rem; color: var(--vd29-accent); font-weight: 800;
  margin: 1.2rem 0 0.8rem; display: flex; align-items: center; gap: 0.5rem;
}
.vd29-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.vd29-game-card {
  background: var(--vd29-card); border: 1px solid var(--vd29-border);
  border-radius: 0.8rem; overflow: hidden; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.vd29-game-card:active { transform: scale(0.95); box-shadow: 0 4px 14px rgba(0,191,255,0.35); }
.vd29-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.vd29-game-name {
  font-size: 1rem; color: var(--vd29-text-soft); text-align: center;
  padding: 0.4rem 0.2rem; line-height: 1.2rem; height: 2.6rem;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* ============ Feature / info cards ============ */
.vd29-card {
  background: var(--vd29-card); border: 1px solid var(--vd29-border);
  border-radius: 1rem; padding: 1.4rem; margin-bottom: 1.2rem;
}
.vd29-card h3 { font-size: 1.4rem; color: var(--vd29-primary); margin-bottom: 0.6rem; }
.vd29-card p { font-size: 1.2rem; color: var(--vd29-text-soft); }
.vd29-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }

/* ============ Promo banner / CTA ============ */
.vd29-cta {
  background: linear-gradient(90deg, #0000CD, #00BFFF);
  border-radius: 1.2rem; padding: 1.6rem; text-align: center; margin: 1.6rem 0;
}
.vd29-cta h3 { color: #fff; font-size: 1.5rem; margin-bottom: 0.4rem; }
.vd29-cta p { color: var(--vd29-light); font-size: 1.15rem; margin-bottom: 1rem; }
.vd29-cta-btn {
  display: inline-block; background: var(--vd29-accent); color: #0D1117;
  font-weight: 800; padding: 1rem 2rem; border-radius: 0.8rem; font-size: 1.3rem;
}
.vd29-promo-text { color: var(--vd29-accent); font-weight: 700; }

/* ============ Testimonial / winners ============ */
.vd29-winners { display: flex; gap: 0.6rem; overflow-x: auto; padding-bottom: 0.6rem; }
.vd29-winner {
  flex: 0 0 auto; width: 14rem; background: var(--vd29-card);
  border: 1px solid var(--vd29-border); border-radius: 0.8rem; padding: 0.8rem;
}
.vd29-winner .vd29-wname { font-size: 1.15rem; color: var(--vd29-primary); font-weight: 700; }
.vd29-winner .vd29-wgame { font-size: 1rem; color: var(--vd29-text-soft); }
.vd29-winner .vd29-wamt { font-size: 1.25rem; color: var(--vd29-accent); font-weight: 800; }

/* ============ Payment methods ============ */
.vd29-pay { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.vd29-pay span {
  background: var(--vd29-card); border: 1px solid var(--vd29-border);
  border-radius: 0.6rem; padding: 0.6rem 1rem; font-size: 1.1rem; color: var(--vd29-light);
}

/* ============ Reveal animation ============ */
.vd29-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.vd29-reveal.vd29-visible { opacity: 1; transform: translateY(0); }

/* ============ Footer ============ */
.vd29-footer {
  background: #0b1320; border-top: 1px solid var(--vd29-border);
  padding: 2rem 1.2rem 7rem; margin-top: 2rem;
}
.vd29-footer h4 { color: var(--vd29-primary); font-size: 1.3rem; margin-bottom: 0.6rem; }
.vd29-footer p { color: var(--vd29-text-soft); font-size: 1.15rem; margin-bottom: 1rem; }
.vd29-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 0.8rem; margin-bottom: 1.4rem; }
.vd29-footer-links a { color: var(--vd29-text-soft); font-size: 1.15rem; padding: 0.3rem 0; }
.vd29-footer-links a:active { color: var(--vd29-accent); }
.vd29-footer-promo { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.vd29-footer-promo button {
  flex: 1 1 40%; background: linear-gradient(90deg, var(--vd29-accent), #ff7a00);
  color: #0D1117; border: none; border-radius: 0.6rem; padding: 0.8rem; font-weight: 700; font-size: 1.1rem;
}
.vd29-footer-copy { color: var(--vd29-muted); font-size: 1.05rem; text-align: center; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1rem; }

/* ============ Mobile bottom nav ============ */
.vd29-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  max-width: 430px; margin: 0 auto;
  height: var(--vd29-bottomnav-h);
  background: linear-gradient(180deg, #0b1320, #050a12);
  border-top: 1px solid var(--vd29-border);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000;
}
.vd29-bottomnav button {
  flex: 1; background: transparent; border: none; color: var(--vd29-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; min-width: 60px; min-height: 60px; cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}
.vd29-bottomnav button:active { transform: scale(0.92); }
.vd29-bottomnav button .vd29-bn-icon { font-size: 2.2rem; line-height: 1; }
.vd29-bottomnav button .vd29-bn-label { font-size: 1rem; }
.vd29-bottomnav button.vd29-active { color: var(--vd29-accent); }
.vd29-bottomnav button.vd29-bn-promo { color: var(--vd29-primary); }

/* Desktop: hide bottom nav + mobile menu button */
@media (min-width: 769px) {
  .vd29-bottomnav { display: none; }
  .vd29-menu-btn { display: none; }
}

/* Mobile: bottom padding for main content clearance */
@media (max-width: 768px) {
  .vd29-main { padding-bottom: 7rem; }
  body { padding-bottom: 0; }
}

.vd29-main { display: block; }
.vd29-back-top {
  position: fixed; right: 1.2rem; bottom: calc(var(--vd29-bottomnav-h) + 1rem);
  width: 4rem; height: 4rem; border-radius: 50%; background: var(--vd29-deep);
  color: #fff; border: none; font-size: 1.6rem; z-index: 900; display: none;
}
.vd29-back-top.vd29-visible { display: block; }

/* ============ Help content pages ============ */
.vd29-page-hero {
  margin-top: var(--vd29-header-h); padding: 2rem 1.2rem;
  background: linear-gradient(135deg, rgba(0,0,205,0.92), rgba(0,191,255,0.28)), var(--vd29-bg2);
  border-bottom: 1px solid var(--vd29-border);
}
.vd29-page-hero h1 { font-size: 2rem; line-height: 2.5rem; color: #fff; margin-bottom: 0.8rem; }
.vd29-page-hero p { font-size: 1.25rem; color: var(--vd29-light); }
.vd29-help-list { list-style: none; display: grid; gap: 0.8rem; margin: 1rem 0; }
.vd29-help-list li {
  background: rgba(255,255,255,0.04); border-left: 3px solid var(--vd29-accent);
  border-radius: 0.6rem; padding: 0.9rem; color: var(--vd29-text-soft); font-size: 1.2rem;
}
.vd29-step { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 1rem; }
.vd29-step-num {
  flex: 0 0 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--vd29-accent);
  color: #0D1117; display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.vd29-inline-promo { color: var(--vd29-accent); font-weight: 800; text-decoration: underline; cursor: pointer; }
.vd29-note { border: 1px dashed var(--vd29-primary); border-radius: 0.9rem; padding: 1rem; color: var(--vd29-light); font-size: 1.2rem; }
