/* CSS Variables 2025-07-28 */
:root {
  --primary-black: #1a1a1a;
  --light-black: #2d2d2d;
  --dark-black: #0d0d0d;
  --gold: #ffd700;
  --accent-gold: #ffed4e;
}

/* Base Styles */
* {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: "Noto Sans Thai", sans-serif;
  position: relative;
  z-index: 0;
  background: #1a1a1a; /* Fallback color */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.gaming-container {
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(
    135deg,
    var(--primary-black, #1a1a1a) 0%,
    var(--light-black, #2d2d2d) 100%
  );
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
  border-radius: 0;
  backdrop-filter: blur(10px);
  z-index: 1;
}

/* Header */
.gaming-header {
  background: linear-gradient(
    135deg,
    var(--dark-black) 0%,
    var(--primary-black) 100%
  );
  color: var(--gold);
  padding: 6px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
  backdrop-filter: blur(15px);
  border-bottom: 2px solid var(--gold);
}

.balance-display {
  font-size: 12px;
  font-weight: bold;
  background: linear-gradient(45deg, var(--gold), var(--accent-gold));
  color: var(--dark-black);
  padding: 4px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 60px;
}
/*
.balance-display::before {
    content: "฿";
    position: absolute;
    left: 8px;
    font-weight: bold;
    color: var(--dark-black);
    font-size: 12px;
}
*/
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  height: 28px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--gold));
  animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  from {
    text-shadow: 0 0 10px var(--gold), 2px 2px 4px rgba(0, 0, 0, 0.8);
  }
  to {
    text-shadow: 0 0 20px var(--gold), 0 0 30px var(--gold),
      2px 2px 4px rgba(0, 0, 0, 0.8);
  }
}

.menu-toggle {
  font-size: 14px;
  cursor: pointer;
  padding: 6px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(45deg, var(--gold), var(--accent-gold));
  color: var(--dark-black);
  transition: all 0.3s ease;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle:hover {
  background: linear-gradient(45deg, var(--accent-gold), var(--gold));
  transform: rotate(90deg);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Notification Bar */
.notification-bar {
  padding: 3px 10px;
  position: relative;
}

.notification-bar .text-container {
  border: 2px solid #000;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 6px;
  backdrop-filter: blur(5px);
  overflow: hidden;
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
}

.scrolling-text {
  animation: scroll-horizontal 20s linear infinite;
  white-space: nowrap;
  color: rgba(255, 237, 78, 0.8);
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  padding: 6px 12px;
  position: absolute;
  min-width: 100%;
  font-size: 12px;
}

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

/* User Account Section */
.user-account-section {
  padding: 6px 12px;
  background: var(--primary-black);
}

.user-card {
  background: linear-gradient(
      135deg,
      rgba(26, 26, 26, 0.7) 0%,
      rgba(45, 45, 45, 0.7) 100%
    ),
    url("../../upload/card/S__1998913.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
  border: 2px solid var(--gold);
  position: relative;
  overflow: hidden;
  transform: scale(1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    var(--gold),
    var(--accent-gold),
    var(--gold)
  );
  z-index: -1;
  margin: -3px;
  border-radius: 20px;
  opacity: 0.1;
}

.user-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.2);
}

.user-greeting {
  color: var(--gold);
  font-size: 12px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.user-greeting i {
  font-size: 14px;
  color: var(--gold);
  text-shadow: 0 0 10px var(--gold);
}

.user-balance {
  font-size: 20px;
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 10px;
  text-shadow: 0 0 15px var(--gold), 2px 2px 4px rgba(0, 0, 0, 0.8);
  animation: balance-glow 3s ease-in-out infinite alternate;
}

@keyframes balance-glow {
  from {
    text-shadow: 0 0 15px var(--gold), 2px 2px 4px rgba(0, 0, 0, 0.8);
  }
  to {
    text-shadow: 0 0 25px var(--gold), 0 0 35px var(--gold),
      2px 2px 4px rgba(0, 0, 0, 0.8);
  }
}

.action-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-deposit,
.btn-withdraw {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  transform: scale(1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-deposit::before,
.btn-withdraw::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s;
}

.btn-deposit:hover::before,
.btn-withdraw:hover::before {
  left: 100%;
}

.btn-deposit {
  background: linear-gradient(135deg, var(--gold), var(--accent-gold));
  color: var(--dark-black);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  border: 2px solid var(--gold);
}

.btn-withdraw {
  background: linear-gradient(135deg, var(--light-black), var(--primary-black));
  color: var(--gold);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  border: 2px solid var(--gold);
}

.btn-deposit:hover,
.btn-withdraw:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

/* Game Categories */
.game-categories {
  padding: 8px 12px;
  display: flex;
  justify-content: space-around;
  background: var(--primary-black);
}

.category-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-icon .icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--light-black), var(--primary-black));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  border: 2px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.category-icon .icon-circle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.category-icon:hover .icon-circle::before {
  transform: translateX(100%);
}

.category-icon:hover .icon-circle {
  transform: scale(1.15) rotate(10deg);
  background: linear-gradient(135deg, var(--gold), var(--accent-gold));
  color: var(--dark-black);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

.category-label {
  font-size: 8px;
  font-weight: 600;
  text-align: center;
  margin-top: 4px;
  color: var(--gold);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}

/* Game Selection Grid */
.game-grid {
  padding: 8px 12px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  justify-items: center;
  align-items: center;
}

.game-card-image {
  width: 60%;
  height: auto;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  border: 2px solid var(--gold);
  display: block;
  margin: 0 auto;
}

.game-card-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

/* Games Grid for separated game pages */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 25px;
  padding: 20px 0;
}

.game-card {
  background: linear-gradient(135deg, var(--primary-black), var(--light-black));
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 2px solid var(--gold);
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
  border-color: var(--accent-gold);
}

.game-card .game-logo-container {
  position: relative;
  width: 100%;
  height: 120px;
  background: var(--dark-black);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  border: none;
}

.game-card .game-logo-container[style*="background-image"] {
  background: none !important;
}

.game-card .game-logo-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.1) 0%,
    rgba(26, 26, 26, 0.3) 100%
  );
  z-index: 1;
}

.game-card .game-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent !important;
  padding: 25px;
  display: block;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.game-card .game-logo.folder-image {
  object-fit: fill;
  padding: 0;
  width: 100%;
  height: 100%;
}

.game-card:hover .game-logo {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: scale(1.03);
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.6),
    0 8px 25px rgba(255, 215, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.2);
}

.game-card .game-logo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 215, 0, 0.15) 0%,
    rgba(255, 193, 7, 0.15) 30%,
    rgba(255, 87, 34, 0.15) 70%,
    rgba(233, 30, 99, 0.15) 100%
  );
  z-index: 3;
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
}

.game-card:hover .game-logo-overlay {
  opacity: 1;
  background: linear-gradient(
    45deg,
    rgba(255, 215, 0, 0.08) 0%,
    rgba(255, 193, 7, 0.08) 30%,
    rgba(255, 87, 34, 0.08) 70%,
    rgba(233, 30, 99, 0.08) 100%
  );
}

.game-card:hover .game-logo-container {
  background: var(--primary-black) !important;
}

.game-card .game-info {
  padding: 18px 12px;
  text-align: center;
}

.game-card .game-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
  line-height: 1.3;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.game-card .game-status {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 90px;
}

.game-status.online {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(17, 153, 142, 0.3);
}

.game-status.offline {
  background: linear-gradient(135deg, #fc466b 0%, #3f5efb 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(252, 70, 107, 0.3);
}

/* Responsive adjustments for games grid */
@media (max-width: 768px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 18px;
  }

  .game-card .game-logo-container {
    height: 100px;
  }

  .game-card .game-logo {
    padding: 15px;
  }

  .game-card .game-info {
    padding: 15px 10px;
  }

  .game-card .game-name {
    font-size: 13px;
    min-height: 32px;
  }

  .game-card .game-status {
    font-size: 10px;
    padding: 5px 14px;
    min-width: 85px;
  }
}

@media (max-width: 576px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
  }

  .game-card .game-logo-container {
    height: 90px;
  }

  .game-card .game-logo {
    padding: 12px;
  }

  .game-card .game-info {
    padding: 12px 8px;
  }

  .game-card .game-name {
    font-size: 12px;
    min-height: 28px;
  }

  .game-card .game-status {
    font-size: 9px;
    padding: 4px 12px;
    min-width: 75px;
  }
}

/* Lottery Grid for betting page */
.lottery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 25px;
  padding: 20px 0;
}

.lottery-card {
  background: linear-gradient(135deg, var(--primary-black), var(--light-black));
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 2px solid var(--gold);
}

.lottery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
  border-color: var(--accent-gold);
}

.lottery-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  width: 100%;
  height: 100%;
}

.lottery-img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  background: var(--dark-black);
  padding: 15px;
  display: block;
  border-radius: 20px 20px 0 0;
  transition: all 0.4s ease;
}

.lottery-card:hover .lottery-img {
  background: var(--primary-black);
  transform: scale(1.03);
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.6),
    0 8px 25px rgba(255, 215, 0, 0.3);
}

.lottery-overlay {
  padding: 18px 12px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-black), var(--light-black));
}

.lottery-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
  line-height: 1.3;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.lottery-status-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.lottery-status-text {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 90px;
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(17, 153, 142, 0.3);
}

.lottery-countdown {
  font-size: 12px;
  color: var(--accent-gold);
  font-weight: 500;
}

/* Responsive adjustments for lottery grid */
@media (max-width: 768px) {
  .lottery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 18px;
  }

  .lottery-img {
    height: 100px;
    padding: 12px;
  }

  .lottery-overlay {
    padding: 15px 10px;
  }

  .lottery-name {
    font-size: 13px;
    min-height: 32px;
  }

  .lottery-status-text {
    font-size: 10px;
    padding: 5px 14px;
    min-width: 85px;
  }
}

@media (max-width: 576px) {
  .lottery-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
  }

  .lottery-img {
    height: 90px;
    padding: 10px;
  }

  .lottery-overlay {
    padding: 12px 8px;
  }

  .lottery-name {
    font-size: 12px;
    min-height: 28px;
  }

  .lottery-status-text {
    font-size: 9px;
    padding: 4px 12px;
    min-width: 75px;
  }
}

.game-card-image {
  width: 75%; /* Reduced from 100% */
  height: auto;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.2);
  border: 3px solid var(--gold);
  object-fit: cover;
}

.game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, var(--gold), var(--accent-gold));
  z-index: -1;
  margin: -3px;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover::before {
  opacity: 0.2;
}

.game-card-image:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
  filter: brightness(1.1);
}

.game-card.casino {
  background: linear-gradient(135deg, var(--light-black), var(--primary-black));
}

.game-card.lottery {
  background: linear-gradient(135deg, var(--light-black), var(--primary-black));
}

.game-card.slots {
  background: linear-gradient(135deg, var(--light-black), var(--primary-black));
}

.game-card.sports {
  background: linear-gradient(135deg, var(--light-black), var(--primary-black));
}

.game-image {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.game-image img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--gold));
  transition: all 0.3s ease;
}

.game-card:hover .game-image img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 15px var(--gold));
}

.game-icon {
  font-size: 48px;
  margin-bottom: 15px;
  color: var(--gold);
  text-shadow: 0 0 15px var(--gold);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  width: 64px;
}

.game-title-th {
  font-size: 20px;
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 8px;
  text-shadow: 0 0 10px var(--gold);
}

.game-title-en {
  font-size: 16px;
  color: var(--accent-gold);
  text-transform: uppercase;
  font-weight: 500;
}

/* Promotion Slider */
.promotion-slider {
  margin: 25px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
  border: 2px solid var(--gold);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 150px; /* Reduced from 200px */
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slide img:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

.slider-dots {
  text-align: center;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: rgba(255, 215, 0, 0.4);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background-color: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

/* Footer Navigation */
.footer-nav-game {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  background: linear-gradient(
    135deg,
    var(--primary-black) 0%,
    var(--light-black) 100%
  );
  border-top: 3px solid var(--gold);
  display: flex;
  justify-content: space-around;
  padding: 6px 0;
  box-shadow: 0 -8px 25px rgba(255, 215, 0, 0.3);
  z-index: 9999 !important;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--accent-gold);
  font-size: 12px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-item:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.nav-item.active {
  color: var(--gold);
}

.nav-icon {
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.nav-item:hover .nav-icon {
  transform: scale(1.1);
  color: var(--accent-gold);
}

.nav-item.center .nav-icon {
  font-size: 22px;
  color: var(--gold);
  animation: coin-pulse 1.5s ease-in-out infinite;
}

.nav-item.center:hover .nav-icon {
  transform: scale(1.3);
  color: var(--accent-gold);
  animation: coin-shake 0.5s ease-in-out infinite;
}

@keyframes coin-pulse {
  0%,
  100% {
    transform: scale(1) rotateY(0deg);
    text-shadow: 0 0 10px var(--gold);
  }
  50% {
    transform: scale(1.1) rotateY(180deg);
    text-shadow: 0 0 20px var(--gold), 0 0 30px var(--accent-gold);
  }
}

@keyframes coin-shake {
  0%,
  100% {
    transform: scale(1.3) translateX(0) rotateZ(0deg);
  }
  25% {
    transform: scale(1.3) translateX(-3px) rotateZ(-5deg);
  }
  75% {
    transform: scale(1.3) translateX(3px) rotateZ(5deg);
  }
}

/* Loading Spinner */
.loading-spinner {
  animation: spin 1s linear infinite;
}

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

/* Responsive adjustments */
@media (max-width: 480px) {
  .gaming-container {
    max-width: 100%;
  }

  .footer-nav {
    max-width: 100%;
  }
}

/* Add padding bottom to prevent footer overlap */
.content-wrapper {
  padding-bottom: 100px;
}

/* Ensure footer stays fixed */
body {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.gaming-container {
  padding-bottom: 80px !important; /* Add space for fixed footer */
  margin-bottom: 0 !important;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Lottery Error Placeholder */
.lottery-error-placeholder {
  text-align: center;
  padding: 60px 20px;
  color: var(--gold);
}

.lottery-error-placeholder i {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.6;
  color: var(--accent-gold);
}

/* Sidebar Styles */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-black), var(--light-black));
  z-index: 1001;
  transition: left 0.3s ease;
  box-shadow: 2px 0 10px rgba(255, 215, 0, 0.3);
}

.mobile-sidebar.active {
  left: 0;
}

.sidebar-header {
  padding: 20px;
  background: linear-gradient(135deg, var(--dark-black), var(--primary-black));
  color: var(--gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--gold);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sidebar-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.sidebar-user-info h6 {
  margin: 0;
  font-size: 16px;
}

.sidebar-user-info small {
  opacity: 0.9;
  color: rgba(255, 215, 0, 0.8);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.sidebar-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
}

.sidebar-menu {
  padding: 20px 0;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s ease;
}

.sidebar-item:hover {
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold);
  text-shadow: 0 0 10px var(--gold);
}

.sidebar-item i {
  width: 20px;
  text-align: center;
}

.sidebar-divider {
  height: 1px;
  background: var(--gold);
  margin: 10px 20px;
}

.sidebar-item.logout {
  color: var(--accent-gold);
}

.sidebar-item.logout:hover {
  background: rgba(255, 215, 0, 0.2);
  color: var(--gold);
}

/* ===== TRANSACTIONS PAGE STYLES ===== */
/* Summary Cards */
.summary-card-themed {
  border: 2px solid var(--gold);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.summary-card-themed:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.summary-card-themed .card-body {
  padding: 1.5rem;
  color: var(--gold);
}

.summary-card-themed .summary-label {
  font-size: 0.9rem;
  color: rgba(255, 215, 0, 0.9);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.summary-card-themed .summary-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 10px var(--gold);
}

.summary-card-themed .summary-value small {
  font-size: 0.8em;
  font-weight: 400;
  color: rgba(255, 215, 0, 0.7);
}

.summary-card-themed .sub-text {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.summary-card-themed .summary-icon .avtar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
}

/* Gradient backgrounds for summary cards */
.card-gradient-green {
  background: linear-gradient(135deg, #198754, #146c43);
}

.card-gradient-orange {
  background: linear-gradient(135deg, #fd7e14, #e66a00);
}

.card-gradient-red {
  background: linear-gradient(135deg, #dc3545, #b02a37);
}

.card-gradient-info {
  background: linear-gradient(135deg, #0dcaf0, #0aa3c2);
}

/* Filter Form */
.filter-form .form-label {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.filter-form .form-select,
.filter-form .form-control {
  background: var(--light-black);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 0.9rem;
}

.filter-form .form-select option {
  background: var(--light-black);
  color: var(--gold);
}

.filter-form .form-control::placeholder {
  color: rgba(255, 215, 0, 0.6);
}

.filter-form .form-select:focus,
.filter-form .form-control:focus {
  background: var(--light-black);
  border-color: var(--accent-gold);
  color: var(--gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Custom Date Range */
#customDateRange {
  gap: 1rem;
}

/* Tabs */
.nav-tabs-custom .nav-link {
  color: var(--accent-gold);
  background: var(--light-black);
  border: 2px solid var(--gold);
  border-bottom: none;
  margin-right: 5px;
  border-radius: 0.5rem 0.5rem 0 0;
  font-weight: 500;
  transition: var(--transition);
}

.nav-tabs-custom .nav-link:hover {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.1);
}

.nav-tabs-custom .nav-link.active {
  color: var(--dark-black);
  background: var(--gold);
  border-color: var(--gold);
}

.tab-content-custom {
  border: 2px solid var(--gold);
  border-top: none;
  padding: 1.5rem;
  background: var(--primary-black);
  border-radius: 0 0 0.5rem 0.5rem;
}

/* Table Styles */
.table {
  background: var(--primary-black);
  color: var(--gold);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.table th {
  background: var(--dark-black);
  color: var(--gold);
  border-color: var(--gold);
  font-weight: 600;
  padding: 0.75rem 0.5rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.table td {
  border-color: rgba(255, 215, 0, 0.3);
  color: var(--gold);
  padding: 0.75rem 0.5rem;
  font-size: 0.9rem;
  vertical-align: middle;
}

.table-striped > tbody > tr:nth-of-type(odd) > td {
  background: rgba(255, 215, 0, 0.1);
}

.amount-col {
  text-align: right;
  font-weight: 500;
}

.status-col .badge {
  min-width: 80px;
  text-align: center;
}

.notes-col {
  max-width: 250px;
  white-space: normal;
  word-wrap: break-word;
  font-size: 0.85rem;
  color: var(--accent-gold);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Transaction Type Icons */
.text-success {
  color: #28a745 !important;
}

.text-warning {
  color: #ffc107 !important;
}

.text-danger {
  color: #dc3545 !important;
}

.text-primary {
  color: #007bff !important;
}

.text-info {
  color: #17a2b8 !important;
}

.text-secondary {
  color: #6c757d !important;
}

/* Status Badges */
.badge {
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: 0.375rem;
  color: var(--dark-black) !important;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.2);
  text-shadow: none;
}

.bg-warning {
  background-color: #ffc107 !important;
  color: var(--dark-black) !important;
}

.bg-success {
  background-color: #28a745 !important;
  color: white !important;
}

.bg-secondary {
  background-color: #6c757d !important;
  color: white !important;
}

.bg-danger {
  background-color: #dc3545 !important;
  color: white !important;
}

.text-dark {
  color: #212529 !important;
}

/* Alert Styles */
.alert {
  border-radius: var(--border-radius);
  border: 2px solid;
}

.alert-light {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}

/* DataTables Custom Styles */
.dataTables_wrapper {
  color: var(--gold);
}

.dataTables_length label,
.dataTables_filter label {
  color: var(--gold);
  font-size: 0.9rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  font-weight: 500;
}

.dataTables_length select,
.dataTables_filter input {
  background: var(--light-black);
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: var(--border-radius-sm);
}

.dataTables_length select option,
.dataTables_filter input::placeholder {
  background: var(--light-black);
  color: rgba(255, 215, 0, 0.7);
}

.dataTables_info,
.dataTables_paginate {
  color: var(--gold);
  font-size: 0.9rem;
}

.page-item .page-link {
  background: var(--light-black);
  border-color: var(--gold);
  color: var(--gold);
  font-size: 0.9rem;
}

.page-item.active .page-link {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark-black);
}

.page-item .page-link:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: var(--accent-gold);
  color: var(--gold);
}

/* ===== BET HISTORY PAGE SPECIFIC STYLES ===== */
/* Summary Cards for Referrals/Bet History - Improved Spacing */
.summary-card-ref {
  background: var(--light-black);
  border: 2px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1.5rem;
  height: auto;
  min-height: 120px;
}

.summary-card-ref:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.summary-card-ref .card-body {
  padding: 1.25rem 1rem;
  color: var(--gold);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.summary-card-ref .summary-label {
  font-size: 0.75rem;
  color: rgba(255, 215, 0, 0.85);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.summary-card-ref .summary-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 10px var(--gold);
  margin-bottom: 0;
  line-height: 1.1;
}

/* Responsive improvements for bet history summary cards */
@media (max-width: 1199.98px) {
  .summary-card-ref .summary-label {
    font-size: 0.7rem;
  }

  .summary-card-ref .summary-value {
    font-size: 1.2rem;
  }

  .summary-card-ref .card-body {
    padding: 1rem 0.75rem;
  }
}

@media (max-width: 991.98px) {
  .summary-card-ref {
    margin-bottom: 1rem;
    min-height: 100px;
  }

  .summary-card-ref .summary-label {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .summary-card-ref .summary-value {
    font-size: 1.3rem;
  }
}

@media (max-width: 767.98px) {
  .summary-card-ref {
    margin-bottom: 1.25rem;
    min-height: 100px;
  }

  .summary-card-ref .card-body {
    padding: 1rem 0.75rem;
  }

  .summary-card-ref .summary-label {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
  }

  .summary-card-ref .summary-value {
    font-size: 1.2rem;
  }

  /* Better spacing for mobile */
  .bet-history-summary .row > [class*="col-"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-bottom: 1.25rem;
  }
}

/* Extra small screens (mobile phones in portrait) */
@media (max-width: 575.98px) {
  .bet-history-summary .row > [class*="col-"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-bottom: 1rem;
  }

  .summary-card-ref {
    min-height: 100px;
    margin-bottom: 1rem;
  }

  .summary-card-ref .card-body {
    padding: 1rem 0.75rem;
  }

  .summary-card-ref .summary-label {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }

  .summary-card-ref .summary-value {
    font-size: 1.1rem;
  }

  /* Stack cards 2 columns on very small screens with better spacing */
  .bet-history-summary .col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* Add more spacing between rows */
  .bet-history-summary .row {
    margin-bottom: 1rem;
  }
}

/* Additional spacing improvements for bet history summary grid */
.bet-history-summary .row {
  margin-left: -1rem;
  margin-right: -1rem;
  margin-bottom: 2rem;
}

.bet-history-summary .row > [class*="col-"] {
  padding-left: 1rem;
  padding-right: 1rem;
  margin-bottom: 1.5rem;
}

/* Better spacing for larger screens */
@media (min-width: 1200px) {
  .bet-history-summary .row {
    margin-left: -1rem;
    margin-right: -1rem;
  }

  .bet-history-summary .row > [class*="col-"] {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .summary-card-ref {
    min-height: 130px;
  }

  .summary-card-ref .summary-value {
    font-size: 1.5rem;
  }

  .summary-card-ref .summary-label {
    font-size: 0.8rem;
  }

  /* Force 3 cards per row on desktop */
  .bet-history-summary .col-lg-2 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

/* Medium to large screens - 3 cards per row */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .bet-history-summary .col-lg-2 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .bet-history-summary .row > [class*="col-"] {
    margin-bottom: 1.5rem;
  }
}

/* Medium screens - 2 cards per row */
@media (min-width: 768px) and (max-width: 991.98px) {
  .bet-history-summary .col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .bet-history-summary .row > [class*="col-"] {
    margin-bottom: 1.5rem;
  }
}

/* Improve text color contrast for summary cards */
.summary-card-ref .text-success {
  color: #28a745 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.summary-card-ref .text-danger {
  color: #dc3545 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.summary-card-ref .text-primary {
  color: #007bff !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.summary-card-ref .text-warning {
  color: #ffc107 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.summary-card-ref .text-info {
  color: #17a2b8 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* Bet History Table Styles */
.slip-header-row {
  background: rgba(255, 215, 0, 0.1) !important;
  border-top: 2px solid var(--gold);
  font-weight: 600;
}

.slip-header-row td {
  border-bottom: 1px solid var(--gold);
}

.slip-detail-row {
  background: rgba(255, 215, 0, 0.05) !important;
  font-size: 0.9rem;
}

.slip-detail-row td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px dotted rgba(255, 215, 0, 0.3);
}

/* Bet History Specific Sections */
.referral-link-section .card-header,
.how-it-works-section .card-header,
.reward-rate-section .card-header {
  background: var(--dark-black);
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}

.rate-value {
  font-size: 2rem;
  font-weight: bold;
  color: var(--gold);
  text-shadow: 0 0 15px var(--gold);
}

/* Content Cards for Transactions Page */
.content-card {
  background: var(--light-black);
  border: 2px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
  overflow: hidden;
}

.content-card .card-header {
  background: var(--dark-black);
  border-bottom: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 600;
  padding: 1rem 1.25rem;
}

.content-card .card-header h5 {
  margin: 0;
  color: var(--gold);
  font-size: 1.1rem;
}

.content-card .card-body {
  background: var(--primary-black);
  color: var(--gold);
  padding: 1.25rem;
}

/* Form elements for transactions page */
.filter-form .form-label {
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.filter-form .form-select,
.filter-form .form-control {
  background: var(--light-black);
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: 8px;
}

.filter-form .form-select:focus,
.filter-form .form-control:focus {
  background: var(--light-black);
  border-color: var(--accent-gold);
  color: var(--gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.filter-form .form-select option {
  background: var(--light-black);
  color: var(--gold);
}

/* Button styles for forms */
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--accent-gold));
  border: 2px solid var(--gold);
  color: var(--dark-black);
  font-weight: 600;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-gold), var(--gold));
  border-color: var(--accent-gold);
  color: var(--dark-black);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* Custom Date Range */
#customDateRange .form-control {
  background: var(--light-black);
  border: 2px solid var(--gold);
  color: var(--gold);
}

#customDateRange .form-control:focus {
  background: var(--light-black);
  border-color: var(--accent-gold);
  color: var(--gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Additional text contrast improvements with high specificity */
[data-pc-direction] .text-muted,
[data-pc-direction="ltr"] .text-muted,
[data-pc-direction="rtl"] .text-muted,
body .text-muted,
html .text-muted,
.gaming-container .text-muted,
.text-muted {
  color: rgba(255, 215, 0, 0.75) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

[data-pc-direction] .small,
[data-pc-direction="ltr"] .small,
[data-pc-direction="rtl"] .small,
body .small,
html .small,
.gaming-container .small,
.small,
[data-pc-direction] small,
[data-pc-direction="ltr"] small,
[data-pc-direction="rtl"] small,
body small,
html small,
.gaming-container small,
small {
  color: rgba(255, 215, 0, 0.8) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* Improve form label readability with high specificity */
[data-pc-direction] label,
[data-pc-direction="ltr"] label,
[data-pc-direction="rtl"] label,
body label,
html label,
.gaming-container label,
label,
[data-pc-direction] .form-label,
[data-pc-direction="ltr"] .form-label,
[data-pc-direction="rtl"] .form-label,
body .form-label,
html .form-label,
.gaming-container .form-label,
.form-label {
  color: var(--gold) !important;
  font-weight: 600 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* Alert text improvements with high specificity */
[data-pc-direction] .alert,
[data-pc-direction="ltr"] .alert,
[data-pc-direction="rtl"] .alert,
body .alert,
html .alert,
.gaming-container .alert,
.alert {
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6) !important;
}

.alert-warning {
  color: var(--dark-black) !important;
  text-shadow: none;
}

.alert-info {
  color: white !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.alert-danger {
  color: white !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.alert-success {
  color: white !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Modal text improvements */
.modal-body p,
.modal-body span,
.modal-body div {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* Table text readability */
.table td,
.table th {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* Card text improvements */
.card-body {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* Navigation text improvements */
.nav-link {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* Improve button text contrast */
.btn {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* Improve placeholder text */
input::placeholder,
textarea::placeholder,
select::placeholder {
  color: rgba(255, 215, 0, 0.6) !important;
}

/* Specific improvements for gold text on dark backgrounds */
.gaming-container .text-gold,
.gaming-container h1,
.gaming-container h2,
.gaming-container h3,
.gaming-container h4,
.gaming-container h5,
.gaming-container h6 {
  color: var(--gold);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Fix potential low contrast issues */
.dropdown-menu {
  background: var(--light-black);
  border: 2px solid var(--gold);
}

.dropdown-item {
  color: var(--gold);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.dropdown-item:hover {
  background: rgba(255, 215, 0, 0.2);
  color: var(--gold);
}

/* ===== BOOTSTRAP UTILITIES OVERRIDE FOR BETTER READABILITY ===== */
/* Override Bootstrap's text utilities with higher specificity to beat [data-pc-direction] */
[data-pc-direction] .text-muted,
[data-pc-direction="ltr"] .text-muted,
[data-pc-direction="rtl"] .text-muted,
body .text-muted,
html .text-muted,
.text-muted {
  color: rgba(255, 215, 0, 0.75) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

[data-pc-direction] .text-secondary,
[data-pc-direction="ltr"] .text-secondary,
[data-pc-direction="rtl"] .text-secondary,
body .text-secondary,
html .text-secondary,
.text-secondary {
  color: rgba(255, 215, 0, 0.8) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

[data-pc-direction] .text-light,
[data-pc-direction="ltr"] .text-light,
[data-pc-direction="rtl"] .text-light,
body .text-light,
html .text-light,
.text-light {
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

[data-pc-direction] .text-white,
[data-pc-direction="ltr"] .text-white,
[data-pc-direction="rtl"] .text-white,
body .text-white,
html .text-white,
.text-white {
  color: #ffffff !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

[data-pc-direction] .text-dark,
[data-pc-direction="ltr"] .text-dark,
[data-pc-direction="rtl"] .text-dark,
body .text-dark,
html .text-dark,
.text-dark {
  color: var(--dark-black) !important;
  text-shadow: none !important;
}

/* Override Bootstrap's background utilities */
.bg-light {
  background-color: var(--light-black) !important;
  color: var(--gold) !important;
}

.bg-white {
  background-color: rgba(255, 255, 255, 0.95) !important;
  color: var(--dark-black) !important;
}

.bg-secondary {
  background-color: var(--light-black) !important;
  color: var(--gold) !important;
}

/* Override Bootstrap's form utilities */
.form-text {
  color: rgba(255, 215, 0, 0.7) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.form-label {
  color: var(--gold) !important;
  font-weight: 600 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* Override Bootstrap's small text utilities */
[data-pc-direction] .small,
[data-pc-direction="ltr"] .small,
[data-pc-direction="rtl"] .small,
body .small,
html .small,
.small,
[data-pc-direction] small,
[data-pc-direction="ltr"] small,
[data-pc-direction="rtl"] small,
body small,
html small,
small {
  color: rgba(255, 215, 0, 0.8) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* Override Bootstrap's lead text */
.lead {
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* Override Bootstrap's blockquote */
.blockquote {
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.blockquote-footer {
  color: rgba(255, 215, 0, 0.7) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* Override Bootstrap's list utilities */
.list-group-item {
  background-color: var(--light-black) !important;
  color: var(--gold) !important;
  border-color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6) !important;
}

.list-group-item:hover {
  background-color: rgba(255, 215, 0, 0.1) !important;
  color: var(--gold) !important;
}

/* Override Bootstrap's card utilities */
.card {
  background-color: var(--light-black) !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

.card-header {
  background-color: var(--dark-black) !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.card-body {
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6) !important;
}

.card-footer {
  background-color: var(--dark-black) !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.card-title {
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.card-subtitle {
  color: rgba(255, 215, 0, 0.8) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.card-text {
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6) !important;
}

/* Override Bootstrap's modal utilities */
.modal-content {
  background-color: var(--light-black) !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

.modal-header {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.modal-body {
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6) !important;
}

.modal-footer {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.modal-title {
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* Override Bootstrap's pagination utilities */
.pagination .page-link {
  background-color: var(--light-black) !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6) !important;
}

.pagination .page-item.active .page-link {
  background-color: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--dark-black) !important;
  text-shadow: none !important;
}

/* Override Bootstrap's breadcrumb utilities */
.breadcrumb {
  background-color: var(--light-black) !important;
}

.breadcrumb-item {
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.breadcrumb-item.active {
  color: rgba(255, 215, 0, 0.7) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* Override Bootstrap's nav utilities */
.nav-link {
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6) !important;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--accent-gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.nav-link.active {
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* Override Bootstrap's navbar utilities */
.navbar-brand {
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.navbar-text {
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* Override Bootstrap's table utilities */
.table {
  color: var(--gold) !important;
}

.table th {
  color: var(--gold) !important;
  border-color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.table td {
  color: var(--gold) !important;
  border-color: rgba(255, 215, 0, 0.3) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6) !important;
}

.table-striped > tbody > tr:nth-of-type(odd) > td,
.table-striped > tbody > tr:nth-of-type(odd) > th {
  background-color: rgba(255, 215, 0, 0.1) !important;
}

/* Override Bootstrap's form control utilities */
.form-control {
  background-color: var(--light-black) !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

.form-control:focus {
  background-color: var(--light-black) !important;
  border-color: var(--accent-gold) !important;
  color: var(--gold) !important;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3) !important;
}

.form-control::placeholder {
  color: rgba(255, 215, 0, 0.6) !important;
}

.form-select {
  background-color: var(--light-black) !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

.form-select:focus {
  background-color: var(--light-black) !important;
  border-color: var(--accent-gold) !important;
  color: var(--gold) !important;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3) !important;
}

/* Override Bootstrap's alert utilities */
.alert {
  color: var(--gold) !important;
  border-color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6) !important;
}

.alert-primary {
  background-color: rgba(13, 110, 253, 0.2) !important;
  border-color: #0d6efd !important;
  color: #ffffff !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.alert-secondary {
  background-color: var(--light-black) !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.alert-success {
  background-color: rgba(25, 135, 84, 0.2) !important;
  border-color: #198754 !important;
  color: #ffffff !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.alert-danger {
  background-color: rgba(220, 53, 69, 0.2) !important;
  border-color: #dc3545 !important;
  color: #ffffff !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.alert-warning {
  background-color: rgba(255, 193, 7, 0.9) !important;
  border-color: #ffc107 !important;
  color: var(--dark-black) !important;
  text-shadow: none !important;
}

.alert-info {
  background-color: rgba(13, 202, 240, 0.2) !important;
  border-color: #0dcaf0 !important;
  color: #ffffff !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.alert-light {
  background-color: var(--light-black) !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.alert-dark {
  background-color: var(--dark-black) !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* ===== NUCLEAR OPTION: FORCE OVERRIDE ALL TEXT WITH MAXIMUM SPECIFICITY ===== */
/* This will beat any Bootstrap selector including [data-pc-direction] */
html body .gaming-container *[class*="text-muted"],
html body .gaming-container .text-muted,
html body [data-pc-direction] .text-muted,
html body [data-pc-direction="ltr"] .text-muted,
html body [data-pc-direction="rtl"] .text-muted {
  color: rgba(255, 215, 0, 0.75) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

html body .gaming-container *[class*="text-secondary"],
html body .gaming-container .text-secondary,
html body [data-pc-direction] .text-secondary,
html body [data-pc-direction="ltr"] .text-secondary,
html body [data-pc-direction="rtl"] .text-secondary {
  color: rgba(255, 215, 0, 0.8) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

html body .gaming-container *[class*="small"],
html body .gaming-container .small,
html body .gaming-container small,
html body [data-pc-direction] .small,
html body [data-pc-direction="ltr"] .small,
html body [data-pc-direction="rtl"] .small,
html body [data-pc-direction] small,
html body [data-pc-direction="ltr"] small,
html body [data-pc-direction="rtl"] small {
  color: rgba(255, 215, 0, 0.8) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

html body .gaming-container *[class*="text-light"],
html body .gaming-container .text-light,
html body [data-pc-direction] .text-light,
html body [data-pc-direction="ltr"] .text-light,
html body [data-pc-direction="rtl"] .text-light {
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* Force override for form elements */
html body .gaming-container .form-label,
html body .gaming-container label,
html body [data-pc-direction] .form-label,
html body [data-pc-direction="ltr"] .form-label,
html body [data-pc-direction="rtl"] .form-label,
html body [data-pc-direction] label,
html body [data-pc-direction="ltr"] label,
html body [data-pc-direction="rtl"] label {
  color: var(--gold) !important;
  font-weight: 600 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* Force override for alerts */
html body .gaming-container .alert,
html body [data-pc-direction] .alert,
html body [data-pc-direction="ltr"] .alert,
html body [data-pc-direction="rtl"] .alert {
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6) !important;
}

/* Results Page Specific Styles */
.latest-result-section {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  backdrop-filter: blur(10px);
}

.latest-result-section h5 {
  margin-bottom: 1.5rem;
  color: var(--gold) !important;
  font-weight: 600;
  font-size: 1.3em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.latest-result-section .result-box {
  padding: 15px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.3);
  margin-bottom: 10px;
  min-width: 100px;
  box-shadow: 0 2px 15px rgba(255, 215, 0, 0.2);
}

.latest-result-section .result-label {
  font-size: 0.9em;
  color: rgba(255, 215, 0, 0.8) !important;
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.latest-result-section .result-number {
  font-size: 3em;
  font-weight: bold;
  line-height: 1;
  display: block;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.latest-result-section .draw-info {
  font-size: 1em;
  color: var(--gold) !important;
  margin-top: 1.5rem;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.4);
  padding: 5px 15px;
  border-radius: 5px;
  display: inline-block;
  border: 1px solid rgba(255, 215, 0, 0.3);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.latest-result-section .draw-info i {
  margin-right: 5px;
  color: var(--gold) !important;
}

.history-section {
  border-top: 1px solid rgba(255, 215, 0, 0.3);
  padding-top: 2rem;
  margin-top: 2rem;
}

.history-section h5 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--gold) !important;
  font-weight: 600;
  font-size: 1.2em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.results-table th,
.results-table td {
  font-size: 0.95em;
  padding: 0.6rem;
  text-align: center;
  vertical-align: middle;
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.results-table thead th {
  background: rgba(0, 0, 0, 0.7) !important;
  font-weight: 600;
  color: var(--gold) !important;
  border: 1px solid rgba(255, 215, 0, 0.3) !important;
}

.results-table tbody tr {
  background: rgba(0, 0, 0, 0.4) !important;
}

.results-table tbody tr:hover {
  background: rgba(255, 215, 0, 0.1) !important;
  cursor: default;
}

.results-table tbody td {
  border: 1px solid rgba(255, 215, 0, 0.2) !important;
}

/* Responsive adjustments for results */
@media (max-width: 767px) {
  .latest-result-section .result-number {
    font-size: 2.5em;
  }
  .latest-result-section .row > .col-auto {
    flex-basis: 48%;
    max-width: 48%;
  }
}

@media (max-width: 575px) {
  .latest-result-section .row > .col-auto {
    flex-basis: 100%;
    max-width: 100%;
  }
  .latest-result-section .result-number {
    font-size: 2.2em;
  }
  .latest-result-section h5 {
    font-size: 1.15em;
  }
  .history-section h5 {
    font-size: 1.1em;
  }
}

/* Promotion page specific styles */
.promotion-card {
  background: linear-gradient(
    135deg,
    var(--light-black) 0%,
    var(--primary-black) 100%
  );
  border: 1px solid var(--gold);
  border-radius: 15px;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  color: var(--gold);
}

.promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.promotion-card.available {
  border: 2px solid var(--gold);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.promotion-highlights {
  margin: 15px 0;
}

.highlight-box {
  background: linear-gradient(135deg, var(--gold) 0%, var(--accent-gold) 100%);
  color: var(--dark-black);
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
  margin: 0 5px;
}

.highlight-value {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 2px;
}

.highlight-label {
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 500;
}

/* Contact page specific styles */
.contact-card {
  background: linear-gradient(
    135deg,
    var(--light-black) 0%,
    var(--primary-black) 100%
  );
  border: 1px solid var(--gold);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  margin-bottom: 15px;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.contact-icon.line {
  background: linear-gradient(135deg, #00c300, #00a300);
}

.contact-icon.telegram {
  background: linear-gradient(135deg, #0088cc, #006699);
}

.contact-icon.facebook {
  background: linear-gradient(135deg, #4267b2, #365899);
}

.contact-icon.phone {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.contact-icon.email {
  background: linear-gradient(135deg, #ea4335, #d33b2c);
}

.contact-info {
  flex: 1;
  color: var(--gold);
}

.contact-info h6 {
  margin: 0 0 5px 0;
  font-weight: 600;
  color: var(--gold);
}

.contact-id {
  margin: 0 0 10px 0;
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--accent-gold);
  word-break: break-all;
}

.working-hours-card {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(
    135deg,
    var(--light-black) 0%,
    var(--primary-black) 100%
  );
  border: 2px solid var(--gold);
  border-radius: 20px;
}

.hours-icon {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 15px;
}

.working-hours-card h4 {
  color: var(--gold) !important;
  font-weight: bold;
  margin-bottom: 10px;
}

.working-hours-card p {
  color: var(--accent-gold);
}

/* FAQ Accordion styling */
.accordion-item {
  background: transparent;
  border: 1px solid var(--gold);
  margin-bottom: 10px;
  border-radius: 10px !important;
  overflow: hidden;
}

.accordion-button {
  background: linear-gradient(
    135deg,
    var(--light-black) 0%,
    var(--primary-black) 100%
  );
  color: var(--gold);
  border: none;
  font-weight: 500;
  padding: 15px 20px;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--gold) 0%, var(--accent-gold) 100%);
  color: var(--dark-black);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--gold);
}

.accordion-button::after {
  background-image: none;
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  transform: none;
  transition: transform 0.2s ease-in-out;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.accordion-body {
  background: var(--primary-black);
  color: var(--gold);
  border-top: 1px solid var(--gold);
  padding: 20px;
}

.accordion-body p {
  margin-bottom: 8px;
  padding-left: 10px;
  border-left: 2px solid var(--gold);
  color: var(--accent-gold);
}

/* Lottery Betting Page Specific Styles */
.lottery-selection-section .card-header,
.betting-form-section .card-header {
  background: var(--dark-black);
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}

.betting-form-section {
  background: var(--light-black);
  border: 2px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.betting-form-section .form-label {
  color: var(--gold);
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.betting-form-section .form-control,
.betting-form-section .form-select {
  background: var(--light-black);
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: 8px;
}

.betting-form-section .form-control:focus,
.betting-form-section .form-select:focus {
  background: var(--light-black);
  border-color: var(--accent-gold);
  color: var(--gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.betting-form-section .form-control::placeholder {
  color: rgba(255, 215, 0, 0.6);
}

.betting-form-section .form-text {
  color: rgba(255, 215, 0, 0.7);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.betting-summary {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 15px;
}

.betting-summary .alert {
  background: rgba(13, 202, 240, 0.2);
  border-color: #0dcaf0;
  color: var(--gold);
  margin-bottom: 0;
}

.betting-tips-list {
  list-style: none;
  padding-left: 0;
}

.betting-tips-list li {
  padding: 5px 0;
  color: var(--gold);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  border-bottom: 1px dotted rgba(255, 215, 0, 0.3);
}

.betting-tips-list li:last-child {
  border-bottom: none;
}

.betting-tips-list strong {
  color: var(--accent-gold);
}

/* Lottery Grid for Betting Page */
.lottery-selection-section .lottery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  padding: 15px 0;
}

.lottery-selection-section .lottery-card {
  background: linear-gradient(135deg, var(--primary-black), var(--light-black));
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 2px solid var(--gold);
  min-height: 180px;
}

.lottery-selection-section .lottery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.4);
  border-color: var(--accent-gold);
}

.lottery-selection-section .lottery-card .lottery-img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  background: var(--dark-black);
  padding: 10px;
  display: block;
  border-radius: 15px 15px 0 0;
  transition: all 0.4s ease;
}

.lottery-selection-section .lottery-card:hover .lottery-img {
  background: var(--primary-black);
  transform: scale(1.05);
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.6);
}

.lottery-selection-section .lottery-overlay {
  padding: 15px 10px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-black), var(--light-black));
}

.lottery-selection-section .lottery-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
  line-height: 1.3;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.lottery-selection-section .lottery-status-text {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 80px;
  background: linear-gradient(135deg, var(--gold), var(--accent-gold));
  color: var(--dark-black);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
}

.lottery-selection-section .lottery-card:hover .lottery-status-text {
  background: linear-gradient(135deg, var(--accent-gold), var(--gold));
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
}

/* Responsive adjustments for betting lottery grid */
@media (max-width: 768px) {
  .lottery-selection-section .lottery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
  }

  .lottery-selection-section .lottery-card {
    min-height: 160px;
  }

  .lottery-selection-section .lottery-img {
    height: 85px;
    padding: 8px;
  }

  .lottery-selection-section .lottery-overlay {
    padding: 12px 8px;
  }

  .lottery-selection-section .lottery-name {
    font-size: 12px;
    min-height: 28px;
  }

  .lottery-selection-section .lottery-status-text {
    font-size: 9px;
    padding: 4px 10px;
    min-width: 70px;
  }
}

@media (max-width: 576px) {
  .lottery-selection-section .lottery-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
  }

  .lottery-selection-section .lottery-card {
    min-height: 140px;
  }

  .lottery-selection-section .lottery-img {
    height: 75px;
    padding: 6px;
  }

  .lottery-selection-section .lottery-overlay {
    padding: 10px 6px;
  }

  .lottery-selection-section .lottery-name {
    font-size: 11px;
    min-height: 24px;
  }

  .lottery-selection-section .lottery-status-text {
    font-size: 8px;
    padding: 3px 8px;
    min-width: 60px;
  }
}

/* Profile page specific styles */
.profile-section {
  background: linear-gradient(
    135deg,
    var(--light-black) 0%,
    var(--primary-black) 100%
  );
  border: 1px solid var(--gold);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

.profile-section .form-label {
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 8px;
}

.profile-section .form-control,
.profile-section .form-select {
  background: var(--light-black);
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 8px;
}

.profile-section .form-control:focus,
.profile-section .form-select:focus {
  background: var(--light-black);
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
  color: var(--gold);
}

.profile-section .form-control:disabled,
.profile-section .form-control[readonly] {
  background: var(--dark-black);
  border-color: rgba(255, 215, 0, 0.3);
  color: var(--accent-gold);
  opacity: 0.7;
}

.img-preview {
  max-width: 150px;
  max-height: 150px;
  margin-top: 10px;
  margin-bottom: 10px;
  display: block;
  background: var(--light-black);
  border: 2px solid var(--gold);
  object-fit: cover;
  border-radius: 50%;
}

.img-preview.hidden {
  display: none;
}

.payment-info-section {
  border-top: 2px solid var(--gold);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.payment-info-section h5 {
  margin-bottom: 1rem;
  color: var(--gold);
  font-weight: 600;
}

.payment-info-section .text-muted {
  color: var(--accent-gold) !important;
}

.referral-section {
  background: linear-gradient(135deg, var(--gold) 0%, var(--accent-gold) 100%);
  color: var(--dark-black);
  padding: 15px;
  border-radius: 10px;
  margin: 15px 0;
}

.referral-section .form-control {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--dark-black);
}

.referral-section .btn-outline-secondary {
  border-color: var(--dark-black);
  color: var(--dark-black);
}

.referral-section .btn-outline-secondary:hover {
  background: var(--dark-black);
  border-color: var(--dark-black);
  color: var(--gold);
}

/* Lottery Categories Styles */
.lottery-category-section {
  margin-bottom: 30px;
}

.lottery-category-header {
  color: var(--gold);
  font-weight: 800;
  font-size: 1.4em;
  margin-bottom: 25px;
  text-align: center;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
  padding: 20px 15px;
  background: linear-gradient(
    135deg,
    var(--dark-black) 0%,
    var(--primary-black) 50%,
    var(--light-black) 100%
  );
  border-radius: 18px;
  border: 3px solid var(--gold);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4),
    inset 0 1px 0 rgba(255, 215, 0, 0.2);
  position: relative;
  letter-spacing: 1px;
}

.lottery-category-header::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--gold),
    var(--accent-gold),
    var(--gold)
  );
  border-radius: 20px;
  z-index: -1;
  animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
  0% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
  }
}

.lottery-category-header i {
  margin-right: 10px;
  font-size: 1.2em;
  animation: glow-pulse 2s ease-in-out infinite alternate;
}

.lotto-image-item {
  padding: 8px;
  margin-bottom: 16px;
}

.lotto-image-link {
  display: block;
  text-decoration: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.25);
  border: 3px solid var(--gold);
  background: linear-gradient(
    135deg,
    var(--light-black) 0%,
    var(--primary-black) 100%
  );
  position: relative;
  aspect-ratio: 1.2;
}

.lotto-image-link:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.5);
  border-color: var(--accent-gold);
  text-decoration: none;
}

.lotto-image-link:active {
  transform: translateY(-5px) scale(1.02);
}

.lotto-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--primary-black);
  transition: all 0.3s ease;
}

.lotto-image-link:hover .lotto-img {
  filter: brightness(1.1) contrast(1.1);
}

.lotto-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(13, 13, 13, 0.95) 0%,
    rgba(26, 26, 26, 0.85) 40%,
    rgba(45, 45, 45, 0.3) 70%,
    transparent 100%
  );
  color: var(--gold);
  padding: 20px 12px 12px;
  text-align: center;
}

.lotto-name-on-card {
  font-weight: 700;
  font-size: 1em;
  display: block;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
  line-height: 1.3;
  color: var(--accent-gold);
  letter-spacing: 0.5px;
}

.lotto-status-container {
  font-size: 0.85em;
  opacity: 1;
}

.lotto-status-text {
  color: var(--gold);
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  background: rgba(255, 215, 0, 0.15);
  padding: 4px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  display: inline-block;
}

.lotto-countdown {
  display: block;
  font-size: 0.75em;
  color: rgba(255, 237, 78, 0.9);
  margin-top: 4px;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.lottery-error-placeholder {
  text-align: center;
  padding: 40px 20px;
  background: var(--light-black);
  border-radius: 12px;
  border: 2px solid var(--gold);
  margin: 20px 0;
}

.lottery-error-placeholder i {
  font-size: 3em;
  color: var(--gold);
  margin-bottom: 15px;
  animation: glow-pulse 2s ease-in-out infinite alternate;
}

.lottery-error-placeholder p {
  color: var(--gold);
  font-size: 1.1em;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .lotto-image-item {
    padding: 6px;
    margin-bottom: 12px;
  }

  .lotto-image-link {
    border-width: 2px;
    border-radius: 12px;
    aspect-ratio: 1.1;
  }

  .lottery-category-header {
    font-size: 1.2em;
    padding: 15px 12px;
    margin-bottom: 20px;
    border-width: 2px;
    border-radius: 15px;
  }

  .lottery-category-header::before {
    border-radius: 17px;
  }

  .lotto-name-on-card {
    font-size: 0.9em;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
  }

  .lotto-card-overlay {
    padding: 15px 8px 8px;
  }

  .lotto-status-text {
    font-size: 0.8em;
    padding: 3px 6px;
  }

  .lotto-countdown {
    font-size: 0.7em;
    margin-top: 3px;
  }

  .gaming-container {
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    min-height: 100vh;
  }
}

@media (max-width: 480px) {
  .lottery-category-header {
    font-size: 1.1em;
    padding: 12px 10px;
    margin-bottom: 18px;
  }

  .lottery-category-header i {
    font-size: 1.1em;
    margin-right: 8px;
  }

  .lotto-name-on-card {
    font-size: 0.85em;
    line-height: 1.2;
  }
}

/* ========= Gaming Modal Styles ========= */
.gaming-modal-content {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--primary-black) 0%,
    var(--light-black) 100%
  );
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
  border: 2px solid var(--gold);
}

.gaming-modal-header {
  background: linear-gradient(
    135deg,
    var(--dark-black) 0%,
    var(--primary-black) 100%
  );
  border-bottom: 3px solid var(--gold);
  padding: 1.5rem;
  position: relative;
}

.gaming-modal-header .modal-title {
  color: var(--gold);
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.gaming-modal-header .gaming-icon {
  color: var(--accent-gold);
  text-shadow: 0 0 10px rgba(255, 237, 78, 0.5);
}

.gaming-modal-header .gaming-text-muted {
  color: rgba(255, 215, 0, 0.7);
}

.gaming-btn-close {
  filter: brightness(0) saturate(100%) invert(77%) sepia(76%) saturate(2476%)
    hue-rotate(38deg) brightness(103%) contrast(103%);
  opacity: 0.8;
}

.gaming-btn-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.gaming-modal-body {
  background: var(--light-black);
  color: var(--gold);
}

.gaming-section-title {
  color: var(--gold);
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
  margin-bottom: 15px;
}

.gaming-section-title i {
  color: var(--accent-gold);
  text-shadow: 0 0 10px rgba(255, 237, 78, 0.5);
}

/* Gaming Form Controls */
.gaming-form-label {
  color: var(--gold);
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.gaming-form-control {
  background: var(--primary-black);
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: 8px;
  font-weight: 500;
}

.gaming-form-control:focus {
  background: var(--primary-black);
  border-color: var(--accent-gold);
  color: var(--gold);
  box-shadow: 0 0 0 0.25rem rgba(255, 237, 78, 0.25);
}

.gaming-form-control::placeholder {
  color: rgba(255, 215, 0, 0.5);
}

/* Gaming Buttons */
.gaming-btn {
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.gaming-btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--accent-gold) 100%);
  color: var(--primary-black);
  border-color: var(--gold);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.gaming-btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--gold) 100%);
  color: var(--primary-black);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.gaming-btn-primary:disabled {
  background: #6c757d;
  color: #ffffff;
  border-color: #6c757d;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.6;
}

.gaming-btn-accent {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--gold) 100%);
  color: var(--primary-black);
  border-color: var(--accent-gold);
  box-shadow: 0 4px 15px rgba(255, 237, 78, 0.3);
}

.gaming-btn-accent:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--accent-gold) 100%);
  color: var(--primary-black);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 237, 78, 0.4);
}

.gaming-btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.gaming-btn-outline:hover {
  background: var(--gold);
  color: var(--primary-black);
  border-color: var(--gold);
}

/* Gaming Table */
.gaming-table {
  background: var(--primary-black);
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 10px;
  overflow: hidden;
}

.gaming-table-header {
  background: linear-gradient(
    135deg,
    var(--dark-black) 0%,
    var(--primary-black) 100%
  );
  border-bottom: 2px solid var(--gold);
}

.gaming-table-header th {
  color: var(--gold);
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  border-color: var(--gold);
  padding: 12px 8px;
}

.gaming-table-body td {
  border-color: rgba(255, 215, 0, 0.3);
  color: var(--gold);
  padding: 10px 8px;
}

.gaming-cart-table-wrapper {
  max-height: 40vh;
  overflow-y: auto;
  border: 2px solid var(--gold);
  border-radius: 10px;
  background: var(--primary-black);
}

.gaming-cart-table-wrapper::-webkit-scrollbar {
  width: 8px;
}

.gaming-cart-table-wrapper::-webkit-scrollbar-track {
  background: var(--primary-black);
}

.gaming-cart-table-wrapper::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

.gaming-cart-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Gaming Alerts */
.gaming-alert {
  border-radius: 8px;
  font-weight: 500;
  border-width: 2px;
}

.gaming-alert-danger {
  background: rgba(220, 53, 69, 0.1);
  border-color: #dc3545;
  color: #dc3545;
}

.gaming-alert-success {
  background: rgba(25, 135, 84, 0.1);
  border-color: #198754;
  color: #198754;
}

/* Gaming Text Colors */
.gaming-text-muted {
  color: rgba(255, 215, 0, 0.6);
}

.gaming-text-success {
  color: #28a745;
}

.gaming-text-danger {
  color: #dc3545;
}

.gaming-text-info {
  color: var(--accent-gold);
}

/* Gaming Modal Footer */
.gaming-modal-footer {
  background: linear-gradient(
    135deg,
    var(--primary-black) 0%,
    var(--dark-black) 100%
  );
  border-top: 2px solid var(--gold);
  padding: 1.5rem;
}

.gaming-summary-section {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 15px;
}

.gaming-summary-item {
  background: var(--primary-black);
  border: 1px solid var(--gold);
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gaming-summary-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  border-color: var(--accent-gold);
}

.gaming-summary-item .summary-label {
  color: rgba(255, 215, 0, 0.8);
  font-size: 0.85em;
  font-weight: 500;
}

.gaming-summary-item .summary-value {
  color: var(--gold);
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.gaming-summary-danger {
  border-color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
}

.gaming-summary-danger .summary-value {
  color: #dc3545;
}

.gaming-summary-info {
  border-color: var(--accent-gold);
  background: rgba(255, 237, 78, 0.1);
}

.gaming-summary-info .summary-value {
  color: var(--accent-gold);
}

.gaming-balance-info {
  color: var(--gold);
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Gaming Bet Input Section */
.gaming-bet-input-section {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 20px;
}

/* Gaming Quick Bet Section */
.gaming-quick-bet-section {
  background: rgba(255, 237, 78, 0.05);
  border: 1px solid var(--accent-gold);
  border-radius: 10px;
  padding: 20px;
}

/* Gaming Bulk Price Section */
.gaming-bulk-price-section {
  background: rgba(255, 215, 0, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  padding: 20px;
}

/* Gaming Loading/Error Placeholders */
.gaming-error-placeholder {
  background: var(--primary-black);
  border: 2px solid #dc3545;
  border-radius: 10px;
  color: #dc3545;
  padding: 30px;
}

.gaming-loading-placeholder {
  background: var(--primary-black);
  border: 2px solid var(--gold);
  border-radius: 10px;
  color: var(--gold);
  padding: 30px;
}

.gaming-spinner {
  border-color: var(--gold);
  border-right-color: transparent;
}

/* Mobile Responsive for Gaming Modal */
@media (max-width: 768px) {
  .gaming-modal-header {
    padding: 1rem;
  }

  .gaming-modal-body {
    padding: 1rem;
  }

  .gaming-modal-footer {
    padding: 1rem;
  }

  .gaming-summary-item {
    margin-bottom: 10px;
  }

  .gaming-summary-item .summary-value {
    font-size: 1.1rem !important;
  }
}

/* ========= Gaming SweetAlert2 Styles ========= */
.swal2-popup.gaming-swal {
  background: linear-gradient(
    135deg,
    var(--primary-black) 0%,
    var(--light-black) 100%
  ) !important;
  border: 3px solid var(--gold) !important;
  border-radius: 15px !important;
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.4) !important;
  color: var(--gold) !important;
  font-family: "Noto Sans Thai", sans-serif !important;
}

.swal2-popup.gaming-swal .swal2-title {
  color: var(--gold) !important;
  font-weight: 600 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
  border-bottom: 2px solid var(--gold) !important;
  padding-bottom: 10px !important;
  margin-bottom: 20px !important;
}

.swal2-popup.gaming-swal .swal2-html-container {
  color: var(--gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.swal2-popup.gaming-swal .swal2-icon {
  border: 3px solid var(--gold) !important;
  background: var(--primary-black) !important;
}

.swal2-popup.gaming-swal .swal2-icon.swal2-question {
  border-color: var(--accent-gold) !important;
  color: var(--accent-gold) !important;
}

.swal2-popup.gaming-swal .swal2-icon.swal2-question::before,
.swal2-popup.gaming-swal .swal2-icon.swal2-question::after {
  color: var(--accent-gold) !important;
}

.swal2-popup.gaming-swal .swal2-confirm {
  background: linear-gradient(
    135deg,
    var(--gold) 0%,
    var(--accent-gold) 100%
  ) !important;
  color: var(--primary-black) !important;
  border: 2px solid var(--gold) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.swal2-popup.gaming-swal .swal2-confirm:hover {
  background: linear-gradient(
    135deg,
    var(--accent-gold) 0%,
    var(--gold) 100%
  ) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4) !important;
}

.swal2-popup.gaming-swal .swal2-cancel {
  background: transparent !important;
  color: #dc3545 !important;
  border: 2px solid #dc3545 !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.swal2-popup.gaming-swal .swal2-cancel:hover {
  background: #dc3545 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3) !important;
}

.swal2-popup.gaming-swal .swal2-actions {
  margin-top: 25px !important;
  gap: 15px !important;
}

.swal2-popup.gaming-swal .swal2-styled {
  padding: 12px 24px !important;
  font-size: 16px !important;
  min-width: 120px !important;
}

/* Gaming SweetAlert2 Container */
.swal2-container.gaming-swal-container {
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(5px) !important;
  z-index: 10000 !important;
}

/* Gaming SweetAlert2 Success Styles */
.swal2-popup.gaming-swal .swal2-icon.swal2-success {
  border-color: #28a745 !important;
  background: var(--primary-black) !important;
}

.swal2-popup.gaming-swal .swal2-icon.swal2-success .swal2-success-ring {
  border-color: #28a745 !important;
}

.swal2-popup.gaming-swal .swal2-icon.swal2-success .swal2-success-fix {
  background-color: var(--primary-black) !important;
}

.swal2-popup.gaming-swal
  .swal2-icon.swal2-success
  [class^="swal2-success-line"] {
  background-color: #28a745 !important;
}

/* Gaming SweetAlert2 Error Styles */
.swal2-popup.gaming-swal .swal2-icon.swal2-error {
  border-color: #dc3545 !important;
  background: var(--primary-black) !important;
}

.swal2-popup.gaming-swal .swal2-icon.swal2-error .swal2-x-mark {
  background-color: var(--primary-black) !important;
}

.swal2-popup.gaming-swal .swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
  background-color: #dc3545 !important;
}

/* Gaming SweetAlert2 Warning Styles */
.swal2-popup.gaming-swal .swal2-icon.swal2-warning {
  border-color: #ffc107 !important;
  color: #ffc107 !important;
  background: var(--primary-black) !important;
}

/* Gaming SweetAlert2 Info Styles */
.swal2-popup.gaming-swal .swal2-icon.swal2-info {
  border-color: var(--accent-gold) !important;
  color: var(--accent-gold) !important;
  background: var(--primary-black) !important;
}

.multi-bet-modal-high-z {
  z-index: 10000;
}

.quick-bet-target-hidden {
  display: none;
}

.bulk-price-hidden {
  display: none;
}
/* Main Body Scrollbar */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
  background: var(--primary-black);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  background: #ffffff !important;
  border-radius: 4px;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
  background: #e0e0e0 !important;
}

/* Mobile Scrollbar */
@media (max-width: 768px) {
  /* Main Body Scrollbar */
  html::-webkit-scrollbar,
  body::-webkit-scrollbar,
  *::-webkit-scrollbar {
    width: 8px;
  }

  html::-webkit-scrollbar-track,
  body::-webkit-scrollbar-track,
  *::-webkit-scrollbar-track {
    background: var(--primary-black);
  }

  html::-webkit-scrollbar-thumb,
  body::-webkit-scrollbar-thumb,
  *::-webkit-scrollbar-thumb {
    background: #ffffff !important;
    border-radius: 4px;
  }

  html::-webkit-scrollbar-thumb:hover,
  body::-webkit-scrollbar-thumb:hover,
  *::-webkit-scrollbar-thumb:hover {
    background: #e0e0e0 !important;
  }
}
/* Universal Scrollbar for all browsers */
* {
    scrollbar-width: thin;
    scrollbar-color: #ffffff var(--primary-black);
}