/* Custom CSS for SpeedySpins Casino */

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Floating Header */
.floating-header {
  backdrop-filter: blur(10px);
  border: 2px solid #aabbcc;
  animation: headerFloat 3s ease-in-out infinite;
}

@keyframes headerFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* 3D Text Effects */
.text-3d {
  text-shadow: 2px 2px 0px #aabbcc, 4px 4px 0px rgba(170, 187, 204, 0.5), 6px 6px 0px rgba(170, 187, 204, 0.3);
}

.text-3d-large {
  text-shadow: 3px 3px 0px #aabbcc, 6px 6px 0px rgba(170, 187, 204, 0.7), 9px 9px 0px rgba(170, 187, 204, 0.5), 12px
    12px 0px rgba(170, 187, 204, 0.3);
}

/* Floating Elements */
.floating-element {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(2deg);
  }
  66% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

/* Floating Money Animation */
.floating-money {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 100px;
  height: 100px;
  opacity: 0.3;
  animation: floatingMoney 8s linear infinite;
}

.floating-money::before {
  content: "💰";
  font-size: 3rem;
  position: absolute;
  animation: spin 4s linear infinite;
}

@keyframes floatingMoney {
  0% {
    transform: translateX(-100px) translateY(0px);
  }
  25% {
    transform: translateX(200px) translateY(-50px);
  }
  50% {
    transform: translateX(400px) translateY(0px);
  }
  75% {
    transform: translateX(600px) translateY(-30px);
  }
  100% {
    transform: translateX(800px) translateY(0px);
  }
}

/* Floating Coins */
.floating-coins {
  position: absolute;
  top: 60%;
  right: 15%;
  width: 80px;
  height: 80px;
  opacity: 0.4;
  animation: floatingCoins 10s ease-in-out infinite;
}

.floating-coins::before {
  content: "🪙";
  font-size: 2.5rem;
  position: absolute;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes floatingCoins {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }
  25% {
    transform: translateY(-40px) translateX(-20px);
  }
  50% {
    transform: translateY(-20px) translateX(20px);
  }
  75% {
    transform: translateY(-60px) translateX(-10px);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Spotlight Effect */
.spotlight-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 40%, rgba(170, 187, 204, 0.1) 0%, transparent 50%);
  animation: spotlightMove 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes spotlightMove {
  0%,
  100% {
    background: radial-gradient(circle at 30% 40%, rgba(170, 187, 204, 0.1) 0%, transparent 50%);
  }
  25% {
    background: radial-gradient(circle at 70% 30%, rgba(170, 187, 204, 0.1) 0%, transparent 50%);
  }
  50% {
    background: radial-gradient(circle at 80% 70%, rgba(170, 187, 204, 0.1) 0%, transparent 50%);
  }
  75% {
    background: radial-gradient(circle at 20% 80%, rgba(170, 187, 204, 0.1) 0%, transparent 50%);
  }
}

/* Parallax Background */
.parallax-bg {
  background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 50%, #1e1e1e 100%);
  background-attachment: fixed;
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Button Styles */
.cta-button {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.hover-transform {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-transform:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(170, 187, 204, 0.3);
}

/* Bonus Box */
.bonus-box {
  position: relative;
  overflow: hidden;
}

.bonus-box::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #aabbcc, transparent, #aabbcc);
  z-index: -1;
  animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* Step Cards */
.step-card {
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-10px);
}

/* Pulse Animation */
.pulse-animation {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Game Cards */
.game-card {
  position: relative;
  transition: transform 0.3s ease;
}

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

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
  opacity: 1;
}

/* Hover Cards */
.hover-card {
  transition: all 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-5px);
  border-color: #aabbcc;
  box-shadow: 0 10px 30px rgba(170, 187, 204, 0.2);
}

/* Stat Cards */
.stat-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(170, 187, 204, 0.1), transparent);
  transition: left 0.5s;
}

.stat-card:hover::before {
  left: 100%;
}

/* Provider Cards */
.provider-card {
  transition: all 0.3s ease;
}

.provider-card:hover {
  border-color: #aabbcc;
  background-color: #2a2a2a;
}

/* Support Cards */
.support-card {
  transition: all 0.3s ease;
}

.support-card:hover {
  background-color: #2a2a2a;
}

/* Promo Cards */
.promo-card {
  transition: all 0.3s ease;
  position: relative;
}

.promo-card:hover {
  background-color: #2a2a2a;
}

/* Trust Badges */
.trust-badge {
  transition: all 0.3s ease;
}

.trust-badge:hover {
  background-color: #2a2a2a;
  transform: translateY(-5px);
}

/* FAQ Styles */
.faq-item {
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(170, 187, 204, 0.1);
}

.faq-answer {
  transition: all 0.3s ease;
}

/* Smooth Scroll */
.smooth-scroll {
  scroll-behavior: smooth;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .floating-header {
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    border-radius: 0;
  }

  .text-3d-large {
    font-size: 3rem;
  }

  .floating-money,
  .floating-coins {
    display: none;
  }

  .parallax-bg {
    background-attachment: scroll;
  }
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Card Entrance Animation */
@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.card-entrance {
  animation: cardEntrance 0.8s ease-out;
}

/* Icon Animations */
.icon-pulse {
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* Glow Effect */
.glow-effect {
  box-shadow: 0 0 20px rgba(170, 187, 204, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 0 20px rgba(170, 187, 204, 0.5);
  }
  to {
    box-shadow: 0 0 30px rgba(170, 187, 204, 0.8);
  }
}

/* Animated Underline */
.animated-underline {
  position: relative;
}

.animated-underline::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #aabbcc;
  transition: width 0.3s ease;
}

.animated-underline:hover::after {
  width: 100%;
}
