/* F168 VIP - style-035f.css
   All custom classes use the w035f- prefix.
   Palette: #0C0C0C | #E8F5E8 | #BBBBBB | #C71585 | #008B8B | #00695C
   Mobile-first, max-width 430px. rem units (root 62.5%). */

:root {
  --w035f-bg: #0C0C0C;
  --w035f-bg-soft: #161616;
  --w035f-bg-card: #1c1c1c;
  --w035f-text: #E8F5E8;
  --w035f-muted: #BBBBBB;
  --w035f-primary: #C71585;
  --w035f-secondary: #008B8B;
  --w035f-accent: #00695C;
  --w035f-border: rgba(232,245,232,0.10);
  --w035f-radius: 14px;
  --w035f-radius-sm: 9px;
  --w035f-header-h: 58px;
  --w035f-bnav-h: 62px;
}

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

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

body {
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  background: var(--w035f-bg);
  color: var(--w035f-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.w035f-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 14px; }
.w035f-wrapper { padding-bottom: 30px; }

/* ---------- Header ---------- */
.w035f-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, #0C0C0C 0%, #1a0a12 100%);
  border-bottom: 1px solid var(--w035f-border);
  height: var(--w035f-header-h);
}
.w035f-header-inner {
  max-width: 430px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px;
}
.w035f-logo { display: flex; align-items: center; gap: 8px; }
.w035f-logo img { width: 28px; height: 28px; border-radius: 6px; }
.w035f-logo .w035f-logo-text {
  font-size: 1.7rem; font-weight: 800; color: var(--w035f-text);
  letter-spacing: 0.3px;
}
.w035f-logo .w035f-logo-text b { color: var(--w035f-primary); }

.w035f-header-actions { display: flex; align-items: center; gap: 8px; }
.w035f-menu-btn {
  background: transparent; border: 1px solid var(--w035f-border);
  color: var(--w035f-text); width: 38px; height: 38px;
  border-radius: 9px; font-size: 1.7rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

.w035f-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 14px; border-radius: 20px; font-weight: 700; font-size: 1.3rem;
  cursor: pointer; border: none; min-height: 36px; transition: transform .15s ease, opacity .15s;
}
.w035f-btn:active { transform: scale(0.96); }
.w035f-btn-login { background: transparent; border: 1px solid var(--w035f-secondary); color: var(--w035f-secondary); }
.w035f-btn-register { background: linear-gradient(90deg, var(--w035f-primary), #e23a9e); color: #fff; }
.w035f-btn-ghost { background: var(--w035f-bg-card); color: var(--w035f-text); border: 1px solid var(--w035f-border); }
.w035f-btn-promo { background: linear-gradient(90deg, var(--w035f-primary), var(--w035f-accent)); color: #fff; padding: 10px 22px; font-size: 1.5rem; }

.w035f-link-promo { color: var(--w035f-primary); font-weight: 700; }
.w035f-link-promo:hover { text-decoration: underline; }

/* ---------- Mobile menu ---------- */
.w035f-mobile-menu {
  position: fixed; top: var(--w035f-header-h); left: 0; right: 0; z-index: 9999;
  background: #121212; border-bottom: 1px solid var(--w035f-border);
  max-height: 0; overflow: hidden; transition: max-height .28s ease;
}
.w035f-mobile-menu.w035f-menu-open { max-height: 420px; }
.w035f-mobile-menu-inner { max-width: 430px; margin: 0 auto; padding: 10px 14px 16px; }
.w035f-mobile-menu a {
  display: block; padding: 11px 10px; border-bottom: 1px solid var(--w035f-border);
  font-size: 1.45rem; color: var(--w035f-text);
}
.w035f-mobile-menu a:active { color: var(--w035f-primary); }

/* ---------- Main spacing ---------- */
.w035f-main { padding-top: calc(var(--w035f-header-h) + 6px); }

/* ---------- Hero carousel ---------- */
.w035f-hero { margin: 12px 0 4px; border-radius: var(--w035f-radius); overflow: hidden; position: relative; }
.w035f-slides { position: relative; height: 190px; }
.w035f-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease;
  cursor: pointer;
}
.w035f-slide.w035f-slide-active { opacity: 1; }
.w035f-slide img { width: 100%; height: 100%; object-fit: cover; }
.w035f-slide .w035f-slide-caption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  background: linear-gradient(90deg, rgba(199,21,133,0.85), rgba(0,105,92,0.6));
  padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: 1.4rem;
}
.w035f-dots { display: flex; gap: 6px; justify-content: center; padding: 8px 0; }
.w035f-dot { width: 8px; height: 8px; border-radius: 50%; background: #444; cursor: pointer; }
.w035f-dot.w035f-dot-active { background: var(--w035f-primary); }

/* ---------- Section ---------- */
.w035f-section { padding: 14px 0 6px; }
.w035f-section-title {
  font-size: 1.9rem; font-weight: 800; margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px; color: var(--w035f-text);
}
.w035f-section-title .w035f-bar { width: 4px; height: 20px; background: var(--w035f-primary); border-radius: 3px; }
.w035f-section-sub { color: var(--w035f-muted); font-size: 1.35rem; margin-bottom: 10px; }

/* ---------- Game grid ---------- */
.w035f-cat-head {
  display: flex; align-items: center; gap: 8px; margin: 14px 0 8px;
  font-size: 1.6rem; font-weight: 700; color: var(--w035f-secondary);
}
.w035f-cat-head .w035f-cat-tag { font-size: 1.1rem; color: var(--w035f-muted); font-weight: 500; }

.w035f-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.w035f-game {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--w035f-bg-card); border-radius: var(--w035f-radius-sm);
  padding: 6px; cursor: pointer; transition: transform .15s ease, box-shadow .15s;
  border: 1px solid var(--w035f-border);
}
.w035f-game:active { transform: scale(0.95); box-shadow: 0 0 0 2px var(--w035f-primary); }
.w035f-game img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 7px; }
.w035f-game-name {
  font-size: 1.05rem; text-align: center; color: var(--w035f-text);
  line-height: 1.3rem; height: 2.6rem; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* ---------- Cards ---------- */
.w035f-card {
  background: var(--w035f-bg-card); border-radius: var(--w035f-radius);
  padding: 14px; border: 1px solid var(--w035f-border); margin-bottom: 12px;
}
.w035f-card h3 { font-size: 1.6rem; margin-bottom: 8px; color: var(--w035f-primary); }
.w035f-card p { font-size: 1.35rem; color: var(--w035f-muted); line-height: 1.6rem; }

.w035f-features { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.w035f-feature {
  background: var(--w035f-bg-card); border-radius: var(--w035f-radius-sm);
  padding: 12px; border: 1px solid var(--w035f-border); text-align: center;
}
.w035f-feature .w035f-feature-ic { font-size: 2.2rem; color: var(--w035f-secondary); margin-bottom: 6px; }
.w035f-feature h4 { font-size: 1.3rem; margin-bottom: 4px; }
.w035f-feature p { font-size: 1.15rem; color: var(--w035f-muted); line-height: 1.4rem; }

/* ---------- RTP / data rows ---------- */
.w035f-rtp-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px dashed var(--w035f-border); font-size: 1.3rem;
}
.w035f-rtp-row:last-child { border-bottom: none; }
.w035f-rtp-row b { color: var(--w035f-secondary); }

/* ---------- Testimonials ---------- */
.w035f-testi { background: var(--w035f-bg-card); border-radius: var(--w035f-radius-sm); padding: 12px; margin-bottom: 10px; border-left: 3px solid var(--w035f-primary); }
.w035f-testi .w035f-testi-name { font-weight: 700; font-size: 1.3rem; color: var(--w035f-secondary); }
.w035f-testi .w035f-testi-text { font-size: 1.3rem; color: var(--w035f-muted); margin-top: 4px; }

/* ---------- Winners ---------- */
.w035f-winner { display: flex; justify-content: space-between; padding: 7px 10px; background: var(--w035f-bg-card); border-radius: 8px; margin-bottom: 6px; font-size: 1.25rem; }
.w035f-winner b { color: var(--w035f-primary); }

/* ---------- Payment / app ---------- */
.w035f-pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.w035f-pay-chip { background: var(--w035f-bg-card); border: 1px solid var(--w035f-border); border-radius: 20px; padding: 6px 12px; font-size: 1.2rem; color: var(--w035f-text); }

.w035f-app-cta { background: linear-gradient(90deg, #00695C, #008B8B); border-radius: var(--w035f-radius); padding: 16px; text-align: center; margin-bottom: 12px; }
.w035f-app-cta h3 { color: #fff; font-size: 1.7rem; margin-bottom: 6px; }
.w035f-app-cta p { color: #e8f5e8; font-size: 1.3rem; margin-bottom: 10px; }

/* ---------- FAQ ---------- */
.w035f-faq { border-bottom: 1px solid var(--w035f-border); padding: 10px 0; }
.w035f-faq h4 { font-size: 1.4rem; color: var(--w035f-primary); margin-bottom: 4px; }
.w035f-faq p { font-size: 1.3rem; color: var(--w035f-muted); }

/* ---------- SEO text ---------- */
.w035f-seo-text { font-size: 1.32rem; color: var(--w035f-muted); line-height: 1.65rem; }
.w035f-seo-text b { color: var(--w035f-text); }
.w035f-seo-text a { color: var(--w035f-secondary); }

/* ---------- Play now CTA ---------- */
.w035f-playnow { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 14px 0; }

/* ---------- Footer ---------- */
.w035f-footer { background: #0a0a0a; border-top: 1px solid var(--w035f-border); padding: 18px 0 90px; margin-top: 10px; }
.w035f-footer-brand { font-size: 1.3rem; color: var(--w035f-muted); line-height: 1.6rem; margin-bottom: 12px; }
.w035f-footer-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 12px; }
.w035f-footer-links a { font-size: 1.2rem; color: var(--w035f-muted); }
.w035f-footer-links a:hover { color: var(--w035f-primary); }
.w035f-footer-promo { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.w035f-footer-copy { font-size: 1.1rem; color: #666; }

/* ---------- Bottom nav ---------- */
.w035f-bnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #161616 0%, #0C0C0C 100%);
  border-top: 1px solid var(--w035f-border);
  height: var(--w035f-bnav-h);
  display: flex; justify-content: space-around; align-items: center;
}
.w035f-bnav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px; background: transparent; border: none;
  color: var(--w035f-muted); cursor: pointer; gap: 2px;
  transition: color .15s ease, transform .15s ease;
}
.w035f-bnav-btn:active { transform: scale(0.92); }
.w035f-bnav-btn .w035f-bnav-ic { font-size: 22px; line-height: 1; }
.w035f-bnav-btn .w035f-bnav-label { font-size: 1.0rem; }
.w035f-bnav-active { color: var(--w035f-primary); }
.w035f-bnav-active .w035f-bnav-ic { color: var(--w035f-primary); }

/* Desktop: hide bottom nav, widen container */
@media (min-width: 769px) {
  .w035f-bnav { display: none; }
  .w035f-container { max-width: 430px; }
  .w035f-footer { padding-bottom: 30px; }
}

/* Mobile bottom padding clearance */
@media (max-width: 768px) {
  .w035f-main { padding-bottom: 80px; }
}
