/* 32wincom base stylesheet - English comments
   All custom classes use prefix "vf8b-".
   Palette: #FF8C00 (orange) | #FF7F50 (coral) | #1C2833 (dark bg)
   Mobile-first, max-width 430px. */

:root {
  --vf8b-primary: #FF8C00;
  --vf8b-accent: #FF7F50;
  --vf8b-bg: #1C2833;
  --vf8b-bg-soft: #243447;
  --vf8b-card: #2A3B4F;
  --vf8b-text: #FFFFFF;
  --vf8b-text-muted: #B8C4D2;
  --vf8b-gold: #FFD24A;
  --vf8b-radius: 12px;
  --vf8b-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

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

html {
  font-size: 62.5%;
}

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

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

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

/* ===== Header ===== */
.vf8b-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #14202c 0%, #1C2833 100%);
  border-bottom: 2px solid var(--vf8b-primary);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.vf8b-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.vf8b-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.vf8b-brand-name {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--vf8b-primary);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.vf8b-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vf8b-btn {
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.vf8b-btn:active {
  transform: scale(0.96);
}

.vf8b-btn-login {
  background: transparent;
  color: var(--vf8b-text);
  border: 1px solid var(--vf8b-text-muted);
}

.vf8b-btn-register {
  background: linear-gradient(135deg, var(--vf8b-primary), var(--vf8b-accent));
  color: #1C2833;
  box-shadow: 0 2px 8px rgba(255, 140, 0, 0.4);
}

.vf8b-menu-btn {
  background: transparent;
  border: 1px solid var(--vf8b-text-muted);
  color: var(--vf8b-text);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ===== Mobile dropdown menu ===== */
.vf8b-mobile-menu {
  display: none;
  background: var(--vf8b-bg-soft);
  border-bottom: 2px solid var(--vf8b-primary);
  padding: 0.5rem 1rem 1rem;
}

.vf8b-menu-open {
  display: block;
}

.vf8b-mobile-menu a {
  display: block;
  padding: 0.85rem 0.6rem;
  color: var(--vf8b-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.35rem;
}

.vf8b-mobile-menu a:active {
  background: rgba(255, 140, 0, 0.12);
}

/* ===== Layout ===== */
.vf8b-main {
  padding: 1rem;
  padding-bottom: 90px; /* clearance for fixed bottom nav */
}

.vf8b-section {
  margin-top: 1.8rem;
}

.vf8b-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--vf8b-gold);
  margin-bottom: 0.8rem;
  padding-left: 0.6rem;
  border-left: 4px solid var(--vf8b-primary);
}

.vf8b-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--vf8b-primary);
  margin: 0.6rem 0;
  line-height: 1.4;
}

.vf8b-lead {
  color: var(--vf8b-text-muted);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

/* ===== Hero carousel ===== */
.vf8b-carousel {
  position: relative;
  border-radius: var(--vf8b-radius);
  overflow: hidden;
  box-shadow: var(--vf8b-shadow);
  margin: 0.6rem 0 1.2rem;
  cursor: pointer;
}

.vf8b-slide {
  display: none;
  position: relative;
}

.vf8b-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.vf8b-slide-active {
  display: block;
}

.vf8b-slide-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  padding: 1.4rem 1rem 0.8rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.vf8b-slide-dots {
  position: absolute;
  bottom: 8px;
  right: 10px;
  display: flex;
  gap: 6px;
}

.vf8b-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
}

/* ===== Promo CTA banner ===== */
.vf8b-cta {
  background: linear-gradient(135deg, var(--vf8b-primary), var(--vf8b-accent));
  border-radius: var(--vf8b-radius);
  padding: 1.2rem;
  text-align: center;
  color: #1C2833;
  margin: 1.2rem 0;
  box-shadow: var(--vf8b-shadow);
}

.vf8b-cta h2 {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
}

.vf8b-cta p {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.vf8b-cta-btn {
  background: #1C2833;
  color: var(--vf8b-gold);
  border: none;
  border-radius: 8px;
  padding: 0.8rem 1.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  cursor: pointer;
}

/* ===== Game grid ===== */
.vf8b-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.4rem 0 0.6rem;
}

.vf8b-cat-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--vf8b-accent);
}

.vf8b-cat-link {
  font-size: 1.2rem;
  color: var(--vf8b-primary);
}

.vf8b-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.vf8b-game-card {
  background: var(--vf8b-card);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.vf8b-game-card:active {
  transform: scale(0.96);
}

.vf8b-game-card img {
  width: 100%;
  height: 80px;
  object-fit: cover;
}

.vf8b-game-name {
  font-size: 1.1rem;
  color: var(--vf8b-text);
  padding: 0.35rem 0.3rem 0.5rem;
  line-height: 1.25;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Features / info cards ===== */
.vf8b-card {
  background: var(--vf8b-card);
  border-radius: var(--vf8b-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--vf8b-primary);
}

.vf8b-card h3 {
  font-size: 1.45rem;
  color: var(--vf8b-gold);
  margin-bottom: 0.4rem;
}

.vf8b-card p {
  font-size: 1.25rem;
  color: var(--vf8b-text-muted);
}

.vf8b-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.vf8b-feature {
  background: var(--vf8b-card);
  border-radius: 10px;
  padding: 0.9rem;
  text-align: center;
}

.vf8b-feature i,
.vf8b-feature span.material-icons-outlined {
  font-size: 28px;
  color: var(--vf8b-primary);
  margin-bottom: 0.3rem;
}

.vf8b-feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.vf8b-feature-desc {
  font-size: 1.1rem;
  color: var(--vf8b-text-muted);
}

/* ===== RTP compact table ===== */
.vf8b-rtp-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.vf8b-rtp-list li {
  background: var(--vf8b-card);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
}

.vf8b-rtp-list b {
  color: var(--vf8b-gold);
}

/* ===== Testimonials ===== */
.vf8b-testimonial {
  background: var(--vf8b-card);
  border-radius: 10px;
  padding: 0.9rem;
  margin-bottom: 0.7rem;
  border-left: 3px solid var(--vf8b-accent);
}

.vf8b-testimonial-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--vf8b-primary);
}

.vf8b-testimonial-text {
  font-size: 1.2rem;
  color: var(--vf8b-text-muted);
  margin-top: 0.2rem;
}

/* ===== Payment methods ===== */
.vf8b-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.vf8b-pay-chip {
  background: var(--vf8b-card);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Winners ===== */
.vf8b-winner {
  display: flex;
  justify-content: space-between;
  background: var(--vf8b-card);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
}

.vf8b-winner b {
  color: var(--vf8b-gold);
}

/* ===== SEO content paragraph ===== */
.vf8b-seo-text {
  font-size: 1.3rem;
  color: var(--vf8b-text-muted);
  margin-bottom: 1rem;
}

.vf8b-seo-text a {
  color: var(--vf8b-accent);
  font-weight: 600;
}

/* ===== Footer ===== */
.vf8b-footer {
  background: #14202c;
  border-top: 2px solid var(--vf8b-primary);
  padding: 1.4rem 1rem 2.4rem;
  margin-top: 1.8rem;
}

.vf8b-footer-brand {
  font-size: 1.3rem;
  color: var(--vf8b-text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.vf8b-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.vf8b-footer-promos button {
  background: var(--vf8b-primary);
  color: #1C2833;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 0.9rem;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.vf8b-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 0.8rem;
  margin-bottom: 1rem;
}

.vf8b-footer-links a {
  font-size: 1.2rem;
  color: var(--vf8b-text-muted);
}

.vf8b-copyright {
  font-size: 1.1rem;
  color: var(--vf8b-text-muted);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.8rem;
}

/* ===== Mobile bottom navigation ===== */
.vf8b-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 62px;
  background: linear-gradient(180deg, #243447, #14202c);
  border-top: 2px solid var(--vf8b-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}

.vf8b-bottomnav-btn {
  background: transparent;
  border: none;
  color: var(--vf8b-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  font-size: 1rem;
  gap: 2px;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.vf8b-bottomnav-btn i,
.vf8b-bottomnav-btn span.material-icons,
.vf8b-bottomnav-btn ion-icon {
  font-size: 22px;
}

.vf8b-bottomnav-btn:active {
  transform: scale(0.9);
}

.vf8b-bottomnav-active {
  color: var(--vf8b-primary);
}

.vf8b-bottomnav-active i,
.vf8b-bottomnav-active span.material-icons,
.vf8b-bottomnav-active ion-icon {
  color: var(--vf8b-gold);
}

/* ===== Desktop: hide bottom nav, widen layout ===== */
@media (min-width: 769px) {
  .vf8b-bottomnav {
    display: none;
  }

  body {
    max-width: 430px;
  }

  .vf8b-main {
    padding-bottom: 1.5rem;
  }
}

/* Ensure tap targets meet 44px minimum */
button,
a.vf8b-cat-link,
.vf8b-game-card {
  min-height: 44px;
}
