/* ══════════════════════════════════════════════════════════
   Vegas Nights Slots — Promo Website Styles
   ══════════════════════════════════════════════════════════ */

:root {
  --color-primary: #8B5CF6;
  --color-primary-light: #A78BFA;
  --color-primary-dark: #7C3AED;
  --color-background: #1A0F2E;
  --color-background-deep: #120A1E;
  --color-surface: #1C1628;
  --color-surface-deep: #151022;

  --color-accent-ruby: #FF5A5A;
  --color-accent-gold: #F4C02A;
  --color-accent-gold-frame: #C9A548;
  --color-accent-champagne: #F8E7B5;
  --color-accent-orange: #FF9A3C;
  --color-accent-red: #E84855;
  --color-accent-green: #3DDC84;

  --gradient-start: #3D2B5C;
  --gradient-end: #120A1E;

  --color-text-primary: #E8EDF4;
  --color-text-muted: #B8C5D6;
  --color-text-heading: #F8E7B5;
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  background: linear-gradient(180deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  background-attachment: fixed;
  color: var(--color-text-primary);
  font-family: 'Inter', sans-serif;
}

/* ── Gold gradient text ── */
.text-gold-gradient {
  background: linear-gradient(135deg, #F4C02A 0%, #F8E7B5 40%, #C9A548 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Neon text glow ── */
.text-neon-glow {
  text-shadow: 0 0 10px rgba(139,92,246,0.5), 0 0 30px rgba(139,92,246,0.2);
}

/* ── Gold border card ── */
.gold-border-card {
  background: rgba(26, 20, 38, 0.94);
  border: 1px solid rgba(201, 165, 72, 0.5);
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.45), 0 0 20px -2px rgba(201,165,72,0.12);
  transition: all 0.3s ease;
}
.gold-border-card:hover {
  border-color: rgba(201, 165, 72, 0.85);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 30px rgba(244,192,42,0.2);
}

/* ── Hero section ── */
.hero-section {
  background: url('images/hero_bg.webp') center/cover no-repeat,
              linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18,10,30,0.75) 0%, rgba(26,15,46,0.5) 50%, rgba(18,10,30,0.85) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }

/* ── Hero floating animation ── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

/* ── Glow pulse for buttons ── */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(244,192,42,0.2); }
  50% { box-shadow: 0 0 40px rgba(244,192,42,0.45); }
}
.animate-glow-pulse { animation: glowPulse 2s ease-in-out infinite; }

/* ── Gold particle animation ── */
@keyframes goldParticle {
  0% { opacity: 0; transform: translateY(20px) scale(0.5); }
  50% { opacity: 0.8; transform: translateY(-20px) scale(1.2); }
  100% { opacity: 0; transform: translateY(-40px) scale(0.5); }
}

.gold-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #F4C02A;
  animation: goldParticle 4s ease-in-out infinite;
  pointer-events: none;
}

/* ── CTA section ── */
.cta-section {
  background: url('images/cta_bg.webp') center/cover no-repeat,
              linear-gradient(180deg, var(--gradient-start), var(--gradient-end));
  position: relative;
}
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,15,46,0.85), rgba(18,10,30,0.95));
  z-index: 1;
}
.cta-content { position: relative; z-index: 2; }

/* ── Nav glass effect ── */
.nav-glass {
  background: rgba(26, 15, 46, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 165, 72, 0.2);
}

/* ── Phone mockup frame ── */
.device-frame {
  position: relative;
  max-width: 280px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(139,92,246,0.2);
  border: 3px solid rgba(201, 165, 72, 0.6);
}
.device-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Section divider (diagonal) ── */
.diagonal-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
}
.diagonal-divider::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
  height: 100%;
  background: inherit;
  transform: skewY(-2deg);
  transform-origin: bottom left;
}

/* ── Swiper overrides ── */
.swiper-pagination-bullet {
  background: rgba(201, 165, 72, 0.5) !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active {
  background: #F4C02A !important;
}
.swiper-button-next, .swiper-button-prev {
  color: #F4C02A !important;
}
.swiper-button-next::after, .swiper-button-prev::after {
  font-size: 20px !important;
}

/* ── Lightbox ── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(139,92,246,0.3);
}

/* ── Privacy button integration ── */
.privacy-accept-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 16px 20px 24px;
  background: linear-gradient(to top, var(--color-background-deep) 60%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.privacy-accept-btn.hidden { display: none; }
.accept-btn {
  background: linear-gradient(135deg, #F4C02A, #C9A548);
  color: #1A0F2E;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 40px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(244,192,42,0.4);
  transition: all 0.3s ease;
}
.accept-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 30px rgba(244,192,42,0.5);
}

/* ── Legal pages ── */
.legal-content h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--color-text-heading);
  margin-bottom: 0.5rem;
}
.legal-content h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--color-accent-gold);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.legal-content p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.legal-content ul {
  color: var(--color-text-muted);
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}
.legal-content li { margin-bottom: 0.5rem; }
.legal-content a {
  color: var(--color-primary-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--color-accent-gold); }
.legal-content strong { color: var(--color-text-primary); }

/* ── Contact form styling ── */
.contact-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(26, 20, 38, 0.9);
  border: 1px solid rgba(201, 165, 72, 0.35);
  border-radius: 10px;
  color: var(--color-text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-input:focus {
  outline: none;
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 0 3px rgba(244, 192, 42, 0.15);
}
.contact-input::placeholder { color: rgba(184, 197, 214, 0.5); }

/* ── Grain overlay ── */
.grain-overlay::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.03;
  z-index: 9990;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-section { min-height: auto; }
  .device-frame { max-width: 220px; }
}
