/* design-b3e5.css - xxbet Core Stylesheet */
/* All classes use wb3e5- prefix for namespace isolation */

:root {
  --wb3e5-primary: #20B2AA;
  --wb3e5-secondary: #00BFFF;
  --wb3e5-accent: #DEB887;
  --wb3e5-bg: #1B263B;
  --wb3e5-bg-light: #243352;
  --wb3e5-surface: #2A3A5C;
  --wb3e5-text: #F8F9FA;
  --wb3e5-text-muted: #ADD8E6;
  --wb3e5-border: #3A4F7A;
  --wb3e5-success: #20B2AA;
  --wb3e5-warning: #DEB887;
  --wb3e5-radius: 8px;
  --wb3e5-radius-lg: 12px;
  --wb3e5-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--wb3e5-text);
  background: var(--wb3e5-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

/* Header */
.wb3e5-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--wb3e5-bg);
  border-bottom: 1px solid var(--wb3e5-border);
  height: 56px;
}
.wb3e5-header-inner {
  max-width: 430px; margin: 0 auto; display: flex;
  align-items: center; justify-content: space-between;
  padding: 0 1.2rem; height: 56px;
}
.wb3e5-logo-area { display: flex; align-items: center; gap: 0.8rem; }
.wb3e5-logo-area img { width: 28px; height: 28px; border-radius: 4px; }
.wb3e5-site-name { font-size: 1.8rem; font-weight: 700; color: var(--wb3e5-accent); }
.wb3e5-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.wb3e5-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.6rem 1.2rem; border-radius: var(--wb3e5-radius);
  font-size: 1.3rem; font-weight: 600; cursor: pointer;
  border: none; transition: all 0.2s ease; min-height: 36px;
}
.wb3e5-btn-register {
  background: var(--wb3e5-accent); color: var(--wb3e5-bg);
}
.wb3e5-btn-register:hover { background: #c9a86c; }
.wb3e5-btn-login {
  background: transparent; color: var(--wb3e5-secondary);
  border: 1px solid var(--wb3e5-secondary);
}
.wb3e5-btn-login:hover { background: rgba(0, 191, 255, 0.1); }
.wb3e5-hamburger {
  background: none; border: none; color: var(--wb3e5-text);
  font-size: 2.2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile Menu */
.wb3e5-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.wb3e5-overlay-active { opacity: 1; visibility: visible; }
.wb3e5-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: var(--wb3e5-bg-light); z-index: 9999;
  transition: right 0.3s ease; overflow-y: auto;
  padding: 2rem 0; border-left: 1px solid var(--wb3e5-border);
}
.wb3e5-menu-active { right: 0; }
.wb3e5-menu-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; color: var(--wb3e5-text);
  font-size: 2.4rem; cursor: pointer;
}
.wb3e5-menu-list { list-style: none; padding: 1rem 0; }
.wb3e5-menu-item {
  border-bottom: 1px solid var(--wb3e5-border);
}
.wb3e5-menu-link {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.6rem; color: var(--wb3e5-text);
  font-size: 1.4rem; transition: background 0.2s;
}
.wb3e5-menu-link:hover { background: var(--wb3e5-surface); color: var(--wb3e5-accent); }
.wb3e5-menu-link i { font-size: 1.8rem; width: 2.4rem; text-align: center; }
.wb3e5-menu-section {
  padding: 0.8rem 1.6rem; font-size: 1.1rem; font-weight: 700;
  color: var(--wb3e5-text-muted); text-transform: uppercase;
  letter-spacing: 0.5px; margin-top: 0.8rem;
}

/* Bottom Navigation */
.wb3e5-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: var(--wb3e5-bg-light);
  border-top: 1px solid var(--wb3e5-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; padding: 0 0.4rem;
}
.wb3e5-bottom-nav-item {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 58px; min-height: 54px;
  background: none; border: none; color: var(--wb3e5-text-muted);
  cursor: pointer; transition: all 0.25s ease; gap: 0.2rem;
  border-radius: var(--wb3e5-radius); position: relative;
}
.wb3e5-bottom-nav-item i, .wb3e5-bottom-nav-item .material-symbols-outlined {
  font-size: 2.2rem; transition: transform 0.2s;
}
.wb3e5-bottom-nav-item span { font-size: 1rem; font-weight: 500; }
.wb3e5-bottom-nav-item:hover { color: var(--wb3e5-accent); }
.wb3e5-bottom-nav-item:hover i { transform: scale(1.15); }
.wb3e5-bottom-nav-active { color: var(--wb3e5-accent) !important; }
.wb3e5-bottom-nav-active::after {
  content: ''; position: absolute; top: -1px; left: 20%; right: 20%;
  height: 3px; background: var(--wb3e5-accent); border-radius: 0 0 3px 3px;
}

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

/* Main content padding for fixed elements */
.wb3e5-main { padding-top: 56px; }
@media (max-width: 768px) {
  .wb3e5-main { padding-bottom: 72px; }
}

/* Carousel */
.wb3e5-carousel {
  position: relative; width: 100%; overflow: hidden;
  border-radius: var(--wb3e5-radius-lg); margin: 1.2rem 0;
  aspect-ratio: 16/9;
}
.wb3e5-carousel-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.5s ease; cursor: pointer;
}
.wb3e5-slide-active { opacity: 1; }
.wb3e5-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.wb3e5-carousel-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.6rem;
}
.wb3e5-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none;
  cursor: pointer; transition: all 0.3s;
}
.wb3e5-dot-active { background: var(--wb3e5-accent); width: 20px; border-radius: 4px; }

/* Section Styles */
.wb3e5-section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--wb3e5-border);
}
.wb3e5-section:last-child { border-bottom: none; }
.wb3e5-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--wb3e5-accent);
  margin-bottom: 1.2rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--wb3e5-primary);
}
.wb3e5-section-subtitle {
  font-size: 1.4rem; font-weight: 600; color: var(--wb3e5-secondary);
  margin: 1rem 0 0.6rem;
}

/* Game Grid */
.wb3e5-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem; margin-top: 1rem;
}
.wb3e5-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: transform 0.2s; text-align: center;
}
.wb3e5-game-item:hover { transform: translateY(-2px); }
.wb3e5-game-item img {
  width: 72px; height: 72px; border-radius: var(--wb3e5-radius);
  border: 2px solid var(--wb3e5-border); object-fit: cover;
  transition: border-color 0.2s;
}
.wb3e5-game-item:hover img { border-color: var(--wb3e5-primary); }
.wb3e5-game-name {
  font-size: 1.1rem; margin-top: 0.4rem; color: var(--wb3e5-text);
  line-height: 1.3; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; max-width: 90px;
}

/* Cards */
.wb3e5-card {
  background: var(--wb3e5-bg-light); border-radius: var(--wb3e5-radius-lg);
  padding: 1.6rem; margin-bottom: 1.2rem;
  border: 1px solid var(--wb3e5-border);
}
.wb3e5-card-title {
  font-size: 1.5rem; font-weight: 600; color: var(--wb3e5-accent);
  margin-bottom: 0.8rem;
}

/* Promo Buttons & Links */
.wb3e5-promo-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: linear-gradient(135deg, var(--wb3e5-primary), var(--wb3e5-secondary));
  color: var(--wb3e5-bg) !important; padding: 1rem 2rem;
  border-radius: 25px; font-size: 1.4rem; font-weight: 700;
  cursor: pointer; border: none; transition: all 0.3s;
  text-decoration: none; width: 100%; justify-content: center;
}
.wb3e5-promo-btn:hover { transform: scale(1.03); box-shadow: 0 4px 20px rgba(32, 178, 170, 0.4); }
.wb3e5-promo-link {
  color: var(--wb3e5-accent); font-weight: 600;
  text-decoration: underline; cursor: pointer;
}

/* Footer */
.wb3e5-footer {
  background: var(--wb3e5-bg-light); padding: 2rem 0 1rem;
  border-top: 1px solid var(--wb3e5-border);
}
.wb3e5-footer-brand {
  font-size: 1.3rem; color: var(--wb3e5-text-muted); margin-bottom: 1.2rem;
  line-height: 1.6;
}
.wb3e5-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1rem 0;
}
.wb3e5-footer-link {
  color: var(--wb3e5-text-muted); font-size: 1.2rem; padding: 0.4rem 0.8rem;
  border: 1px solid var(--wb3e5-border); border-radius: var(--wb3e5-radius);
  transition: all 0.2s;
}
.wb3e5-footer-link:hover { color: var(--wb3e5-accent); border-color: var(--wb3e5-accent); }
.wb3e5-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0;
}
.wb3e5-footer-promo-btn {
  background: var(--wb3e5-primary); color: var(--wb3e5-bg);
  padding: 0.6rem 1.2rem; border-radius: 20px;
  font-size: 1.2rem; font-weight: 600; border: none; cursor: pointer;
}
.wb3e5-copyright {
  text-align: center; font-size: 1.1rem; color: var(--wb3e5-text-muted);
  padding-top: 1rem; border-top: 1px solid var(--wb3e5-border);
}

/* Utility */
.wb3e5-text-center { text-align: center; }
.wb3e5-text-accent { color: var(--wb3e5-accent); }
.wb3e5-text-primary { color: var(--wb3e5-primary); }
.wb3e5-text-muted { color: var(--wb3e5-text-muted); }
.wb3e5-mb-1 { margin-bottom: 0.8rem; }
.wb3e5-mb-2 { margin-bottom: 1.6rem; }
.wb3e5-mt-1 { margin-top: 0.8rem; }
.wb3e5-mt-2 { margin-top: 1.6rem; }
.wb3e5-p-1 { padding: 0.8rem; }
.wb3e5-p-2 { padding: 1.6rem; }
.wb3e5-hidden { display: none; }

/* Content paragraphs */
.wb3e5-content p {
  margin-bottom: 1rem; line-height: 1.6; color: var(--wb3e5-text);
}
.wb3e5-content h2 {
  font-size: 1.7rem; font-weight: 700; color: var(--wb3e5-accent);
  margin: 1.6rem 0 0.8rem;
}
.wb3e5-content h3 {
  font-size: 1.5rem; font-weight: 600; color: var(--wb3e5-secondary);
  margin: 1.2rem 0 0.6rem;
}
.wb3e5-content ul {
  padding-left: 1.6rem; margin-bottom: 1rem;
}
.wb3e5-content li {
  margin-bottom: 0.4rem; color: var(--wb3e5-text); line-height: 1.5;
}

/* FAQ */
.wb3e5-faq-item {
  margin-bottom: 1rem; padding: 1rem;
  background: var(--wb3e5-surface); border-radius: var(--wb3e5-radius);
  border-left: 3px solid var(--wb3e5-primary);
}
.wb3e5-faq-q {
  font-weight: 600; color: var(--wb3e5-accent); margin-bottom: 0.4rem;
  font-size: 1.4rem;
}
.wb3e5-faq-a {
  color: var(--wb3e5-text); font-size: 1.3rem; line-height: 1.5;
}

/* Winner showcase */
.wb3e5-winner-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
}
.wb3e5-winner-card {
  background: var(--wb3e5-surface); border-radius: var(--wb3e5-radius);
  padding: 1rem; text-align: center;
}
.wb3e5-winner-name { font-size: 1.2rem; color: var(--wb3e5-accent); font-weight: 600; }
.wb3e5-winner-amount { font-size: 1.6rem; color: var(--wb3e5-primary); font-weight: 700; }
.wb3e5-winner-game { font-size: 1.1rem; color: var(--wb3e5-text-muted); margin-top: 0.3rem; }

/* Testimonials */
.wb3e5-testimonial {
  background: var(--wb3e5-surface); border-radius: var(--wb3e5-radius-lg);
  padding: 1.2rem; margin-bottom: 1rem;
  border-left: 3px solid var(--wb3e5-accent);
}
.wb3e5-testimonial-text { font-style: italic; color: var(--wb3e5-text); font-size: 1.3rem; }
.wb3e5-testimonial-author {
  font-size: 1.1rem; color: var(--wb3e5-text-muted); margin-top: 0.6rem;
}

/* Payment methods */
.wb3e5-payment-grid {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
}
.wb3e5-payment-item {
  background: var(--wb3e5-surface); border-radius: var(--wb3e5-radius);
  padding: 0.8rem 1.4rem; font-size: 1.2rem; color: var(--wb3e5-text);
  border: 1px solid var(--wb3e5-border); font-weight: 500;
}

/* App download */
.wb3e5-app-box {
  background: linear-gradient(135deg, var(--wb3e5-bg-light), var(--wb3e5-surface));
  border-radius: var(--wb3e5-radius-lg); padding: 2rem; text-align: center;
  border: 1px solid var(--wb3e5-border);
}
.wb3e5-app-icon { font-size: 3.6rem; margin-bottom: 1rem; }

/* Achievements */
.wb3e5-achievement-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem;
}
.wb3e5-achievement-item {
  background: var(--wb3e5-surface); border-radius: var(--wb3e5-radius);
  padding: 1rem 0.6rem; text-align: center;
}
.wb3e5-achievement-num {
  font-size: 2rem; font-weight: 700; color: var(--wb3e5-primary);
}
.wb3e5-achievement-label {
  font-size: 1rem; color: var(--wb3e5-text-muted); margin-top: 0.2rem;
}

/* Tricks / Tips list */
.wb3e5-tip-list { list-style: none; padding: 0; }
.wb3e5-tip-item {
  display: flex; align-items: flex-start; gap: 0.8rem;
  padding: 0.8rem 0; border-bottom: 1px solid var(--wb3e5-border);
}
.wb3e5-tip-icon {
  color: var(--wb3e5-primary); font-size: 1.6rem; flex-shrink: 0; margin-top: 0.2rem;
}
.wb3e5-tip-text { font-size: 1.3rem; color: var(--wb3e5-text); line-height: 1.5; }

/* Highlights */
.wb3e5-highlight-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
}
.wb3e5-highlight-card {
  background: var(--wb3e5-surface); border-radius: var(--wb3e5-radius);
  padding: 1.2rem; text-align: center; cursor: pointer;
  transition: transform 0.2s; border: 1px solid var(--wb3e5-border);
}
.wb3e5-highlight-card:hover { transform: translateY(-2px); border-color: var(--wb3e5-primary); }
.wb3e5-highlight-icon { font-size: 2.4rem; margin-bottom: 0.6rem; }
.wb3e5-highlight-title { font-size: 1.2rem; color: var(--wb3e5-accent); font-weight: 600; }
.wb3e5-highlight-desc { font-size: 1.1rem; color: var(--wb3e5-text-muted); margin-top: 0.3rem; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .wb3e5-game-grid { grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
  .wb3e5-game-item img { width: 64px; height: 64px; }
}
@media (min-width: 431px) and (max-width: 768px) {
  .wb3e5-container { max-width: 430px; }
}
