/**
 * superwin.sbs - Core Stylesheet
 * All classes use prefix "g3b0-" for namespace isolation
 * Color palette: #4682B4 (steel blue) | #FFCCCB (light pink) | #1E1E1E (dark)
 * Mobile-first design, max-width 430px base
 */

/* CSS Variables */
:root {
  --g3b0-primary: #4682B4;
  --g3b0-accent: #FFCCCB;
  --g3b0-bg: #1E1E1E;
  --g3b0-bg-light: #2A2A2A;
  --g3b0-bg-card: #333333;
  --g3b0-text: #FFFFFF;
  --g3b0-text-muted: #CCCCCC;
  --g3b0-text-sub: #999999;
  --g3b0-gold: #FFD700;
  --g3b0-green: #4CAF50;
  --g3b0-red: #E74C3C;
  --g3b0-radius: 8px;
  --g3b0-radius-lg: 12px;
  --g3b0-shadow: 0 2px 12px rgba(0,0,0,0.3);
  --g3b0-transition: all 0.3s ease;
  font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--g3b0-bg);
  color: var(--g3b0-text);
  line-height: 1.5rem;
  font-size: 1.6rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--g3b0-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container */
.g3b0-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.g3b0-wrapper { width: 100%; position: relative; }

/* Header */
.g3b0-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--g3b0-bg) 0%, var(--g3b0-bg-light) 100%);
  border-bottom: 2px solid var(--g3b0-primary);
  padding: 0 1rem;
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
}
.g3b0-header-logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--g3b0-text);
}
.g3b0-header-logo img { width: 32px; height: 32px; border-radius: 6px; }
.g3b0-header-logo span { font-size: 1.8rem; font-weight: 700; color: var(--g3b0-primary); }
.g3b0-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.g3b0-btn-register {
  background: linear-gradient(135deg, var(--g3b0-primary), #5A9BD5);
  color: #fff; border: none; padding: 0.6rem 1.2rem; border-radius: var(--g3b0-radius);
  font-size: 1.3rem; font-weight: 600; cursor: pointer;
  transition: var(--g3b0-transition);
}
.g3b0-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 10px rgba(70,130,180,0.5); }
.g3b0-btn-login {
  background: transparent; color: var(--g3b0-accent); border: 1px solid var(--g3b0-accent);
  padding: 0.6rem 1.2rem; border-radius: var(--g3b0-radius);
  font-size: 1.3rem; font-weight: 600; cursor: pointer;
  transition: var(--g3b0-transition);
}
.g3b0-btn-login:hover { background: rgba(255,204,203,0.1); }
.g3b0-menu-toggle {
  background: none; border: none; color: var(--g3b0-text);
  font-size: 2.4rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile Menu */
.g3b0-mobile-menu {
  display: none; position: fixed; top: 56px; left: 0; right: 0;
  background: var(--g3b0-bg-light); z-index: 9999;
  border-bottom: 2px solid var(--g3b0-primary);
  padding: 1rem 0;
  animation: g3b0-slideDown 0.3s ease;
}
@keyframes g3b0-slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.g3b0-menu-active { display: block; }
.g3b0-mobile-menu a {
  display: block; padding: 1.2rem 1.6rem; color: var(--g3b0-text);
  font-size: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--g3b0-transition);
}
.g3b0-mobile-menu a:hover { background: rgba(70,130,180,0.15); color: var(--g3b0-primary); }

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

/* Carousel */
.g3b0-carousel { position: relative; width: 100%; overflow: hidden; border-radius: 0 0 var(--g3b0-radius) var(--g3b0-radius); }
.g3b0-slide { display: none; width: 100%; cursor: pointer; }
.g3b0-slide:first-child { display: block; }
.g3b0-slide img { width: 100%; height: auto; min-height: 160px; object-fit: cover; }
.g3b0-carousel-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.g3b0-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4);
  cursor: pointer; transition: var(--g3b0-transition);
}
.g3b0-carousel-dot.g3b0-dot-active { background: var(--g3b0-primary); width: 20px; border-radius: 4px; }

/* Section */
.g3b0-section { padding: 2rem 0; }
.g3b0-section-title {
  font-size: 2rem; font-weight: 700; color: var(--g3b0-text);
  margin-bottom: 1.2rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--g3b0-primary);
  display: flex; align-items: center; gap: 0.8rem;
}
.g3b0-section-title i, .g3b0-section-title .material-icons { font-size: 2.2rem; color: var(--g3b0-primary); }

/* Game Grid */
.g3b0-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem; padding: 0.5rem 0;
}
.g3b0-game-item {
  text-align: center; cursor: pointer;
  transition: var(--g3b0-transition); border-radius: var(--g3b0-radius);
  padding: 0.4rem;
}
.g3b0-game-item:hover { transform: translateY(-3px); background: rgba(70,130,180,0.1); }
.g3b0-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--g3b0-radius); border: 2px solid transparent;
  transition: var(--g3b0-transition);
}
.g3b0-game-item:hover img { border-color: var(--g3b0-primary); }
.g3b0-game-name {
  font-size: 1.1rem; color: var(--g3b0-text-muted);
  margin-top: 0.3rem; line-height: 1.3rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Category Label */
.g3b0-cat-label {
  font-size: 1.6rem; font-weight: 600; color: var(--g3b0-primary);
  margin: 1.5rem 0 0.8rem; display: flex; align-items: center; gap: 0.5rem;
}
.g3b0-cat-label i { font-size: 1.8rem; }

/* Content Card */
.g3b0-card {
  background: var(--g3b0-bg-card); border-radius: var(--g3b0-radius-lg);
  padding: 1.6rem; margin-bottom: 1.2rem;
  border: 1px solid rgba(70,130,180,0.15);
}
.g3b0-card h3 {
  font-size: 1.7rem; color: var(--g3b0-primary); margin-bottom: 0.8rem;
  font-weight: 600;
}
.g3b0-card p { font-size: 1.4rem; color: var(--g3b0-text-muted); line-height: 1.6rem; margin-bottom: 0.6rem; }

/* Promo Link Button */
.g3b0-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--g3b0-primary), #5A9BD5);
  color: #fff; padding: 1rem 2rem; border-radius: var(--g3b0-radius);
  font-size: 1.5rem; font-weight: 700; cursor: pointer;
  border: none; text-align: center; width: 100%;
  transition: var(--g3b0-transition); margin: 0.8rem 0;
}
.g3b0-promo-btn:hover { transform: scale(1.02); box-shadow: 0 4px 15px rgba(70,130,180,0.4); }
.g3b0-promo-text { color: var(--g3b0-primary); font-weight: 600; cursor: pointer; text-decoration: underline; }

/* Testimonials */
.g3b0-testimonial {
  background: var(--g3b0-bg-card); border-radius: var(--g3b0-radius-lg);
  padding: 1.4rem; margin-bottom: 1rem;
  border-left: 3px solid var(--g3b0-primary);
}
.g3b0-testimonial-name { font-size: 1.3rem; color: var(--g3b0-primary); font-weight: 600; }
.g3b0-testimonial-text { font-size: 1.3rem; color: var(--g3b0-text-muted); margin-top: 0.4rem; font-style: italic; }
.g3b0-stars { color: var(--g3b0-gold); font-size: 1.2rem; margin: 0.3rem 0; }

/* Payment Methods */
.g3b0-payment-grid { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.g3b0-payment-item {
  background: var(--g3b0-bg-card); border-radius: var(--g3b0-radius);
  padding: 0.8rem 1.2rem; font-size: 1.2rem; color: var(--g3b0-text-muted);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Winners */
.g3b0-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.g3b0-winner-name { font-size: 1.3rem; color: var(--g3b0-text); font-weight: 500; }
.g3b0-winner-game { font-size: 1.2rem; color: var(--g3b0-text-sub); }
.g3b0-winner-amount { font-size: 1.4rem; color: var(--g3b0-green); font-weight: 700; }

/* Footer */
.g3b0-footer {
  background: var(--g3b0-bg-light); padding: 2rem 0 3rem;
  border-top: 2px solid var(--g3b0-primary);
}
.g3b0-footer-desc { font-size: 1.3rem; color: var(--g3b0-text-sub); line-height: 1.6rem; margin-bottom: 1.2rem; }
.g3b0-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.g3b0-footer-link {
  background: rgba(70,130,180,0.15); color: var(--g3b0-primary);
  padding: 0.5rem 1rem; border-radius: var(--g3b0-radius);
  font-size: 1.2rem; cursor: pointer; transition: var(--g3b0-transition);
}
.g3b0-footer-link:hover { background: rgba(70,130,180,0.3); }
.g3b0-footer-site-links { margin: 1rem 0; }
.g3b0-footer-site-links a {
  display: inline-block; color: var(--g3b0-text-muted); font-size: 1.2rem;
  margin-right: 1rem; margin-bottom: 0.5rem; transition: var(--g3b0-transition);
}
.g3b0-footer-site-links a:hover { color: var(--g3b0-primary); }
.g3b0-copyright {
  font-size: 1.1rem; color: var(--g3b0-text-sub); text-align: center;
  margin-top: 1.5rem; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Bottom Navigation */
.g3b0-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, var(--g3b0-bg-light), var(--g3b0-bg));
  border-top: 2px solid var(--g3b0-primary);
  height: 60px;
  display: flex; justify-content: space-around; align-items: center;
  padding: 0 0.4rem;
}
.g3b0-bottom-nav-link {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 56px;
  color: var(--g3b0-text-sub); text-decoration: none;
  transition: var(--g3b0-transition); cursor: pointer;
  border: none; background: none;
}
.g3b0-bottom-nav-link:hover, .g3b0-bottom-nav-active {
  color: var(--g3b0-primary); transform: scale(1.08);
}
.g3b0-bottom-nav-link i,
.g3b0-bottom-nav-link .material-icons,
.g3b0-bottom-nav-link ion-icon {
  font-size: 24px; margin-bottom: 2px;
}
.g3b0-bottom-nav-link span {
  font-size: 1rem; line-height: 1.1rem;
}
.g3b0-bottom-nav-active::after {
  content: ''; display: block; width: 20px; height: 2px;
  background: var(--g3b0-primary); border-radius: 1px; margin-top: 1px;
}

/* Utility */
.g3b0-text-center { text-align: center; }
.g3b0-text-primary { color: var(--g3b0-primary); }
.g3b0-text-accent { color: var(--g3b0-accent); }
.g3b0-text-gold { color: var(--g3b0-gold); }
.g3b0-mb-1 { margin-bottom: 1rem; }
.g3b0-mb-2 { margin-bottom: 2rem; }
.g3b0-mt-1 { margin-top: 1rem; }
.g3b0-hidden { display: none; }
.g3b0-divider { border: none; border-top: 1px solid rgba(255,255,255,0.06); margin: 1.5rem 0; }

/* Internal link style */
.g3b0-internal-link { color: var(--g3b0-primary); text-decoration: underline; cursor: pointer; }
.g3b0-internal-link:hover { color: #5A9BD5; }

/* FAQ */
.g3b0-faq-item { margin-bottom: 1.2rem; }
.g3b0-faq-q { font-size: 1.5rem; font-weight: 600; color: var(--g3b0-primary); margin-bottom: 0.4rem; }
.g3b0-faq-a { font-size: 1.4rem; color: var(--g3b0-text-muted); line-height: 1.6rem; }

/* Guide Steps */
.g3b0-step {
  display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: flex-start;
}
.g3b0-step-num {
  background: var(--g3b0-primary); color: #fff; width: 28px; height: 28px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700; flex-shrink: 0;
}
.g3b0-step-content { flex: 1; }
.g3b0-step-title { font-size: 1.5rem; font-weight: 600; color: var(--g3b0-text); margin-bottom: 0.3rem; }
.g3b0-step-desc { font-size: 1.3rem; color: var(--g3b0-text-muted); line-height: 1.5rem; }

/* Responsive - Desktop */
@media (min-width: 769px) {
  .g3b0-bottom-nav { display: none; }
  .g3b0-container { max-width: 768px; }
  .g3b0-game-grid { grid-template-columns: repeat(6, 1fr); }
  .g3b0-header { justify-content: center; gap: 2rem; }
  .g3b0-menu-toggle { display: none; }
  .g3b0-mobile-menu { display: none !important; }
}
@media (min-width: 1024px) {
  .g3b0-container { max-width: 1024px; }
  .g3b0-game-grid { grid-template-columns: repeat(8, 1fr); }
}
