/* Custom CSS for Shakebet Casino */

/* Font Import */
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap");

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

body {
  font-family: "Orbitron", monospace;
  line-height: 1.6;
}

/* Text Shadow Effect */
.casino-text-shadow {
  text-shadow: 3px 3px 0px #000000, 6px 6px 0px rgba(0, 0, 0, 0.3);
}

/* Floating Elements */
.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-chip {
  position: absolute;
  font-size: 2rem;
  color: #fff201;
  animation: float 6s ease-in-out infinite;
}

.floating-explosion {
  position: absolute;
  font-size: 3rem;
  animation: explode 4s ease-in-out infinite;
}

.chip-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.chip-2 {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.chip-3 {
  top: 80%;
  left: 20%;
  animation-delay: 4s;
}

.explosion-1 {
  top: 30%;
  right: 20%;
  animation-delay: 1s;
}

.explosion-2 {
  top: 70%;
  left: 15%;
  animation-delay: 3s;
}

.explosion-3 {
  top: 50%;
  right: 10%;
  animation-delay: 5s;
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
    opacity: 1;
  }
  50% {
    transform: translateY(-40px) rotate(180deg);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-20px) rotate(270deg);
    opacity: 1;
  }
}

@keyframes explode {
  0%,
  100% {
    transform: scale(0.8) rotate(0deg);
    opacity: 0.5;
  }
  25% {
    transform: scale(1.2) rotate(90deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.5) rotate(180deg);
    opacity: 0.8;
  }
  75% {
    transform: scale(1.1) rotate(270deg);
    opacity: 0.9;
  }
}

/* Parallax Background */
.parallax-bg {
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 200%;
  background: linear-gradient(45deg, rgba(254, 42, 24, 0.1) 0%, rgba(255, 242, 1, 0.1) 50%, rgba(254, 42, 24, 0.1) 100%);
  z-index: -1;
}

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

.spotlight-effect {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 242, 1, 0.1) 50%, transparent 70%);
  animation: spotlight 3s linear infinite;
}

@keyframes spotlight {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

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

.cta-button:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.cta-button:active {
  transform: scale(0.98) translateY(0px);
}

/* Navigation Links */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link:hover {
  transform: translateY(-2px);
}

/* Hero Image Container */
.hero-image-container {
  position: relative;
}

.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  font-size: 2rem;
  color: #fff201;
  animation: iconFloat 4s ease-in-out infinite;
}

.icon-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.icon-2 {
  top: 20%;
  right: 10%;
  animation-delay: 1s;
}

.icon-3 {
  bottom: 20%;
  left: 15%;
  animation-delay: 2s;
}

.icon-4 {
  bottom: 10%;
  right: 15%;
  animation-delay: 3s;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-15px) scale(1.1);
    opacity: 1;
  }
}

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

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

.step-icon {
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

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

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

.game-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.game-overlay {
  backdrop-filter: blur(2px);
}

/* Stat Cards */
.stat-card {
  transition: all 0.3s ease;
  animation: statPulse 3s ease-in-out infinite;
}

.stat-card:hover {
  transform: scale(1.05) rotate(1deg);
}

@keyframes statPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 242, 1, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 242, 1, 0.6);
  }
}

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

.provider-card:hover {
  transform: translateY(-3px);
  background-color: #fff201;
  color: #0a0a0a;
}

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

.support-card:hover {
  transform: translateY(-5px) scale(1.02);
}

.support-card i {
  transition: all 0.3s ease;
}

.support-card:hover i {
  animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

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

.promo-card:hover {
  transform: translateY(-8px);
}

.promo-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 242, 1, 0.1) 50%, transparent 70%);
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  transition: transform 0.6s ease;
}

.promo-card:hover::before {
  transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* Feature Cards */
.feature-card {
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: scale(1.02);
}

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

.trust-badge:hover {
  transform: translateY(-5px) rotate(2deg);
}

.trust-badge i {
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px #fff201, 0 0 10px #fff201, 0 0 15px #fff201;
  }
  to {
    text-shadow: 0 0 10px #fff201, 0 0 20px #fff201, 0 0 30px #fff201;
  }
}

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

.faq-item:hover {
  transform: translateX(5px);
}

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

.faq-question:hover {
  background-color: rgba(255, 242, 1, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .floating-chip,
  .floating-explosion {
    font-size: 1.5rem;
  }

  .casino-text-shadow {
    text-shadow: 2px 2px 0px #000000, 4px 4px 0px rgba(0, 0, 0, 0.3);
  }

  .hero-image-container .floating-icon {
    font-size: 1.5rem;
  }

  .step-icon {
    width: 60px;
    height: 60px;
  }

  .step-icon i {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .floating-elements {
    display: none;
  }

  .parallax-bg {
    display: none;
  }
}

/* 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;
}

/* Entrance Animations */
.game-card {
  animation: fadeInUp 0.6s ease-out;
}

.game-card:nth-child(1) {
  animation-delay: 0.1s;
}
.game-card:nth-child(2) {
  animation-delay: 0.2s;
}
.game-card:nth-child(3) {
  animation-delay: 0.3s;
}
.game-card:nth-child(4) {
  animation-delay: 0.4s;
}
.game-card:nth-child(5) {
  animation-delay: 0.5s;
}
.game-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
  .step-card,
  .stat-card,
  .provider-card,
  .support-card,
  .promo-card,
  .feature-card,
  .trust-badge,
  .faq-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .cta-button {
    border-width: 3px;
  }

  .casino-text-shadow {
    text-shadow: 2px 2px 0px #000000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .floating-elements {
    display: none;
  }
}
