/* 7789bet core base stylesheet - all custom classes use s0d3- prefix */
/* English comments only */

:root {
  --s0d3-primary: #4169E1;
  --s0d3-accent: #B0E0E6;
  --s0d3-bg: #273746;
  --s0d3-bg-deep: #1c2833;
  --s0d3-text: #F8F9FA;
  --s0d3-muted: #aab7c4;
  --s0d3-gold: #f5c542;
  --s0d3-radius: 12px;
  --s0d3-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

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

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

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--s0d3-bg-deep);
  color: var(--s0d3-text);
  line-height: 1.5rem;
  font-size: 1.6rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.s0d3-container { width: 100%; padding: 0 14px; }
.s0d3-wrapper { max-width: 430px; margin: 0 auto; }
.s0d3-section { padding: 22px 14px; }
.s0d3-section-alt { background: var(--s0d3-bg); }

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

/* Header */
.s0d3-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, var(--s0d3-bg-deep), var(--s0d3-bg));
  border-bottom: 1px solid rgba(176,224,230,0.18);
  max-width: 430px; margin: 0 auto;
}
.s0d3-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; gap: 8px;
}
.s0d3-logo { display: flex; align-items: center; gap: 8px; min-width: 0; }
.s0d3-logo img { width: 30px; height: 30px; border-radius: 6px; }
.s0d3-logo b { color: var(--s0d3-accent); font-size: 1.7rem; white-space: nowrap; }
.s0d3-logo span { color: var(--s0d3-text); font-size: 1.2rem; opacity: .8; }

.s0d3-head-actions { display: flex; align-items: center; gap: 8px; }
.s0d3-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 20px; padding: 8px 14px;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  min-height: 36px; transition: transform .15s ease, opacity .15s ease;
}
.s0d3-btn:active { transform: scale(.96); }
.s0d3-btn-login { background: transparent; color: var(--s0d3-accent); border: 1px solid var(--s0d3-accent); }
.s0d3-btn-register { background: linear-gradient(90deg, var(--s0d3-primary), #2f4cb8); color: #fff; }
.s0d3-menu-btn {
  background: transparent; border: none; color: var(--s0d3-text);
  font-size: 2.2rem; cursor: pointer; padding: 2px 6px; min-width: 40px; min-height: 40px;
}

/* Expandable menu */
.s0d3-mobile-menu {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  background: var(--s0d3-bg-deep); border-top: 1px solid rgba(176,224,230,0.12);
}
.s0d3-mobile-menu ul { list-style: none; padding: 6px 14px 12px; }
.s0d3-mobile-menu li a {
  display: block; padding: 10px 6px; color: var(--s0d3-text);
  border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 1.4rem;
}
.s0d3-mobile-menu li a:active { color: var(--s0d3-accent); }

/* Hero / carousel */
.s0d3-carousel { position: relative; margin-top: 56px; overflow: hidden; }
.s0d3-slide { display: none; position: relative; }
.s0d3-slide-active { display: block; }
.s0d3-slide img { width: 100%; height: 170px; object-fit: cover; }
.s0d3-slide-cap {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  background: rgba(39,55,70,0.72); padding: 8px 12px; border-radius: 8px;
}
.s0d3-slide-cap b { color: var(--s0d3-gold); font-size: 1.5rem; }
.s0d3-slide-cap span { display: block; color: var(--s0d3-text); font-size: 1.2rem; }
.s0d3-dots { display: flex; justify-content: center; gap: 6px; padding: 6px 0; background: var(--s0d3-bg-deep); }
.s0d3-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none; cursor: pointer; }
.s0d3-dot-active { background: var(--s0d3-gold); }

/* Headings */
.s0d3-h1 { font-size: 2.1rem; line-height: 1.3; color: var(--s0d3-text); margin: 14px 0 8px; }
.s0d3-h2 { font-size: 1.8rem; color: var(--s0d3-accent); margin: 18px 0 8px; border-left: 4px solid var(--s0d3-gold); padding-left: 10px; }
.s0d3-h3 { font-size: 1.5rem; color: var(--s0d3-gold); margin: 12px 0 6px; }
.s0d3-lead { color: var(--s0d3-muted); font-size: 1.35rem; margin-bottom: 10px; }
.s0d3-p { margin-bottom: 10px; color: var(--s0d3-text); }
.s0d3-strong { color: var(--s0d3-gold); font-weight: 700; }

/* Filter chips */
.s0d3-filter-row { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0; }
.s0d3-filter-chip {
  flex: 0 0 auto; padding: 6px 14px; border-radius: 16px;
  background: var(--s0d3-bg); color: var(--s0d3-text); font-size: 1.2rem;
  border: 1px solid rgba(176,224,230,0.2); cursor: pointer;
}
.s0d3-filter-chip-active { background: var(--s0d3-primary); color: #fff; border-color: var(--s0d3-primary); }

/* Game grid - compact icon layout */
.s0d3-game-section { margin-bottom: 18px; }
.s0d3-game-section-title {
  display: flex; align-items: center; gap: 8px; margin: 14px 0 8px;
  color: var(--s0d3-accent); font-size: 1.5rem; font-weight: 700;
}
.s0d3-game-section-title i { color: var(--s0d3-gold); }
.s0d3-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.s0d3-card {
  background: var(--s0d3-bg); border-radius: 10px; padding: 6px; text-align: center;
  border: 1px solid rgba(255,255,255,0.05); cursor: pointer; transition: transform .15s ease, border-color .15s ease;
  display: block;
}
.s0d3-card:active { transform: scale(.95); border-color: var(--s0d3-gold); }
.s0d3-card img { width: 100%; height: 64px; object-fit: cover; border-radius: 8px; }
.s0d3-card-name { font-size: 1.05rem; color: var(--s0d3-text); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Feature cards */
.s0d3-feat-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.s0d3-feat {
  background: var(--s0d3-bg); border-radius: var(--s0d3-radius); padding: 14px;
  border-left: 3px solid var(--s0d3-primary);
}
.s0d3-feat h3 { color: var(--s0d3-accent); margin-bottom: 4px; }
.s0d3-feat p { color: var(--s0d3-muted); font-size: 1.3rem; }

/* Promo button row */
.s0d3-promo-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.s0d3-promo-btn {
  flex: 1 1 auto; text-align: center; padding: 10px 14px; border-radius: 10px;
  background: linear-gradient(90deg, var(--s0d3-gold), #e0a323); color: #2a1d00;
  font-weight: 800; font-size: 1.35rem; border: none; cursor: pointer; min-height: 44px;
}
.s0d3-link-bold { color: var(--s0d3-gold); font-weight: 700; text-decoration: underline; }

/* RTP compact table */
.s0d3-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.s0d3-rtp-table th, .s0d3-rtp-table td { padding: 8px 6px; border-bottom: 1px solid rgba(255,255,255,0.08); text-align: left; }
.s0d3-rtp-table th { color: var(--s0d3-accent); }
.s0d3-rtp-table td b { color: var(--s0d3-gold); }

/* Testimonials */
.s0d3-testi { background: var(--s0d3-bg); border-radius: 10px; padding: 12px; margin-bottom: 10px; }
.s0d3-testi b { color: var(--s0d3-accent); }
.s0d3-testi small { color: var(--s0d3-muted); display: block; margin-top: 4px; }

/* Payment chips */
.s0d3-pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.s0d3-pay {
  background: var(--s0d3-bg); color: var(--s0d3-text); border-radius: 8px;
  padding: 8px 12px; font-size: 1.2rem; border: 1px solid rgba(176,224,230,0.15);
}

/* Winners showcase */
.s0d3-winner { display: flex; justify-content: space-between; background: var(--s0d3-bg); padding: 8px 12px; border-radius: 8px; margin-bottom: 6px; }
.s0d3-winner b { color: var(--s0d3-gold); }

/* FAQ */
.s0d3-faq { background: var(--s0d3-bg); border-radius: 10px; padding: 12px; margin-bottom: 8px; }
.s0d3-faq h3 { font-size: 1.35rem; color: var(--s0d3-accent); margin-bottom: 4px; }
.s0d3-faq p { font-size: 1.3rem; color: var(--s0d3-muted); }

/* App download CTA */
.s0d3-app-cta { background: linear-gradient(135deg, var(--s0d3-primary), var(--s0d3-bg)); border-radius: var(--s0d3-radius); padding: 16px; text-align: center; }
.s0d3-app-cta img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.s0d3-app-cta .s0d3-btn { margin-top: 8px; padding: 10px 20px; font-size: 1.4rem; }

/* Footer */
.s0d3-footer { background: var(--s0d3-bg-deep); padding: 22px 14px 90px; }
.s0d3-footer p { color: var(--s0d3-muted); font-size: 1.25rem; margin-bottom: 10px; }
.s0d3-footer-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
.s0d3-footer-links a { color: var(--s0d3-accent); font-size: 1.2rem; text-decoration: underline; }
.s0d3-footer-promos { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.s0d3-footer-promos button {
  background: var(--s0d3-primary); color: #fff; border: none; border-radius: 8px;
  padding: 8px 12px; font-size: 1.25rem; font-weight: 700; cursor: pointer;
}
.s0d3-copy { color: var(--s0d3-muted); font-size: 1.1rem; margin-top: 12px; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 10px; }

/* Mobile bottom nav */
.s0d3-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto; height: 62px;
  background: linear-gradient(180deg, var(--s0d3-bg), var(--s0d3-bg-deep));
  border-top: 1px solid rgba(176,224,230,0.2);
  display: flex; justify-content: space-around; align-items: center;
}
.s0d3-bottomnav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: transparent; border: none; color: var(--s0d3-muted);
  font-size: 1.05rem; min-width: 60px; min-height: 60px; cursor: pointer;
  gap: 2px; transition: color .15s ease, transform .15s ease;
}
.s0d3-bottomnav-btn i, .s0d3-bottomnav-btn span.material-symbols-outlined {
  font-size: 24px; line-height: 1;
}
.s0d3-bottomnav-btn .ion { font-size: 24px; }
.s0d3-bottomnav-btn b { font-size: 1.05rem; font-weight: 600; }
.s0d3-bottomnav-btn:active { transform: scale(.92); }
.s0d3-bottomnav-active { color: var(--s0d3-gold); }
.s0d3-bottomnav-active i, .s0d3-bottomnav-active .ion { color: var(--s0d3-gold); }

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .s0d3-bottomnav { display: none; }
  .s0d3-footer { padding-bottom: 22px; }
}

/* Mobile bottom padding for fixed nav clearance */
@media (max-width: 768px) {
  main.s0d3-main { padding-bottom: 80px; }
  .s0d3-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 360px) {
  .s0d3-grid { grid-template-columns: repeat(3, 1fr); }
  .s0d3-card img { height: 56px; }
}

/* Utility */
.s0d3-center { text-align: center; }
.s0d3-mt { margin-top: 12px; }
.s0d3-mb { margin-bottom: 12px; }
.s0d3-hide-desktop { display: block; }
@media (min-width: 769px) { .s0d3-hide-desktop { display: none; } }
