/* bee999 Design Stylesheet - sc87- prefix */
/* Color Palette: #BDC3C7 #262626 #F5F5F5 #F8F8FF #FF8C00 */
/* Dark background, light text, orange accent */

:root {
  --sc87-primary: #FF8C00;
  --sc87-bg: #262626;
  --sc87-bg-light: #1a1a1a;
  --sc87-bg-card: #2a2a2a;
  --sc87-text: #F5F5F5;
  --sc87-text-muted: #BDC3C7;
  --sc87-accent: #FF8C00;
  --sc87-accent-hover: #FFa033;
  --sc87-border: #3a3a3a;
  --sc87-white: #F8F8FF;
  --sc87-shadow: rgba(0,0,0,0.3);
  --sc87-radius: 8px;
  --sc87-radius-lg: 12px;
}

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

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--sc87-bg);
  color: var(--sc87-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* === HEADER === */
.sc87-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
  border-bottom: 1px solid var(--sc87-border);
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
  height: 5.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sc87-header-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.sc87-header-logo {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}
.sc87-header-brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sc87-primary);
  letter-spacing: 0.5px;
}
.sc87-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sc87-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--sc87-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 36px;
  min-width: 44px;
}
.sc87-btn-register {
  background: var(--sc87-primary);
  color: #262626;
}
.sc87-btn-register:hover {
  background: var(--sc87-accent-hover);
  transform: scale(1.03);
}
.sc87-btn-login {
  background: transparent;
  color: var(--sc87-primary);
  border: 1px solid var(--sc87-primary);
}
.sc87-btn-login:hover {
  background: rgba(255,140,0,0.1);
}
.sc87-menu-toggle {
  background: none;
  border: none;
  color: var(--sc87-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === MOBILE SIDE MENU === */
.sc87-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--sc87-bg-light);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.sc87-menu-active { right: 0 !important; }
.sc87-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  display: none;
}
.sc87-overlay-active { display: block !important; }
.sc87-menu-close {
  background: none;
  border: none;
  color: var(--sc87-text);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.sc87-menu-nav { margin-top: 3rem; }
.sc87-menu-nav a {
  display: block;
  padding: 1.2rem 0;
  color: var(--sc87-text);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--sc87-border);
  transition: color 0.2s;
}
.sc87-menu-nav a:hover { color: var(--sc87-primary); }

/* === CAROUSEL === */
.sc87-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 5.2rem;
  border-radius: 0 0 var(--sc87-radius) var(--sc87-radius);
}
.sc87-carousel-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.sc87-carousel-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.sc87-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.sc87-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.sc87-dot-active { background: var(--sc87-primary) !important; }

/* === MAIN CONTENT === */
.sc87-main {
  padding: 1.5rem 1.2rem;
}
@media (max-width: 768px) {
  .sc87-main { padding-bottom: 8rem; }
}

/* === SECTION HEADINGS === */
.sc87-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--sc87-text);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--sc87-primary);
  display: inline-block;
}
.sc87-h1-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--sc87-primary);
  margin: 1.5rem 0;
  line-height: 1.4;
}

/* === GAME GRID === */
.sc87-game-category { margin-bottom: 2rem; }
.sc87-category-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sc87-primary);
  margin-bottom: 0.8rem;
  padding-left: 0.4rem;
  border-left: 3px solid var(--sc87-primary);
}
.sc87-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.sc87-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.sc87-game-item:hover { transform: scale(1.05); }
.sc87-game-item img {
  width: 64px;
  height: 64px;
  border-radius: var(--sc87-radius);
  object-fit: cover;
  margin-bottom: 0.4rem;
  border: 1px solid var(--sc87-border);
}
.sc87-game-name {
  font-size: 1rem;
  color: var(--sc87-text-muted);
  text-align: center;
  line-height: 1.2;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === CONTENT CARDS === */
.sc87-card {
  background: var(--sc87-bg-card);
  border-radius: var(--sc87-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--sc87-border);
}
.sc87-card h2 {
  font-size: 1.6rem;
  color: var(--sc87-primary);
  margin-bottom: 0.8rem;
}
.sc87-card h3 {
  font-size: 1.4rem;
  color: var(--sc87-text);
  margin-bottom: 0.6rem;
}
.sc87-card p {
  font-size: 1.3rem;
  color: var(--sc87-text-muted);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}
.sc87-card ul {
  padding-left: 1.5rem;
  color: var(--sc87-text-muted);
  font-size: 1.3rem;
  line-height: 1.8;
}

/* === PROMO BUTTON === */
.sc87-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, #FF8C00, #FF6600);
  color: #262626;
  font-weight: 700;
  font-size: 1.4rem;
  padding: 1rem 2rem;
  border-radius: var(--sc87-radius);
  cursor: pointer;
  border: none;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 44px;
}
.sc87-promo-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(255,140,0,0.4);
}
.sc87-promo-link {
  color: var(--sc87-primary);
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}
.sc87-promo-link:hover {
  color: var(--sc87-accent-hover);
  text-decoration: underline;
}

/* === FAQ === */
.sc87-faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--sc87-border);
  border-radius: var(--sc87-radius);
  overflow: hidden;
}
.sc87-faq-q {
  padding: 1rem 1.2rem;
  background: var(--sc87-bg-card);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--sc87-text);
  cursor: pointer;
}
.sc87-faq-a {
  padding: 0.8rem 1.2rem;
  font-size: 1.2rem;
  color: var(--sc87-text-muted);
  line-height: 1.5;
  background: rgba(0,0,0,0.15);
}

/* === FEATURES LIST === */
.sc87-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.sc87-feature-item {
  background: var(--sc87-bg-card);
  padding: 1rem;
  border-radius: var(--sc87-radius);
  text-align: center;
  border: 1px solid var(--sc87-border);
}
.sc87-feature-item i, .sc87-feature-item span.material-symbols-outlined {
  font-size: 2.4rem;
  color: var(--sc87-primary);
  margin-bottom: 0.4rem;
  display: block;
}
.sc87-feature-item p {
  font-size: 1.1rem;
  color: var(--sc87-text-muted);
}

/* === TESTIMONIALS === */
.sc87-testimonial {
  background: var(--sc87-bg-card);
  border-radius: var(--sc87-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--sc87-primary);
}
.sc87-testimonial-name {
  font-weight: 600;
  color: var(--sc87-primary);
  font-size: 1.2rem;
}
.sc87-testimonial-text {
  font-size: 1.2rem;
  color: var(--sc87-text-muted);
  margin-top: 0.3rem;
  line-height: 1.4;
}

/* === FOOTER === */
.sc87-footer {
  background: var(--sc87-bg-light);
  padding: 2rem 1.2rem;
  border-top: 1px solid var(--sc87-border);
  margin-top: 2rem;
}
.sc87-footer-brand {
  font-size: 1.4rem;
  color: var(--sc87-primary);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.sc87-footer-text {
  font-size: 1.2rem;
  color: var(--sc87-text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.sc87-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.sc87-footer-links a {
  font-size: 1.1rem;
  color: var(--sc87-text-muted);
  padding: 0.3rem 0.6rem;
  background: var(--sc87-bg-card);
  border-radius: 4px;
  transition: color 0.2s;
}
.sc87-footer-links a:hover { color: var(--sc87-primary); }
.sc87-footer-copy {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  margin-top: 1rem;
}

/* === BOTTOM NAV === */
.sc87-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a1a1a, #111);
  border-top: 1px solid var(--sc87-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  max-width: 430px;
  margin: 0 auto;
}
.sc87-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--sc87-text-muted);
  cursor: pointer;
  min-width: 60px;
  min-height: 56px;
  transition: color 0.2s, transform 0.15s;
  gap: 2px;
}
.sc87-bottom-btn:active { transform: scale(0.9); }
.sc87-bottom-btn:hover { color: var(--sc87-primary); }
.sc87-bottom-btn .sc87-nav-icon {
  font-size: 22px;
  line-height: 1;
}
.sc87-bottom-btn .sc87-nav-label {
  font-size: 1rem;
  line-height: 1.2;
}
.sc87-bottom-btn.sc87-active {
  color: var(--sc87-primary);
}
.sc87-bottom-btn.sc87-active .sc87-nav-icon {
  transform: scale(1.1);
}

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

/* === RTP TABLE === */
.sc87-rtp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.sc87-rtp-item {
  background: var(--sc87-bg-card);
  border-radius: var(--sc87-radius);
  padding: 0.8rem;
  text-align: center;
  border: 1px solid var(--sc87-border);
}
.sc87-rtp-item img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  margin: 0 auto 0.4rem;
}
.sc87-rtp-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #4CAF50;
}
.sc87-rtp-label {
  font-size: 1rem;
  color: var(--sc87-text-muted);
}

/* === WINNER LIST === */
.sc87-winner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--sc87-border);
  font-size: 1.2rem;
}
.sc87-winner-name { color: var(--sc87-text); font-weight: 600; }
.sc87-winner-amount { color: #4CAF50; font-weight: 700; }

/* === PAYMENT METHODS === */
.sc87-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.sc87-payment-item {
  background: var(--sc87-bg-card);
  padding: 0.6rem 1rem;
  border-radius: var(--sc87-radius);
  border: 1px solid var(--sc87-border);
  font-size: 1.2rem;
  color: var(--sc87-text-muted);
}

/* === HELP PAGE === */
.sc87-help-section { margin-bottom: 1.5rem; }
.sc87-help-section h2 {
  font-size: 1.6rem;
  color: var(--sc87-primary);
  margin-bottom: 0.6rem;
}
.sc87-help-section p {
  font-size: 1.3rem;
  color: var(--sc87-text-muted);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.sc87-step-list {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
}
.sc87-step-list li {
  counter-increment: step-counter;
  padding: 0.6rem 0 0.6rem 3rem;
  position: relative;
  font-size: 1.3rem;
  color: var(--sc87-text-muted);
  line-height: 1.5;
}
.sc87-step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 2rem;
  height: 2rem;
  background: var(--sc87-primary);
  color: #262626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

/* === BREADCRUMB === */
.sc87-breadcrumb {
  font-size: 1.1rem;
  color: var(--sc87-text-muted);
  margin-top: 5.2rem;
  padding: 0.8rem 1.2rem;
}
.sc87-breadcrumb a { color: var(--sc87-primary); }

/* === CTA SECTION === */
.sc87-cta {
  background: linear-gradient(135deg, #FF8C00, #e67600);
  padding: 1.5rem;
  border-radius: var(--sc87-radius-lg);
  text-align: center;
  margin: 1.5rem 0;
}
.sc87-cta h3 {
  color: #262626;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.sc87-cta p {
  color: #3a3a3a;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.sc87-cta .sc87-promo-btn {
  background: #262626;
  color: var(--sc87-primary);
}
