/**
 * JiliAcePH - Design Stylesheet
 * Prefix: wb9ee-
 * All classes use wb9ee- prefix for namespace isolation
 * Mobile-first design (max-width: 430px base)
 */

/* CSS Variables */
:root {
  --wb9ee-primary: #00CED1;
  --wb9ee-secondary: #6495ED;
  --wb9ee-bg: #191970;
  --wb9ee-bg-light: #1a1a5e;
  --wb9ee-bg-card: #222255;
  --wb9ee-text: #e8e8f0;
  --wb9ee-text-muted: #a0a0c0;
  --wb9ee-accent: #2E8B57;
  --wb9ee-dark: #2D2D2D;
  --wb9ee-border: rgba(0,206,209,0.2);
  --wb9ee-shadow: 0 2px 12px rgba(0,0,0,0.3);
  --wb9ee-radius: 8px;
  --wb9ee-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: var(--wb9ee-font);
  background: var(--wb9ee-bg);
  color: var(--wb9ee-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--wb9ee-primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--wb9ee-secondary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container */
.wb9ee-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1rem; }
.wb9ee-wrapper { padding: 1rem 0; }

/* Header */
.wb9ee-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #191970 0%, #0d0d45 100%);
  border-bottom: 1px solid var(--wb9ee-border);
  box-shadow: var(--wb9ee-shadow);
  height: 56px;
}
.wb9ee-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem; height: 56px;
}
.wb9ee-logo-area { display: flex; align-items: center; gap: 0.6rem; }
.wb9ee-logo-area img { width: 28px; height: 28px; border-radius: 6px; }
.wb9ee-logo-area span { font-size: 1.8rem; font-weight: 700; color: var(--wb9ee-primary); letter-spacing: 0.5px; }
.wb9ee-header-btns { display: flex; align-items: center; gap: 0.5rem; }
.wb9ee-btn-register {
  background: linear-gradient(135deg, #2E8B57, #3CB371);
  color: #fff; border: none; padding: 0.5rem 1.2rem;
  border-radius: 20px; font-size: 1.2rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s; min-height: 36px;
}
.wb9ee-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(46,139,87,0.5); }
.wb9ee-btn-login {
  background: transparent; color: var(--wb9ee-primary);
  border: 1.5px solid var(--wb9ee-primary); padding: 0.5rem 1.2rem;
  border-radius: 20px; font-size: 1.2rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s; min-height: 36px;
}
.wb9ee-btn-login:hover { background: rgba(0,206,209,0.1); }
.wb9ee-hamburger {
  background: none; border: none; color: var(--wb9ee-primary);
  font-size: 2rem; cursor: pointer; padding: 0.4rem; margin-left: 0.4rem;
}

/* Mobile Menu */
.wb9ee-mobile-menu {
  display: none; max-height: 0; overflow: hidden;
  background: linear-gradient(180deg, #191970, #0d0d45);
  position: fixed; top: 56px; left: 0; right: 0; z-index: 9999;
  border-bottom: 2px solid var(--wb9ee-primary);
  transition: max-height 0.3s ease;
}
.wb9ee-mobile-menu ul { padding: 0.8rem 0; }
.wb9ee-mobile-menu li {
  border-bottom: 1px solid rgba(0,206,209,0.1);
}
.wb9ee-mobile-menu a {
  display: block; padding: 1rem 1.5rem;
  color: var(--wb9ee-text); font-size: 1.4rem;
  transition: all 0.2s;
}
.wb9ee-mobile-menu a:hover {
  background: rgba(0,206,209,0.1); color: var(--wb9ee-primary);
  padding-left: 2rem;
}

/* Carousel */
.wb9ee-carousel {
  position: relative; overflow: hidden;
  margin-top: 56px; border-radius: 0 0 var(--wb9ee-radius) var(--wb9ee-radius);
}
.wb9ee-slide {
  display: none; width: 100%; cursor: pointer; position: relative;
}
.wb9ee-slide img { width: 100%; height: auto; min-height: 160px; object-fit: cover; }
.wb9ee-slide-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 2rem 1rem 1rem; color: #fff;
}
.wb9ee-slide-overlay h3 { font-size: 1.6rem; margin-bottom: 0.3rem; }
.wb9ee-slide-overlay p { font-size: 1.2rem; opacity: 0.9; }
.wb9ee-carousel-dots {
  position: absolute; bottom: 8px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 6px; z-index: 5;
}
.wb9ee-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: all 0.3s; border: none;
}
.wb9ee-dot-active { background: var(--wb9ee-primary); width: 20px; border-radius: 4px; }
.wb9ee-carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.4); color: #fff; border: none;
  width: 30px; height: 30px; border-radius: 50%;
  font-size: 1.4rem; cursor: pointer; z-index: 5;
  transition: background 0.3s;
}
.wb9ee-carousel-btn:hover { background: rgba(0,206,209,0.6); }
.wb9ee-carousel-prev { left: 8px; }
.wb9ee-carousel-next { right: 8px; }

/* Section Headings */
.wb9ee-section { padding: 1.5rem 0; }
.wb9ee-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--wb9ee-primary);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--wb9ee-accent);
  display: flex; align-items: center; gap: 0.5rem;
}
.wb9ee-section-title i { font-size: 2rem; color: var(--wb9ee-accent); }
.wb9ee-cat-label {
  font-size: 1.5rem; font-weight: 600; color: var(--wb9ee-secondary);
  margin: 1.2rem 0 0.8rem; padding-left: 0.5rem;
  border-left: 3px solid var(--wb9ee-primary);
}

/* Game Grid */
.wb9ee-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.wb9ee-game-card {
  background: var(--wb9ee-bg-card); border-radius: var(--wb9ee-radius);
  overflow: hidden; cursor: pointer; transition: all 0.3s;
  border: 1px solid transparent;
}
.wb9ee-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--wb9ee-primary);
  box-shadow: 0 4px 16px rgba(0,206,209,0.2);
}
.wb9ee-game-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--wb9ee-radius) var(--wb9ee-radius) 0 0;
}
.wb9ee-game-card span {
  display: block; text-align: center; padding: 0.3rem 0.2rem;
  font-size: 1rem; color: var(--wb9ee-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Promo Buttons & Links */
.wb9ee-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--wb9ee-accent), #3CB371);
  color: #fff; padding: 0.8rem 2rem; border-radius: 25px;
  font-size: 1.4rem; font-weight: 700; cursor: pointer;
  border: none; transition: all 0.3s; text-align: center;
}
.wb9ee-promo-btn:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(46,139,87,0.5); }
.wb9ee-promo-link {
  color: var(--wb9ee-primary); font-weight: 600;
  text-decoration: underline; cursor: pointer;
}
.wb9ee-promo-link:hover { color: var(--wb9ee-secondary); }

/* Content Blocks */
.wb9ee-content-block {
  background: var(--wb9ee-bg-card); border-radius: var(--wb9ee-radius);
  padding: 1.5rem; margin-bottom: 1rem;
  border: 1px solid var(--wb9ee-border);
}
.wb9ee-content-block h2 {
  font-size: 1.6rem; color: var(--wb9ee-primary); margin-bottom: 0.8rem;
}
.wb9ee-content-block h3 {
  font-size: 1.4rem; color: var(--wb9ee-secondary); margin: 0.8rem 0 0.5rem;
}
.wb9ee-content-block p {
  color: var(--wb9ee-text); line-height: 1.8; margin-bottom: 0.5rem; font-size: 1.3rem;
}
.wb9ee-content-block ul { padding-left: 1.5rem; }
.wb9ee-content-block li {
  color: var(--wb9ee-text); margin-bottom: 0.3rem; font-size: 1.3rem;
  list-style: disc;
}

/* FAQ Accordion */
.wb9ee-faq-item { margin-bottom: 0.8rem; }
.wb9ee-faq-q {
  background: var(--wb9ee-bg-card); padding: 1rem;
  border-radius: var(--wb9ee-radius); cursor: pointer;
  font-weight: 600; color: var(--wb9ee-primary);
  border-left: 3px solid var(--wb9ee-accent);
  display: flex; justify-content: space-between; align-items: center;
}
.wb9ee-faq-q i { font-size: 1.4rem; transition: transform 0.3s; }
.wb9ee-faq-a {
  background: rgba(34,34,85,0.5); padding: 0.8rem 1rem;
  border-radius: 0 0 var(--wb9ee-radius) var(--wb9ee-radius);
  color: var(--wb9ee-text-muted); font-size: 1.2rem; line-height: 1.6;
  display: none;
}

/* Testimonials */
.wb9ee-testimonial {
  background: var(--wb9ee-bg-card); border-radius: var(--wb9ee-radius);
  padding: 1rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--wb9ee-secondary);
}
.wb9ee-testimonial p { font-size: 1.2rem; color: var(--wb9ee-text); font-style: italic; margin-bottom: 0.5rem; }
.wb9ee-testimonial cite { font-size: 1.1rem; color: var(--wb9ee-accent); }

/* Stats Bar */
.wb9ee-stats-bar {
  display: flex; justify-content: space-around;
  background: var(--wb9ee-bg-card); border-radius: var(--wb9ee-radius);
  padding: 1rem; margin: 1rem 0;
  border: 1px solid var(--wb9ee-border);
}
.wb9ee-stat-item { text-align: center; }
.wb9ee-stat-num {
  font-size: 2rem; font-weight: 700; color: var(--wb9ee-primary);
}
.wb9ee-stat-label { font-size: 1rem; color: var(--wb9ee-text-muted); }

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

/* Winners Showcase */
.wb9ee-winner-list { display: flex; flex-direction: column; gap: 0.5rem; }
.wb9ee-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--wb9ee-bg-card); padding: 0.6rem 1rem;
  border-radius: var(--wb9ee-radius); font-size: 1.2rem;
}
.wb9ee-winner-name { color: var(--wb9ee-primary); font-weight: 600; }
.wb9ee-winner-amount { color: var(--wb9ee-accent); font-weight: 700; }
.wb9ee-winner-game { color: var(--wb9ee-text-muted); font-size: 1.1rem; }

/* Footer */
.wb9ee-footer {
  background: linear-gradient(180deg, var(--wb9ee-bg-card), #0d0d45);
  padding: 2rem 1rem 6rem; margin-top: 2rem;
  border-top: 1px solid var(--wb9ee-border);
}
.wb9ee-footer-brand { text-align: center; margin-bottom: 1.5rem; }
.wb9ee-footer-brand p { font-size: 1.2rem; color: var(--wb9ee-text-muted); line-height: 1.6; margin-bottom: 0.3rem; }
.wb9ee-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.2rem;
  margin-bottom: 1.5rem;
}
.wb9ee-footer-links a {
  color: var(--wb9ee-text-muted); font-size: 1.1rem;
  transition: color 0.3s;
}
.wb9ee-footer-links a:hover { color: var(--wb9ee-primary); }
.wb9ee-footer-copy {
  text-align: center; font-size: 1.1rem;
  color: var(--wb9ee-text-muted); opacity: 0.7;
}

/* Bottom Navigation */
.wb9ee-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1a1a5e 0%, #0d0d40 100%);
  border-top: 1px solid var(--wb9ee-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.3);
}
.wb9ee-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 56px; background: none; border: none;
  color: var(--wb9ee-text-muted); cursor: pointer; transition: all 0.3s;
  padding: 0.3rem;
}
.wb9ee-bottom-nav-btn i,
.wb9ee-bottom-nav-btn .material-icons {
  font-size: 24px; margin-bottom: 2px; transition: all 0.3s;
}
.wb9ee-bottom-nav-btn span {
  font-size: 10px; font-weight: 500;
}
.wb9ee-bottom-nav-btn:hover,
.wb9ee-nav-active {
  color: var(--wb9ee-primary);
}
.wb9ee-bottom-nav-btn:hover i,
.wb9ee-nav-active i,
.wb9ee-nav-active .material-icons {
  transform: scale(1.15);
  color: var(--wb9ee-primary);
}

/* CTA Section */
.wb9ee-cta {
  background: linear-gradient(135deg, var(--wb9ee-accent), #3CB371);
  border-radius: var(--wb9ee-radius);
  padding: 1.5rem; text-align: center; margin: 1rem 0;
}
.wb9ee-cta h3 { color: #fff; font-size: 1.6rem; margin-bottom: 0.5rem; }
.wb9ee-cta p { color: rgba(255,255,255,0.9); font-size: 1.2rem; margin-bottom: 1rem; }

/* App Download Box */
.wb9ee-app-box {
  background: linear-gradient(135deg, var(--wb9ee-bg-card), #2a2a6a);
  border-radius: var(--wb9ee-radius); padding: 1.5rem;
  text-align: center; border: 1px solid var(--wb9ee-primary);
  margin: 1rem 0;
}
.wb9ee-app-box h3 { color: var(--wb9ee-primary); font-size: 1.5rem; margin-bottom: 0.5rem; }

/* Features Grid */
.wb9ee-features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
}
.wb9ee-feature-item {
  background: var(--wb9ee-bg-card); border-radius: var(--wb9ee-radius);
  padding: 1rem; text-align: center; border: 1px solid var(--wb9ee-border);
}
.wb9ee-feature-item i,
.wb9ee-feature-item .material-icons {
  font-size: 2.4rem; color: var(--wb9ee-primary); margin-bottom: 0.5rem; display: block;
}
.wb9ee-feature-item h4 { color: var(--wb9ee-secondary); font-size: 1.2rem; margin-bottom: 0.3rem; }
.wb9ee-feature-item p { font-size: 1.1rem; color: var(--wb9ee-text-muted); }

/* Mobile spacing for bottom nav */
@media (max-width: 768px) {
  .wb9ee-main { padding-bottom: 80px; }
}

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .wb9ee-bottom-nav { display: none; }
}

/* Utility */
.wb9ee-text-center { text-align: center; }
.wb9ee-mt-1 { margin-top: 1rem; }
.wb9ee-mb-1 { margin-bottom: 1rem; }
.wb9ee-hidden { display: none; }
