/* ===== Joker Slots Fun — Promo Website Styles ===== */

:root {
  --color-veil: rgba(38, 22, 62, 0.85);
  --color-veil-solid: #26163E;
  --color-veil-soft: rgba(48, 30, 82, 0.60);
  --color-veil-soft-solid: #301E52;
  --color-gold: #FFC857;
  --color-gold-light: #FFD97A;
  --color-gold-dark: #D4A036;
  --color-violet: #C36BFF;
  --color-violet-light: #D99BFF;
  --color-violet-dark: #9B3FD9;
  --color-cyan: #6FE5FF;
  --color-ink: #F7EEFF;
  --color-ink-muted: #D0C0E8;
  --color-bg-primary: #0D0818;
  --color-bg-secondary: #1A1030;
  --color-bg-card: rgba(48, 30, 82, 0.45);
  --color-text-primary: #F7EEFF;
  --color-text-secondary: #D0C0E8;
  --gradient-hero: linear-gradient(180deg, rgba(13, 8, 24, 0.3) 0%, rgba(13, 8, 24, 0.95) 100%);
  --gradient-gold-text: linear-gradient(135deg, #FFD97A 0%, #FFC857 40%, #D4A036 100%);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base */
html { scroll-behavior: smooth; }
body {
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
}

/* Gold gradient text */
.gold-text {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero */
.hero-section {
  min-height: 100vh;
  background: url('images/hero_bg.webp') center/cover no-repeat, linear-gradient(135deg, #26163E 0%, #0D0818 100%);
  position: relative;
}
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,8,24,0.35) 0%, rgba(13,8,24,0.92) 100%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }

/* Spotlight glow */
.spotlight-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 60%;
  background: radial-gradient(ellipse at 50% 0%, rgba(195,107,255,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Nav */
.nav-fixed {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.nav-scrolled {
  background-color: rgba(13, 8, 24, 0.95) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* Cards */
.feature-card {
  background: var(--color-bg-card);
  border: 1px solid rgba(111, 229, 255, 0.12);
  border-radius: 16px;
  transition: transform 0.25s var(--ease-bounce), box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: scale(1.04);
  box-shadow: 0 0 30px rgba(195, 107, 255, 0.25);
  border-color: rgba(111, 229, 255, 0.35);
}

/* CTA section */
.cta-section {
  background: url('images/cta_bg.webp') center/cover no-repeat, linear-gradient(135deg, #1A1030 0%, #0D0818 100%);
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,8,24,0.6) 0%, rgba(13,8,24,0.85) 100%);
  pointer-events: none;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: var(--color-violet);
  color: #fff;
  font-family: 'Russo One', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-bounce), box-shadow 0.3s ease;
  box-shadow: 0 0 20px rgba(195,107,255,0.3);
  text-decoration: none;
  text-align: center;
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(195,107,255,0.5), 0 0 80px rgba(195,107,255,0.15);
}
.btn-primary:active { transform: scale(0.97); }

.btn-gold {
  background: linear-gradient(135deg, #FFD97A, #D4A036);
  color: #26163E;
  box-shadow: 0 0 20px rgba(255,200,87,0.3);
}
.btn-gold:hover {
  box-shadow: 0 0 40px rgba(255,200,87,0.5), 0 0 80px rgba(255,200,87,0.15);
}

/* Floating gold particles */
.particle {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  z-index: 0;
  animation: floatUp var(--dur, 12s) var(--delay, 0s) linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* Device mockup frame */
.device-frame {
  position: relative;
  display: inline-block;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(195,107,255,0.2), 0 20px 60px rgba(0,0,0,0.5);
  border: 3px solid rgba(111,229,255,0.2);
}
.device-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* 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-height: 90vh;
  max-width: 90vw;
  border-radius: 12px;
}

/* Section divider - diagonal */
.section-divider-diagonal {
  height: 60px;
  background: var(--color-bg-primary);
  clip-path: polygon(0 0, 100% 100%, 100% 100%, 0 100%);
  margin-top: -60px;
  position: relative;
  z-index: 5;
}

/* Swiper overrides */
.swiper-pagination-bullet {
  background: var(--color-ink-muted) !important;
  opacity: 0.5 !important;
}
.swiper-pagination-bullet-active {
  background: var(--color-violet) !important;
  opacity: 1 !important;
  box-shadow: 0 0 8px rgba(195,107,255,0.5);
}
.swiper-button-next, .swiper-button-prev {
  color: var(--color-gold) !important;
}

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

/* Privacy acceptance button */
.privacy-accept-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem 2rem;
  background: linear-gradient(to top, var(--color-bg-primary) 60%, transparent 100%);
}
.privacy-accept-btn.hidden { display: none; }
.accept-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 3rem;
  background: var(--color-violet);
  color: #fff;
  font-family: 'Russo One', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(195,107,255,0.4);
  transition: transform 0.2s var(--ease-bounce), box-shadow 0.3s ease;
}
.accept-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(195,107,255,0.6);
}

/* Pulse glow animation for CTA */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(195,107,255,0.3); }
  50% { box-shadow: 0 0 40px rgba(195,107,255,0.6), 0 0 80px rgba(195,107,255,0.2); }
}
.animate-pulse-glow { animation: pulseGlow 2s ease-in-out infinite; }

/* Legal pages */
.legal-content h2 {
  font-family: 'Russo One', sans-serif;
  color: var(--color-gold);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.legal-content h3 {
  font-family: 'Russo One', sans-serif;
  color: var(--color-violet-light);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.legal-content p, .legal-content li {
  color: var(--color-text-secondary);
  line-height: 1.7;
}
.legal-content a {
  color: var(--color-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover { color: #A3EFFF; }
.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}
.legal-content ul li { margin-bottom: 0.35rem; }

/* Form inputs */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(48, 30, 82, 0.4);
  border: 1px solid rgba(111, 229, 255, 0.2);
  border-radius: 12px;
  color: var(--color-ink);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-input:focus {
  border-color: var(--color-violet);
  box-shadow: 0 0 12px rgba(195,107,255,0.25);
}
.form-input::placeholder { color: rgba(208, 192, 232, 0.5); }

textarea.form-input { resize: vertical; min-height: 120px; }

input[type="file"].form-input {
  padding: 0.5rem;
}
input[type="file"].form-input::file-selector-button {
  padding: 0.5rem 1rem;
  background: var(--color-violet);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  margin-right: 0.75rem;
}

/* Scroll animations fix */
[data-aos] { overflow: hidden; }
