/* ==========================================================================
   Mr Money Slot — Core Stylesheet
   Design language: premium dark casino, emerald + gold, glassmorphism.
   Loaded alongside the Tailwind CDN utility layer.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: dark;
  --gold: #d4af37;
  --gold-soft: #f4d03f;
  --emerald-deep: #03130c;
}

* {
  scrollbar-color: #d4af37 #0b1512;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #03130c;
  background-image: radial-gradient(circle at 15% 0%, rgba(13, 69, 48, 0.55) 0%, rgba(3, 19, 12, 0) 45%),
    radial-gradient(circle at 85% 20%, rgba(212, 175, 55, 0.08) 0%, rgba(3, 19, 12, 0) 40%),
    linear-gradient(180deg, #050807 0%, #03130c 100%);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: #f4f1e8;
}

h1, h2, h3, h4, .font-display {
  font-family: "Cinzel", serif;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Scrollbar (WebKit) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #0b1512;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f4d03f, #a8781f);
  border-radius: 999px;
  border: 2px solid #0b1512;
}

/* Accessible focus ring, gold themed */
:focus-visible {
  outline: 2px solid #e6bc2f;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Glassmorphism & Card System
   ========================================================================== */

.glass-panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(212, 175, 55, 0.18);
}

.glass-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.16);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 20px 45px -15px rgba(212, 175, 55, 0.35);
}

/* Gold text gradient */
.text-gold-gradient {
  background: linear-gradient(135deg, #f4d03f 0%, #d4af37 45%, #a8781f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Primary CTA button */
.btn-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #1a1200;
  background: linear-gradient(135deg, #f4d03f 0%, #d4af37 50%, #c9962b 100%);
  border-radius: 9999px;
  box-shadow: 0 10px 30px -8px rgba(212, 175, 55, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn-gold:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.08);
  box-shadow: 0 16px 38px -8px rgba(212, 175, 55, 0.7);
}
.btn-gold:active {
  transform: translateY(0) scale(0.99);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #f3dd85;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 9999px;
  background: rgba(212, 175, 55, 0.06);
  transition: all 0.25s ease;
}
.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: #e6bc2f;
  transform: translateY(-2px);
}

/* Section divider ornament */
.ornament-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ornament-divider::before,
.ornament-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
}

/* Shimmer badge */
.badge-shimmer {
  background: linear-gradient(90deg, #a8781f 0%, #f4d03f 25%, #a8781f 50%, #f4d03f 75%, #a8781f 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 3s linear infinite;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sticky header states */
#site-header {
  transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
#site-header.is-scrolled {
  background-color: rgba(5, 8, 7, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.6);
}

/* Mobile nav panel */
#mobile-nav {
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Marquee track for provider/payment logos */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #d4af37;
  color: #1a1200;
  padding: 0.75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 0.5rem 0;
  font-weight: 700;
}
.skip-link:focus {
  left: 0;
}

/* Line clamp utility */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* FAQ accordion */
.faq-item[open] > summary .faq-chevron {
  transform: rotate(180deg);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
}
.faq-item .faq-answer {
  animation: fade-up 0.35s ease both;
}

/* Back to top */
#back-to-top {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* Loading skeleton shimmer for images */
.img-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #0e1b17 25%, #132620 37%, #0e1b17 63%);
  background-size: 400% 100%;
  animation: shimmer 2.8s ease infinite;
}
