:root {
  --primary-gold: #ffc107;
  --primary-yellow: #ffd700;
  --dark-bg: #121212;
  --darker-bg: #0a0a0a;
  --card-bg: #1e1e1e;
  --text-muted: #b0b0b0;
}

body {
  background-color: var(--dark-bg);
  font-family: "Noto Sans Thai", sans-serif;
  color: #e0e0e0;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

/* Custom Utilities */
.text-warning {
  color: var(--primary-yellow) !important;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.bg-dark-custom {
  background-color: var(--darker-bg);
  border-bottom: 1px solid #333;
}

.logo-icon {
  width: 35px;
  height: 35px;
  background-color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.logo-icon-lg {
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
}

/* Custom Buttons */
.btn-gradient-gold {
  background: linear-gradient(135deg, #ffd700 0%, #ffa000 100%);
  border: none;
  color: #000;
  box-shadow:
    0 4px 15px rgba(255, 215, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-gradient-gold::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffc107 0%, #ff6f00 100%);
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.btn-gradient-gold:hover::before {
  opacity: 1;
}

.btn-gradient-gold:hover {
  color: #000;
  transform: translateY(-2px);
  box-shadow:
    0 6px 20px rgba(255, 215, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-outline-gold {
  background: transparent;
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
  font-weight: 600;
  transition: all 0.3s;
}

.btn-outline-gold:hover {
  background: var(--primary-gold);
  color: #000;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* Header */
.top-bar-info {
  font-size: 0.9rem;
}

/* Hero Banner */
.hero-banner-wrapper {
  width: 100%;
  border-bottom: 3px solid var(--primary-gold);
}

/* Main Content */
.main-content-wrapper {
  background-color: #1e1e1e;
}

/* Action Cards */
.action-card {
  background-color: var(--card-bg);
  border: 1px solid #333;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.action-card:hover {
  transform: translateY(-5px);
  background-color: #252525;
  border-color: var(--primary-gold);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(255, 215, 0, 0.1);
}

.icon-box {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Gradients for Icons */
.bg-success-gradient {
  background: linear-gradient(135deg, #00b09b, #96c93d);
}
.bg-purple-gradient {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
}
.bg-blue-gradient {
  background: linear-gradient(135deg, #2193b0, #6dd5ed);
}
.bg-gold-gradient {
  background: linear-gradient(135deg, #f12711, #f5af19);
} /* Actually Orange/Gold */
.bg-red-gradient {
  background: linear-gradient(135deg, #cb2d3e, #ef473a);
}
.bg-silver-gradient {
  background: linear-gradient(135deg, #bdc3c7, #2c3e50);
}

/* Game Cards */
.game-card {
  border: 1px solid #333;
  transition: transform 0.2s;
  cursor: pointer;
}

.game-card:hover {
  transform: scale(1.03);
  border-color: var(--primary-gold);
}

.game-label {
  font-size: 0.85rem;
}

/* Footer Links */
.footer-links {
  background-color: #000;
}

.footer-card {
  cursor: pointer;
  border: 1px solid #333;
  transition: all 0.3s;
}

.footer-card h4 {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .footer-card h4 {
    font-size: 0.9rem;
  }
}

.footer-card:hover {
  border-color: var(--primary-gold);
}

.footer-card img {
  transition: opacity 0.3s;
}

.footer-card:hover img {
  opacity: 0.3;
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.game-page-wrapper {
  background: #151515;
}

.game-panel {
  background: #1b1b1b;
  border: 1px solid #2c2c2c;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.game-panel-title {
  font-weight: 700;
  color: #f1f1f1;
}

.game-search .form-control {
  background: #0f0f0f;
  border: 1px solid #2f2f2f;
  color: #e8e8e8;
}

.game-search .form-control:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.2);
}

.category-menu {
  display: grid;
  gap: 10px;
}

.category-item {
  background: #111;
  border: 1px solid #2a2a2a;
  color: #d5d5d5;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  text-align: left;
  transition: all 0.2s ease;
}

.category-item:hover {
  border-color: var(--primary-gold);
  color: #fff;
}

.transaction-wrapper {
  background: #151515;
}

.transaction-card {
  background: #1b1b1b;
  border: 1px solid #2c2c2c;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.transaction-title {
  font-weight: 700;
  color: #f1f1f1;
}

.form-dark .form-control,
.form-dark .form-select {
  background: #101010;
  border: 1px solid #2a2a2a;
  color: #e6e6e6;
}

.form-dark .form-control:focus,
.form-dark .form-select:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.2);
}

.amount-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.amount-chip {
  background: #111;
  border: 1px solid #2a2a2a;
  color: #d8d8d8;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.amount-chip.active {
  background: linear-gradient(135deg, #ffd46a 0%, #ffb742 100%);
  color: #1a1a1a;
  border-color: transparent;
}

.bank-list {
  display: grid;
  gap: 10px;
}

.bank-item {
  background: #101010;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #d8d8d8;
}

.bank-item span {
  font-weight: 600;
}

.bank-item small {
  color: #a7a7a7;
}

.auth-wrapper {
  background: #151515;
  min-height: calc(100vh - 160px);
}

.auth-card {
  background: #1b1b1b;
  border: 1px solid #2c2c2c;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

.auth-tabs .nav-link {
  color: #cfcfcf;
  border: 1px solid #2a2a2a;
  margin-right: 8px;
  border-radius: 999px;
  padding: 8px 20px;
  font-weight: 600;
}

.auth-tabs .nav-link.active {
  background: linear-gradient(135deg, #ffd46a 0%, #ffb742 100%);
  color: #1a1a1a;
  border-color: transparent;
}

.auth-divider {
  height: 1px;
  background: #2a2a2a;
  margin: 20px 0;
}

.category-item.active {
  background: linear-gradient(135deg, #ffd46a 0%, #ffb742 100%);
  border-color: transparent;
  color: #1a1a1a;
}

.provider-list {
  display: grid;
  gap: 8px;
}

.provider-item {
  background: #101010;
  border: 1px solid #2a2a2a;
  color: #d9d9d9;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.provider-item span {
  font-weight: 600;
}

.provider-item small {
  color: #a9a9a9;
}

.game-grid-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.game-grid-title {
  font-weight: 700;
  color: #f5f5f5;
}

.game-grid-badges .badge {
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
}

@media (max-width: 991px) {
  .game-panel {
    margin-bottom: 1rem;
  }
}
