/* ============================================
   HOME PAGE CSS — FIXED & BALANCED
   ============================================ */

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 48px 80px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,92,246,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 0%, black 40%, transparent 100%);
}
.hero-glows {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.2;
}
.glow-1 { width: 700px; height: 700px; background: var(--purple); top: -300px; left: -200px; animation: glowFloat 8s ease-in-out infinite; }
.glow-2 { width: 500px; height: 500px; background: var(--cyan); top: -150px; right: -150px; animation: glowFloat 10s ease-in-out infinite reverse; }
.glow-3 { width: 400px; height: 400px; background: var(--pink); bottom: -100px; left: 50%; animation: glowFloat 12s ease-in-out infinite 2s; }
@keyframes glowFloat { 0%,100%{transform:translate(0,0)} 33%{transform:translate(30px,-30px)} 66%{transform:translate(-20px,20px)} }

/* ---- HERO CONTENT (Left) ---- */
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.35);
  color: var(--purple-light);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease both;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}
.hero-title {
  font-family: inherit;
  font-size: clamp(30px, 3.8vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.1s both;
}
.title-line { display: block; }
.hero-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 520px;
  animation: fadeInUp 0.6s ease 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

/* ---- HERO PREMIUM BUTTONS ---- */
.hero-actions .btn-primary {
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 50%, #3b82f6 100%);
  background-size: 200% auto;
  border-radius: 50px;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.45);
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(168, 85, 247, 0.2);
}
.hero-actions .btn-primary:hover {
  background-position: right center;
  transform: translateY(-3.5px) scale(1.03);
  box-shadow: 0 10px 35px rgba(168, 85, 247, 0.65);
}
.hero-actions .btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.hero-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 50px;
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: var(--text-primary);
  font-weight: 700;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.15);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-actions .btn-ghost:hover {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.85);
  color: var(--purple-light);
  transform: translateY(-3.5px) scale(1.03);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.35);
}
.hero-actions .btn-ghost:active {
  transform: translateY(-1px) scale(0.98);
}

/* ---- HERO COMMUNITY BUTTONS ---- */
.community-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.community-btn.zalo {
  background: rgba(0, 104, 255, 0.12);
  border: 1px solid rgba(0, 104, 255, 0.4);
  color: #38bdf8;
  box-shadow: 0 0 18px rgba(0, 104, 255, 0.25);
}
.community-btn.zalo:hover {
  background: rgba(0, 104, 255, 0.22);
  border-color: rgba(0, 104, 255, 0.85);
  box-shadow: 0 0 28px rgba(0, 104, 255, 0.65);
  transform: translateY(-3px) scale(1.03);
}
.community-btn.zalo:active {
  transform: translateY(-1px) scale(0.97);
}

.community-btn.telegram {
  background: rgba(34, 158, 217, 0.12);
  border: 1px solid rgba(34, 158, 217, 0.4);
  color: #38bdf8;
  box-shadow: 0 0 18px rgba(34, 158, 217, 0.25);
}
.community-btn.telegram:hover {
  background: rgba(34, 158, 217, 0.22);
  border-color: rgba(34, 158, 217, 0.85);
  box-shadow: 0 0 28px rgba(34, 158, 217, 0.65);
  transform: translateY(-3px) scale(1.03);
}
.community-btn.telegram:active {
  transform: translateY(-1px) scale(0.97);
}
.hero-stats {
  display: flex;
  align-items: center;
  animation: fadeInUp 0.6s ease 0.4s both;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}
.stat:first-child { padding-left: 0; }
.stat-number {
  font-family: inherit;
  font-size: 26px;
  font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-plus {
  font-family: inherit;
  font-size: 18px;
  font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 4px; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

/* ---- HERO VISUAL (Right) ---- */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInRight 0.8s ease 0.3s both;
}
@keyframes fadeInRight { from{opacity:0;transform:translateX(60px)} to{opacity:1;transform:translateX(0)} }

.hero-monitor {
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 0 50px rgba(139,92,246,0.25));
  width: 100%;
}
.monitor-screen {
  width: 100%;
  max-width: 460px;
  height: 310px;
  background: var(--bg-secondary);
  border: 1.5px solid rgba(139,92,246,0.45);
  border-radius: 14px 14px 4px 4px;
  overflow: hidden;
  position: relative;
}
.monitor-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,92,246,0.05), transparent);
  pointer-events: none;
  z-index: 1;
}
.monitor-ui { height: 100%; display: flex; flex-direction: column; }
.monitor-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }
.monitor-title { font-family: 'JetBrains Mono',monospace; font-size: 10px; color: var(--text-muted); margin-left: 8px; }
.monitor-content { flex: 1; overflow-y: auto; padding: 10px; }
.monitor-content::-webkit-scrollbar { width: 2px; }
.monitor-content::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.4); }

.cheat-panel { display: flex; flex-direction: column; gap: 8px; }
.panel-section {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 9px;
}
.section-title { font-family: 'JetBrains Mono',monospace; font-size: 9px; font-weight: 700; color: var(--cyan); letter-spacing: 2px; margin-bottom: 7px; }
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 0;
  font-size: 10px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.toggle-row.active { color: var(--text-primary); }
.toggle-row:last-child { border-bottom: none; }
.toggle {
  width: 24px; height: 12px;
  border-radius: 6px;
  position: relative;
  transition: background 0.3s;
  flex-shrink: 0;
}
.toggle.on { background: var(--purple); }
.toggle.off { background: rgba(255,255,255,0.1); }
.toggle::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  background: white;
  border-radius: 50%;
  top: 2px;
  transition: left 0.3s;
}
.toggle.on::after { left: 14px; }
.toggle.off::after { left: 2px; }
.slider-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 0;
  font-size: 10px;
  color: var(--text-secondary);
  gap: 8px;
}
.slider-bar { flex: 1; height: 3px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.slider-fill { height: 100%; background: var(--grad-main); border-radius: 2px; }

.monitor-stand {
  width: 50px; height: 24px;
  background: linear-gradient(to bottom, rgba(139,92,246,0.3), rgba(139,92,246,0.1));
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}
.monitor-base {
  width: 120px; height: 8px;
  background: rgba(139,92,246,0.2);
  border-radius: 4px;
}

/* Floating badges — relative to hero-visual */
.floating-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.float-badge {
  position: absolute;
  padding: 7px 13px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid;
  backdrop-filter: blur(10px);
  animation: floatBadge 3s ease-in-out infinite;
  white-space: nowrap;
  pointer-events: none;
}
.badge-green { background: rgba(16,185,129,0.15); border-color: rgba(16,185,129,0.4); color: #34d399; animation-delay:0s; top: 8%; right: -10px; }
.badge-purple { background: rgba(139,92,246,0.15); border-color: rgba(139,92,246,0.4); color: var(--purple-light); animation-delay:1s; top: 42%; right: -20px; }
.badge-cyan { background: rgba(6,182,212,0.15); border-color: rgba(6,182,212,0.4); color: var(--cyan-light); animation-delay:2s; bottom: 18%; right: -5px; }
@keyframes floatBadge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  animation: fadeInUp 0.6s ease 0.8s both;
  z-index: 2;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(139,92,246,0.5);
  border-bottom: 2px solid rgba(139,92,246,0.5);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s ease-in-out infinite;
}
@keyframes scrollBounce { 0%,100%{transform:rotate(45deg) translate(0,0)} 50%{transform:rotate(45deg) translate(4px,4px)} }

/* ---- FEATURED SECTION ---- */
.featured-section { padding: 100px 0; position: relative; z-index: 1; }
.featured-section .section-title { font-size: clamp(36px, 8vw, 64px); }
.featured-section .section-badge { font-size: 16px; padding: 8px 24px; }
.featured-section .section-desc { font-size: 20px; }
.section-footer { text-align: center; margin-top: 48px; }

/* ---- GAMES SECTION ---- */
.games-section { padding: 80px 0; }
.games-section .section-title { font-size: clamp(36px, 8vw, 64px); }
.games-section .section-badge { font-size: 16px; padding: 8px 24px; }
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: block;
}
.game-card:hover {
  border-color: rgba(139,92,246,0.4);
  background: rgba(139,92,246,0.07);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.game-emoji { font-size: 48px; display: block; margin-bottom: 12px; }
.game-name { font-size: 16px; font-weight: 600; color: var(--text-primary); }
.game-count { font-size: 13px; color: var(--text-muted); margin-top: 5px; }

/* ---- FEATURES SECTION ---- */
.features-section { padding: 100px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-main);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(139,92,246,0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.feature-card:hover::before { opacity: 1; }
.feature-card-highlight {
  background: linear-gradient(135deg, rgba(139,92,246,0.1) 0%, rgba(6,182,212,0.05) 100%);
  border-color: rgba(139,92,246,0.25);
}
.feature-icon { font-size: 36px; margin-bottom: 14px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); line-height: 1.7; font-size: 14px; }

/* ---- PRICING SECTION ---- */
.pricing-section { padding: 100px 0; }
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}
.pricing-label { font-size: 15px; font-weight: 500; }
.badge-save {
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  color: #34d399;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 6px;
}
.switch { position: relative; display: inline-block; width: 52px; height: 28px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-slider {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition);
}
.switch-slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  background: white;
  border-radius: 50%;
  top: 4px; left: 4px;
  transition: var(--transition);
}
.switch input:checked + .switch-slider { background: var(--purple); }
.switch input:checked + .switch-slider::before { transform: translateX(24px); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.pricing-popular {
  background: linear-gradient(135deg, rgba(139,92,246,0.12) 0%, rgba(6,182,212,0.08) 100%);
  border-color: rgba(139,92,246,0.4);
  transform: scale(1.04);
  box-shadow: 0 0 0 1px rgba(139,92,246,0.2), 0 0 60px rgba(139,92,246,0.2);
}
.pricing-popular:hover { transform: scale(1.04) translateY(-6px); }
.popular-badge {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-main);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-header { text-align: center; margin-bottom: 24px; }
.pricing-icon { font-size: 36px; margin-bottom: 10px; }
.pricing-header h3 { font-family:inherit; font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.pricing-header p { color: var(--text-muted); font-size: 13px; }
.pricing-price { text-align: center; margin-bottom: 24px; }
.price-display { display: flex; align-items: baseline; justify-content: center; gap: 3px; }
.price-currency { font-size: 18px; color: var(--purple-light); font-weight: 700; }
.price-amount { font-family:inherit; font-size: 32px; font-weight: 900; color: var(--text-primary); }
.price-period { font-size: 13px; color: var(--text-muted); }
.pricing-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 9px; }
.pricing-features li { font-size: 13px; color: var(--text-secondary); }
.pricing-features li:has(✅) { color: var(--text-primary); }
.btn-pricing {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  background: transparent;
}
.btn-pricing:hover { border-color: var(--purple); background: rgba(139,92,246,0.1); }
.btn-pricing-primary { background: var(--grad-main); border: none; box-shadow: 0 4px 25px rgba(139,92,246,0.35); }
.btn-pricing-primary:hover { box-shadow: 0 8px 40px rgba(139,92,246,0.55); transform: translateY(-2px); background: var(--grad-main); }

/* ---- REVIEWS SECTION ---- */
.reviews-section { padding: 100px 0; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}
.review-card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,0.3); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad-main);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.review-info { flex: 1; min-width: 0; }
.review-name { font-weight: 600; font-size: 14px; }
.review-game { color: var(--text-muted); font-size: 12px; }
.review-stars { color: var(--yellow); font-size: 13px; }
.review-text { color: var(--text-secondary); font-size: 13px; line-height: 1.7; }
.review-date { color: var(--text-muted); font-size: 11px; margin-top: 10px; }

.rating-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.rating-summary-left { text-align: center; flex-shrink: 0; }
.rating-big { font-family:inherit; font-size: 64px; font-weight: 900; background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.rating-stars { font-size: 22px; margin-top: 4px; }
.rating-count { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.rating-bars { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.rating-bar-row { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-secondary); }
.bar-wrap { flex: 1; height: 7px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--grad-main); border-radius: 4px; }

/* ---- CTA SECTION ---- */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content h2 { font-family:inherit; font-size: clamp(26px,4vw,48px); font-weight: 900; margin-bottom: 18px; }
.cta-content p { color: var(--text-secondary); font-size: 17px; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
/* Animations */
@keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes pulseGlow {
  0% { text-shadow: 0px 0px 5px rgba(79, 172, 254, 0.3), 0px 0px 15px rgba(79, 172, 254, 0.3); transform: scale(1); }
  100% { text-shadow: 0px 0px 15px rgba(79, 172, 254, 0.8), 0px 0px 30px rgba(79, 172, 254, 0.8); transform: scale(1.02); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1280px) {
  .hero-inner { grid-template-columns: 1fr 440px; gap: 40px; padding: 120px 32px 80px; }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; padding: 100px 24px 60px; }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .hero-inner { padding: 90px 16px 50px; }
  .hero-stats { flex-wrap: wrap; gap: 12px; }
  .stat { padding: 0 16px; }
  .features-grid, .pricing-grid, .reviews-grid { grid-template-columns: 1fr; }
  .pricing-popular { transform: none; }
  .pricing-popular:hover { transform: translateY(-6px); }
  .rating-summary { flex-direction: column; gap: 24px; padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: clamp(26px, 8vw, 40px); }
}

/* Deposit Promotion Banner Styles */
.deposit-cta-section {
  padding: 80px 0;
  position: relative;
}
.deposit-cta-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.deposit-cta-card:hover {
  border-color: rgba(139,92,246,0.3);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(139,92,246,0.1), var(--glow-purple);
}
.deposit-cta-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--purple);
  filter: blur(150px);
  opacity: 0.08;
  top: -200px;
  right: -200px;
  pointer-events: none;
}
.deposit-cta-content {
  flex: 1;
}
.deposit-title {
  font-family: inherit;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.deposit-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 24px;
}
.deposit-methods-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.method-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
@media (max-width: 992px) {
  .deposit-cta-card {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }
  .deposit-methods-list {
    justify-content: center;
  }
}

/* Deposit Modal Overlay */
.deposit-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 9, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
}
.deposit-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.deposit-modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 24px;
  width: 95%;
  max-width: 880px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 36px;
  position: relative;
  transform: translateY(-30px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}
.deposit-modal-card::-webkit-scrollbar {
  width: 6px;
}
.deposit-modal-card::-webkit-scrollbar-thumb {
  background: rgba(139,92,246,0.3);
  border-radius: 6px;
}
.deposit-modal-overlay.open .deposit-modal-card {
  transform: translateY(0);
}
.deposit-modal-close {
  position: absolute;
  top: 20px;
  right: 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}
.deposit-modal-close:hover {
  background: rgba(239,68,68,0.15);
  color: #ef4444;
  border-color: rgba(239,68,68,0.3);
  transform: scale(1.05);
}
.deposit-modal-header {
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  text-align: left;
}
.deposit-modal-title {
  font-family: inherit;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.deposit-modal-subtitle {
  color: var(--text-secondary);
  font-size: 13.5px;
}
.deposit-modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  text-align: left;
}
@media (max-width: 768px) {
  .deposit-modal-card {
    padding: 24px 18px;
    max-width: 96vw;
    border-radius: 20px;
  }
  .deposit-modal-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.deposit-modal-body#idxDepTabCard {
  display: block;
}
.deposit-modal-sec-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.deposit-info-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}
.box-header {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-light);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.box-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.02);
}
.box-row:last-child {
  border-bottom: none;
}
.box-row .label {
  color: var(--text-secondary);
}
.btn-copy-mini {
  background: rgba(139,92,246,0.05);
  border: 1px solid rgba(139,92,246,0.3);
  color: var(--purple);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-copy-mini:hover {
  background: var(--purple);
  color: white;
}
[data-theme="dark"] .btn-copy-mini {
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.2);
  color: var(--purple-light);
}
[data-theme="dark"] .btn-copy-mini:hover {
  background: var(--purple);
  color: white;
}

.btn-copy-icon {
  background: rgba(0,0,0,0.04);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: 0.2s;
}
.btn-copy-icon:hover {
  background: rgba(0,0,0,0.08);
  color: var(--text-primary);
}
[data-theme="dark"] .btn-copy-icon {
  background: rgba(255,255,255,0.08);
  color: var(--text-secondary);
}
[data-theme="dark"] .btn-copy-icon:hover {
  background: rgba(255,255,255,0.15);
  color: white;
}
.deposit-syntax-alert {
  padding: 14px;
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.6;
}
.syntax-highlight {
  font-family: monospace;
  font-size: 13px;
  color: var(--yellow);
  font-weight: 700;
}
.deposit-form-desc {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.form-select {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}
.form-select:focus {
  border-color: var(--purple);
}
@media (max-width: 768px) {
  .deposit-modal-overlay {
    padding: 12px;
  }
  .deposit-modal-card {
    padding: 20px 16px;
    max-height: 94vh;
    border-radius: 18px;
  }
  .deposit-modal-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Default Light Theme styles (applied globally) */
.monitor-topbar {
  background: rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.panel-section {
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.05);
}
.toggle-row {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.toggle.off {
  background: rgba(0,0,0,0.1);
}
.slider-bar {
  background: rgba(0,0,0,0.1);
}
.stat-divider {
  background: rgba(0,0,0,0.1);
}
.bar-wrap {
  background: rgba(0,0,0,0.08);
}
.social-btn,
.payment-badge {
  background: rgba(0,0,0,0.04);
}
.deposit-modal-overlay {
  background: rgba(255,255,255,0.85);
}
.deposit-info-box {
  background: rgba(0,0,0,0.02);
}
.switch-slider {
  background: rgba(0,0,0,0.1);
}

/* Dark Theme Overrides for home.css */
[data-theme="dark"] .monitor-topbar {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
[data-theme="dark"] .panel-section {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
}
[data-theme="dark"] .toggle-row {
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
[data-theme="dark"] .toggle.off {
  background: rgba(255,255,255,0.1);
}
[data-theme="dark"] .slider-bar {
  background: rgba(255,255,255,0.1);
}
[data-theme="dark"] .stat-divider {
  background: rgba(255,255,255,0.1);
}
[data-theme="dark"] .bar-wrap {
  background: rgba(255,255,255,0.1);
}
[data-theme="dark"] .social-btn,
[data-theme="dark"] .payment-badge {
  background: rgba(255,255,255,0.08);
}
[data-theme="dark"] .deposit-modal-overlay {
  background: rgba(0,0,0,0.85);
}
[data-theme="dark"] .deposit-info-box {
  background: rgba(255,255,255,0.02);
}
[data-theme="dark"] .switch-slider {
  background: rgba(255,255,255,0.1);
}

/* Light Theme Overrides for home.css */
[data-theme="light"] .hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
}
[data-theme="light"] .hero-title {
  color: #0f172a !important;
}
[data-theme="light"] .hero-desc {
  color: #475569 !important;
}
[data-theme="light"] .homepage-game-group .game-group-title {
  color: #0f172a !important;
}
[data-theme="light"] .game-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05) !important;
  color: #0f172a !important;
}
[data-theme="light"] .game-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.08) !important;
}
[data-theme="light"] .review-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05) !important;
}
[data-theme="light"] .review-name {
  color: #0f172a !important;
}
[data-theme="light"] .review-text {
  color: #475569 !important;
}

/* ---- FLASH SALE SHOWCASE (LIGHT & DARK DYNAMIC) ---- */
.flash-sale-wrapper {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(239, 68, 68, 0.08);
  backdrop-filter: blur(16px);
}
[data-theme="dark"] .flash-sale-wrapper {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(168, 85, 247, 0.12) 100%);
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 10px 40px rgba(239, 68, 68, 0.15);
}
[data-theme="light"] .flash-sale-wrapper {
  background: linear-gradient(135deg, #fff5f5 0%, #faf5ff 100%) !important;
  border: 1px solid #fecaca !important;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.08) !important;
}

.flash-sale-title {
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0;
}
[data-theme="light"] .flash-sale-title {
  color: #0f172a !important;
}

.flash-sale-timer-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .flash-sale-timer-box {
  background: #ffffff !important;
  border: 1px solid #fecaca !important;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.08) !important;
}

.flash-sale-timer-digit {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  padding: 4px 8px;
  text-align: center;
  min-width: 38px;
}
.flash-sale-timer-digit .num {
  font-size: 16px;
  font-weight: 800;
  color: #ef4444;
}
.flash-sale-timer-digit .lbl {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.flash-sale-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-card);
}
[data-theme="light"] .flash-sale-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}
.flash-sale-card:hover {
  transform: translateY(-4px);
}
[data-theme="light"] .flash-sale-card:hover {
  border-color: #f87171 !important;
  box-shadow: 0 14px 35px rgba(239, 68, 68, 0.16) !important;
}
[data-theme="dark"] .flash-sale-card:hover {
  border-color: rgba(239, 68, 68, 0.6) !important;
  box-shadow: 0 14px 35px rgba(239, 68, 68, 0.25) !important;
}

.flash-sale-card-title {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 6px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-theme="light"] .flash-sale-card-title {
  color: #0f172a !important;
}

.flash-sale-progress-bg {
  height: 6px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 99px;
  overflow: hidden;
}
[data-theme="dark"] .flash-sale-progress-bg {
  background: rgba(255, 255, 255, 0.08);
}

.flash-sale-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
  transition: all 0.3s ease;
}
.flash-sale-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.5);
  color: #ffffff !important;
}

