/* bet789-homes core stylesheet
   All custom classes use the s089- prefix.
   Color palette: #2C2C2C (bg) | #90EE90 (accent/text light) | #E9967A (warm accent) */

:root {
  --s089-bg: #2C2C2C;
  --s089-bg-2: #1f1f1f;
  --s089-bg-3: #3a3a3a;
  --s089-primary: #90EE90;
  --s089-warm: #E9967A;
  --s089-text: #f3f3f3;
  --s089-text-muted: #c8c8c8;
  --s089-border: rgba(144, 238, 144, 0.25);
  --s089-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html { font-size: 62.5%; }

body {
  margin: 0;
  background: var(--s089-bg);
  color: var(--s089-text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--s089-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* ============ Header ============ */
.s089-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--s089-bg-2);
  border-bottom: 1px solid var(--s089-border);
  box-shadow: var(--s089-shadow);
}
.s089-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  gap: 0.6rem;
}
.s089-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}
.s089-brand img { width: 2.6rem; height: 2.6rem; border-radius: 0.4rem; }
.s089-brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--s089-primary);
  white-space: nowrap;
}
.s089-brand-name span { color: var(--s089-warm); }
.s089-header-actions { display: flex; align-items: center; gap: 0.4rem; }
.s089-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  min-height: 3.2rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.s089-btn:active { transform: scale(0.96); }
.s089-btn-login {
  background: transparent;
  color: var(--s089-primary);
  border: 1px solid var(--s089-primary);
}
.s089-btn-register {
  background: var(--s089-warm);
  color: #2C2C2C;
}
.s089-menu-btn {
  background: transparent;
  color: var(--s089-text);
  border: 1px solid var(--s089-border);
  border-radius: 0.5rem;
  width: 3.2rem;
  height: 3.2rem;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ============ Mobile menu ============ */
.s089-mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 78%;
  max-width: 320px;
  height: 100vh;
  background: var(--s089-bg-2);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  padding: 5rem 1.5rem 2rem;
  overflow-y: auto;
  border-left: 1px solid var(--s089-border);
}
.s089-mobile-menu.s089-menu-open { transform: translateX(0); }
.s089-menu-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: transparent;
  border: none;
  color: var(--s089-text);
  font-size: 1.8rem;
  cursor: pointer;
}
.s089-mobile-menu h3 {
  font-size: 1.3rem;
  color: var(--s089-warm);
  margin: 1rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.s089-mobile-menu a {
  display: block;
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--s089-text);
  font-size: 1.2rem;
}
.s089-mobile-menu a:hover { color: var(--s089-primary); }
.s089-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  display: none;
}
.s089-menu-overlay.s089-menu-open { display: block; }

/* ============ Main layout ============ */
.s089-main {
  padding-top: 5.6rem;
  padding-bottom: 1rem;
}
@media (max-width: 768px) {
  .s089-main { padding-bottom: 7rem; }
}

.s089-section { padding: 1.6rem 0; }
.s089-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--s089-primary);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.s089-section-title i { color: var(--s089-warm); }

/* ============ Carousel ============ */
.s089-carousel {
  position: relative;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: var(--s089-shadow);
}
.s089-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.s089-slide.s089-slide-active { display: block; }
.s089-slide img { width: 100%; height: 16rem; object-fit: cover; }
.s089-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 1.5rem 1rem 0.8rem;
  font-size: 1.2rem;
  color: var(--s089-text);
}
.s089-slide-caption strong { color: var(--s089-primary); }
.s089-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
}
.s089-dot {
  width: 0.7rem; height: 0.7rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.s089-dot.s089-dot-active { background: var(--s089-warm); }

/* ============ Hero ============ */
.s089-hero {
  text-align: center;
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, var(--s089-bg-3), var(--s089-bg-2));
  border-radius: 0.8rem;
  margin: 1rem 0;
  border: 1px solid var(--s089-border);
}
.s089-hero h1 {
  font-size: 1.9rem;
  color: var(--s089-primary);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.s089-hero p { color: var(--s089-text-muted); font-size: 1.2rem; margin: 0 0 1rem; }
.s089-cta {
  display: inline-block;
  background: var(--s089-warm);
  color: #2C2C2C;
  font-weight: 700;
  padding: 0.7rem 1.6rem;
  border-radius: 0.6rem;
  font-size: 1.25rem;
  cursor: pointer;
}
.s089-cta:hover { text-decoration: none; opacity: 0.9; }

/* ============ Game grid ============ */
.s089-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.4rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--s089-border);
}
.s089-cat-head h2 {
  font-size: 1.4rem;
  color: var(--s089-warm);
  margin: 0;
}
.s089-cat-head span { font-size: 1.05rem; color: var(--s089-text-muted); }

.s089-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.s089-game {
  background: var(--s089-bg-3);
  border-radius: 0.6rem;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease;
  border: 1px solid rgba(255,255,255,0.05);
}
.s089-game:active { transform: scale(0.96); }
.s089-game img {
  width: 100%;
  height: 6.4rem;
  object-fit: cover;
}
.s089-game-name {
  font-size: 1rem;
  color: var(--s089-text);
  padding: 0.35rem 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============ Cards / modules ============ */
.s089-card {
  background: var(--s089-bg-3);
  border-radius: 0.7rem;
  padding: 1.1rem;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(255,255,255,0.06);
}
.s089-card h3 {
  font-size: 1.3rem;
  color: var(--s089-primary);
  margin: 0 0 0.5rem;
}
.s089-card p {
  font-size: 1.15rem;
  color: var(--s089-text-muted);
  margin: 0 0 0.6rem;
}
.s089-card ul { padding-left: 1.4rem; color: var(--s089-text-muted); font-size: 1.12rem; }
.s089-card li { margin-bottom: 0.35rem; }

.s089-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.s089-feature {
  background: var(--s089-bg-2);
  border-radius: 0.6rem;
  padding: 0.9rem;
  text-align: center;
  border: 1px solid var(--s089-border);
}
.s089-feature i { font-size: 1.8rem; color: var(--s089-warm); }
.s089-feature h4 { font-size: 1.15rem; color: var(--s089-primary); margin: 0.4rem 0 0.2rem; }
.s089-feature p { font-size: 1rem; color: var(--s089-text-muted); margin: 0; }

/* ============ Testimonials ============ */
.s089-testimonial {
  background: var(--s089-bg-2);
  border-left: 3px solid var(--s089-warm);
  border-radius: 0.5rem;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}
.s089-testimonial p { font-size: 1.12rem; color: var(--s089-text); margin: 0 0 0.4rem; font-style: italic; }
.s089-testimonial span { font-size: 1rem; color: var(--s089-primary); }

/* ============ Winners ============ */
.s089-winner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.8rem;
  background: var(--s089-bg-2);
  border-radius: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}
.s089-winner strong { color: var(--s089-warm); }

/* ============ Payment ============ */
.s089-payments { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.s089-pay {
  flex: 1 1 30%;
  text-align: center;
  background: var(--s089-bg-2);
  border-radius: 0.5rem;
  padding: 0.7rem 0.3rem;
  border: 1px solid var(--s089-border);
  font-size: 1rem;
  color: var(--s089-text-muted);
}
.s089-pay i { font-size: 1.5rem; color: var(--s089-primary); display: block; margin-bottom: 0.2rem; }

/* ============ RTP table ============ */
.s089-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.05rem;
}
.s089-table th, .s089-table td {
  padding: 0.5rem 0.4rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.s089-table th { color: var(--s089-warm); }
.s089-table td { color: var(--s089-text-muted); }
.s089-table td strong { color: var(--s089-primary); }

/* ============ FAQ ============ */
.s089-faq-item {
  background: var(--s089-bg-2);
  border-radius: 0.5rem;
  padding: 0.8rem 1rem;
  margin-bottom: 0.6rem;
  border: 1px solid rgba(255,255,255,0.06);
}
.s089-faq-item h4 { font-size: 1.18rem; color: var(--s089-primary); margin: 0 0 0.3rem; }
.s089-faq-item p { font-size: 1.1rem; color: var(--s089-text-muted); margin: 0; }

/* ============ Promo link inline ============ */
.s089-promo-link {
  color: var(--s089-warm);
  font-weight: 700;
  cursor: pointer;
}
.s089-promo-link:hover { text-decoration: underline; color: var(--s089-primary); }

/* ============ Footer ============ */
.s089-footer {
  background: var(--s089-bg-2);
  border-top: 1px solid var(--s089-border);
  padding: 1.6rem 0 1rem;
  margin-top: 1.5rem;
}
.s089-footer-brand { color: var(--s089-text-muted); font-size: 1.1rem; margin-bottom: 1rem; }
.s089-footer-brand strong { color: var(--s089-primary); }
.s089-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  margin-bottom: 1rem;
}
.s089-footer-links a {
  font-size: 1.08rem;
  color: var(--s089-text-muted);
}
.s089-footer-links a:hover { color: var(--s089-primary); }
.s089-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.s089-footer-promo button {
  background: var(--s089-warm);
  color: #2C2C2C;
  border: none;
  border-radius: 0.4rem;
  padding: 0.4rem 0.7rem;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}
.s089-copyright {
  font-size: 1rem;
  color: var(--s089-text-muted);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.8rem;
}

/* ============ Mobile bottom nav ============ */
.s089-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 6rem;
  background: var(--s089-bg-2);
  border-top: 1px solid var(--s089-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.45);
}
.s089-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--s089-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}
.s089-nav-btn:active { transform: scale(0.92); }
.s089-nav-btn i, .s089-nav-btn .material-icons-outlined,
.s089-nav-btn .ion-icon { font-size: 2.2rem; }
.s089-nav-btn span { font-size: 1rem; }
.s089-nav-btn:hover { color: var(--s089-primary); text-decoration: none; }
.s089-nav-btn.s089-active { color: var(--s089-warm); }
.s089-nav-badge {
  position: absolute;
  top: 0.3rem; right: 1.2rem;
  background: var(--s089-warm);
  color: #2C2C2C;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 0.8rem;
  padding: 0 0.35rem;
  min-width: 1.4rem;
  text-align: center;
}
@media (min-width: 769px) {
  .s089-bottom-nav { display: none; }
  .s089-main { padding-bottom: 1.5rem; }
}

/* ============ Back to top ============ */
.s089-back-top {
  position: fixed;
  right: 1rem;
  bottom: 7rem;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: var(--s089-warm);
  color: #2C2C2C;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
}
.s089-back-top.s089-back-show { opacity: 1; pointer-events: auto; }

/* ============ Desktop nav ============ */
.s089-desktop-nav { display: none; }
@media (min-width: 769px) {
  .s089-desktop-nav {
    display: flex;
    gap: 1.2rem;
    align-items: center;
  }
  .s089-desktop-nav a { color: var(--s089-text-muted); font-size: 1.15rem; }
  .s089-desktop-nav a:hover { color: var(--s089-primary); }
  .s089-menu-btn { display: none; }
}
