/* H10 theme stylesheet - basefiles only */
/* All custom classes use the sb93- prefix for namespace isolation */

:root {
  --sb93-bg: #1A1A1A;
  --sb93-bg-alt: #242424;
  --sb93-bg-card: #2c2c2c;
  --sb93-bg-elev: #333333;
  --sb93-text: #F0F8FF;
  --sb93-text-muted: #CCCCCC;
  --sb93-text-dim: #BDC3C7;
  --sb93-border: #BDC3C7;
  --sb93-accent: #FFE4B5;
  --sb93-accent-2: #AFEEEE;
  --sb93-gradient: linear-gradient(135deg, #FFE4B5 0%, #AFEEEE 100%);
  --sb93-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  --sb93-radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--sb93-bg);
  color: var(--sb93-text);
  font-size: 1.5rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 56px;
}
body.sb93-no-scroll { overflow: hidden; }
a { color: var(--sb93-accent); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }

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

/* Header */
.sb93-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(189, 195, 199, 0.12);
}
.sb93-header-inner {
  max-width: 430px; margin: 0 auto; height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem;
}
.sb93-logo { display: flex; align-items: center; gap: 0.6rem; }
.sb93-logo img { width: 30px; height: 30px; border-radius: 6px; }
.sb93-logo-text { font-size: 1.8rem; font-weight: 800; color: var(--sb93-accent); letter-spacing: 0.5px; }
.sb93-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.sb93-btn {
  border: none; border-radius: 8px; padding: 0.7rem 1.2rem;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  min-height: 36px; display: inline-flex; align-items: center; gap: 0.4rem;
}
.sb93-btn:active { transform: scale(0.96); }
.sb93-btn-login { background: transparent; color: var(--sb93-accent); border: 1px solid var(--sb93-accent); }
.sb93-btn-register { background: var(--sb93-gradient); color: #1A1A1A; }
.sb93-menu-toggle {
  background: transparent; border: none; color: var(--sb93-text);
  font-size: 2rem; cursor: pointer; padding: 0.4rem; min-width: 40px; min-height: 40px;
}

/* Mobile slide-in menu */
.sb93-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
  background: var(--sb93-bg-alt); z-index: 9999;
  transition: right 0.28s ease; padding: 1.5rem 1.2rem; overflow-y: auto;
}
.sb93-mobile-menu.sb93-menu-open { right: 0; }
.sb93-menu-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 9998;
  opacity: 0; visibility: hidden; transition: opacity 0.28s ease;
}
.sb93-menu-overlay.sb93-overlay-active { opacity: 1; visibility: visible; }
.sb93-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.sb93-menu-title { font-size: 1.6rem; color: var(--sb93-accent); font-weight: 700; }
.sb93-menu-close { background: transparent; border: none; color: var(--sb93-text); font-size: 2.2rem; cursor: pointer; }
.sb93-menu-link {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1rem; color: var(--sb93-text); font-size: 1.5rem;
  border-bottom: 1px solid rgba(189, 195, 199, 0.08); transition: background 0.15s;
}
.sb93-menu-link:active, .sb93-menu-link:hover { background: var(--sb93-bg-card); color: var(--sb93-accent); }
.sb93-menu-link i, .sb93-menu-link .material-icons-outlined { font-size: 2rem; color: var(--sb93-accent-2); }

/* Carousel */
.sb93-carousel {
  position: relative; width: 100%; max-width: 430px; margin: 1rem auto;
  border-radius: var(--sb93-radius); overflow: hidden; aspect-ratio: 16 / 9;
  box-shadow: var(--sb93-shadow);
}
.sb93-carousel-track { position: relative; width: 100%; height: 100%; }
.sb93-carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  cursor: pointer;
}
.sb93-carousel-slide.sb93-slide-active { opacity: 1; }
.sb93-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.sb93-carousel-caption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  color: var(--sb93-text); font-size: 1.4rem; font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.sb93-carousel-dots { position: absolute; bottom: 0.6rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; z-index: 2; }
.sb93-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(240, 248, 255, 0.5); border: none; cursor: pointer; padding: 0; }
.sb93-carousel-dot.sb93-dot-active { background: var(--sb93-accent); width: 20px; border-radius: 4px; }
.sb93-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(26, 26, 26, 0.55); color: var(--sb93-text);
  border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  font-size: 1.6rem; display: flex; align-items: center; justify-content: center; z-index: 2;
}

/* Section layout */
.sb93-section { margin: 2rem 0; }
.sb93-section-title {
  font-size: 2rem; color: var(--sb93-accent); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.6rem; font-weight: 800;
}
.sb93-section-title::before { content: ''; width: 4px; height: 2rem; background: var(--sb93-gradient); border-radius: 2px; }

/* Hero / intro */
.sb93-hero { padding: 1rem 0 0.5rem; text-align: center; }
.sb93-hero h1 { font-size: 2.4rem; color: var(--sb93-text); margin-bottom: 0.6rem; }
.sb93-hero h1 span { color: var(--sb93-accent); }
.sb93-hero p { color: var(--sb93-text-muted); font-size: 1.45rem; }

/* Filter bar */
.sb93-filter-bar { display: flex; gap: 0.6rem; overflow-x: auto; padding: 0.5rem 0; margin-bottom: 1rem; }
.sb93-filter-bar::-webkit-scrollbar { display: none; }
.sb93-filter-btn {
  flex: 0 0 auto; padding: 0.6rem 1.2rem; border-radius: 20px;
  background: var(--sb93-bg-card); color: var(--sb93-text-muted);
  border: 1px solid rgba(189, 195, 199, 0.15); font-size: 1.3rem; font-weight: 600;
  cursor: pointer; white-space: nowrap;
}
.sb93-filter-btn.sb93-filter-active { background: var(--sb93-gradient); color: #1A1A1A; border-color: transparent; }

/* Game grid */
.sb93-game-group { margin-bottom: 2rem; }
.sb93-game-group-title { font-size: 1.7rem; color: var(--sb93-accent-2); margin-bottom: 0.8rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }
.sb93-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.sb93-game-card {
  background: var(--sb93-bg-card); border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(189, 195, 199, 0.1); cursor: pointer; transition: transform 0.15s ease;
}
.sb93-game-card:active { transform: scale(0.96); }
.sb93-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sb93-game-card-name { padding: 0.5rem 0.4rem; font-size: 1.15rem; color: var(--sb93-text); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Cards / modules */
.sb93-card {
  background: var(--sb93-bg-card); border-radius: var(--sb93-radius);
  padding: 1.4rem; margin-bottom: 1.2rem; border: 1px solid rgba(189, 195, 199, 0.08);
  box-shadow: var(--sb93-shadow);
}
.sb93-card h3 { color: var(--sb93-accent); font-size: 1.7rem; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem; }
.sb93-card p { color: var(--sb93-text-muted); font-size: 1.4rem; margin-bottom: 0.6rem; }
.sb93-card ul { list-style: none; padding: 0; }
.sb93-card li { padding: 0.5rem 0 0.5rem 1.8rem; position: relative; color: var(--sb93-text-muted); font-size: 1.4rem; }
.sb93-card li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 0.6rem; color: var(--sb93-accent-2); font-size: 1.2rem; }
.sb93-card li i, .sb93-card li .material-icons-outlined { position: absolute; left: 0; top: 0.55rem; color: var(--sb93-accent-2); font-size: 1.3rem; }
.sb93-card li::before { content: ''; }

/* Promo CTA block */
.sb93-cta { background: var(--sb93-gradient); color: #1A1A1A; border-radius: var(--sb93-radius); padding: 1.5rem; text-align: center; margin: 1.5rem 0; }
.sb93-cta h3 { color: #1A1A1A; font-size: 1.9rem; margin-bottom: 0.5rem; }
.sb93-cta p { color: #2c2c2c; font-size: 1.4rem; margin-bottom: 1rem; }
.sb93-cta-btn { background: #1A1A1A; color: var(--sb93-accent); border: none; padding: 1rem 2rem; border-radius: 8px; font-size: 1.5rem; font-weight: 800; cursor: pointer; }

/* Inline text promo link */
.sb93-text-link { color: var(--sb93-accent); font-weight: 700; cursor: pointer; border-bottom: 1px dotted var(--sb93-accent); }

/* FAQ */
.sb93-faq-item { border-bottom: 1px solid rgba(189, 195, 199, 0.1); padding: 1rem 0; }
.sb93-faq-q { font-size: 1.5rem; color: var(--sb93-accent); font-weight: 700; margin-bottom: 0.4rem; display: flex; gap: 0.5rem; }
.sb93-faq-q i { color: var(--sb93-accent-2); flex-shrink: 0; margin-top: 0.2rem; }
.sb93-faq-a { font-size: 1.4rem; color: var(--sb93-text-muted); }

/* Payment methods */
.sb93-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.sb93-pay-item { background: var(--sb93-bg-elev); border-radius: 8px; padding: 0.8rem 0.4rem; text-align: center; font-size: 1.1rem; color: var(--sb93-text-muted); border: 1px solid rgba(189, 195, 199, 0.1); }
.sb93-pay-item i, .sb93-pay-item .icon { font-size: 2rem; color: var(--sb93-accent-2); margin-bottom: 0.3rem; display: block; }

/* App download */
.sb93-app-box { background: linear-gradient(135deg, #242424 0%, #2c2c2c 100%); border-radius: var(--sb93-radius); padding: 1.5rem; display: flex; align-items: center; gap: 1rem; border: 1px solid rgba(175, 238, 238, 0.2); }
.sb93-app-icon { width: 56px; height: 56px; border-radius: 12px; background: var(--sb93-gradient); display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: #1A1A1A; flex-shrink: 0; }
.sb93-app-text { flex: 1; }
.sb93-app-text h4 { color: var(--sb93-accent); font-size: 1.6rem; margin-bottom: 0.3rem; }
.sb93-app-text p { color: var(--sb93-text-muted); font-size: 1.3rem; margin-bottom: 0.6rem; }
.sb93-app-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.sb93-app-btn { background: var(--sb93-accent); color: #1A1A1A; border: none; padding: 0.5rem 0.9rem; border-radius: 6px; font-size: 1.2rem; font-weight: 700; cursor: pointer; }

/* Promotion list */
.sb93-promo-list { display: grid; grid-template-columns: 1fr; gap: 0.8rem; }
.sb93-promo-item { background: var(--sb93-bg-card); border-radius: 10px; padding: 1rem; display: flex; gap: 0.8rem; align-items: center; border: 1px solid rgba(255, 228, 181, 0.15); }
.sb93-promo-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(255, 228, 181, 0.12); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--sb93-accent); flex-shrink: 0; }
.sb93-promo-text h4 { color: var(--sb93-text); font-size: 1.5rem; margin-bottom: 0.2rem; }
.sb93-promo-text p { color: var(--sb93-text-muted); font-size: 1.3rem; }

/* Footer */
.sb93-footer { background: var(--sb93-bg-alt); padding: 2rem 0 1.5rem; margin-top: 2rem; border-top: 1px solid rgba(189, 195, 199, 0.1); }
.sb93-footer-inner { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.sb93-footer-brand { color: var(--sb93-text-muted); font-size: 1.35rem; line-height: 1.6; margin-bottom: 1.2rem; }
.sb93-footer-brand strong { color: var(--sb93-accent); }
.sb93-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.sb93-footer-link { background: var(--sb93-bg-card); color: var(--sb93-accent); padding: 0.5rem 1rem; border-radius: 6px; font-size: 1.25rem; font-weight: 600; border: 1px solid rgba(189, 195, 199, 0.1); cursor: pointer; }
.sb93-footer-copy { color: var(--sb93-text-dim); font-size: 1.2rem; text-align: center; padding-top: 1rem; border-top: 1px solid rgba(189, 195, 199, 0.08); }

/* Bottom navigation */
.sb93-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26, 26, 26, 0.98); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(189, 195, 199, 0.15);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px;
}
.sb93-bottom-nav-btn {
  flex: 1; background: transparent; border: none; color: var(--sb93-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: 1.05rem; transition: color 0.15s ease, transform 0.15s ease;
}
.sb93-bottom-nav-btn i, .sb93-bottom-nav-btn .material-icons-outlined, .sb93-bottom-nav-btn ion-icon, .sb93-bottom-nav-btn .bi { font-size: 2.2rem; }
.sb93-bottom-nav-btn:active { transform: scale(0.92); }
.sb93-bottom-nav-btn.sb93-nav-active { color: var(--sb93-accent); }
.sb93-bottom-nav-btn.sb93-nav-promo { color: var(--sb93-accent-2); }

/* Desktop adjustments */
@media (min-width: 769px) {
  .sb93-bottom-nav { display: none; }
  .sb93-wrapper { padding-bottom: 0; }
  .sb93-container { max-width: 720px; }
  .sb93-header-inner { max-width: 720px; }
  .sb93-carousel { max-width: 720px; }
  .sb93-game-grid { grid-template-columns: repeat(6, 1fr); }
  .sb93-pay-grid { grid-template-columns: repeat(8, 1fr); }
  .sb93-promo-list { grid-template-columns: 1fr 1fr; }
  .sb93-footer-inner { max-width: 720px; }
}

/* Mobile bottom padding clearance for fixed nav */
@media (max-width: 768px) {
  .sb93-wrapper { padding-bottom: 80px; }
}

/* Utilities */
.sb93-text-center { text-align: center; }
.sb93-mt-1 { margin-top: 1rem; }
.sb93-mt-2 { margin-top: 2rem; }
.sb93-hide-mobile { display: none; }
@media (min-width: 769px) {
  .sb93-hide-mobile { display: block; }
  .sb93-hide-desktop { display: none; }
}
