/* GA888 basefiles stylesheet - all custom classes use the vf8b- prefix. */
:root {
  --vf8b-primary: #CD853F;
  --vf8b-secondary: #8B7355;
  --vf8b-bg: #212F3D;
  --vf8b-bg-deep: #1A2530;
  --vf8b-bg-light: #2C3E50;
  --vf8b-text: #F5EFE6;
  --vf8b-text-muted: #C4B69C;
  --vf8b-accent: #FFD27A;
  --vf8b-gold: #E0A84B;
  --vf8b-success: #5BC97E;
  --vf8b-danger: #E55A4E;
  --vf8b-line: rgba(205, 133, 63, 0.28);
}

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

html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  background: var(--vf8b-bg-deep);
  color: var(--vf8b-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
}

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

.vf8b-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; position: relative; }
.vf8b-wrapper { min-height: 100vh; display: flex; flex-direction: column; }

/* ===== Header ===== */
.vf8b-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #1A2530 0%, #212F3D 100%);
  border-bottom: 2px solid var(--vf8b-primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.vf8b-header-inner {
  max-width: 430px; margin: 0 auto; padding: 0.6rem 1.2rem;
  display: flex; align-items: center; gap: 0.8rem; min-height: 56px;
}
.vf8b-logo { display: flex; align-items: center; gap: 0.6rem; flex: 1; min-width: 0; }
.vf8b-logo img { width: 28px; height: 28px; border-radius: 6px; }
.vf8b-logo .vf8b-brand {
  font-size: 1.6rem; font-weight: 800; color: var(--vf8b-accent);
  letter-spacing: 0.5px; white-space: nowrap;
}
.vf8b-logo .vf8b-brand span { color: var(--vf8b-primary); }
.vf8b-header-actions { display: flex; gap: 0.5rem; align-items: center; }
.vf8b-btn {
  border: none; cursor: pointer; border-radius: 8px;
  font-size: 1.25rem; font-weight: 700; padding: 0.6rem 1.0rem;
  min-height: 36px; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.vf8b-btn:active { transform: scale(0.95); }
.vf8b-btn-login {
  background: transparent; color: var(--vf8b-text);
  border: 1px solid var(--vf8b-primary);
}
.vf8b-btn-register {
  background: linear-gradient(135deg, var(--vf8b-gold), var(--vf8b-primary));
  color: #1A2530; box-shadow: 0 2px 8px rgba(205, 133, 63, 0.5);
}
.vf8b-menu-toggle {
  background: transparent; border: none; color: var(--vf8b-text);
  font-size: 2.0rem; cursor: pointer; padding: 0 0.4rem; min-width: 36px;
}

/* ===== Mobile menu ===== */
.vf8b-mobile-menu {
  position: fixed; top: 56px; left: 0; right: 0; z-index: 9999;
  background: var(--vf8b-bg-deep); border-bottom: 2px solid var(--vf8b-primary);
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.vf8b-mobile-menu.vf8b-menu-open { max-height: 480px; box-shadow: 0 10px 24px rgba(0,0,0,0.5); }
.vf8b-mobile-menu ul { list-style: none; max-width: 430px; margin: 0 auto; padding: 0.6rem 1.2rem 1.0rem; }
.vf8b-mobile-menu li a {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.9rem 0.6rem; color: var(--vf8b-text);
  border-bottom: 1px solid rgba(205, 133, 63, 0.18); font-size: 1.35rem;
}
.vf8b-mobile-menu li a i { color: var(--vf8b-primary); width: 24px; text-align: center; }
.vf8b-mobile-menu li a:active { background: rgba(205, 133, 63, 0.12); }

/* ===== Main ===== */
main { padding-top: 72px; padding-bottom: 1rem; }
@media (max-width: 768px) { main { padding-bottom: 90px; } }

/* ===== Carousel ===== */
.vf8b-carousel {
  position: relative; border-radius: 14px; overflow: hidden;
  margin: 1.2rem 0; box-shadow: 0 6px 18px rgba(0,0,0,0.45);
}
.vf8b-carousel-track { position: relative; }
.vf8b-carousel-slide {
  display: none; cursor: pointer; position: relative;
}
.vf8b-carousel-slide.vf8b-slide-active { display: block; }
.vf8b-carousel-slide img { width: 100%; height: 180px; object-fit: cover; }
.vf8b-carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 1.6rem 1.2rem 0.8rem; color: #fff; font-weight: 700; font-size: 1.3rem;
}
.vf8b-carousel-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.vf8b-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5);
  border: none; cursor: pointer; padding: 0;
}
.vf8b-carousel-dot.vf8b-dot-active { background: var(--vf8b-accent); width: 20px; border-radius: 4px; }

/* ===== Section / headings ===== */
.vf8b-section { margin: 1.6rem 0; }
.vf8b-section-title {
  font-size: 1.7rem; font-weight: 800; color: var(--vf8b-accent);
  margin-bottom: 0.8rem; padding-left: 0.8rem;
  border-left: 4px solid var(--vf8b-primary); line-height: 1.4;
}
.vf8b-section-title small { display: block; font-size: 1.15rem; color: var(--vf8b-text-muted); font-weight: 500; }
.vf8b-h1 {
  font-size: 2.0rem; font-weight: 800; color: var(--vf8b-accent);
  line-height: 1.35; margin: 1.2rem 0 0.8rem;
}
.vf8b-lead { font-size: 1.35rem; color: var(--vf8b-text-muted); margin-bottom: 1.0rem; }
.vf8b-p { margin: 0.6rem 0; color: var(--vf8b-text); }

/* ===== Game grid ===== */
.vf8b-game-list { margin: 1.4rem 0 2.0rem; }
.vf8b-cat-head {
  display: flex; align-items: center; gap: 0.6rem; margin: 1.4rem 0 0.6rem;
}
.vf8b-cat-head i { color: var(--vf8b-primary); font-size: 1.8rem; }
.vf8b-cat-head h2 { font-size: 1.5rem; color: var(--vf8b-accent); font-weight: 700; }
.vf8b-cat-head .vf8b-cat-tag {
  margin-left: auto; font-size: 1.1rem; color: var(--vf8b-text-muted);
  background: rgba(205,133,63,0.15); padding: 0.2rem 0.6rem; border-radius: 10px;
}
.vf8b-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
@media (min-width: 480px) { .vf8b-grid { grid-template-columns: repeat(4, 1fr); } }
.vf8b-card {
  background: linear-gradient(160deg, #2C3E50, #1A2530);
  border: 1px solid var(--vf8b-line); border-radius: 10px;
  padding: 0.5rem; text-align: center; cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  overflow: hidden;
}
.vf8b-card:active { transform: scale(0.95); border-color: var(--vf8b-primary); }
.vf8b-card img { width: 100%; height: 64px; object-fit: cover; border-radius: 8px; }
.vf8b-card .vf8b-card-name {
  font-size: 1.05rem; color: var(--vf8b-text); margin-top: 0.4rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600;
}
.vf8b-card .vf8b-card-hot {
  position: relative;
}
.vf8b-card .vf8b-card-hot::after {
  content: "HOT"; position: absolute; top: 2px; right: 2px;
  background: var(--vf8b-danger); color: #fff; font-size: 0.8rem; font-weight: 800;
  padding: 1px 4px; border-radius: 4px;
}

/* ===== Feature / promo cards ===== */
.vf8b-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; margin: 1.0rem 0; }
.vf8b-feature {
  background: linear-gradient(150deg, #2C3E50, #212F3D);
  border: 1px solid var(--vf8b-line); border-radius: 12px;
  padding: 1.0rem; text-align: center;
}
.vf8b-feature i { font-size: 2.2rem; color: var(--vf8b-primary); }
.vf8b-feature h3 { font-size: 1.25rem; color: var(--vf8b-accent); margin: 0.4rem 0; }
.vf8b-feature p { font-size: 1.1rem; color: var(--vf8b-text-muted); }

.vf8b-cta {
  display: block; text-align: center; margin: 1.4rem 0;
  background: linear-gradient(135deg, var(--vf8b-gold), var(--vf8b-primary));
  color: #1A2530; font-weight: 800; font-size: 1.5rem;
  padding: 1.0rem; border-radius: 12px; box-shadow: 0 4px 14px rgba(205,133,63,0.5);
}
.vf8b-cta:active { transform: scale(0.97); }
.vf8b-text-link { color: var(--vf8b-accent); font-weight: 700; border-bottom: 1px dashed var(--vf8b-primary); }

/* ===== RTP table ===== */
.vf8b-rtp-table { width: 100%; border-collapse: collapse; margin: 0.8rem 0; font-size: 1.2rem; }
.vf8b-rtp-table th, .vf8b-rtp-table td { padding: 0.6rem; border-bottom: 1px solid var(--vf8b-line); text-align: left; }
.vf8b-rtp-table th { color: var(--vf8b-accent); background: rgba(205,133,63,0.1); }
.vf8b-rtp-table td .vf8b-rtp-bar { height: 6px; border-radius: 3px; background: var(--vf8b-bg-light); overflow: hidden; margin-top: 4px; }
.vf8b-rtp-table td .vf8b-rtp-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--vf8b-gold), var(--vf8b-accent)); }

/* ===== Testimonials / winners ===== */
.vf8b-review { background: #2C3E50; border-radius: 10px; padding: 0.9rem; margin: 0.6rem 0; border-left: 3px solid var(--vf8b-primary); }
.vf8b-review .vf8b-review-head { display: flex; justify-content: space-between; margin-bottom: 0.3rem; }
.vf8b-review .vf8b-review-name { font-weight: 700; color: var(--vf8b-accent); }
.vf8b-review .vf8b-review-stars { color: var(--vf8b-gold); }
.vf8b-review p { font-size: 1.2rem; color: var(--vf8b-text-muted); }

.vf8b-winners { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.6rem; margin: 0.8rem 0; }
.vf8b-winner { background: #2C3E50; border-radius: 8px; padding: 0.6rem; font-size: 1.1rem; border: 1px solid var(--vf8b-line); }
.vf8b-winner b { color: var(--vf8b-success); }

/* ===== Payment / app ===== */
.vf8b-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.8rem 0; }
.vf8b-pay { flex: 1 1 30%; min-width: 90px; text-align: center; background: #2C3E50; border-radius: 8px; padding: 0.7rem 0.4rem; border: 1px solid var(--vf8b-line); }
.vf8b-pay i { font-size: 2.0rem; color: var(--vf8b-primary); }
.vf8b-pay span { display: block; font-size: 1.0rem; margin-top: 0.3rem; color: var(--vf8b-text-muted); }
.vf8b-app-box { background: linear-gradient(135deg, #2C3E50, #1A2530); border: 1px solid var(--vf8b-line); border-radius: 12px; padding: 1.2rem; margin: 1.0rem 0; text-align: center; }
.vf8b-app-box .vf8b-app-btns { display: flex; gap: 0.6rem; justify-content: center; margin-top: 0.8rem; flex-wrap: wrap; }
.vf8b-app-box .vf8b-app-btn { background: var(--vf8b-primary); color: #1A2530; font-weight: 700; padding: 0.7rem 1.2rem; border-radius: 8px; font-size: 1.25rem; }

/* ===== FAQ ===== */
.vf8b-faq-item { background: #2C3E50; border-radius: 8px; margin: 0.5rem 0; padding: 0.9rem; border: 1px solid var(--vf8b-line); }
.vf8b-faq-item h3 { font-size: 1.25rem; color: var(--vf8b-accent); margin-bottom: 0.3rem; }
.vf8b-faq-item p { font-size: 1.2rem; color: var(--vf8b-text-muted); }

/* ===== Footer ===== */
.vf8b-footer { background: #141C24; border-top: 2px solid var(--vf8b-primary); margin-top: 2.0rem; padding: 1.6rem 0 1.2rem; }
.vf8b-footer-inner { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.vf8b-footer-brand { font-size: 1.3rem; color: var(--vf8b-text-muted); margin-bottom: 0.8rem; }
.vf8b-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.vf8b-footer-promos button, .vf8b-footer-promos a {
  background: var(--vf8b-bg-light); color: var(--vf8b-accent); border: 1px solid var(--vf8b-line);
  padding: 0.5rem 0.9rem; border-radius: 8px; font-size: 1.15rem; font-weight: 700; cursor: pointer;
}
.vf8b-footer-links { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.4rem 0.8rem; margin: 0.8rem 0; }
.vf8b-footer-links a { color: var(--vf8b-text-muted); font-size: 1.2rem; }
.vf8b-footer-copy { font-size: 1.1rem; color: #6B7B8A; text-align: center; margin-top: 0.8rem; border-top: 1px solid rgba(205,133,63,0.15); padding-top: 0.8rem; }

/* ===== Bottom nav ===== */
.vf8b-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #212F3D, #141C24);
  border-top: 2px solid var(--vf8b-primary);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 62px;
}
.vf8b-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--vf8b-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; cursor: pointer; transition: color 0.15s ease, transform 0.15s ease;
  font-size: 1.0rem; font-family: inherit;
}
.vf8b-bottomnav-btn i { font-size: 22px; }
.vf8b-bottomnav-btn:active { transform: scale(0.92); }
.vf8b-bottomnav-btn.vf8b-nav-active { color: var(--vf8b-accent); }
.vf8b-bottomnav-btn.vf8b-nav-active i { color: var(--vf8b-primary); }
.vf8b-bottomnav-btn .vf8b-badge {
  position: absolute; top: 6px; right: 18%; background: var(--vf8b-danger);
  color: #fff; font-size: 0.8rem; border-radius: 8px; padding: 0 4px; font-weight: 700;
}
.vf8b-bottomnav-btn { position: relative; }
@media (min-width: 769px) { .vf8b-bottomnav { display: none; } main { padding-bottom: 1rem; } }

/* Desktop menu tweaks */
@media (min-width: 769px) {
  .vf8b-container, .vf8b-header-inner, .vf8b-footer-inner { max-width: 760px; }
  .vf8b-grid { grid-template-columns: repeat(6, 1fr); }
  .vf8b-carousel-slide img { height: 300px; }
}
