/* ============================================================
   Regina Chocolate - Stili Personalizzati e Tema Cioccolato
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --color-cocoa-dark: #140905;
  --color-cocoa-card: #1e0e08;
  --color-cocoa-border: rgba(212, 175, 55, 0.22);
  --color-gold: #d4af37;
  --color-gold-light: #f5d77f;
  --color-caramel: #e5a93b;
  --color-cream: #fbf8f2;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--color-cocoa-dark);
  color: var(--color-cream);
}

body {
  overflow-x: hidden;
  min-height: 100vh;
}

.font-serif {
  font-family: var(--font-serif);
}

/* Sfumatura oro lussuosa per titoli */
.text-gold-gradient {
  background: linear-gradient(135deg, #fef0c7 0%, #d4af37 50%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gold-gradient {
  background: linear-gradient(135deg, #d4af37 0%, #e5a93b 50%, #9e6f15 100%);
}

.bg-gold-gradient:hover {
  background: linear-gradient(135deg, #e5be49 0%, #f3be4d 50%, #b8860b 100%);
}

/* Texture di fondo con pattern cacao */
.bg-chocolate-pattern {
  background-color: #140905;
  background-image: radial-gradient(rgba(212, 175, 55, 0.06) 1px, transparent 1px), radial-gradient(rgba(212, 175, 55, 0.04) 1px, #140905 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
}

/* Glow d'accento */
.glow-gold {
  box-shadow: 0 0 35px -5px rgba(212, 175, 55, 0.35);
}

.glow-gold-pulse {
  animation: pulseGold 2.5s infinite;
}

@keyframes pulseGold {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(212, 175, 55, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

/* Puntatore della ruota della fortuna */
.wheel-pointer {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 36px solid #d4af37;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.6));
  z-index: 20;
}

.wheel-pointer::after {
  content: '';
  position: absolute;
  top: -36px;
  left: -8px;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px #d4af37;
}

/* Scrollbar personalizzata color cioccolato */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #140905;
}
::-webkit-scrollbar-thumb {
  background: #3d1c10;
  border-radius: 5px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* Effetto card glass luxury */
.card-glass {
  background: rgba(30, 14, 8, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.card-glass:hover {
  border-color: rgba(212, 175, 55, 0.5);
}

/* Animazione galleggiamento dolce */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: floatGentle 4s ease-in-out infinite;
}
