/* ==========================================================================
   MAIN LAYOUT & SECTIONS STYLES - SHOP QUÀ TẶNG FREE FIRE
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL CONTAINER & LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-tag {
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-gaming);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.section-title span.highlight {
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   2. TOP LIVE TICKER (LỊCH SỬ GIAO DỊCH & AUDIO CAPSULE SWITCH)
   -------------------------------------------------------------------------- */
.top-ticker, .live-ticker-bar {
  background: #fff7ed;
  border-bottom: 1px solid #fed7aa;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  position: relative;
  z-index: var(--z-ticker);
  user-select: none;
}

.ticker-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.ticker-live-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-gaming);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: #16a34a;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-marquee {
  overflow: hidden;
  white-space: nowrap;
  flex-grow: 1;
  mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.ticker-text {
  display: inline-block;
  color: #475569;
  font-size: 0.85rem;
  animation: tickerSlide 25s linear infinite;
}

.ticker-text b {
  color: #ea580c;
}

@keyframes tickerSlide {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.ticker-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Sound Gaming Capsule Switch */
.sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ffffff;
  border: 1.5px solid #fed7aa;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-gaming);
  font-size: 0.76rem;
  font-weight: 800;
  color: #ea580c;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.08);
  white-space: nowrap;
  flex-shrink: 0;
}

.sound-toggle-btn:hover {
  border-color: #ea580c;
  background: #fff7ed;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.18);
}

.sound-toggle-btn.muted {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #64748b;
  box-shadow: none;
}

.sound-wave-icon {
  font-size: 0.85rem;
  display: inline-block;
  transition: transform var(--transition-fast);
}

.sound-toggle-btn:hover .sound-wave-icon {
  transform: scale(1.15);
}

.sound-label {
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   3. MAIN HEADER & NAVBAR
   -------------------------------------------------------------------------- */
.main-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  z-index: var(--z-header);
  transition: all var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 0.75rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 3px;
  border: 1.5px solid #ff3d00;
  box-shadow: 0 4px 15px rgba(255, 61, 0, 0.25);
  overflow: hidden;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.brand-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.brand-logo:hover .brand-icon-box {
  transform: scale(1.08) rotate(-3deg);
  border-color: #ff6b00;
  box-shadow: 0 6px 20px rgba(255, 61, 0, 0.4);
}

.brand-logo:hover .brand-icon-img {
  transform: scale(1.1);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-gaming);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.1;
  white-space: nowrap;
  position: relative;
  display: inline-block;
  
  /* Hiệu ứng Metallic Light Sweep Quét Sáng Rực Rỡ trên nền sáng */
  background: linear-gradient(
    115deg,
    #0f172a 0%,
    #334155 20%,
    #ea580c 38%,
    #0284c7 48%,
    #f59e0b 55%,
    #0f172a 75%,
    #0f172a 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoLightSweep 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.brand-name span {
  color: var(--ff-orange);
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes logoLightSweep {
  0% {
    background-position: 160% 0;
  }
  45%, 100% {
    background-position: -160% 0;
  }
}

.brand-logo:hover .brand-name {
  animation-duration: 1.6s;
}

.brand-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #0284c7;
  letter-spacing: 0.1em;
  font-weight: 700;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.mobile-nav-user-slot {
  display: none;
}

.nav-link {
  font-family: var(--font-gaming);
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  white-space: nowrap;
}

.nav-arrow {
  display: none;
}

.btn-left {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link:hover, .nav-link.active {
  color: #ea580c;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-fire);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.3rem;
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

/* --------------------------------------------------------------------------
   4. HERO BANNER & PROMO DISPLAY
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 1.5rem 0 1rem;
  overflow: hidden;
  background: linear-gradient(180deg, #fff7ed 0%, #f8fafc 100%);
}

.hero-banner-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #fed7aa;
  box-shadow: 0 10px 30px rgba(234, 88, 12, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 1.5rem;
  background: #ffffff;
  user-select: none;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
  cursor: pointer;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 21 / 9;
  transition: transform 0.4s ease;
}

.carousel-slide:hover img {
  transform: scale(1.01);
}

.carousel-slide-badge {
  display: none !important;
}

/* Slider Controls (Arrows removed to avoid covering banner content) */
.carousel-btn {
  display: none !important;
}

/* Slider Dots */
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(203, 213, 225, 0.6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: #cbd5e1;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.carousel-dot.active {
  width: 24px;
  background: #ea580c;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.4);
}

@media (max-width: 768px) {
  .carousel-slide img {
    aspect-ratio: 16 / 9;
  }
}

.hero-badge-center {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.hero-badge-pill {
  background: #ffffff;
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.25rem;
  font-family: var(--font-gaming);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0f172a;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.08);
}

/* --------------------------------------------------------------------------
   4. TOP 10 LEADERBOARD NẠP THÁNG CARD
   -------------------------------------------------------------------------- */
.top-leaderboard-card {
  background: #ffffff;
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.08);
}

.leaderboard-header {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1.5px solid #fed7aa;
  padding-bottom: 0.65rem;
  margin-bottom: 0.75rem;
}

.leaderboard-title-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
}

.leaderboard-trophy {
  font-size: 1.4rem;
  display: inline-block;
  animation: trophyFloat 2.5s ease-in-out infinite alternate;
}

@keyframes trophyFloat {
  0% { transform: translateY(0) scale(1) rotate(-3deg); }
  100% { transform: translateY(-3px) scale(1.1) rotate(3deg); }
}

.leaderboard-title-luxury {
  font-family: var(--font-gaming);
  font-size: 1.12rem;
  font-weight: 900;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #b45309 0%, #d97706 25%, #f59e0b 50%, #fbbf24 75%, #ea580c 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmerText 3.5s ease-in-out infinite alternate;
  font-weight: 900;
  letter-spacing: 0.03em;
}

@keyframes goldShimmerText {
  0% {
    background-position: 0% 50%;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.2));
  }
  100% {
    background-position: 100% 50%;
    filter: drop-shadow(0 2px 8px rgba(234, 88, 12, 0.35));
  }
}

.badge-month-pill {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: #ffffff;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-left: 0.35rem;
  display: inline-block;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.3);
  animation: pulseGlow 2s infinite ease-in-out;
}

.leaderboard-status-badge {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  color: #15803d;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.pulse-dot-green {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.25rem;
  scrollbar-width: thin;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.65rem;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  font-size: 0.84rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.leaderboard-item:hover {
  background: #fff7ed;
  border-color: #fed7aa;
  transform: translateX(2px);
}

.leaderboard-item.highlight-flash {
  animation: rowFlashUpdate 1.4s ease-out !important;
}

@keyframes rowFlashUpdate {
  0% {
    background: #fef08a !important;
    border-color: #f59e0b !important;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
  }
  100% {
    background: #f8fafc;
    border-color: #f1f5f9;
    transform: scale(1);
    box-shadow: none;
  }
}

.leaderboard-item.top-1 {
  background: linear-gradient(90deg, #fffbeb 0%, #fff7ed 100%);
  border: 1.5px solid #fcd34d;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.leaderboard-item.top-2 {
  background: linear-gradient(90deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1.5px solid #cbd5e1;
}

.leaderboard-item.top-3 {
  background: linear-gradient(90deg, #fdf4ff 0%, #fae8ff 100%);
  border: 1.5px solid #f0abfc;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  font-family: var(--font-gaming);
  font-size: 0.78rem;
  font-weight: 900;
  background: #e2e8f0;
  color: #475569;
  flex-shrink: 0;
}

.rank-badge.rank-1 {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  min-width: 32px;
  border-radius: 12px;
  padding: 0 0.3rem;
  font-size: 0.8rem;
}

.rank-badge.rank-2 {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  color: #ffffff;
  min-width: 32px;
  border-radius: 12px;
  padding: 0 0.3rem;
  font-size: 0.8rem;
}

.rank-badge.rank-3 {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff;
  min-width: 32px;
  border-radius: 12px;
  padding: 0 0.3rem;
  font-size: 0.8rem;
}

.leaderboard-text {
  flex: 1;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leaderboard-user {
  font-weight: 800;
  color: #0f172a;
  font-family: var(--font-gaming);
}

.leaderboard-amount {
  color: #ea580c;
  font-weight: 800;
}

.leaderboard-tag {
  font-weight: 800;
  font-size: 0.76rem;
  color: #d97706;
  margin-left: 0.25rem;
}

.top-1-tag {
  color: #ea580c;
  text-shadow: 0 0 8px rgba(234, 88, 12, 0.2);
}

/* --------------------------------------------------------------------------
   FLOATING LUCKY WHEEL WIDGET (ESPORTS CYBER CAPSULE EDITION)
   -------------------------------------------------------------------------- */
.floating-lucky-wheel {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.92) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid #ea580c;
  border-radius: 20px;
  padding: 0.55rem 0.95rem 0.55rem 0.55rem;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(234, 88, 12, 0.35);
  animation: floatBobWheel 3.5s ease-in-out infinite alternate;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  max-width: 380px;
}

@keyframes floatBobWheel {
  0% {
    transform: translateY(0);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(234, 88, 12, 0.3);
  }
  100% {
    transform: translateY(-7px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.6), 0 0 32px rgba(234, 88, 12, 0.55);
  }
}

.floating-lucky-wheel:hover {
  transform: translateY(-9px) scale(1.03);
  border-color: #f59e0b;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65), 0 0 38px rgba(245, 158, 11, 0.6);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(20, 29, 47, 0.96) 100%);
}

.floating-wheel-disc-wrap {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.25) 0%, transparent 70%);
}

.floating-wheel-disc {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  animation: spinWheelSlow 18s linear infinite;
  transition: animation-duration 0.3s ease;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.6));
}

.floating-lucky-wheel:hover .floating-wheel-disc {
  animation-duration: 3.5s;
}

@keyframes spinWheelSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.floating-wheel-pointer {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  color: #f59e0b;
  font-size: 0.8rem;
  line-height: 1;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.9), 0 2px 4px rgba(0, 0, 0, 0.9);
  z-index: 3;
  pointer-events: none;
}

.floating-wheel-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.45) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.floating-wheel-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.fw-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.fw-pill-fire {
  font-family: var(--font-gaming);
  font-size: 0.72rem;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(135deg, #ea580c, #dc2626);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.4);
  white-space: nowrap;
}

.fw-timer-pill {
  font-family: var(--font-gaming);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.fw-reward-text {
  font-family: var(--font-gaming);
  font-size: 0.85rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.fw-highlight-kc {
  color: #38bdf8;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
  background: linear-gradient(135deg, #7dd3fc, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.floating-wheel-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1e293b;
  border: 1.5px solid #475569;
  color: #cbd5e1;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  opacity: 0;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.floating-lucky-wheel:hover .floating-wheel-close {
  opacity: 1;
}

.floating-wheel-close:hover {
  background: #ef4444;
  border-color: #dc2626;
  color: #ffffff;
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .floating-lucky-wheel {
    bottom: 68px;
    left: 12px;
    padding: 0.45rem 0.75rem 0.45rem 0.45rem;
    gap: 0.6rem;
  }
  .floating-wheel-disc-wrap {
    width: 48px;
    height: 48px;
  }
  .fw-pill-fire {
    font-size: 0.65rem;
    padding: 0.1rem 0.45rem;
  }
  .fw-timer-pill {
    font-size: 0.65rem;
  }
  .fw-reward-text {
    font-size: 0.76rem;
  }
  .floating-wheel-close {
    opacity: 1;
  }
}

/* Floating Anchor: Live Deposit Notification on Right Side */
.floating-deposit-anchor {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 980;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  box-shadow: 0 8px 30px rgba(234, 88, 12, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 440px;
  pointer-events: auto;
  animation: floatBounce 4s ease-in-out infinite alternate;
}

@keyframes floatBounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.floating-deposit-anchor:hover {
  border-color: #ea580c;
  box-shadow: 0 12px 35px rgba(234, 88, 12, 0.3);
  transform: translateY(-2px);
}

.anchor-badge {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #15803d;
  padding: 0.15rem 0.45rem;
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.anchor-content {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.anchor-icon {
  color: #ea580c;
  font-size: 0.95rem;
}

.anchor-uid {
  font-weight: 800;
  color: #0f172a;
  font-family: var(--font-gaming);
}

.anchor-amount {
  color: #ea580c;
  font-weight: 800;
}

.anchor-method {
  font-size: 0.72rem;
  color: #0284c7;
  font-weight: 700;
  background: #e0f2fe;
  padding: 0.08rem 0.35rem;
  border-radius: 4px;
}

.anchor-time {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-left: 0.2rem;
}

.anchor-content.anchor-fade-swap {
  opacity: 0;
  transform: translateY(-5px);
}

.hero-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}



.hero-title {
  font-family: var(--font-gaming);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-title .fire-text {
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 30px rgba(255, 107, 0, 0.3);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-gaming);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ff-yellow);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-featured {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 2px solid var(--border-fire);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 0 40px rgba(255, 107, 0, 0.3), var(--glow-box);
  position: relative;
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-featured-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-featured-img {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(255, 107, 0, 0.25) 0%, transparent 70%);
  margin-bottom: 1.25rem;
}

.hero-featured-img img {
  max-height: 90%;
  filter: drop-shadow(0 10px 20px rgba(255, 107, 0, 0.5));
}

/* --------------------------------------------------------------------------
   5. FLASH SALE & PROMOTION SECTION
   -------------------------------------------------------------------------- */
.flash-sale-banner, .flash-wheel-event-card {
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 40%, #eff6ff 100%);
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-xl);
  padding: 1.5rem 2rem;
  box-shadow: 0 10px 30px rgba(234, 88, 12, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.flash-sale-banner:hover, .flash-wheel-event-card:hover {
  transform: translateY(-3px);
  border-color: #ea580c;
  box-shadow: 0 12px 35px rgba(234, 88, 12, 0.16);
}

.flash-wheel-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.flash-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  min-width: 280px;
}

.flash-wheel-icon-wrap {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #ffedd5 0%, #fee2e2 100%);
  border: 2px solid #fdba74;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.15);
  animation: pulseRotate 3s infinite ease-in-out;
}

@keyframes pulseRotate {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.08) rotate(6deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.flash-icon {
  font-size: 2.75rem;
  color: #ea580c;
  animation: pulseAnimation 1.2s infinite;
}

.flash-title {
  font-family: var(--font-gaming);
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #0f172a;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.highlight-gold {
  background: linear-gradient(135deg, #ea580c 0%, #d97706 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.flash-subtitle {
  color: #475569;
  font-size: 0.88rem;
  margin: 0;
}

.flash-right-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-wheel-cta {
  border-radius: 20px;
  padding: 0.55rem 1.25rem;
  font-weight: 800;
  font-family: var(--font-gaming);
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
  animation: pulseGlow 1.8s infinite ease-in-out;
}

.flash-timer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timer-box {
  background: #ffffff;
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  text-align: center;
  min-width: 52px;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.08);
}

.timer-num {
  font-family: var(--font-gaming);
  font-size: 1.3rem;
  font-weight: 900;
  color: #ea580c;
  line-height: 1.1;
}

.timer-unit {
  font-size: 0.62rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 800;
  margin-top: 0.15rem;
}

.timer-colon {
  font-size: 1.3rem;
  font-weight: 900;
  color: #ea580c;
}

/* --------------------------------------------------------------------------
   6. FILTER & SEARCH BAR
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.filter-categories {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.category-chip {
  padding: 0.48rem 0.95rem;
  background: #ffffff;
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-pill);
  font-family: var(--font-gaming);
  font-size: 0.82rem;
  font-weight: 800;
  color: #334155;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  box-sizing: border-box;
}

.category-chip:hover {
  border-color: #ea580c;
  color: #ea580c;
  background: #fff7ed;
  transform: translateY(-1px);
}

.category-chip.active {
  background: var(--gradient-fire);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.35);
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.5rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  color: #0f172a;
}

.search-input:focus {
  outline: none;
  border-color: var(--ff-orange);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   7. LUCKY WHEEL & GACHA SECTION
   -------------------------------------------------------------------------- */
.lucky-wheel-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.wheel-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.wheel-canvas-wrap {
  position: relative;
  width: 340px;
  height: 340px;
  margin-bottom: 1.5rem;
}

#wheel-canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(234, 88, 12, 0.35);
}

.wheel-pointer {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 38px;
  z-index: 10;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.wheel-center-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--gradient-fire);
  border: 3px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-gaming);
  font-weight: 900;
  color: #ffffff;
  font-size: 0.8rem;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.5);
  pointer-events: none;
}

.wheel-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.wheel-rewards-list {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  max-height: 180px;
  overflow-y: auto;
}

.wheel-reward-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: #334155;
}

.wheel-reward-item:last-child {
  border-bottom: none;
}

/* Recent Spins Feed (Lượt quay gần đây) */
.recent-spins-box {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.recent-spins-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid #f1f5f9;
  padding-bottom: 0.5rem;
  margin-bottom: 0.6rem;
}

.recent-spins-list {
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  scrollbar-width: thin;
}

.recent-spin-item {
  padding: 0.55rem 0.75rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  animation: slideInSpin 0.35s ease-out;
  transition: all 0.2s ease;
}

.recent-spin-item:hover {
  background: #fff7ed;
  border-color: #fed7aa;
}

.spin-user-name {
  font-weight: 800;
  font-family: var(--font-gaming);
  font-size: 0.88rem;
  color: #0f172a;
}

.spin-user-reward {
  font-size: 0.82rem;
  color: #475569;
}

.spin-user-time {
  font-size: 0.74rem;
  color: #94a3b8;
}

@keyframes slideInSpin {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   8. DIRECT PAYMENT GATEWAY SECTION
   -------------------------------------------------------------------------- */
.payment-section-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.payment-tab-content {
  display: none;
}

.payment-tab-content.active {
  display: block;
}

.payment-qr-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
}

.qr-code-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.qr-code-box img {
  width: 220px;
  height: 220px;
  object-fit: contain;
}

.qr-guide-text {
  margin-top: 0.75rem;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

.payment-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.info-label {
  font-size: 0.85rem;
  color: #64748b;
}

.info-val {
  font-family: var(--font-gaming);
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.copy-btn {
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   9. TRUST & GUARANTEE SECTION
   -------------------------------------------------------------------------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.trust-card:hover {
  transform: translateY(-5px);
  border-color: var(--ff-orange);
  box-shadow: 0 12px 30px rgba(234, 88, 12, 0.12);
}

.trust-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: #0284c7;
}

.trust-title {
  font-family: var(--font-gaming);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.trust-desc {
  font-size: 0.85rem;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   10. FOOTER
   -------------------------------------------------------------------------- */
.main-footer {
  background: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 4rem 0 1.5rem;
  position: relative;
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col-title {
  font-family: var(--font-gaming);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--ff-orange);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #f97316;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #1e293b;
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  line-height: 1.5;
}
