/**
 * plus777 vip login - design-938b.css
 * All classes use the w938b- prefix for namespace isolation.
 * Mobile-first responsive design, max-width 430px container.
 * Color palette: #00E5FF | #00CED1 | #273746 (dark bg, light text)
 */

:root {
  --w938b-primary: #00E5FF;
  --w938b-secondary: #00CED1;
  --w938b-bg: #273746;
  --w938b-bg-deep: #18242f;
  --w938b-bg-card: #2e4051;
  --w938b-text: #f5f9ff;
  --w938b-text-muted: #a0b4c8;
  --w938b-accent: #ffd24c;
  --w938b-accent-2: #ff8c42;
  --w938b-border: rgba(0, 229, 255, 0.18);
  --w938b-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  --w938b-radius: 12px;
  --w938b-radius-lg: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--w938b-bg);
  color: var(--w938b-text);
  font-size: 1.5rem;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}
body.w938b-no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--w938b-primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--w938b-secondary); }
h1, h2, h3, h4 { line-height: 1.3; color: var(--w938b-text); }

.w938b-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; position: relative; }

/* ===== Header ===== */
.w938b-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, rgba(39, 55, 70, 0.98) 0%, rgba(24, 36, 47, 0.95) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--w938b-border);
  padding: 0.6rem 0;
  transition: box-shadow 0.3s ease;
}
.w938b-header.w938b-scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35); }
.w938b-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; }
.w938b-logo { display: flex; align-items: center; gap: 0.6rem; flex: 1; min-width: 0; }
.w938b-logo img { width: 3rem; height: 3rem; border-radius: 8px; border: 1px solid var(--w938b-border); }
.w938b-logo-text {
  font-size: 1.5rem; font-weight: 800; color: var(--w938b-primary);
  letter-spacing: 0.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.w938b-header-actions { display: flex; gap: 0.5rem; align-items: center; }

.w938b-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-weight: 700; border: none; cursor: pointer; font-size: 1.35rem;
  padding: 0.7rem 1.2rem; border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  min-height: 3.6rem; white-space: nowrap; text-decoration: none; font-family: inherit;
}
.w938b-btn-primary {
  background: linear-gradient(135deg, #ff8c42 0%, #ffb347 100%);
  color: #1a2530;
  box-shadow: 0 4px 14px rgba(255, 140, 66, 0.45);
}
.w938b-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255, 140, 66, 0.55); color: #1a2530; }
.w938b-btn-secondary {
  background: linear-gradient(135deg, var(--w938b-primary) 0%, var(--w938b-secondary) 100%);
  color: #0d1b24;
  box-shadow: 0 4px 14px rgba(0, 229, 255, 0.35);
}
.w938b-btn-secondary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 229, 255, 0.45); color: #0d1b24; }
.w938b-btn-ghost { background: transparent; border: 1px solid var(--w938b-border); color: var(--w938b-text); }
.w938b-btn-ghost:hover { background: rgba(0, 229, 255, 0.1); color: var(--w938b-primary); }

.w938b-menu-toggle {
  background: transparent; border: 1px solid var(--w938b-border); color: var(--w938b-text);
  width: 3.6rem; height: 3.6rem; border-radius: 10px; cursor: pointer; font-size: 1.6rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.w938b-menu-toggle:hover { background: rgba(0, 229, 255, 0.1); color: var(--w938b-primary); }

/* ===== Mobile Menu ===== */
.w938b-mobile-menu {
  position: fixed; top: 0; right: 0;
  width: 86%; max-width: 320px; height: 100vh;
  background: var(--w938b-bg-deep); z-index: 9999;
  padding: 5.5rem 1.5rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  border-left: 1px solid var(--w938b-border);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.5);
}
.w938b-mobile-menu.w938b-active { transform: translateX(0); }
.w938b-mobile-menu-close {
  position: absolute; top: 1rem; right: 1.5rem;
  background: transparent; border: none; color: var(--w938b-text);
  font-size: 2.2rem; cursor: pointer; line-height: 1;
}
.w938b-mobile-menu h3 {
  font-size: 1.3rem; color: var(--w938b-text-muted);
  text-transform: uppercase; letter-spacing: 1px; margin: 1.5rem 0 0.6rem;
}
.w938b-mobile-menu a {
  display: block; padding: 0.9rem 1rem;
  color: var(--w938b-text); border-radius: 8px; margin-bottom: 0.3rem;
  font-size: 1.35rem; border: 1px solid transparent;
}
.w938b-mobile-menu a:hover { background: rgba(0, 229, 255, 0.08); border-color: var(--w938b-border); color: var(--w938b-primary); }

/* ===== Main / Carousel ===== */
.w938b-main { padding-top: 5.4rem; }
.w938b-carousel {
  position: relative; width: 100%; max-width: 430px;
  margin: 1rem auto 1.5rem;
  aspect-ratio: 16/9;
  border-radius: var(--w938b-radius-lg);
  overflow: hidden;
  box-shadow: var(--w938b-shadow);
}
.w938b-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s ease; cursor: pointer; }
.w938b-slide.w938b-active { opacity: 1; }
.w938b-slide img { width: 100%; height: 100%; object-fit: cover; }
.w938b-slide-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.2rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0) 100%); color: #fff;
}
.w938b-slide-overlay h2 { font-size: 1.6rem; margin-bottom: 0.3rem; font-weight: 700; color: #fff; }
.w938b-slide-overlay p { font-size: 1.25rem; opacity: 0.95; color: #fff; }

.w938b-dots { position: absolute; bottom: 0.9rem; right: 1rem; display: flex; gap: 0.4rem; z-index: 2; }
.w938b-dot {
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  background: rgba(255, 255, 255, 0.45); border: none; cursor: pointer;
  transition: all 0.3s; padding: 0;
}
.w938b-dot.w938b-active { background: var(--w938b-primary); width: 1.8rem; border-radius: 4px; }

.w938b-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4); border: 1px solid var(--w938b-border); color: #fff;
  width: 3rem; height: 3rem; border-radius: 50%; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.w938b-carousel-arrow:hover { background: rgba(0, 229, 255, 0.6); }
.w938b-arrow-prev { left: 0.6rem; }
.w938b-arrow-next { right: 0.6rem; }

/* ===== Section ===== */
.w938b-section { padding: 1.6rem 0; }
.w938b-section-title {
  font-size: 1.9rem; font-weight: 800; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.7rem; color: var(--w938b-text);
}
.w938b-section-title i,
.w938b-section-title .material-icons,
.w938b-section-title .bi { color: var(--w938b-primary); font-size: 1.9rem; }
.w938b-section-intro { font-size: 1.35rem; color: var(--w938b-text-muted); margin-bottom: 1.2rem; line-height: 1.6; }

/* ===== Game grid ===== */
.w938b-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-bottom: 1rem; }
.w938b-game-item {
  background: var(--w938b-bg-card); border-radius: 10px; overflow: hidden;
  cursor: pointer; position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid transparent; display: block;
}
.w938b-game-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 229, 255, 0.25);
  border-color: var(--w938b-border);
}
.w938b-game-thumb { aspect-ratio: 1/1; width: 100%; overflow: hidden; position: relative; }
.w938b-game-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.w938b-game-item:hover .w938b-game-thumb img { transform: scale(1.06); }
.w938b-game-name {
  font-size: 1.15rem; font-weight: 600; text-align: center; padding: 0.5rem 0.3rem;
  color: var(--w938b-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Info Cards ===== */
.w938b-card {
  background: var(--w938b-bg-card); border-radius: var(--w938b-radius);
  padding: 1.4rem; border: 1px solid var(--w938b-border); margin-bottom: 1rem;
}
.w938b-card-title {
  font-size: 1.55rem; font-weight: 700; margin-bottom: 0.8rem;
  color: var(--w938b-primary); display: flex; align-items: center; gap: 0.5rem;
}
.w938b-card p { color: var(--w938b-text); margin-bottom: 0.7rem; font-size: 1.35rem; line-height: 1.65; }
.w938b-text-link { color: var(--w938b-accent); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.w938b-text-link:hover { color: var(--w938b-primary); }

/* ===== FAQ ===== */
.w938b-faq-item {
  background: var(--w938b-bg-card); border-radius: 10px;
  padding: 1rem 1.2rem; margin-bottom: 0.7rem;
  border-left: 3px solid var(--w938b-primary);
}
.w938b-faq-item h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--w938b-primary); }
.w938b-faq-item p { font-size: 1.3rem; color: var(--w938b-text); line-height: 1.55; }

/* ===== Feature grid ===== */
.w938b-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.w938b-feature {
  background: linear-gradient(135deg, var(--w938b-bg-card) 0%, var(--w938b-bg-deep) 100%);
  padding: 1.2rem; border-radius: 10px; border: 1px solid var(--w938b-border); text-align: center;
}
.w938b-feature i,
.w938b-feature .material-icons,
.w938b-feature .bi {
  font-size: 2.4rem; color: var(--w938b-primary); margin-bottom: 0.6rem; display: inline-block;
}
.w938b-feature h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.3rem; }
.w938b-feature p { font-size: 1.15rem; color: var(--w938b-text-muted); line-height: 1.4; }

/* ===== Stats grid ===== */
.w938b-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin: 1rem 0; }
.w938b-stat { background: var(--w938b-bg-card); padding: 1rem; border-radius: 10px; text-align: center; border: 1px solid var(--w938b-border); }
.w938b-stat-value { font-size: 1.9rem; font-weight: 800; color: var(--w938b-primary); display: block; }
.w938b-stat-label { font-size: 1.15rem; color: var(--w938b-text-muted); margin-top: 0.2rem; }

/* ===== Testimonials ===== */
.w938b-testimonial {
  background: var(--w938b-bg-card); border-radius: 10px; padding: 1.2rem;
  margin-bottom: 0.7rem; border-left: 3px solid var(--w938b-secondary);
}
.w938b-testimonial-header { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.5rem; }
.w938b-testimonial-avatar {
  width: 3rem; height: 3rem;
  background: linear-gradient(135deg, var(--w938b-primary), var(--w938b-secondary));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--w938b-bg-deep); font-weight: 700; font-size: 1.2rem;
}
.w938b-testimonial-name { font-size: 1.35rem; font-weight: 700; }
.w938b-testimonial-stars { color: var(--w938b-accent); font-size: 1.1rem; margin-left: auto; }
.w938b-testimonial p { font-size: 1.25rem; color: var(--w938b-text); line-height: 1.55; }

/* ===== Payment grid ===== */
.w938b-payment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.w938b-payment {
  background: var(--w938b-bg-card); padding: 0.9rem 0.4rem; border-radius: 8px;
  text-align: center; border: 1px solid var(--w938b-border); font-size: 1.15rem; font-weight: 600;
}
.w938b-payment i,
.w938b-payment .material-icons,
.w938b-payment .bi { font-size: 1.8rem; color: var(--w938b-primary); display: block; margin-bottom: 0.3rem; }

/* ===== CTA Banner ===== */
.w938b-cta {
  background: linear-gradient(135deg, #ff8c42 0%, #ffb347 100%);
  border-radius: var(--w938b-radius-lg);
  padding: 1.6rem 1.2rem; text-align: center;
  margin: 1.5rem 0; box-shadow: 0 8px 24px rgba(255, 140, 66, 0.35);
}
.w938b-cta h2 { font-size: 1.9rem; font-weight: 800; color: #1a2530; margin-bottom: 0.5rem; }
.w938b-cta p { font-size: 1.3rem; color: #1a2530; margin-bottom: 1rem; }
.w938b-cta .w938b-btn { background: var(--w938b-bg-deep); color: var(--w938b-primary); }
.w938b-cta .w938b-btn:hover { color: var(--w938b-accent); }

/* ===== Winners Showcase ===== */
.w938b-winner {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--w938b-bg-card); padding: 0.8rem 1rem; border-radius: 8px;
  margin-bottom: 0.5rem; border-left: 3px solid var(--w938b-accent);
}
.w938b-winner-avatar {
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--w938b-accent), var(--w938b-accent-2));
  display: flex; align-items: center; justify-content: center;
  color: var(--w938b-bg-deep); font-weight: 800; font-size: 1.2rem; flex-shrink: 0;
}
.w938b-winner-info { flex: 1; min-width: 0; }
.w938b-winner-name { font-size: 1.3rem; font-weight: 700; }
.w938b-winner-game { font-size: 1.1rem; color: var(--w938b-text-muted); }
.w938b-winner-amount { margin-left: auto; color: var(--w938b-accent); font-weight: 800; font-size: 1.35rem; white-space: nowrap; }

/* ===== Footer ===== */
.w938b-footer {
  background: var(--w938b-bg-deep); padding: 2rem 0 8.5rem;
  border-top: 1px solid var(--w938b-border); margin-top: 1.5rem;
}
.w938b-footer-brand { margin-bottom: 1.5rem; }
.w938b-footer-brand h3 { font-size: 1.7rem; color: var(--w938b-primary); margin-bottom: 0.5rem; }
.w938b-footer-brand p { font-size: 1.3rem; color: var(--w938b-text-muted); line-height: 1.6; }
.w938b-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 1rem; margin: 1rem 0; }
.w938b-footer-links a { font-size: 1.25rem; color: var(--w938b-text); padding: 0.3rem 0; }
.w938b-footer-links a:hover { color: var(--w938b-primary); }
.w938b-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.w938b-footer-promos .w938b-btn { font-size: 1.2rem; padding: 0.6rem 1rem; min-height: 3.2rem; }
.w938b-footer h4 { font-size: 1.35rem; color: var(--w938b-primary); margin: 1.2rem 0 0.6rem; }
.w938b-copyright {
  text-align: center; padding: 1.5rem 0 0; border-top: 1px solid var(--w938b-border);
  margin-top: 1.5rem; font-size: 1.15rem; color: var(--w938b-text-muted);
}

/* ===== Bottom Nav ===== */
.w938b-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, rgba(24, 36, 47, 0.98) 0%, rgba(13, 27, 36, 1) 100%);
  border-top: 1px solid var(--w938b-border);
  display: flex; justify-content: space-around; align-items: center;
  padding: 0.4rem 0.2rem; z-index: 1000; box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}
.w938b-bottom-nav-link {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  padding: 0.4rem 0.2rem; color: var(--w938b-text-muted); background: transparent;
  border: none; cursor: pointer; font-size: 1.05rem; font-weight: 600; text-decoration: none;
  min-width: 60px; min-height: 56px; justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease; font-family: inherit;
}
.w938b-bottom-nav-link i,
.w938b-bottom-nav-link .material-icons,
.w938b-bottom-nav-link .bi,
.w938b-bottom-nav-link .ti { font-size: 2.1rem; }
.w938b-bottom-nav-link:active { transform: scale(0.94); }
.w938b-bottom-nav-link.w938b-current { color: var(--w938b-primary); }
.w938b-bottom-nav-link.w938b-promo { color: var(--w938b-accent); }
.w938b-bottom-nav-link.w938b-promo i { filter: drop-shadow(0 0 6px rgba(255, 210, 76, 0.5)); }

/* ===== Back to top ===== */
.w938b-back-top {
  position: fixed; bottom: 7.6rem; right: 1.2rem;
  width: 4rem; height: 4rem; background: var(--w938b-primary); color: var(--w938b-bg-deep);
  border-radius: 50%; border: none; cursor: pointer; font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 999; box-shadow: 0 4px 14px rgba(0, 229, 255, 0.4);
}
.w938b-back-top.w938b-show { opacity: 1; visibility: visible; }
.w938b-back-top:hover { transform: translateY(-2px); }

/* ===== Responsive ===== */
@media (min-width: 769px) {
  body { background: var(--w938b-bg); }
  .w938b-container { max-width: 1100px; padding: 0 2rem; }
  .w938b-bottom-nav { display: none; }
  .w938b-footer { padding-bottom: 2rem; }
  .w938b-game-grid { grid-template-columns: repeat(6, 1fr); }
  .w938b-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .w938b-stats-grid { grid-template-columns: repeat(4, 1fr); }
  .w938b-payment-grid { grid-template-columns: repeat(6, 1fr); }
  .w938b-carousel { max-width: 900px; aspect-ratio: 18/6; }
  .w938b-footer-links { grid-template-columns: repeat(4, 1fr); }
  .w938b-menu-toggle { display: none; }
}

@media (max-width: 768px) {
  .w938b-main { padding-bottom: 80px; }
}

@media (max-width: 380px) {
  .w938b-game-grid { grid-template-columns: repeat(2, 1fr); }
  .w938b-feature-grid { grid-template-columns: 1fr; }
  .w938b-stats-grid { grid-template-columns: 1fr; }
  .w938b-logo-text { font-size: 1.3rem; }
}
