/* ============================================
   SPINNY CASINO - CUSTOM STYLES
   Dark iOS 26 Glass Morphism + French Castle Theme
   ============================================ */

/* === KEYFRAME ANIMATIONS === */

/* Parallax float animation */
@keyframes parallax-float {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }
  25% {
    transform: translateY(-20px) translateX(10px);
  }
  50% {
    transform: translateY(-10px) translateX(-10px);
  }
  75% {
    transform: translateY(-30px) translateX(5px);
  }
}

/* Marquee scroll animation */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pulse glow for CTAs */
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6), 0 0 60px rgba(255, 215, 0, 0.3);
  }
}

/* Shimmer effect */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Castle tower decoration animation */
@keyframes tower-glow {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}

/* === UTILITY CLASSES === */

.parallax-float {
  animation: parallax-float 6s ease-in-out infinite;
}

.parallax-float-delayed {
  animation: parallax-float 8s ease-in-out infinite;
  animation-delay: 1s;
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-content {
  display: flex;
  animation: marquee-scroll 30s linear infinite;
  width: max-content;
}

.marquee-content:hover {
  animation-play-state: paused;
}

/* === GLASS MORPHISM STYLES === */

.glass-card {
  background: rgba(20, 20, 40, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-card-light {
  background: rgba(40, 40, 80, 0.5);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-island {
  background: rgba(30, 30, 60, 0.85);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1.5px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* === FRENCH CASTLE DECORATIVE ELEMENTS === */

.castle-border {
  position: relative;
}

.castle-border::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 10%,
    rgba(139, 69, 19, 0.6) 10%,
    rgba(139, 69, 19, 0.6) 20%,
    transparent 20%,
    transparent 30%,
    rgba(139, 69, 19, 0.6) 30%,
    rgba(139, 69, 19, 0.6) 40%,
    transparent 40%,
    transparent 50%,
    rgba(139, 69, 19, 0.6) 50%,
    rgba(139, 69, 19, 0.6) 60%,
    transparent 60%,
    transparent 70%,
    rgba(139, 69, 19, 0.6) 70%,
    rgba(139, 69, 19, 0.6) 80%,
    transparent 80%,
    transparent 90%,
    rgba(139, 69, 19, 0.6) 90%,
    rgba(139, 69, 19, 0.6) 100%
  );
}

.castle-tower {
  position: relative;
}

.castle-tower::after {
  content: "🏰";
  position: absolute;
  top: -30px;
  right: -20px;
  font-size: 2rem;
  opacity: 0.3;
  animation: tower-glow 3s ease-in-out infinite;
}

/* === CTA BUTTON STYLES === */

.cta-primary {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  color: #1a1a2e;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulse-glow 2s ease-in-out infinite;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffd700;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 16px;
  border: 2px solid rgba(255, 215, 0, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-secondary:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: #ffd700;
  transform: translateY(-2px);
}

/* === BONUS BADGE === */

.bonus-badge {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 165, 0, 0.2) 100%);
  border: 2px solid #ffd700;
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.bonus-badge::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

/* === PROSE STYLING FOR READABILITY === */

.prose {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.prose h2 {
  color: #ffd700;
  font-size: 2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.prose h3 {
  color: rgba(255, 215, 0, 0.9);
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.prose ul,
.prose ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.prose a {
  color: #ffd700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.prose a:hover {
  color: #ffa500;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: rgba(20, 20, 40, 0.5);
  border-radius: 12px;
  overflow: hidden;
}

.prose th {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.prose td {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.prose tr:hover {
  background: rgba(255, 215, 0, 0.05);
}

/* === TRUSTPILOT STYLE === */

.trustpilot-badge {
  background: linear-gradient(135deg, rgba(0, 180, 0, 0.2) 0%, rgba(0, 120, 0, 0.2) 100%);
  border: 2px solid rgba(0, 180, 0, 0.5);
  border-radius: 16px;
  padding: 1.5rem;
}

.star-rating {
  color: #ffd700;
  font-size: 1.5rem;
  letter-spacing: 2px;
}

/* === GAME CARD STYLES === */

.game-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: rgba(20, 20, 40, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 12px 40px rgba(255, 215, 0, 0.3);
}

.game-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.game-card:hover img {
  transform: scale(1.1);
}

/* === PAYMENT METHOD STYLES === */

.payment-logo {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  transition: all 0.3s ease;
}

.payment-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

/* === RESPONSIVE UTILITIES === */

@media (max-width: 1024px) {
  .cta-primary,
  .cta-secondary {
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
  }

  .prose h2 {
    font-size: 1.75rem;
  }

  .prose h3 {
    font-size: 1.35rem;
  }
}

@media (max-width: 768px) {
  .castle-tower::after {
    font-size: 1.5rem;
    top: -20px;
    right: -10px;
  }

  .bonus-badge {
    padding: 1.5rem;
  }

  .prose {
    font-size: 1rem;
  }
}

/* === SMOOTH SCROLL === */

html {
  scroll-behavior: smooth;
}

/* === CUSTOM SCROLLBAR === */

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(20, 20, 40, 0.8);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffd700 0%, #ffa500 100%);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffa500 0%, #ffd700 100%);
}
