/* ============================================================
   f1689.click - layout-6f5b.css
   Mobile-first layout for f1689 basefiles.
   All custom classes use the w6f5b- prefix.
   Palette: #00E5FF | #1B263B | #E8F5E8 | #EEEEEE
   ============================================================ */

:root {
  --w6f5b-primary: #00E5FF;
  --w6f5b-bg: #1B263B;
  --w6f5b-bg-2: #15203a;
  --w6f5b-text: #E8F5E8;
  --w6f5b-muted: #EEEEEE;
  --w6f5b-accent: #00E5FF;
  --w6f5b-card: #21304f;
  --w6f5b-border: #2c3e63;
  --w6f5b-danger: #ff5c7a;
  --w6f5b-gold: #ffd24a;
}

* { box-sizing: border-box; }

html { font-size: 62.5%; }

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

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

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

/* ---------- Header ---------- */
.w6f5b-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--w6f5b-bg-2);
  border-bottom: 1px solid var(--w6f5b-border);
  max-width: 430px;
  margin: 0 auto;
}
.w6f5b-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  height: 5.2rem;
}
.w6f5b-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--w6f5b-primary);
  font-weight: 800;
  font-size: 1.8rem;
}
.w6f5b-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.5rem; }
.w6f5b-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.w6f5b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.6rem;
  padding: 0 1.2rem;
  border: none;
  border-radius: 0.8rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
  color: #0b1220;
}
.w6f5b-btn:active { transform: scale(.96); }
.w6f5b-btn-login {
  background: transparent;
  border: 1px solid var(--w6f5b-primary);
  color: var(--w6f5b-primary);
}
.w6f5b-btn-register {
  background: var(--w6f5b-primary);
  color: #0b1220;
}
.w6f5b-menu-toggle {
  background: transparent;
  border: none;
  color: var(--w6f5b-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0 0.4rem;
}

/* ---------- Mobile menu ---------- */
.w6f5b-mobile-menu {
  display: none;
  background: var(--w6f5b-bg-2);
  border-bottom: 1px solid var(--w6f5b-border);
  padding: 0.6rem 1rem 1rem;
}
.w6f5b-mobile-menu.w6f5b-menu-open { display: block; }
.w6f5b-mobile-menu a {
  display: block;
  padding: 1rem 0.8rem;
  color: var(--w6f5b-text);
  border-bottom: 1px solid var(--w6f5b-border);
  font-size: 1.4rem;
}
.w6f5b-mobile-menu a:last-child { border-bottom: none; }
.w6f5b-mobile-menu a:hover { color: var(--w6f5b-primary); text-decoration: none; }

/* ---------- Main ---------- */
.w6f5b-main {
  padding-top: 5.6rem;
  padding-bottom: 8rem;
}

.w6f5b-section { padding: 1.6rem 1.2rem; }
.w6f5b-section h2 {
  font-size: 2rem;
  margin: 0 0 1rem;
  color: var(--w6f5b-primary);
}
.w6f5b-section h3 {
  font-size: 1.6rem;
  margin: 1.2rem 0 0.6rem;
  color: var(--w6f5b-primary);
}
.w6f5b-section p { margin: 0 0 1rem; line-height: 2.4rem; }

.w6f5b-h1 {
  font-size: 2.4rem;
  line-height: 3rem;
  margin: 0 0 1rem;
  color: var(--w6f5b-primary);
  text-align: center;
}

/* ---------- Carousel ---------- */
.w6f5b-carousel {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  margin: 0 0 1.2rem;
}
.w6f5b-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.w6f5b-slide.w6f5b-slide-active { display: block; }
.w6f5b-slide img { width: 100%; height: auto; }
.w6f5b-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.w6f5b-dot {
  width: 0.8rem; height: 0.8rem;
  background: rgba(255,255,255,.5);
  border-radius: 50%;
  border: none;
  cursor: pointer;
}
.w6f5b-dot.w6f5b-dot-active { background: var(--w6f5b-primary); }

/* ---------- Game grid ---------- */
.w6f5b-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.w6f5b-game-card {
  background: var(--w6f5b-card);
  border: 1px solid var(--w6f5b-border);
  border-radius: 0.8rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease;
  text-align: center;
}
.w6f5b-game-card:active { transform: scale(.95); }
.w6f5b-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.w6f5b-game-name {
  font-size: 1.1rem;
  color: var(--w6f5b-text);
  padding: 0.4rem 0.2rem 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.w6f5b-cat-title {
  font-size: 1.8rem;
  color: var(--w6f5b-primary);
  margin: 1.6rem 0 0.8rem;
  border-left: 4px solid var(--w6f5b-primary);
  padding-left: 0.8rem;
}

/* ---------- Cards / features ---------- */
.w6f5b-card {
  background: var(--w6f5b-card);
  border: 1px solid var(--w6f5b-border);
  border-radius: 1rem;
  padding: 1.2rem;
  margin: 0 0 1rem;
}
.w6f5b-feature-list { list-style: none; padding: 0; margin: 0; }
.w6f5b-feature-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--w6f5b-border);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 2.2rem;
}
.w6f5b-feature-list li:last-child { border-bottom: none; }
.w6f5b-feature-list .w6f5b-icon { color: var(--w6f5b-primary); font-size: 1.8rem; }

/* ---------- Promo CTA ---------- */
.w6f5b-cta {
  display: block;
  background: linear-gradient(135deg, var(--w6f5b-primary), #00b8d4);
  color: #0b1220;
  text-align: center;
  padding: 1.2rem;
  border-radius: 1rem;
  font-weight: 800;
  font-size: 1.6rem;
  margin: 1.2rem 0;
}
.w6f5b-cta:active { transform: scale(.98); }
.w6f5b-link-bold { color: var(--w6f5b-primary); font-weight: 700; }

/* ---------- RTP table ---------- */
.w6f5b-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1rem;
  font-size: 1.3rem;
}
.w6f5b-table th, .w6f5b-table td {
  border: 1px solid var(--w6f5b-border);
  padding: 0.7rem 0.6rem;
  text-align: center;
}
.w6f5b-table th { background: var(--w6f5b-bg-2); color: var(--w6f5b-primary); }

/* ---------- Testimonials ---------- */
.w6f5b-testimonial {
  background: var(--w6f5b-card);
  border-left: 3px solid var(--w6f5b-primary);
  padding: 1rem;
  border-radius: 0.6rem;
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
  line-height: 2.2rem;
}
.w6f5b-testimonial .w6f5b-author { color: var(--w6f5b-primary); font-weight: 700; margin-top: 0.4rem; }

/* ---------- Winners ---------- */
.w6f5b-winner-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--w6f5b-border);
  font-size: 1.3rem;
}
.w6f5b-winner-row:last-child { border-bottom: none; }
.w6f5b-winner-amount { color: var(--w6f5b-gold); font-weight: 700; }

/* ---------- Payment icons ---------- */
.w6f5b-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.w6f5b-pay {
  background: var(--w6f5b-card);
  border: 1px solid var(--w6f5b-border);
  border-radius: 0.6rem;
  padding: 0.6rem 0.8rem;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---------- App download ---------- */
.w6f5b-app-box {
  background: var(--w6f5b-card);
  border: 1px solid var(--w6f5b-border);
  border-radius: 1rem;
  padding: 1.2rem;
  text-align: center;
  margin: 1rem 0;
}
.w6f5b-app-box img { margin: 0 auto 0.8rem; border-radius: 0.8rem; }

/* ---------- FAQ ---------- */
.w6f5b-faq-item {
  background: var(--w6f5b-card);
  border: 1px solid var(--w6f5b-border);
  border-radius: 0.8rem;
  padding: 1rem;
  margin: 0 0 0.6rem;
}
.w6f5b-faq-item h3 { margin: 0 0 0.4rem; font-size: 1.4rem; color: var(--w6f5b-primary); }
.w6f5b-faq-item p { margin: 0; line-height: 2.2rem; font-size: 1.3rem; }

/* ---------- Footer ---------- */
.w6f5b-footer {
  background: var(--w6f5b-bg-2);
  border-top: 1px solid var(--w6f5b-border);
  padding: 1.6rem 1.2rem 2rem;
  font-size: 1.3rem;
  color: var(--w6f5b-muted);
}
.w6f5b-footer h3 { color: var(--w6f5b-primary); font-size: 1.5rem; margin: 0 0 0.6rem; }
.w6f5b-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0.5rem 0 1rem;
}
.w6f5b-footer-links a { color: var(--w6f5b-muted); font-size: 1.2rem; }
.w6f5b-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0 1rem; }
.w6f5b-footer-promos .w6f5b-btn { font-size: 1.2rem; padding: 0 0.8rem; min-height: 3rem; }
.w6f5b-footer-copy { font-size: 1.1rem; color: var(--w6f5b-muted); }

/* ---------- Mobile bottom nav ---------- */
.w6f5b-bnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--w6f5b-bg-2);
  border-top: 1px solid var(--w6f5b-border);
  height: 6rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 430px;
  margin: 0 auto;
}
.w6f5b-bnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--w6f5b-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  font-size: 1.1rem;
  transition: color .15s ease, transform .15s ease;
}
.w6f5b-bnav-btn .w6f5b-bnav-icon { font-size: 2.2rem; line-height: 1; }
.w6f5b-bnav-btn:active { transform: scale(.92); }
.w6f5b-bnav-btn.w6f5b-bnav-active { color: var(--w6f5b-primary); }
.w6f5b-bnav-btn.w6f5b-bnav-active .w6f5b-bnav-icon { color: var(--w6f5b-primary); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .w6f5b-bnav { display: none; }
  .w6f5b-main { padding-bottom: 2rem; }
}

/* ---------- Small screens tuning ---------- */
@media (max-width: 360px) {
  .w6f5b-grid { grid-template-columns: repeat(3, 1fr); }
  .w6f5b-game-name { font-size: 1rem; }
}
