/* SLOTXO V3 — complete charcoal & gold luxury theme */
:root {
  --bg: #101010 !important;
  --surface: rgba(30, 30, 30, 0.88) !important;
  --surface-2: #242424 !important;
  --text: #f5f0e5 !important;
  --muted: #aaa397 !important;
  --blue: #d1a64c !important;
  --blue-2: #f0d681 !important;
  --cyan: #b98a32 !important;
  --navy: #17140f !important;
  --line: rgba(218, 177, 84, 0.18) !important;
  --shadow: 0 28px 85px rgba(0, 0, 0, 0.42) !important;
  --shadow-soft: 0 16px 45px rgba(0, 0, 0, 0.3) !important;
  --slotxo-gold: #d5aa4f;
  --slotxo-gold-light: #f4dc96;
  --gold-deep: #9d6d20;
}
html {
  background: #0c0c0c;
}
body,
body.dark {
  color: var(--text) !important;
  background:
    radial-gradient(
      circle at 12% 4%,
      rgba(214, 173, 85, 0.16),
      transparent 24%
    ),
    radial-gradient(
      circle at 88% 12%,
      rgba(155, 107, 32, 0.13),
      transparent 27%
    ),
    radial-gradient(
      circle at 50% 100%,
      rgba(214, 173, 85, 0.07),
      transparent 38%
    ),
    linear-gradient(145deg, #0b0b0b 0%, #171717 48%, #0d0d0d 100%) !important;
  background-attachment: fixed !important;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
#particles {
  opacity: 0.38 !important;
  filter: sepia(1) saturate(0.8) hue-rotate(350deg);
}
.orb-a,
.orb-b {
  filter: sepia(1) saturate(1.4) hue-rotate(355deg);
  opacity: 0.42 !important;
}
.site-header-inner {
  background: rgba(17, 17, 17, 0.91) !important;
  border-color: rgba(218, 177, 84, 0.28) !important;
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.45),
    inset 0 1px rgba(255, 255, 255, 0.05) !important;
}
.site-nav a {
  color: #c8c1b5 !important;
}
.site-nav a:hover,
.site-nav a.active {
  color: #f8e6b0 !important;
  background: linear-gradient(
    135deg,
    rgba(214, 173, 85, 0.17),
    rgba(214, 173, 85, 0.05)
  ) !important;
}
.header-login,
.header-theme-toggle,
.site-menu-toggle {
  background: #24211c !important;
  border-color: rgba(218, 177, 84, 0.3) !important;
  color: #f1d98f !important;
}
.header-register,
.btn,
.btn-primary,
.register-btn {
  background: linear-gradient(
    135deg,
    #f3dc96 0%,
    #d1a64c 48%,
    #a87525 100%
  ) !important;
  color: #19130a !important;
  border: 1px solid rgba(255, 235, 169, 0.34) !important;
  box-shadow: 0 12px 30px rgba(176, 123, 34, 0.28) !important;
}
.btn:hover,
.header-register:hover {
  transform: translateY(-2px);
  box-shadow:
    0 17px 38px rgba(210, 164, 72, 0.38),
    0 0 24px rgba(218, 177, 84, 0.15) !important;
}
.btn.secondary,
.btn.outline {
  background: rgba(30, 28, 24, 0.88) !important;
  color: #efd991 !important;
  border: 1px solid rgba(218, 177, 84, 0.27) !important;
  box-shadow: none !important;
}
.topbar,
.search,
.icon-btn,
.profile {
  background: rgba(25, 25, 25, 0.8) !important;
  color: #e8ddc5 !important;
  border-color: rgba(218, 177, 84, 0.16) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25) !important;
}
.search input {
  color: #f5eee0 !important;
}
.search input::placeholder {
  color: #8f887c !important;
}
.avatar {
  background: linear-gradient(135deg, #f1d688, #a77425) !important;
  color: #17120a !important;
}
.hero,
.page-hero {
  background:
    radial-gradient(
      circle at 78% 15%,
      rgba(235, 198, 106, 0.22),
      transparent 28%
    ),
    radial-gradient(
      circle at 92% 82%,
      rgba(154, 104, 27, 0.21),
      transparent 34%
    ),
    linear-gradient(128deg, rgba(17, 17, 17, 0.98), rgba(43, 38, 29, 0.94)) !important;
  border: 1px solid rgba(218, 177, 84, 0.22) !important;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.42),
    inset 0 1px rgba(255, 255, 255, 0.05) !important;
}
.hero:before,
.page-hero:before {
  background:
    radial-gradient(
      circle at 72% 22%,
      rgba(245, 218, 143, 0.17),
      transparent 27%
    ),
    radial-gradient(circle at 88% 76%, rgba(191, 135, 39, 0.2), transparent 35%) !important;
}
h1,
h2,
h3,
.section-title h2,
.page-hero h1,
.hero h1 {
  color: #f4ead7 !important;
}
.gradient-text,
.section-title h2,
.page-hero h1,
.hero h1 {
  background: linear-gradient(
    90deg,
    #fff4ce 0%,
    #dfb85c 45%,
    #9f6d20 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  text-shadow: none !important;
}
.hero p,
.page-hero p,
p,
.muted {
  color: #b7afa0 !important;
}
.eyebrow,
.chip.active,
.filter.active,
.provider.active,
.tag {
  background: rgba(213, 170, 79, 0.12) !important;
  color: #efd98f !important;
  border: 1px solid rgba(218, 177, 84, 0.27) !important;
}
.eyebrow i {
  background: #e5bd62 !important;
  box-shadow: 0 0 16px rgba(229, 189, 98, 0.65) !important;
}
.card,
.game-card,
.article-card,
.promo-card,
.seo-block,
.contact-card,
.form-card,
.rank-panel,
.stat,
.feature-box,
.category-card,
.provider-card,
.panel,
.glass-card {
  background: linear-gradient(
    145deg,
    rgba(37, 37, 37, 0.94),
    rgba(20, 20, 20, 0.96)
  ) !important;
  border: 1px solid rgba(218, 177, 84, 0.16) !important;
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.31),
    inset 0 1px rgba(255, 255, 255, 0.035) !important;
  color: #eee5d3 !important;
}
.card:hover,
.game-card:hover,
.article-card:hover,
.promo-card:hover,
.category-card:hover,
.provider-card:hover {
  border-color: rgba(235, 198, 106, 0.4) !important;
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(213, 170, 79, 0.1) !important;
}
.game-info,
.article-body,
.promo-content {
  background: linear-gradient(
    180deg,
    rgba(27, 27, 27, 0.94),
    rgba(16, 16, 16, 0.98)
  ) !important;
}
.game-info b,
.article-card h3,
.promo-card h3,
.contact-card h2,
.rank-item b {
  color: #f4ecdc !important;
}
.game-cover,
.promo-cover,
.article-cover {
  background: linear-gradient(145deg, #342e22, #171717) !important;
}
.game-cover:before {
  background: radial-gradient(
    circle,
    rgba(236, 203, 119, 0.24),
    transparent 65%
  ) !important;
}
.cover-icon,
.brand-mini,
.stat-icon,
.feature-icon {
  background: linear-gradient(145deg, #f2da93, #9e6e23) !important;
  color: #19130a !important;
  box-shadow: 0 14px 30px rgba(171, 116, 29, 0.25) !important;
}
.chip,
.filter,
.provider {
  background: #24221e !important;
  color: #bfb6a5 !important;
  border-color: rgba(218, 177, 84, 0.12) !important;
}
.chip:hover,
.filter:hover,
.provider:hover {
  color: #f3de9c !important;
  border-color: rgba(218, 177, 84, 0.32) !important;
  background: #302b22 !important;
}
.rank-item,
.mega-item {
  background: linear-gradient(145deg, #292722, #191919) !important;
  border: 1px solid rgba(218, 177, 84, 0.11) !important;
}
.rank-no,
.link,
a.link {
  color: #dcb45c !important;
}
.rank-meter,
.loader-bar {
  background: #3b352b !important;
}
.rank-meter i,
.loader-bar i {
  background: linear-gradient(90deg, #a87525, #f2da91) !important;
}
.slide-dot {
  background: rgba(218, 177, 84, 0.22) !important;
}
.slide-dot.active {
  background: #e0b75a !important;
  box-shadow: 0 0 16px rgba(224, 183, 90, 0.5) !important;
}
.side-card,
.pwa-toast,
.winner-toast,
.toast {
  background: linear-gradient(145deg, #2b261d, #111) !important;
  border: 1px solid rgba(218, 177, 84, 0.22) !important;
  color: #f6edda !important;
}
footer,
.footer {
  background: #0b0b0b !important;
  border-top: 1px solid rgba(218, 177, 84, 0.19) !important;
  color: #aba394 !important;
}
.footer a {
  color: #c7bfae !important;
}
.footer a:hover {
  color: #f0d68a !important;
}
input,
textarea,
select {
  background: #171717 !important;
  color: #eee5d3 !important;
  border-color: rgba(218, 177, 84, 0.17) !important;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #d5aa4f !important;
  box-shadow: 0 0 0 3px rgba(213, 170, 79, 0.1) !important;
}
.loader {
  background:
    radial-gradient(
      circle at center,
      rgba(213, 170, 79, 0.13),
      transparent 36%
    ),
    #0b0b0b !important;
}
.loader-logo,
.theme-logo {
  filter: drop-shadow(0 8px 20px rgba(213, 170, 79, 0.18));
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #111;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(#efcf7c, #9d6c21);
  border-radius: 10px;
  border: 2px solid #111;
}
::selection {
  background: #d5aa4f !important;
  color: #17120a !important;
}
/* recolor legacy blue artwork and icons without affecting game cover images */
.page-icon img,
.hero-art img:not(.game-image),
.feature-icon img,
.stat-icon img {
  filter: sepia(1) saturate(0.8) hue-rotate(350deg) brightness(0.92)
    contrast(1.08) !important;
}
@media (max-width: 900px) {
  .site-nav {
    background: rgba(15, 15, 15, 0.98) !important;
    border-color: rgba(218, 177, 84, 0.25) !important;
  }
  .hero,
  .page-hero {
    border-radius: 22px !important;
  }
}
