/* ============================================================
   betso88 casino - Core Stylesheet (mobile-first, max 430px)
   All custom classes use the we5f8- prefix
   ============================================================ */
:root {
  --we5f8-bg-dark: #262626;
  --we5f8-bg-deep: #1a1a1a;
  --we5f8-bg-card: #2a2a2a;
  --we5f8-primary: #008B8B;
  --we5f8-secondary: #26A69A;
  --we5f8-accent: #0097A7;
  --we5f8-text-light: #F5DEB3;
  --we5f8-text-bright: #fff5e0;
  --we5f8-text-muted: #c4b89a;
  --we5f8-gold: #ffc107;
  --we5f8-border: rgba(245, 222, 179, 0.18);
  --we5f8-radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; }
body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background: var(--we5f8-bg-dark);
  color: var(--we5f8-text-light);
  line-height: 1.5;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--we5f8-text-bright); text-decoration: none; }

/* ----- Header ----- */
.we5f8-header {
  position: sticky; top: 0; z-index: 1000;
  background: linear-gradient(135deg, #1f1f1f 0%, #262626 100%);
  border-bottom: 1px solid var(--we5f8-primary);
  padding: 0.8rem 1rem;
}
.we5f8-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.we5f8-logo-area { display: flex; align-items: center; gap: 0.6rem; flex: 1; min-width: 0; }
.we5f8-logo-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--we5f8-primary), var(--we5f8-accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; flex-shrink: 0;
}
.we5f8-logo-text {
  font-size: 1.6rem; font-weight: 700; color: var(--we5f8-text-bright);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.we5f8-logo-text span { color: var(--we5f8-secondary); }
.we5f8-header-btns { display: flex; gap: 0.5rem; align-items: center; }

/* ----- Buttons ----- */
.we5f8-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.6rem 1rem; border-radius: 8px;
  font-size: 1.3rem; font-weight: 600;
  border: none; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  min-height: 36px; text-decoration: none; line-height: 1;
}
.we5f8-btn-primary {
  background: linear-gradient(135deg, var(--we5f8-primary), var(--we5f8-accent));
  color: #fff; box-shadow: 0 2px 8px rgba(0, 151, 167, 0.35);
}
.we5f8-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0, 151, 167, 0.5); }
.we5f8-btn-secondary {
  background: transparent; color: var(--we5f8-text-bright);
  border: 1px solid var(--we5f8-secondary);
}
.we5f8-btn-secondary:hover { background: rgba(38, 166, 154, 0.15); }
.we5f8-btn-block { display: flex; width: 100%; }
.we5f8-menu-toggle {
  background: transparent; border: none;
  color: var(--we5f8-text-light); font-size: 1.8rem;
  cursor: pointer; padding: 0.4rem;
}

/* ----- Mobile slide-in menu ----- */
.we5f8-mobile-menu {
  position: fixed; top: 0; right: -100%;
  width: 82%; max-width: 320px; height: 100vh;
  background: var(--we5f8-bg-deep); z-index: 9999;
  transition: right 0.3s ease; overflow-y: auto;
  padding: 4.5rem 1.5rem 2rem;
  border-left: 1px solid var(--we5f8-primary);
}
.we5f8-mobile-menu.we5f8-menu-active { right: 0; }
.we5f8-menu-close {
  position: absolute; top: 0.8rem; right: 0.8rem;
  background: transparent; border: none;
  color: var(--we5f8-text-bright); font-size: 2rem; cursor: pointer;
}
.we5f8-menu-section { margin-bottom: 1.4rem; }
.we5f8-menu-title {
  font-size: 1.15rem; color: var(--we5f8-secondary);
  text-transform: uppercase; letter-spacing: 0.6px;
  margin-bottom: 0.5rem; padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--we5f8-border);
}
.we5f8-menu-link {
  display: block; padding: 0.7rem 0.5rem;
  color: var(--we5f8-text-light); font-size: 1.3rem;
  border-radius: 6px;
  transition: background 0.2s, padding 0.2s;
}
.we5f8-menu-link:hover, .we5f8-menu-link:focus {
  background: rgba(38, 166, 154, 0.15);
  color: var(--we5f8-text-bright); padding-left: 0.9rem;
}

/* ----- Carousel ----- */
.we5f8-carousel {
  position: relative; width: 100%; overflow: hidden;
  background: var(--we5f8-bg-deep);
}
.we5f8-slides { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.we5f8-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.6s ease; cursor: pointer;
}
.we5f8-slide.we5f8-slide-active { opacity: 1; }
.we5f8-slide img { width: 100%; height: 100%; object-fit: cover; }
.we5f8-carousel-dots {
  position: absolute; bottom: 0.8rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 0.5rem;
}
.we5f8-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(245, 222, 179, 0.4);
  border: none; cursor: pointer; transition: all 0.3s;
}
.we5f8-dot.we5f8-dot-active { background: var(--we5f8-secondary); transform: scale(1.3); }
.we5f8-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5); color: var(--we5f8-text-bright);
  border: none; border-radius: 50%; cursor: pointer;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.we5f8-carousel-arrow.we5f8-prev { left: 0.6rem; }
.we5f8-carousel-arrow.we5f8-next { right: 0.6rem; }

/* ----- Main / sections ----- */
main { padding: 1.5rem 1rem 90px; }
.we5f8-section { margin-bottom: 2rem; }
.we5f8-h1 {
  font-size: 2rem; color: var(--we5f8-text-bright);
  text-align: center; margin: 1rem 0; line-height: 1.3;
}
.we5f8-section-title {
  font-size: 1.7rem; color: var(--we5f8-text-bright);
  margin-bottom: 0.8rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--we5f8-primary);
  display: flex; align-items: center; gap: 0.5rem;
}
.we5f8-section-title i, .we5f8-section-title .material-icons,
.we5f8-section-title .material-icons-outlined { color: var(--we5f8-secondary); }
.we5f8-intro-text {
  font-size: 1.3rem; color: var(--we5f8-text-muted);
  margin-bottom: 1rem; line-height: 1.6;
}
.we5f8-intro-text a { color: var(--we5f8-secondary); font-weight: 600; text-decoration: underline; }

/* ----- Game grid ----- */
.we5f8-game-section { margin-bottom: 2rem; }
.we5f8-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.we5f8-game-card {
  background: linear-gradient(135deg, var(--we5f8-bg-card), #1f1f1f);
  border-radius: 8px; padding: 0.4rem; text-align: center;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  border: 1px solid var(--we5f8-border); overflow: hidden;
}
.we5f8-game-card:hover, .we5f8-game-card:focus {
  transform: translateY(-2px);
  border-color: var(--we5f8-secondary);
  box-shadow: 0 4px 12px rgba(38, 166, 154, 0.3);
}
.we5f8-game-img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 6px; margin-bottom: 0.4rem;
}
.we5f8-game-name {
  font-size: 1.1rem; color: var(--we5f8-text-light);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-weight: 500;
}

/* ----- Cards / info blocks ----- */
.we5f8-card {
  background: linear-gradient(135deg, var(--we5f8-bg-card), #1f1f1f);
  border-radius: var(--we5f8-radius); padding: 1.2rem;
  border: 1px solid var(--we5f8-border); margin-bottom: 1rem;
}
.we5f8-card-title {
  font-size: 1.45rem; color: var(--we5f8-text-bright);
  margin-bottom: 0.6rem; font-weight: 600;
}
.we5f8-card p {
  color: var(--we5f8-text-muted); font-size: 1.25rem;
  line-height: 1.6; margin-bottom: 0.5rem;
}
.we5f8-info-list { list-style: none; padding: 0; }
.we5f8-info-list li {
  padding: 0.45rem 0 0.45rem 1.5rem;
  position: relative; color: var(--we5f8-text-muted);
  font-size: 1.25rem; line-height: 1.5;
}
.we5f8-info-list li::before { content: '▸'; position: absolute; left: 0; color: var(--we5f8-secondary); }
.we5f8-text-link {
  color: var(--we5f8-secondary); font-weight: 600;
  text-decoration: underline; cursor: pointer;
}
.we5f8-text-link:hover { color: var(--we5f8-accent); }

/* ----- FAQ accordion ----- */
.we5f8-faq-item {
  background: #1f1f1f; border-radius: 8px;
  margin-bottom: 0.6rem; overflow: hidden;
  border: 1px solid var(--we5f8-border);
}
.we5f8-faq-question {
  padding: 0.8rem 1rem; cursor: pointer; font-weight: 600;
  color: var(--we5f8-text-bright);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.3rem; background: transparent;
  border: none; width: 100%; text-align: left;
}
.we5f8-faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1rem; color: var(--we5f8-text-muted);
  font-size: 1.2rem; line-height: 1.5;
}
.we5f8-faq-open .we5f8-faq-answer { max-height: 500px; padding: 0 1rem 0.8rem; }
.we5f8-faq-icon { transition: transform 0.3s; }
.we5f8-faq-open .we5f8-faq-icon { transform: rotate(180deg); }

/* ----- Promo CTA ----- */
.we5f8-promo-cta {
  background: linear-gradient(135deg, var(--we5f8-primary), var(--we5f8-accent));
  border-radius: var(--we5f8-radius); padding: 1.4rem;
  text-align: center; margin: 1.2rem 0; color: #fff;
  box-shadow: 0 4px 16px rgba(0, 151, 167, 0.3);
}
.we5f8-promo-cta h3 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.we5f8-promo-cta p { margin-bottom: 0.9rem; opacity: 0.95; font-size: 1.25rem; }

/* ----- Testimonials ----- */
.we5f8-testimonial {
  background: linear-gradient(135deg, var(--we5f8-bg-card), #1f1f1f);
  border-radius: 10px; padding: 1rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--we5f8-secondary);
}
.we5f8-testimonial-author { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.we5f8-testimonial-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--we5f8-primary), var(--we5f8-accent));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.3rem;
}
.we5f8-testimonial-name { font-weight: 600; color: var(--we5f8-text-bright); font-size: 1.25rem; }
.we5f8-stars { color: var(--we5f8-gold); font-size: 1.2rem; margin-bottom: 0.2rem; }
.we5f8-testimonial-text { color: var(--we5f8-text-muted); font-size: 1.2rem; line-height: 1.5; }

/* ----- Payment / winners / RTP grids ----- */
.we5f8-payment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.we5f8-payment-item {
  background: #1f1f1f; border: 1px solid var(--we5f8-border);
  border-radius: 8px; padding: 0.8rem; text-align: center;
}
.we5f8-payment-item i, .we5f8-payment-item .material-icons,
.we5f8-payment-item .material-icons-outlined {
  font-size: 24px; color: var(--we5f8-secondary); margin-bottom: 0.3rem;
}
.we5f8-payment-item span:last-child { display: block; font-size: 1.1rem; color: var(--we5f8-text-muted); }
.we5f8-winner-list { display: grid; gap: 0.4rem; }
.we5f8-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  background: #1f1f1f; border-radius: 6px;
  padding: 0.6rem 0.8rem; font-size: 1.2rem;
  border-left: 3px solid var(--we5f8-gold);
}
.we5f8-winner-name { color: var(--we5f8-text-bright); font-weight: 600; }
.we5f8-winner-amount { color: var(--we5f8-gold); font-weight: 700; }
.we5f8-rtp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.we5f8-rtp-item {
  background: #1f1f1f; border: 1px solid var(--we5f8-border);
  border-radius: 8px; padding: 0.6rem; text-align: center;
}
.we5f8-rtp-name { font-size: 1.15rem; color: var(--we5f8-text-light); margin-bottom: 0.2rem; }
.we5f8-rtp-percent { font-size: 1.7rem; color: var(--we5f8-secondary); font-weight: 700; }

/* ----- Footer ----- */
.we5f8-footer {
  background: var(--we5f8-bg-deep);
  border-top: 1px solid var(--we5f8-primary);
  padding: 1.5rem 1rem 2rem; margin-top: 2rem;
}
.we5f8-footer-brand {
  text-align: center; margin-bottom: 1.2rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--we5f8-border);
}
.we5f8-footer-brand p { color: var(--we5f8-text-muted); font-size: 1.2rem; margin-top: 0.4rem; }
.we5f8-footer-links {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem; margin-bottom: 1rem;
}
.we5f8-footer-links a { padding: 0.4rem 0.2rem; color: var(--we5f8-text-muted); font-size: 1.2rem; }
.we5f8-footer-links a:hover { color: var(--we5f8-secondary); }
.we5f8-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: center; margin: 1rem 0;
}
.we5f8-footer-copy { text-align: center; font-size: 1.1rem; color: var(--we5f8-text-muted); margin-top: 1rem; }

/* ----- Mobile bottom nav ----- */
.we5f8-bottom-nav {
  position: fixed; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: linear-gradient(180deg, #1a1a1a, #0d0d0d);
  border-top: 1px solid var(--we5f8-primary);
  display: flex; justify-content: space-around; align-items: center;
  padding: 0.4rem 0.2rem; z-index: 1000; height: 62px;
}
.we5f8-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; background: transparent; border: none;
  color: var(--we5f8-text-muted); font-size: 1rem;
  cursor: pointer; padding: 0.3rem;
  min-width: 60px; min-height: 54px; border-radius: 10px;
  transition: color 0.2s, transform 0.2s, background 0.2s; text-decoration: none;
}
.we5f8-bottom-nav-btn i, .we5f8-bottom-nav-btn .material-icons { font-size: 22px; }
.we5f8-bottom-nav-btn:hover, .we5f8-bottom-nav-btn:focus {
  color: var(--we5f8-secondary); transform: scale(1.05);
}
.we5f8-bottom-nav-active { color: var(--we5f8-secondary); background: rgba(38, 166, 154, 0.12); }

/* ----- Desktop: hide bottom nav, expand layout ----- */
@media (min-width: 769px) {
  body { max-width: 1200px; }
  .we5f8-bottom-nav { display: none; }
  main { padding-bottom: 2rem; }
  .we5f8-game-grid { grid-template-columns: repeat(6, 1fr); }
  .we5f8-footer-links { grid-template-columns: repeat(4, 1fr); }
  .we5f8-payment-grid { grid-template-columns: repeat(6, 1fr); }
  .we5f8-rtp-grid { grid-template-columns: repeat(4, 1fr); }
  .we5f8-slides { aspect-ratio: 21 / 7; }
}
