/* Custom CSS for WonderLuck Casino */

/* Base Styles */
* {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #642d87 0%, #a94caa 50%, #642d87 100%);
  background-attachment: fixed;
}

/* Gradient Text Effects */
.gradient-text {
  background: linear-gradient(45deg, #c7305d, #df5446, #a94caa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(30deg);
  }
}

@keyframes textGlow {
  from {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(199, 48, 93, 0.3);
  }
  to {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(199, 48, 93, 0.6);
  }
}

/* Magic Glow Effect */
.magic-glow {
  animation: magicGlow 2s ease-in-out infinite alternate;
}

@keyframes magicGlow {
  from {
    filter: drop-shadow(0 0 5px #c7305d);
  }
  to {
    filter: drop-shadow(0 0 15px #c7305d);
  }
}

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

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #c7305d, #df5446);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Buttons */
.cta-button {
  background: linear-gradient(45deg, #c7305d, #df5446);
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(199, 48, 93, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(199, 48, 93, 0.5);
  filter: brightness(1.1);
}

.cta-button-large {
  background: linear-gradient(45deg, #c7305d, #df5446);
  padding: 16px 32px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(199, 48, 93, 0.4);
  color: white;
}

.cta-button-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(199, 48, 93, 0.6);
  filter: brightness(1.1);
}

.cta-button-secondary {
  background: transparent;
  border: 2px solid #c7305d;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  color: white;
}

.cta-button-secondary:hover {
  background: #c7305d;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(199, 48, 93, 0.3);
}

.cta-button-small {
  background: linear-gradient(45deg, #c7305d, #df5446);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  color: white;
}

.cta-button-small:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

/* Bonus Display Box */
.bonus-display-box {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(199, 48, 93, 0.1));
  border: 2px solid #c7305d;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  animation: bonusGlow 3s ease-in-out infinite;
}

.bonus-display-box::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #c7305d, #df5446, #a94caa, #c7305d);
  border-radius: 20px;
  z-index: -1;
  animation: borderRotate 4s linear infinite;
}

@keyframes bonusGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(199, 48, 93, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(199, 48, 93, 0.6);
  }
}

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

/* Hero Section */
.hero-title {
  animation: heroEntrance 1s ease-out;
}

@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-image-container {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-image {
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.05);
}

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

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

.floating-card,
.floating-chip,
.floating-dice,
.floating-star,
.floating-diamond,
.floating-coin {
  position: absolute;
  color: rgba(199, 48, 93, 0.3);
  font-size: 2rem;
  animation: floatAround 20s linear infinite;
}

.floating-card {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-chip {
  top: 20%;
  right: 15%;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, #df5446, #c7305d);
  border-radius: 50%;
  animation-delay: -5s;
}

.floating-dice {
  top: 60%;
  left: 5%;
  animation-delay: -10s;
}

.floating-star {
  top: 30%;
  right: 30%;
  animation-delay: -15s;
}

.floating-diamond {
  top: 70%;
  right: 10%;
  animation-delay: -7s;
}

.floating-coin {
  top: 80%;
  left: 20%;
  animation-delay: -12s;
}

@keyframes floatAround {
  0% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-100px) rotate(90deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-50px) rotate(180deg);
    opacity: 0.3;
  }
  75% {
    transform: translateY(-150px) rotate(270deg);
    opacity: 0.6;
  }
  100% {
    transform: translateY(0px) rotate(360deg);
    opacity: 0.3;
  }
}

/* Spotlight Animation */
.spotlight-animation {
  background: radial-gradient(circle at 20% 50%, rgba(199, 48, 93, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(223, 84, 70, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(169, 76, 170, 0.1) 0%, transparent 50%);
  animation: spotlightMove 10s ease-in-out infinite;
}

@keyframes spotlightMove {
  0%,
  100% {
    background: radial-gradient(circle at 20% 50%, rgba(199, 48, 93, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(223, 84, 70, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 40% 80%, rgba(169, 76, 170, 0.1) 0%, transparent 50%);
  }
  33% {
    background: radial-gradient(circle at 80% 30%, rgba(199, 48, 93, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 20% 70%, rgba(223, 84, 70, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 60% 20%, rgba(169, 76, 170, 0.1) 0%, transparent 50%);
  }
  66% {
    background: radial-gradient(circle at 40% 20%, rgba(199, 48, 93, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 70% 80%, rgba(223, 84, 70, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 20% 40%, rgba(169, 76, 170, 0.1) 0%, transparent 50%);
  }
}

/* Step Cards */
.step-card {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(199, 48, 93, 0.1));
  border: 1px solid rgba(199, 48, 93, 0.3);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  animation: cardEntrance 0.6s ease-out;
}

.step-card:hover {
  transform: translateY(-10px);
  border-color: #c7305d;
  box-shadow: 0 10px 30px rgba(199, 48, 93, 0.3);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: linear-gradient(45deg, #c7305d, #df5446);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.step-icon {
  font-size: 3rem;
  color: #c7305d;
  margin: 1rem 0;
  animation: iconPulse 2s ease-in-out infinite;
}

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

@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Game Cards */
.game-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 40px rgba(199, 48, 93, 0.4);
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.play-btn {
  background: linear-gradient(45deg, #c7305d, #df5446);
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.play-btn:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Provider Cards */
.provider-card {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(199, 48, 93, 0.1));
  border: 1px solid rgba(199, 48, 93, 0.3);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}

.provider-card:hover {
  border-color: #c7305d;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(199, 48, 93, 0.3);
}

/* VIP Cards */
.vip-card {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(199, 48, 93, 0.1));
  border: 2px solid rgba(199, 48, 93, 0.3);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.vip-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(199, 48, 93, 0.4);
}

.vip-card.bronze {
  border-color: #cd7f32;
}
.vip-card.silver {
  border-color: #c0c0c0;
}
.vip-card.gold {
  border-color: #ffd700;
}
.vip-card.diamond {
  border-color: #b9f2ff;
}

/* Promo Cards */
.promo-card {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(199, 48, 93, 0.1));
  border: 1px solid rgba(199, 48, 93, 0.3);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  animation: cardEntrance 0.8s ease-out;
}

.promo-card:hover {
  transform: translateY(-10px);
  border-color: #c7305d;
  box-shadow: 0 15px 40px rgba(199, 48, 93, 0.3);
}

.promo-icon {
  font-size: 3rem;
  color: #c7305d;
  margin-bottom: 1rem;
  animation: iconBounce 2s ease-in-out infinite;
}

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

/* Bonus Crab Image */
.bonus-crab-image {
  animation: crabFloat 4s ease-in-out infinite;
}

@keyframes crabFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

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

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

/* FAQ */
.faq-item {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(199, 48, 93, 0.1));
  border: 1px solid rgba(199, 48, 93, 0.3);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(199, 48, 93, 0.1);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: #ccc;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeInDown 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .floating-elements {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .bonus-display-box {
    margin: 2rem 0;
  }

  .step-card,
  .promo-card {
    margin-bottom: 2rem;
  }
}

/* Parallax Effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

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

.loading {
  animation: spin 1s linear infinite;
}
