/* bdt222 Theme Stylesheet - Prefix: s907- */
/* Color Palette: #7B68EE | #1C2833 | #00E5FF | #F0FDFF | #EE82EE */

/* === CSS Variables === */
:root {
  --s907-primary: #7B68EE;
  --s907-primary-dark: #6A5ACD;
  --s907-bg: #1C2833;
  --s907-bg-light: #2C3E50;
  --s907-accent: #00E5FF;
  --s907-text: #F0FDFF;
  --s907-text-muted: #B0BEC5;
  --s907-pink: #EE82EE;
  --s907-card-bg: #1a2332;
  --s907-border: #2d4a6a;
  --s907-gradient: linear-gradient(135deg, #7B68EE 0%, #00E5FF 100%);
  --s907-gradient-pink: linear-gradient(135deg, #7B68EE 0%, #EE82EE 100%);
  --s907-radius: 8px;
  --s907-radius-lg: 12px;
  --s907-shadow: 0 4px 16px rgba(0,0,0,0.3);
  font-size: 62.5%;
}

/* === Reset & Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--s907-bg);
  color: var(--s907-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--s907-accent); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* === Header === */
.s907-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--s907-bg);
  border-bottom: 1px solid var(--s907-border);
  max-width: 430px; margin: 0 auto;
  padding: 0 1rem;
  height: 52px;
  display: flex; align-items: center; justify-content: space-between;
}
.s907-header-left {
  display: flex; align-items: center; gap: 0.6rem;
}
.s907-header-logo { width: 28px; height: 28px; border-radius: 4px; }
.s907-header-name {
  font-size: 1.6rem; font-weight: 700;
  background: var(--s907-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.s907-header-right {
  display: flex; align-items: center; gap: 0.5rem;
}
.s907-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.5rem 1rem; border-radius: var(--s907-radius);
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  border: none; transition: all 0.25s ease;
  min-height: 34px;
}
.s907-btn-register {
  background: var(--s907-gradient); color: #fff;
}
.s907-btn-register:hover { opacity: 0.9; transform: scale(1.03); }
.s907-btn-login {
  background: transparent; color: var(--s907-accent);
  border: 1px solid var(--s907-accent);
}
.s907-btn-login:hover { background: rgba(0,229,255,0.1); }
.s907-menu-toggle {
  background: none; border: none; color: var(--s907-text);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center;
}

/* === Mobile Side Menu === */
.s907-mobile-menu {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 260px; z-index: 9999;
  background: var(--s907-bg-light);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 1.5rem 1rem;
  overflow-y: auto;
}
.s907-mobile-menu.s907-menu-open { transform: translateX(0); }
.s907-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998; display: none;
}
.s907-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--s907-border);
}
.s907-menu-title {
  font-size: 1.6rem; font-weight: 700; color: var(--s907-primary);
}
.s907-menu-close {
  background: none; border: none; color: var(--s907-text);
  font-size: 2.2rem; cursor: pointer;
}
.s907-menu-links { list-style: none; }
.s907-menu-links li { margin-bottom: 0.3rem; }
.s907-menu-links a {
  display: block; padding: 0.8rem 1rem; color: var(--s907-text);
  font-size: 1.3rem; border-radius: var(--s907-radius);
  transition: background 0.2s;
}
.s907-menu-links a:hover { background: rgba(123,104,238,0.15); }

/* === Main Content === */
.s907-main {
  padding-top: 56px;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .s907-main { padding-bottom: 80px; }
}

/* === Carousel === */
.s907-carousel {
  position: relative; overflow: hidden;
  margin-bottom: 1.5rem;
}
.s907-carousel-slide {
  display: none; cursor: pointer;
  border-radius: 0;
}
.s907-carousel-slide img {
  width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover;
}
.s907-slide-active { display: block; }
.s907-carousel-dots {
  position: absolute; bottom: 8px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
}
.s907-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(240,253,255,0.4);
  cursor: pointer; border: none;
  transition: background 0.3s;
}
.s907-dot-active { background: var(--s907-primary); width: 20px; border-radius: 4px; }

/* === Section Styles === */
.s907-section {
  padding: 1.5rem 1rem; margin-bottom: 1rem;
}
.s907-section-title {
  font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--s907-primary);
  color: var(--s907-text);
}
.s907-section-title .material-icons {
  vertical-align: middle; font-size: 2rem; margin-right: 0.4rem;
  color: var(--s907-accent);
}

/* === Game Grid === */
.s907-cat-title {
  font-size: 1.5rem; font-weight: 600; margin: 1rem 0 0.6rem;
  color: var(--s907-accent); padding-left: 0.5rem;
  border-left: 3px solid var(--s907-primary);
}
.s907-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem; padding: 0.5rem 0;
}
.s907-game-item {
  text-align: center; cursor: pointer;
  transition: transform 0.2s;
}
.s907-game-item:hover { transform: translateY(-2px); }
.s907-game-item img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--s907-radius); border: 1px solid var(--s907-border);
}
.s907-game-name {
  font-size: 1rem; margin-top: 0.3rem;
  color: var(--s907-text-muted); line-height: 1.2rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* === Cards === */
.s907-card {
  background: var(--s907-card-bg); border-radius: var(--s907-radius-lg);
  padding: 1.2rem; margin-bottom: 1rem;
  border: 1px solid var(--s907-border);
}
.s907-card-title {
  font-size: 1.4rem; font-weight: 600; margin-bottom: 0.6rem;
  color: var(--s907-accent);
}

/* === FAQ === */
.s907-faq-item {
  margin-bottom: 0.8rem; border: 1px solid var(--s907-border);
  border-radius: var(--s907-radius); overflow: hidden;
}
.s907-faq-q {
  padding: 0.8rem 1rem; background: var(--s907-bg-light);
  font-weight: 600; font-size: 1.2rem; color: var(--s907-accent);
}
.s907-faq-a {
  padding: 0.8rem 1rem; font-size: 1.2rem;
  color: var(--s907-text-muted); line-height: 1.6rem;
}

/* === Promo Button / Link === */
.s907-promo-btn {
  display: inline-block; padding: 0.7rem 1.6rem;
  background: var(--s907-gradient); color: #fff;
  border-radius: 50px; font-weight: 700; font-size: 1.3rem;
  cursor: pointer; border: none; transition: all 0.3s;
  text-align: center;
}
.s907-promo-btn:hover { opacity: 0.9; transform: scale(1.04); box-shadow: 0 0 20px rgba(123,104,238,0.4); }
.s907-promo-link {
  color: var(--s907-pink); font-weight: 600;
  text-decoration: underline; cursor: pointer;
}

/* === Features Grid === */
.s907-features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.s907-feature-item {
  background: var(--s907-bg-light); border-radius: var(--s907-radius);
  padding: 1rem; text-align: center;
  border: 1px solid var(--s907-border);
}
.s907-feature-icon { font-size: 2.4rem; margin-bottom: 0.4rem; color: var(--s907-primary); }
.s907-feature-label { font-size: 1.1rem; font-weight: 600; color: var(--s907-text); }
.s907-feature-desc { font-size: 1rem; color: var(--s907-text-muted); margin-top: 0.3rem; }

/* === RTP Table === */
.s907-rtp-table {
  width: 100%; border-collapse: collapse;
  font-size: 1.1rem;
}
.s907-rtp-table th {
  background: var(--s907-bg-light); color: var(--s907-accent);
  padding: 0.6rem; text-align: left; font-size: 1.1rem;
  border-bottom: 2px solid var(--s907-primary);
}
.s907-rtp-table td {
  padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--s907-border);
  color: var(--s907-text-muted);
}
.s907-rtp-high { color: #4CAF50; font-weight: 600; }

/* === Testimonials === */
.s907-testimonial {
  background: var(--s907-bg-light); border-radius: var(--s907-radius);
  padding: 1rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--s907-pink);
}
.s907-testimonial-text { font-size: 1.2rem; font-style: italic; color: var(--s907-text-muted); }
.s907-testimonial-author { font-size: 1rem; color: var(--s907-primary); margin-top: 0.4rem; font-weight: 600; }

/* === Winner Showcase === */
.s907-winner-list { list-style: none; }
.s907-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.5rem 0; border-bottom: 1px solid var(--s907-border);
  font-size: 1.1rem;
}
.s907-winner-name { color: var(--s907-accent); font-weight: 600; }
.s907-winner-amount { color: #FFD700; font-weight: 700; }
.s907-winner-game { color: var(--s907-text-muted); font-size: 1rem; }

/* === Footer === */
.s907-footer {
  background: var(--s907-bg-light); padding: 1.5rem 1rem;
  border-top: 1px solid var(--s907-border);
  text-align: center;
}
.s907-footer-brand {
  font-size: 1.2rem; color: var(--s907-text-muted);
  line-height: 1.6rem; margin-bottom: 1rem;
}
.s907-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.6rem; margin-bottom: 1rem;
}
.s907-footer-links a {
  font-size: 1.1rem; color: var(--s907-accent); padding: 0.3rem 0.5rem;
}
.s907-footer-links a:hover { color: var(--s907-primary); }
.s907-footer-copy {
  font-size: 1rem; color: var(--s907-text-muted);
  border-top: 1px solid var(--s907-border); padding-top: 0.8rem;
}

/* === Bottom Navigation === */
.s907-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--s907-bg);
  border-top: 1px solid var(--s907-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px;
  max-width: 430px; margin: 0 auto;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.s907-bottom-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center;
  min-width: 60px; min-height: 52px;
  background: none; border: none; cursor: pointer;
  color: var(--s907-text-muted); transition: all 0.2s;
  padding: 0.3rem;
}
.s907-bottom-btn:hover, .s907-bottom-btn.s907-active {
  color: var(--s907-primary);
}
.s907-bottom-btn:hover { transform: scale(1.08); }
.s907-bottom-btn .material-icons,
.s907-bottom-btn ion-icon,
.s907-bottom-btn i { font-size: 22px; margin-bottom: 2px; }
.s907-bottom-label { font-size: 1rem; }

@media (min-width: 769px) {
  .s907-bottom-nav { display: none; }
}

/* === Promo Banner === */
.s907-promo-banner {
  background: var(--s907-gradient-pink);
  border-radius: var(--s907-radius-lg);
  padding: 1.2rem; margin: 1rem;
  text-align: center;
}
.s907-promo-banner h3 { font-size: 1.5rem; color: #fff; margin-bottom: 0.5rem; }
.s907-promo-banner p { font-size: 1.2rem; color: rgba(255,255,255,0.85); }

/* === Payment Icons === */
.s907-payment-row {
  display: flex; gap: 0.8rem; flex-wrap: wrap;
  justify-content: center; padding: 0.5rem 0;
}
.s907-payment-item {
  background: var(--s907-bg-light); border-radius: var(--s907-radius);
  padding: 0.5rem 0.8rem; font-size: 1.1rem;
  color: var(--s907-text-muted); border: 1px solid var(--s907-border);
}

/* === Utility === */
.s907-text-center { text-align: center; }
.s907-text-accent { color: var(--s907-accent); }
.s907-text-pink { color: var(--s907-pink); }
.s907-text-primary { color: var(--s907-primary); }
.s907-mt-1 { margin-top: 0.5rem; }
.s907-mb-1 { margin-bottom: 0.5rem; }
.s907-mb-2 { margin-bottom: 1rem; }
