/**
 * Chinese New Year (CNY) Theme
 * ============================
 * Seasonal decorations for Chinese New Year celebration.
 * Applied to navbar (desktop/mobile), home screen, and bottom navigation.
 */

:root {
  /* CNY Color Palette */
  --cny-red: #c41e3a;
  --cny-red-dark: #8b0000;
  --cny-red-light: #dc143c;
  --cny-gold: #ffd700;
  --cny-gold-light: #ffe55c;
  --cny-gold-dark: #b8860b;
  --cny-lantern-glow: rgba(255, 215, 0, 0.3);
  --cny-pattern-opacity: 0.03;
}

/* ===========================================
   KEYFRAME ANIMATIONS
   =========================================== */

@keyframes lanternSwing {
  0%,
  100% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
}

@keyframes lanternGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 8px var(--cny-lantern-glow));
  }
  50% {
    filter: drop-shadow(0 0 20px var(--cny-gold));
  }
}

@keyframes fireworkBurst {
  0% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1) rotate(180deg);
  }
  100% {
    opacity: 0;
    transform: scale(1.5) rotate(360deg);
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes goldShimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(15deg);
    opacity: 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
  }
}

@keyframes borderGlow {
  0%,
  100% {
    border-color: rgba(255, 215, 0, 0.3);
  }
  50% {
    border-color: rgba(255, 215, 0, 0.7);
  }
}

/* ===========================================
   NAVBAR DESKTOP CNY DECORATIONS
   =========================================== */

/* Left Lantern */
.cny-lantern-left {
  position: fixed;
  top: 0;
  left: 15px;
  z-index: 1100;
  pointer-events: none;
  animation:
    lanternSwing 3s ease-in-out infinite,
    lanternGlow 2s ease-in-out infinite;
  transform-origin: top center;
}

.cny-lantern-left img {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 0 10px var(--cny-lantern-glow));
}

/* Right Lantern */
.cny-lantern-right {
  position: fixed;
  top: 0;
  right: 15px;
  z-index: 1100;
  pointer-events: none;
  animation:
    lanternSwing 3s ease-in-out infinite reverse,
    lanternGlow 2s ease-in-out infinite 0.5s;
  transform-origin: top center;
}

.cny-lantern-right img {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 0 10px var(--cny-lantern-glow));
}

/* Navbar Gold Border Enhancement */
.cny-theme .x88-navbar {
  border-bottom: 2px solid var(--cny-gold) !important;
  box-shadow:
    0 2px 20px rgba(255, 215, 0, 0.15),
    0 12px 30px rgba(0, 0, 0, 0.55) !important;
}

/* ===========================================
   NAVBAR MOBILE / BOTTOM NAV CNY DECORATIONS
   =========================================== */

.cny-theme .bottom-nav {
  border-top: 2px solid var(--cny-gold) !important;
  background: linear-gradient(180deg, #1a0000 0%, #000000 100%) !important;
  box-shadow:
    0 -2px 15px rgba(255, 215, 0, 0.1),
    0 -5px 20px rgba(0, 0, 0, 0.8) !important;
}

.cny-theme .bottom-nav__item--daftar .bottom-nav__icon {
  background: linear-gradient(
    135deg,
    var(--cny-red) 0%,
    var(--cny-red-dark) 100%
  ) !important;
  border: 2px solid var(--cny-gold) !important;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3) !important;
}

/* ===========================================
   HOME SCREEN CNY DECORATIONS
   =========================================== */

/* CNY Banner Overlay */
.cny-home-banner {
  position: relative;
  background: linear-gradient(
    90deg,
    rgba(196, 30, 58, 0.1) 0%,
    transparent 20%,
    transparent 80%,
    rgba(196, 30, 58, 0.1) 100%
  );
  padding: 8px 15px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  overflow: hidden;
}

.cny-home-banner::before,
.cny-home-banner::after {
  content: "🧧";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  animation: sparkle 2s ease-in-out infinite;
}

.cny-home-banner::before {
  left: 10px;
}

.cny-home-banner::after {
  right: 10px;
}

.cny-home-banner-text {
  color: var(--cny-gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Section Title Enhancement */
.cny-theme .section-title {
  position: relative;
}

.cny-theme .section-title::before {
  content: "🏮";
  margin-right: 8px;
}

/* Hero Slider Enhancement */
.cny-theme .hero-slider-container {
  position: relative;
}

.cny-hero-corner-tl,
.cny-hero-corner-tr {
  position: absolute;
  top: 0;
  z-index: 10;
  pointer-events: none;
}

.cny-hero-corner-tl {
  left: 0;
}

.cny-hero-corner-tr {
  right: 0;
  transform: scaleX(-1);
}

.cny-hero-corner-tl img,
.cny-hero-corner-tr img {
  height: 60px;
  width: auto;
  opacity: 0.9;
}

/* Gold Accent on Cards */
.cny-theme .pasaran-preview-section .togel-market-box,
.cny-theme .game-showcase-section .game-card,
.cny-theme .providers-grid .provider-card {
  border: 1px solid rgba(255, 215, 0, 0.15) !important;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.05) !important;
}

.cny-theme .pasaran-preview-section .togel-market-box:hover,
.cny-theme .game-showcase-section .game-card:hover,
.cny-theme .providers-grid .provider-card:hover {
  border-color: rgba(255, 215, 0, 0.3) !important;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1) !important;
}

/* ===========================================
   FLOATING LANTERNS (DECORATIVE)
   =========================================== */

.cny-floating-decorations {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Small decorative lanterns in corners */
.cny-corner-lantern {
  position: absolute;
  opacity: 0.6;
  animation: lanternSwing 4s ease-in-out infinite;
  transform-origin: top center;
}

.cny-corner-lantern img {
  height: 50px;
  width: auto;
}

.cny-corner-lantern.top-left {
  top: 80px;
  left: 5px;
  animation-delay: 0s;
}

.cny-corner-lantern.top-right {
  top: 80px;
  right: 5px;
  animation-delay: 1s;
}

/* ===========================================
   RESPONSIVE ADJUSTMENTS
   =========================================== */

/* Mobile adjustments */
@media (max-width: 991.98px) {
  /* Adjust lantern size and position for mobile */
  .cny-lantern-left,
  .cny-lantern-right {
    top: 0;
  }

  .cny-lantern-left {
    left: 5px;
  }

  .cny-lantern-right {
    right: 5px;
  }

  .cny-lantern-left img,
  .cny-lantern-right img {
    height: 50px; /* Smaller on mobile */
  }

  .cny-corner-lantern.top-left,
  .cny-corner-lantern.top-right {
    top: 60px;
  }

  .cny-corner-lantern img {
    height: 40px;
  }

  .cny-home-banner-text {
    font-size: 0.75rem;
  }
}

/* Small mobile */
@media (max-width: 575.98px) {
  /* Even smaller lanterns on very small screens */
  .cny-lantern-left img,
  .cny-lantern-right img {
    height: 40px;
  }

  .cny-lantern-left {
    left: 3px;
  }

  .cny-lantern-right {
    right: 3px;
  }

  .cny-corner-lantern {
    display: none;
  }

  .cny-home-banner::before,
  .cny-home-banner::after {
    font-size: 1rem;
  }
}

/* Large screens */
@media (min-width: 1400px) {
  .cny-lantern-left img,
  .cny-lantern-right img {
    height: 100px;
  }

  .cny-lantern-left {
    left: 25px;
  }

  .cny-lantern-right {
    right: 25px;
  }
}

/* ===========================================
   SPECIAL BUTTONS - CNY STYLE
   =========================================== */

.cny-theme .x88-btn-gold {
  background: linear-gradient(
    90deg,
    var(--cny-red-dark),
    var(--cny-red),
    var(--cny-red-dark)
  ) !important;
  border: 1px solid var(--cny-gold) !important;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2) !important;
}

.cny-theme .x88-btn-gold:hover {
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.4) !important;
}

/* ===========================================
   ANNOUNCEMENT MARQUEE ENHANCEMENT
   =========================================== */

.cny-theme .marquee-bar {
  background: linear-gradient(
    90deg,
    rgba(139, 0, 0, 0.4) 0%,
    rgba(196, 30, 58, 0.3) 50%,
    rgba(139, 0, 0, 0.4) 100%
  ) !important;
  border-top: 1px solid rgba(255, 215, 0, 0.3) !important;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3) !important;
}

.cny-theme .marquee-left {
  background: linear-gradient(
    90deg,
    var(--cny-red-dark),
    transparent
  ) !important;
  color: var(--cny-gold) !important;
}

.cny-theme .marquee-amount {
  color: var(--cny-gold) !important;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* ===========================================
   JACKPOT SECTION - FULL CNY REDESIGN
   =========================================== */

.cny-theme .jackpot-v2 {
  background: linear-gradient(
    180deg,
    rgba(139, 0, 0, 0.6) 0%,
    rgba(139, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.9) 100%
  ) !important;
  border-bottom: 2px solid var(--cny-gold) !important;
  position: relative;
  overflow: hidden;
}

/* CNY Pattern overlay for jackpot */
.cny-theme .jackpot-v2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 20% 80%,
      rgba(255, 215, 0, 0.1) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 215, 0, 0.1) 0%,
      transparent 30%
    );
  pointer-events: none;
  z-index: 0;
}

.cny-theme .jackpot-v2__title {
  color: var(--cny-gold) !important;
  text-shadow:
    0 0 20px rgba(255, 215, 0, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
}

.cny-theme .jackpot-v2__title::before {
  content: "🧧";
  margin-right: 10px;
}

.cny-theme .jackpot-v2__title::after {
  content: "🧧";
  margin-left: 10px;
}

.cny-theme .jackpot-v2__amount {
  background: linear-gradient(
    135deg,
    rgba(139, 0, 0, 0.8) 0%,
    rgba(196, 30, 58, 0.6) 50%,
    rgba(139, 0, 0, 0.8) 100%
  ) !important;
  border: 2px solid var(--cny-gold) !important;
  box-shadow:
    0 0 30px rgba(255, 215, 0, 0.3),
    inset 0 0 20px rgba(255, 215, 0, 0.1) !important;
  animation: pulse 3s ease-in-out infinite;
}

.cny-theme .jackpot-v2__number {
  background: linear-gradient(
    90deg,
    var(--cny-gold-dark),
    var(--cny-gold),
    var(--cny-gold-light),
    var(--cny-gold),
    var(--cny-gold-dark)
  ) !important;
  background-size: 200% auto;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: goldShimmer 3s linear infinite;
  text-shadow: none !important;
}

.cny-theme .jackpot-v2__currency {
  color: var(--cny-gold) !important;
}

.cny-theme .jackpot-v2__glow {
  background: radial-gradient(
    ellipse at center,
    rgba(255, 215, 0, 0.3) 0%,
    rgba(255, 215, 0, 0.1) 40%,
    transparent 70%
  ) !important;
}

.cny-theme .decor-diamond {
  background: var(--cny-gold) !important;
  box-shadow: 0 0 10px var(--cny-gold) !important;
}

.cny-theme .decor-line {
  background: linear-gradient(
    90deg,
    transparent,
    var(--cny-gold),
    transparent
  ) !important;
}

/* ===========================================
   PASARAN PREVIEW SECTION - CNY STYLE
   =========================================== */

.cny-theme .pasaran-preview-section {
  background: linear-gradient(
    180deg,
    rgba(139, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 1) 100%
  ) !important;
  position: relative;
}

/* CNY corner decorations for section */
.cny-theme .pasaran-preview-section::before,
.cny-theme .pasaran-preview-section::after {
  content: "🏮";
  position: absolute;
  font-size: 2rem;
  opacity: 0.15;
  animation: lanternSwing 4s ease-in-out infinite;
  transform-origin: top center;
}

.cny-theme .pasaran-preview-section::before {
  top: 20px;
  left: 20px;
}

.cny-theme .pasaran-preview-section::after {
  top: 20px;
  right: 20px;
  animation-delay: 1s;
}

/* Section title with gold accent */
.cny-theme .section-title-wrapper {
  border-left: 5px solid var(--cny-gold) !important;
}

.cny-theme .section-title {
  color: var(--cny-gold) !important;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.cny-theme .section-title::before {
  content: "🏮" !important;
  margin-right: 10px;
  animation: sparkle 2s ease-in-out infinite;
}

.cny-theme .view-all-link {
  color: var(--cny-gold) !important;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.cny-theme .view-all-link:hover {
  color: var(--cny-gold-light) !important;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Table container with CNY border */
.cny-theme .togel-market-box {
  background: linear-gradient(
    135deg,
    rgba(139, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.8) 50%,
    rgba(139, 0, 0, 0.2) 100%
  ) !important;
  border: 2px solid rgba(255, 215, 0, 0.3) !important;
  box-shadow:
    0 0 20px rgba(255, 215, 0, 0.1),
    inset 0 0 30px rgba(139, 0, 0, 0.1) !important;
  position: relative;
  overflow: hidden;
}

/* Gold corner accents */
.cny-theme .togel-market-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.2) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.cny-theme .togel-market-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    -45deg,
    rgba(255, 215, 0, 0.2) 0%,
    transparent 50%
  );
  pointer-events: none;
}

/* Table header with gold text */
.cny-theme .tm-table thead th {
  color: var(--cny-gold) !important;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3) !important;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Table rows with hover effect */
.cny-theme .tm-table tbody tr {
  transition: all 0.3s ease;
}

.cny-theme .tm-table tbody tr:hover td {
  background: linear-gradient(
    90deg,
    rgba(139, 0, 0, 0.2) 0%,
    rgba(196, 30, 58, 0.1) 50%,
    rgba(139, 0, 0, 0.2) 100%
  ) !important;
}

.cny-theme .tm-table tbody td {
  border-bottom: 1px solid rgba(255, 215, 0, 0.1) !important;
}

/* Result box with CNY style */
.cny-theme .tm-result-box {
  background: linear-gradient(
    135deg,
    var(--cny-red-dark) 0%,
    var(--cny-red) 100%
  ) !important;
  border: 1px solid var(--cny-gold) !important;
  color: var(--cny-gold) !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Market name with gold accent */
.cny-theme .tm-name {
  color: #fff !important;
}

/* Schedule time with gold color */
.cny-theme .tm-schedule .text-warning,
.cny-theme .tm-time {
  color: var(--cny-gold) !important;
}

/* Bet button with CNY style */
.cny-theme .tm-btn-bet {
  background: linear-gradient(
    135deg,
    var(--cny-red-dark) 0%,
    var(--cny-red) 100%
  ) !important;
  border: 1px solid var(--cny-gold) !important;
  color: var(--cny-gold) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.cny-theme .tm-btn-bet:hover {
  background: linear-gradient(
    135deg,
    var(--cny-red) 0%,
    var(--cny-red-light) 100%
  ) !important;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4) !important;
  transform: translateY(-2px);
}

/* ===========================================
   GAME SHOWCASE SECTION - CNY STYLE
   =========================================== */

.cny-theme .showcase-section {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(139, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 1) 100%
  ) !important;
  position: relative;
}

/* Swimlane header with gold */
.cny-theme .swimlane-title {
  color: var(--cny-gold) !important;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.cny-theme .swimlane-header .ti {
  color: var(--cny-gold) !important;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.cny-theme .swimlane-nav {
  color: var(--cny-gold) !important;
}

.cny-theme .swimlane-nav:hover {
  color: var(--cny-gold-light) !important;
}

/* Game cards with CNY style */
.cny-theme .game-card {
  background: linear-gradient(
    180deg,
    rgba(139, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.9) 100%
  ) !important;
  border: 1px solid rgba(255, 215, 0, 0.2) !important;
  border-radius: 12px !important;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.cny-theme .game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--cny-gold),
    var(--cny-red),
    var(--cny-gold)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cny-theme .game-card:hover {
  border-color: var(--cny-gold) !important;
  box-shadow:
    0 0 25px rgba(255, 215, 0, 0.3),
    0 10px 40px rgba(139, 0, 0, 0.4) !important;
  transform: translateY(-5px);
}

.cny-theme .game-card:hover::before {
  opacity: 1;
}

/* Rank badges with CNY colors */
.cny-theme .rank-badge.rank-1 {
  background: linear-gradient(
    135deg,
    var(--cny-gold),
    var(--cny-gold-dark)
  ) !important;
  color: var(--cny-red-dark) !important;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5) !important;
}

.cny-theme .rank-badge.rank-2 {
  background: linear-gradient(135deg, #c0c0c0, #a0a0a0) !important;
  box-shadow: 0 0 10px rgba(192, 192, 192, 0.5) !important;
}

.cny-theme .rank-badge.rank-3 {
  background: linear-gradient(135deg, #cd7f32, #a0522d) !important;
  box-shadow: 0 0 10px rgba(205, 127, 50, 0.5) !important;
}

/* New badge with CNY style */
.cny-theme .new-badge {
  background: linear-gradient(
    135deg,
    var(--cny-red),
    var(--cny-red-dark)
  ) !important;
  border: 1px solid var(--cny-gold) !important;
  color: var(--cny-gold) !important;
  font-weight: 800 !important;
  animation: pulse 2s ease-in-out infinite;
}

/* Play overlay with gold accent */
.cny-theme .media-overlay {
  background: radial-gradient(
    circle,
    rgba(139, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.7) 100%
  ) !important;
}

.cny-theme .media-overlay i {
  color: var(--cny-gold) !important;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* Game name and provider */
.cny-theme .card-info .game-name {
  color: #fff !important;
}

.cny-theme .card-info .provider-name {
  color: var(--cny-gold) !important;
  opacity: 0.8;
}

/* ===========================================
   PROVIDERS SECTION - CNY STYLE
   =========================================== */

.cny-theme .providers-section {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(139, 0, 0, 0.15) 50%,
    rgba(0, 0, 0, 1) 100%
  ) !important;
}

.cny-theme .providers-panel {
  background: linear-gradient(
    135deg,
    rgba(139, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.9) 50%,
    rgba(139, 0, 0, 0.2) 100%
  ) !important;
  border: 1px solid rgba(255, 215, 0, 0.2) !important;
  position: relative;
}

/* Panel title with gold accent */
.cny-theme .providers-panel__accent {
  background: var(--cny-gold) !important;
  box-shadow: 0 0 10px var(--cny-gold) !important;
}

.cny-theme .providers-panel__title .section-title {
  color: var(--cny-gold) !important;
}

.cny-theme .providers-total-count {
  color: var(--cny-gold) !important;
  background: rgba(139, 0, 0, 0.5) !important;
  border: 1px solid rgba(255, 215, 0, 0.3) !important;
}

/* Provider cards with CNY style */
.cny-theme .provider-card {
  background: linear-gradient(
    180deg,
    rgba(139, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.8) 100%
  ) !important;
  border: 1px solid rgba(255, 215, 0, 0.15) !important;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cny-theme .provider-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 215, 0, 0.1) 50%,
    transparent 60%
  );
  transform: rotate(45deg) translateY(100%);
  transition: transform 0.6s ease;
}

.cny-theme .provider-card:hover {
  border-color: var(--cny-gold) !important;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2) !important;
  transform: scale(1.05);
}

.cny-theme .provider-card:hover::before {
  transform: rotate(45deg) translateY(-100%);
}

/* Hot indicator with CNY style */
.cny-theme .provider-hot-indicator {
  background: linear-gradient(
    135deg,
    var(--cny-red),
    var(--cny-red-dark)
  ) !important;
  border: 1px solid var(--cny-gold) !important;
}

.cny-theme .provider-hot-indicator i {
  color: var(--cny-gold) !important;
}

/* ===========================================
   HERO SLIDER - CNY STYLE
   =========================================== */

.cny-theme .hero-slider-container,
.cny-theme .hero-slider,
.cny-theme .carousel {
  position: relative;
}

/* Gold frame around hero */
.cny-theme .carousel-inner {
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

/* ===========================================
   SERVER SELECTION - CNY STYLE
   =========================================== */

.cny-theme .server-selection-section {
  background: linear-gradient(
    90deg,
    rgba(139, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.9) 50%,
    rgba(139, 0, 0, 0.2) 100%
  ) !important;
  border-top: 1px solid rgba(255, 215, 0, 0.2) !important;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2) !important;
}

.cny-theme .server-btn {
  border: 1px solid rgba(255, 215, 0, 0.3) !important;
  background: linear-gradient(
    135deg,
    rgba(139, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.8) 100%
  ) !important;
  color: var(--cny-gold) !important;
  transition: all 0.3s ease;
}

.cny-theme .server-btn:hover,
.cny-theme .server-btn.active {
  background: linear-gradient(
    135deg,
    var(--cny-red-dark) 0%,
    var(--cny-red) 100%
  ) !important;
  border-color: var(--cny-gold) !important;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3) !important;
}

/* ===========================================
   FOOTER - CNY STYLE
   =========================================== */

.cny-theme .footer-app {
  background: linear-gradient(
    180deg,
    rgba(139, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 1) 100%
  ) !important;
  border-top: 2px solid var(--cny-gold) !important;
}

/* ===========================================
   CNY DECORATIVE FIREWORKS (CSS ONLY)
   =========================================== */

.cny-fireworks {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cny-firework {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: fireworkBurst 3s ease-out infinite;
}

.cny-firework:nth-child(1) {
  top: 15%;
  left: 10%;
  background: var(--cny-gold);
  animation-delay: 0s;
}

.cny-firework:nth-child(2) {
  top: 25%;
  right: 15%;
  background: var(--cny-red);
  animation-delay: 1s;
}

.cny-firework:nth-child(3) {
  top: 40%;
  left: 85%;
  background: var(--cny-gold-light);
  animation-delay: 2s;
}

/* ===========================================
   CNY SECTION DIVIDERS
   =========================================== */

.cny-divider {
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--cny-gold) 20%,
    var(--cny-red) 50%,
    var(--cny-gold) 80%,
    transparent 100%
  );
  margin: 20px 0;
  border-radius: 2px;
}

/* ===========================================
   ADDITIONAL RESPONSIVE ADJUSTMENTS
   =========================================== */

@media (max-width: 767.98px) {
  .cny-theme .pasaran-preview-section::before,
  .cny-theme .pasaran-preview-section::after {
    font-size: 1.5rem;
    opacity: 0.1;
  }

  .cny-theme .jackpot-v2__title::before,
  .cny-theme .jackpot-v2__title::after {
    display: none;
  }

  .cny-theme .game-card:hover {
    transform: translateY(-3px);
  }

  .cny-theme .provider-card:hover {
    transform: scale(1.02);
  }
}

/* ===========================================
   SCROLLBAR STYLING - CNY
   =========================================== */

.cny-theme ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.cny-theme ::-webkit-scrollbar-track {
  background: rgba(139, 0, 0, 0.2);
}

.cny-theme ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cny-gold), var(--cny-gold-dark));
  border-radius: 4px;
}

.cny-theme ::-webkit-scrollbar-thumb:hover {
  background: var(--cny-gold);
}

/* ===========================================
   TEXT SELECTION - CNY
   =========================================== */

.cny-theme ::selection {
  background: var(--cny-red);
  color: var(--cny-gold);
}

.cny-theme ::-moz-selection {
  background: var(--cny-red);
  color: var(--cny-gold);
}

/* ===========================================
   PASARAN SWIPEABLE CARDS - CNY STYLE
   =========================================== */

.cny-theme .pasaran-preview-section.infinite-carousel {
  background: linear-gradient(
    180deg,
    rgba(139, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 1) 100%
  ) !important;
}

/* Pasaran Card with CNY styling */
.cny-theme .pasaran-card {
  background: linear-gradient(
    180deg,
    rgba(139, 0, 0, 0.4) 0%,
    rgba(30, 10, 10, 0.95) 100%
  ) !important;
  border: 2px solid rgba(255, 215, 0, 0.25) !important;
  border-radius: 16px !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Gold shimmer effect line at top */
.cny-theme .pasaran-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--cny-gold-dark),
    var(--cny-gold),
    var(--cny-gold-light),
    var(--cny-gold),
    var(--cny-gold-dark)
  );
  background-size: 200% auto;
  animation: goldShimmer 3s linear infinite;
}

/* Card corner decorations */
.cny-theme .pasaran-card::after {
  content: "🏮";
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 1rem;
  opacity: 0.4;
  animation: sparkle 2s ease-in-out infinite;
}

.cny-theme .pasaran-card:hover {
  border-color: var(--cny-gold) !important;
  box-shadow:
    0 0 30px rgba(255, 215, 0, 0.3),
    0 15px 50px rgba(139, 0, 0, 0.5) !important;
  transform: translateY(-8px) scale(1.02);
}

/* Card header with enhanced styling */
.cny-theme .pasaran-card-header {
  background: linear-gradient(
    180deg,
    rgba(139, 0, 0, 0.3) 0%,
    transparent 100%
  ) !important;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2) !important;
}

/* Market name gold accent */
.cny-theme .pasaran-name {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.cny-theme .pasaran-date {
  color: var(--cny-gold) !important;
  opacity: 0.8;
}

/* Flag wrapper with gold border */
.cny-theme .pasaran-flag-wrapper {
  border: 2px solid rgba(255, 215, 0, 0.4) !important;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Result section with CNY styling */
.cny-theme .pasaran-result-section {
  background: linear-gradient(
    135deg,
    rgba(139, 0, 0, 0.5) 0%,
    rgba(196, 30, 58, 0.3) 100%
  ) !important;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.cny-theme .pasaran-label {
  color: var(--cny-gold) !important;
  opacity: 0.9;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.cny-theme .pasaran-result {
  background: linear-gradient(
    90deg,
    var(--cny-gold-dark),
    var(--cny-gold),
    var(--cny-gold-light),
    var(--cny-gold),
    var(--cny-gold-dark)
  ) !important;
  background-size: 200% auto;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: goldShimmer 2s linear infinite;
  font-weight: 900 !important;
  font-size: 1.8rem !important;
  text-shadow: none !important;
}

/* Schedule section styling */
.cny-theme .pasaran-schedule-section {
  border-top: 1px solid rgba(255, 215, 0, 0.15);
}

.cny-theme .schedule-label {
  color: rgba(255, 215, 0, 0.7) !important;
}

.cny-theme .schedule-time {
  color: #fff !important;
}

.cny-theme .schedule-time.close-time {
  color: var(--cny-red-light) !important;
}

.cny-theme .schedule-time.open-time {
  color: var(--cny-gold) !important;
}

/* Bet button with CNY style */
.cny-theme .btn-pasaran-bet {
  background: linear-gradient(
    135deg,
    var(--cny-red-dark) 0%,
    var(--cny-red) 50%,
    var(--cny-red-dark) 100%
  ) !important;
  border: 2px solid var(--cny-gold) !important;
  color: var(--cny-gold) !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease;
}

.cny-theme .btn-pasaran-bet:hover {
  background: linear-gradient(
    135deg,
    var(--cny-red) 0%,
    var(--cny-red-light) 50%,
    var(--cny-red) 100%
  ) !important;
  box-shadow:
    0 0 25px rgba(255, 215, 0, 0.4),
    0 5px 20px rgba(0, 0, 0, 0.3) !important;
  transform: translateY(-2px);
}

/* ===========================================
   LUCKY SPIN MODAL - CNY STYLE
   =========================================== */

.cny-theme .lucky-spin-modal .modal-content {
  background: linear-gradient(
    180deg,
    rgba(139, 0, 0, 0.9) 0%,
    rgba(30, 10, 10, 0.98) 100%
  ) !important;
  border: 2px solid var(--cny-gold) !important;
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.3) !important;
}

.cny-theme .lucky-spin-modal .modal-header {
  border-bottom: 1px solid rgba(255, 215, 0, 0.3) !important;
}

.cny-theme .lucky-spin-modal .modal-title {
  color: var(--cny-gold) !important;
}

/* ===========================================
   FLOATING RTP BUTTON - CNY STYLE
   =========================================== */

.cny-theme .floating-rtp-btn {
  background: linear-gradient(
    135deg,
    var(--cny-red-dark) 0%,
    var(--cny-red) 100%
  ) !important;
  border: 2px solid var(--cny-gold) !important;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3) !important;
  animation: pulse 2s ease-in-out infinite;
}

.cny-theme .floating-rtp-btn:hover {
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.5) !important;
}

/* ===========================================
   LOGIN/REGISTER FORMS - CNY STYLE
   =========================================== */

.cny-theme .x88-btn-outline {
  border-color: var(--cny-gold) !important;
  color: var(--cny-gold) !important;
}

.cny-theme .x88-btn-outline:hover {
  background: var(--cny-gold) !important;
  color: var(--cny-red-dark) !important;
}

/* ===========================================
   DROPDOWN MENUS - CNY STYLE
   =========================================== */

.cny-theme .x88-navbar .dropdown-menu {
  background: linear-gradient(
    180deg,
    rgba(30, 10, 10, 0.98) 0%,
    rgba(20, 5, 5, 0.99) 100%
  ) !important;
  border: 1px solid rgba(255, 215, 0, 0.3) !important;
  box-shadow:
    0 15px 50px rgba(0, 0, 0, 0.7),
    0 0 20px rgba(255, 215, 0, 0.1) !important;
}

.cny-theme .x88-navbar .dropdown-item:hover,
.cny-theme .x88-navbar .dropdown-item:focus {
  background: linear-gradient(
    90deg,
    rgba(255, 215, 0, 0.15) 0%,
    rgba(139, 0, 0, 0.2) 50%,
    transparent 100%
  ) !important;
  color: var(--cny-gold) !important;
}

.cny-theme .dropdown-header-item {
  background: linear-gradient(
    90deg,
    rgba(255, 215, 0, 0.1) 0%,
    rgba(139, 0, 0, 0.15) 50%,
    transparent 100%
  ) !important;
  border-left: 3px solid var(--cny-gold) !important;
}

/* ===========================================
   PROFILE PAGE - CNY STYLE
   =========================================== */

.cny-theme .profile-card {
  background: linear-gradient(
    180deg,
    rgba(139, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.9) 100%
  ) !important;
  border: 1px solid rgba(255, 215, 0, 0.2) !important;
}

.cny-theme .profile-card:hover {
  border-color: rgba(255, 215, 0, 0.4) !important;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1) !important;
}

/* ===========================================
   INPUT FIELDS - CNY STYLE
   =========================================== */

.cny-theme input:focus,
.cny-theme select:focus,
.cny-theme textarea:focus {
  border-color: var(--cny-gold) !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.15) !important;
}

/* ===========================================
   ALERTS & NOTIFICATIONS - CNY STYLE
   =========================================== */

.cny-theme .alert-success {
  background: linear-gradient(
    135deg,
    rgba(40, 167, 69, 0.2) 0%,
    rgba(139, 0, 0, 0.1) 100%
  ) !important;
  border-color: var(--cny-gold) !important;
}

.cny-theme .alert-info {
  background: linear-gradient(
    135deg,
    rgba(23, 162, 184, 0.2) 0%,
    rgba(139, 0, 0, 0.1) 100%
  ) !important;
  border-color: rgba(255, 215, 0, 0.5) !important;
}

/* ===========================================
   FINAL TOUCHES - OVERALL POLISH
   =========================================== */

/* Enhance all borders with subtle gold tint */
.cny-theme .card,
.cny-theme .panel,
.cny-theme .box {
  border-color: rgba(255, 215, 0, 0.1) !important;
}

/* Links default gold color */
.cny-theme a:not(.btn):not(.nav-link):not(.dropdown-item) {
  color: var(--cny-gold);
}

.cny-theme a:not(.btn):not(.nav-link):not(.dropdown-item):hover {
  color: var(--cny-gold-light);
}
