/* Olympus88 Yellow-Purple theme — samsung/v9
   Source: .github/instructions/yellow-purple-palette.instructions.md
*/
:root {
  --oly-bg: #120b1a;
  --oly-surface: #1e1430;
  --oly-surface-alt: #2b1d45;
  --oly-purple: #b80b0b;
  --oly-purple-light: #e82705;
  --oly-purple-dark: #c30404;
  --oly-gold: #ffd700;
  --oly-yellow: #f1e02f;
  --oly-gold-dark: #c6a300;
  --oly-text: #f6efff;
  --oly-text-muted: #b3a3cc;
  --oly-border: #720806;
  --oly-danger: #b5442e;
  --oly-success: #6f8a3a;

  /* Shopify / Dawn accent remaps */
  --color-base-accent-1: 114, 11, 184;
  --color-base-accent-2: 74, 7, 122;
  --gradient-base-accent-1: var(--oly-purple);
  --gradient-base-accent-2: var(--oly-purple-dark);
  --color-primary-bt-outline: var(--oly-purple);
  --color-primary-bt-hover: var(--oly-purple-light);
  --color-secondary-bt-label: var(--oly-purple);
  --color-secondary-bt-outline: var(--oly-purple);
  --color-secondary-bt-hover: var(--oly-purple-light);
  --color-link-dynamic-label: var(--oly-purple);
  --color-link-dynamic-hover: var(--oly-purple-light);
  --color-tertiary-dynamic-label: var(--oly-purple);
  --color-tertiary-dynamic-hover: var(--oly-purple-light);
}

html {
  background: var(--oly-bg) !important;
}

/* High-emphasis CTAs → gold */
.cosmic-orange-bright-ios .mjp-fixed-footer a.tada,
.mjp-fixed-footer a.tada {
  background: linear-gradient(180deg, #ff2a2a 0%, #1a0505 55%, #050607 100%) !important;
  color: #ffffff !important;
  border-color: rgba(10, 10, 10, 0.45) !important;
  box-shadow: 0 10px 22px rgba(225, 29, 46, 0.28) !important;
}

.cosmic-orange-bright-ios .green-glass-header .list-menu--inline > li:last-child .rightMenuUpdate {
  background: linear-gradient(180deg, #ff2a2a 0%, #050607 100%) !important;
  color: #ffffff !important;
  border-color: rgba(10, 10, 10, 0.45) !important;
}

/* Favicon — purple glow */
img[src*="favicon.webp"],
img[src*="favicon.png"],
.mjp-fixed-footer img[src*="favicon"],
.add-on-image[src*="favicon"] {
  filter: drop-shadow(0 0 6px rgba(114, 11, 184, 0.65)) drop-shadow(0 0 14px rgba(165, 85, 224, 0.35));
}

/* Gameonline popup — force purple (kill leftover blues) */
.gameonline,
.popup-overlay,
.popup-container {
  --go-bg: #120b1a;
  --go-surface: #1e1430;
  --go-surface-alt: #2b1d45;
  --go-purple: #720bb8;
  --go-purple-light: #a555e0;
  --go-gold: #ffd700;
  --go-text: #f6efff;
  --go-muted: #b3a3cc;
}

.popup-container {
  background: linear-gradient(145deg, rgba(30, 20, 48, 0.96), rgba(18, 11, 26, 0.92)) !important;
  border-color: rgba(114, 11, 184, 0.35) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(114, 11, 184, 0.28), 0 0 28px rgba(114, 11, 184, 0.2) !important;
}

.gameonline .popup-video-wrapper,
.popup-video-wrapper {
  background: #120b1a !important;
  border-bottom-color: rgba(114, 11, 184, 0.45) !important;
}

.gameonline .popup-body,
.popup-body {
  background: linear-gradient(180deg, rgba(106, 4, 4, 0.94), rgba(48, 20, 20, 0.88)) !important;
  border-color: rgba(114, 11, 184, 0.28) !important;
  color: #750707 !important;
}

.gameonline .popup-kicker,
.popup-kicker,
.gameonline .popup-games-header-text,
.popup-games-header-text {
  color: #ffd700 !important;
  border-color: rgba(255, 215, 0, 0.3) !important;
  background: rgba(114, 11, 184, 0.14) !important;
}

.gameonline .popup-subtitle,
.popup-subtitle,
.gameonline .popup-footer,
.popup-footer {
  color: #b3a3cc !important;
}

.gameonline .popup-buttons a,
.popup-buttons a {
  background: linear-gradient(145deg, #ff2a2a 0%, #5a0808 40%, #050607 100%) !important;
  border-color: rgba(184, 11, 11, 0.65) !important;
  box-shadow: 0 0 16px rgba(201, 2, 2, 0.584), 0 0 44px rgba(255, 215, 0, 0.12), 0 8px 24px rgba(59, 0, 0, 0.5) !important;
  text-shadow: 0 0 10px rgba(128, 6, 6, 0.7), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.gameonline .popup-jackpot-overlay,
.popup-jackpot-overlay {
  border-color: rgba(114, 11, 184, 0.5) !important;
}

.gameonline .popup-jackpot-underline::before,
.popup-jackpot-underline::before {
  background: linear-gradient(90deg, transparent, #720bb8, transparent) !important;
}

.gameonline .popup-jackpot-underline::after,
.popup-jackpot-underline::after,
.gameonline .popup-jackpot-label .fa-bolt,
.popup-jackpot-label .fa-bolt {
  background-color: #a555e0 !important;
  color: #a555e0 !important;
}

.gameonline .popup-jackpot-display,
.popup-jackpot-display {
  border-color: rgba(114, 11, 184, 0.4) !important;
}

.gameonline .popup-jackpot-number,
.popup-jackpot-number {
  color: #f6efff !important;
  text-shadow: 0 0 12px rgba(114, 11, 184, 0.6), 0 0 4px rgba(165, 85, 224, 0.5) !important;
}

.gameonline .popup-promo-banner,
.popup-promo-banner {
  border-color: #ffd700 !important;
  background: linear-gradient(135deg, #ffd700, #f6efff 32%, #720bb8 68%, #ffd700) !important;
  box-shadow: 0 0 12px rgba(114, 11, 184, 0.6), 0 0 18px rgba(255, 215, 0, 0.35) !important;
}

.gameonline .close-btn,
.close-btn {
  border-color: rgba(114, 11, 184, 0.65) !important;
}

.gameonline .close-btn:hover,
.close-btn:hover {
  background: #720bb8 !important;
}
