/* 88clb.homes - layout stylesheet
   Class prefix: wf35a-  |  Palette: #CD853F | #999999 | #2D2D2D */
:root {
  --wf35a-primary: #CD853F;
  --wf35a-secondary: #999999;
  --wf35a-bg: #2D2D2D;
  --wf35a-bg-2: #1f1f1f;
  --wf35a-bg-3: #3a3a3a;
  --wf35a-text: #f5f0e6;
  --wf35a-text-dim: #c9c0b0;
  --wf35a-gold: #e0a050;
  --wf35a-grad: linear-gradient(135deg, #CD853F 0%, #b06a2a 100%);
  --wf35a-radius: 14px;
  --wf35a-shadow: 0 4px 18px rgba(0,0,0,.45);
  --wf35a-maxw: 430px;
}
* { 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", Arial, "Noto Sans", sans-serif;
  background: var(--wf35a-bg);
  color: var(--wf35a-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: var(--wf35a-maxw);
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--wf35a-primary); text-decoration: none; }
img { max-width: 100%; display: block; }
.wf35a-container { width: 100%; padding: 0 14px; }
.wf35a-wrapper { max-width: var(--wf35a-maxw); margin: 0 auto; position: relative; }

/* ===== Header ===== */
header.wf35a-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--wf35a-maxw);
  background: var(--wf35a-bg-2);
  border-bottom: 1px solid rgba(205,133,63,.35);
  z-index: 1000; box-shadow: var(--wf35a-shadow);
}
.wf35a-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; min-height: 52px;
}
.wf35a-logo { display: flex; align-items: center; gap: 8px; }
.wf35a-logo img { width: 28px; height: 28px; border-radius: 6px; }
.wf35a-logo-text { font-size: 1.8rem; font-weight: 800; color: var(--wf35a-gold); letter-spacing: .5px; }
.wf35a-header-btns { display: flex; gap: 6px; align-items: center; }
.wf35a-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 12px; font-size: 1.2rem; font-weight: 700;
  border-radius: 8px; border: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s; min-height: 34px;
}
.wf35a-btn:active { transform: scale(.95); }
.wf35a-btn-login { background: transparent; color: var(--wf35a-text-dim); border: 1px solid var(--wf35a-secondary); }
.wf35a-btn-register { background: var(--wf35a-grad); color: #2D2D2D; box-shadow: 0 3px 8px rgba(205,133,63,.4); }
.wf35a-menu-toggle {
  background: transparent; border: none; color: var(--wf35a-text);
  font-size: 2.0rem; cursor: pointer; padding: 4px 8px; min-width: 36px; min-height: 36px;
}

/* ===== Mobile Menu ===== */
.wf35a-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 9998;
}
.wf35a-menu-overlay.wf35a-active, #wf35a-mobile-menu.wf35a-active ~ .wf35a-menu-overlay { opacity: 1; pointer-events: auto; }
#wf35a-mobile-menu {
  position: fixed; top: 0; right: -85%; width: 80%; max-width: 320px;
  height: 100%; background: var(--wf35a-bg-2); z-index: 9999;
  transform: translateX(0); transition: right .3s ease; padding: 60px 0 20px;
  overflow-y: auto; border-left: 1px solid rgba(205,133,63,.25);
}
#wf35a-mobile-menu.wf35a-active { right: 0; }
.wf35a-mobile-nav { list-style: none; }
.wf35a-mobile-nav li a {
  display: block; padding: 12px 18px; color: var(--wf35a-text);
  font-size: 1.35rem; border-bottom: 1px solid rgba(255,255,255,.06);
}
.wf35a-mobile-nav li a:active { background: rgba(205,133,63,.12); }
.wf35a-menu-close {
  position: absolute; top: 12px; right: 14px; background: transparent;
  border: none; color: var(--wf35a-text); font-size: 2.0rem; cursor: pointer;
}

/* ===== Hero / Carousel ===== */
.wf35a-main { padding-top: 56px; }
.wf35a-carousel {
  position: relative; width: 100%; height: 180px; overflow: hidden;
  border-radius: 0 0 16px 16px; margin-bottom: 12px;
}
.wf35a-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s;
  cursor: pointer;
}
.wf35a-slide.wf35a-active { opacity: 1; }
.wf35a-slide img { width: 100%; height: 180px; object-fit: cover; }
.wf35a-slide-overlay {
  position: absolute; left: 12px; bottom: 14px; background: rgba(0,0,0,.55);
  padding: 6px 12px; border-radius: 8px; font-size: 1.25rem; font-weight: 700;
  color: var(--wf35a-gold);
}
.wf35a-dots {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.wf35a-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; }
.wf35a-dot.wf35a-active { background: var(--wf35a-primary); width: 18px; border-radius: 4px; }

/* ===== Section ===== */
.wf35a-section { padding: 16px 14px; }
.wf35a-section-title {
  font-size: 1.7rem; font-weight: 800; color: var(--wf35a-gold);
  margin-bottom: 10px; padding-left: 10px;
  border-left: 4px solid var(--wf35a-primary);
}
.wf35a-section-title .wf35a-en { color: var(--wf35a-text-dim); font-size: 1.2rem; font-weight: 500; }

/* ===== Game grid ===== */
.wf35a-cat-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 12px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.wf35a-cat-tabs::-webkit-scrollbar { display: none; }
.wf35a-cat-tab {
  padding: 6px 14px; font-size: 1.2rem; font-weight: 700; white-space: nowrap;
  background: var(--wf35a-bg-3); color: var(--wf35a-text-dim);
  border-radius: 20px; border: 1px solid transparent; cursor: pointer;
}
.wf35a-cat-tab:active { background: var(--wf35a-primary); color: #2D2D2D; }

.wf35a-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
}
.wf35a-game-card {
  background: var(--wf35a-bg-2); border-radius: 10px; padding: 6px;
  text-align: center; cursor: pointer; border: 1px solid rgba(255,255,255,.05);
  transition: transform .15s, border-color .15s;
}
.wf35a-game-card:active { transform: scale(.95); border-color: var(--wf35a-primary); }
.wf35a-game-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; }
.wf35a-game-card span {
  display: block; font-size: 1.05rem; margin-top: 5px; color: var(--wf35a-text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ===== Info cards ===== */
.wf35a-card {
  background: var(--wf35a-bg-2); border-radius: var(--wf35a-radius);
  padding: 14px; margin-bottom: 12px; border: 1px solid rgba(255,255,255,.05);
  box-shadow: var(--wf35a-shadow);
}
.wf35a-card h3 { color: var(--wf35a-gold); font-size: 1.5rem; margin-bottom: 8px; }
.wf35a-card p { color: var(--wf35a-text-dim); font-size: 1.25rem; margin-bottom: 6px; }
.wf35a-card ul { margin-left: 18px; color: var(--wf35a-text-dim); }
.wf35a-card li { font-size: 1.2rem; margin-bottom: 4px; }

.wf35a-faq-item {
  border-bottom: 1px solid rgba(255,255,255,.08); padding: 10px 0;
}
.wf35a-faq-q { font-weight: 700; color: var(--wf35a-gold); font-size: 1.3rem; margin-bottom: 4px; }
.wf35a-faq-a { color: var(--wf35a-text-dim); font-size: 1.2rem; }

.wf35a-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
}
.wf35a-stat-box {
  background: var(--wf35a-bg-3); border-radius: 10px; padding: 10px; text-align: center;
}
.wf35a-stat-box b { display: block; font-size: 1.7rem; color: var(--wf35a-primary); }
.wf35a-stat-box span { font-size: 1.1rem; color: var(--wf35a-text-dim); }

.wf35a-promo-banner {
  background: var(--wf35a-grad); color: #2D2D2D; padding: 14px; border-radius: var(--wf35a-radius);
  text-align: center; font-weight: 800; font-size: 1.4rem; cursor: pointer; margin: 10px 0;
  box-shadow: 0 4px 12px rgba(205,133,63,.45);
}
.wf35a-promo-banner:active { transform: scale(.98); }

.wf35a-testimonial {
  background: var(--wf35a-bg-2); padding: 10px 12px; border-radius: 10px; margin-bottom: 8px;
  border-left: 3px solid var(--wf35a-primary);
}
.wf35a-testimonial b { color: var(--wf35a-gold); font-size: 1.25rem; }
.wf35a-testimonial p { color: var(--wf35a-text-dim); font-size: 1.15rem; margin-top: 3px; }
.wf35a-stars { color: var(--wf35a-primary); font-size: 1.2rem; }

.wf35a-payment-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px;
}
.wf35a-pay-item {
  background: var(--wf35a-bg-3); border-radius: 8px; padding: 8px 2px;
  text-align: center; font-size: 1.0rem; color: var(--wf35a-text-dim);
}

.wf35a-winner-list { list-style: none; }
.wf35a-winner-list li {
  display: flex; justify-content: space-between; padding: 7px 0;
  border-bottom: 1px dashed rgba(255,255,255,.1); font-size: 1.2rem;
}
.wf35a-winner-list li b { color: var(--wf35a-gold); }

.wf35a-cta {
  display: block; text-align: center; background: var(--wf35a-grad); color: #2D2D2D;
  padding: 12px; border-radius: 12px; font-weight: 800; font-size: 1.4rem;
  margin: 12px 0; cursor: pointer; box-shadow: 0 4px 12px rgba(205,133,63,.45);
}
.wf35a-cta:active { transform: scale(.98); }
.wf35a-text-link { color: var(--wf35a-primary); font-weight: 700; cursor: pointer; }

/* ===== Back to top ===== */
#wf35a-top-btn {
  position: fixed; right: 14px; bottom: 80px; width: 42px; height: 42px;
  border-radius: 50%; background: var(--wf35a-primary); color: #2D2D2D;
  border: none; font-size: 1.8rem; cursor: pointer; z-index: 998;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
#wf35a-top-btn.wf35a-show { opacity: 1; pointer-events: auto; }

/* ===== Footer ===== */
footer.wf35a-footer {
  background: var(--wf35a-bg-2); padding: 18px 14px 24px;
  border-top: 1px solid rgba(205,133,63,.25); margin-top: 16px;
}
.wf35a-footer-brand { color: var(--wf35a-text-dim); font-size: 1.2rem; margin-bottom: 10px; }
.wf35a-footer-links {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;
}
.wf35a-footer-links a {
  flex: 1 1 45%; text-align: center; padding: 6px; font-size: 1.1rem;
  background: var(--wf35a-bg-3); border-radius: 6px; color: var(--wf35a-text-dim);
}
.wf35a-footer-links a:active { background: var(--wf35a-primary); color: #2D2D2D; }
.wf35a-footer-copy { text-align: center; color: var(--wf35a-secondary); font-size: 1.05rem; }

/* ===== Mobile bottom nav ===== */
nav.wf35a-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--wf35a-maxw); height: 60px;
  background: var(--wf35a-bg-2); border-top: 1px solid rgba(205,133,63,.35);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; box-shadow: 0 -4px 14px rgba(0,0,0,.5);
}
.wf35a-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px; background: transparent; border: none;
  color: var(--wf35a-text-dim); cursor: pointer; padding: 4px; gap: 2px;
  transition: transform .15s, color .15s;
}
.wf35a-bottom-nav-btn:active { transform: scale(.9); color: var(--wf35a-primary); }
.wf35a-bottom-nav-btn .wf35a-nav-icon { font-size: 22px; line-height: 1; }
.wf35a-bottom-nav-btn .wf35a-nav-label { font-size: 1.0rem; line-height: 1; }
.wf35a-bottom-nav-btn.wf35a-current { color: var(--wf35a-primary); }
.wf35a-bottom-nav-btn.wf35a-current .wf35a-nav-icon { color: var(--wf35a-gold); }
.wf35a-nav-badge {
  position: absolute; top: 4px; right: 14px; background: #d04a4a; color: #fff;
  font-size: .85rem; min-width: 14px; height: 14px; border-radius: 7px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
}
.wf35a-bottom-nav-btn { position: relative; }

/* ===== Desktop: hide bottom nav, widen layout ===== */
@media (min-width: 769px) {
  nav.wf35a-bottom-nav { display: none; }
  body { max-width: 760px; }
  .wf35a-grid { grid-template-columns: repeat(6, 1fr); }
  #wf35a-top-btn { bottom: 24px; }
}
@media (max-width: 768px) {
  .wf35a-main { padding-bottom: 80px; }
}

/* ===== Utility ===== */
.wf35a-text-center { text-align: center; }
.wf35a-mt-10 { margin-top: 10px; }
.wf35a-mb-10 { margin-bottom: 10px; }
.wf35a-hidden { display: none !important; }
.wf35a-row { display: flex; gap: 8px; align-items: center; }
.wf35a-chip {
  display: inline-block; padding: 2px 8px; font-size: 1.0rem;
  background: rgba(205,133,63,.18); color: var(--wf35a-gold);
  border-radius: 10px; margin-right: 4px;
}