/* Custom Animations & Styles for Moneymask Casino */

/* Dragon Pattern Background */
.dragon-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.03;
  background-image: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(0, 255, 249, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Holographic Card Effect */
.holo-card {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(15, 23, 42, 0.8) 50%, rgba(255, 215, 0, 0.1) 100%);
  position: relative;
  overflow: hidden;
}

.holo-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.1) 50%, transparent 70%);
  animation: holo-shine 8s linear infinite;
}

@keyframes holo-shine {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Floating Animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

/* Text Gradient */
.text-gradient {
  background: linear-gradient(135deg, #00d4ff 0%, #00fff9 50%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Bonus Card */
.bonus-card {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 51, 102, 0.2) 100%);
  border: 2px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, #00d4ff 0%, #00fff9 100%);
  color: #0f172a;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

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

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

/* Badge Styles */
.badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: bold;
  z-index: 10;
}

.badge-rtp {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.badge-jackpot {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.badge-bonus {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
}

/* Feature Card */
.feature-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.8) 100%);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(0, 212, 255, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

/* Promo Card */
.promo-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.promo-card:hover {
  border-color: rgba(255, 215, 0, 0.6);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

/* Payment Method */
.payment-method {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.payment-method:hover {
  border-color: rgba(0, 212, 255, 0.5);
  background: rgba(0, 212, 255, 0.1);
}

/* Review Card */
.review-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.review-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-3px);
}

/* VIP Tier */
.vip-tier {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 2px solid rgba(255, 215, 0, 0.2);
  border-radius: 1.5rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.vip-tier:hover {
  border-color: rgba(255, 215, 0, 0.5);
  transform: scale(1.05);
}

/* Tournament Card */
.tournament-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.tournament-card:hover {
  border-color: rgba(0, 212, 255, 0.6);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

/* FAQ Item */
.faq-item {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
}

/* Provider Tag */
.provider-tag {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 255, 249, 0.2) 100%);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.875rem;
}

/* Marquee Animation */
.marquee-container {
  position: relative;
  width: 100%;
}

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

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

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

/* Parallax Effect */
.parallax {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* Prose Styling for Readability */
.prose {
  line-height: 1.7;
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #00d4ff;
}

.prose h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #00fff9;
}

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

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

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

.prose a:hover {
  color: #00fff9;
}

.prose strong {
  font-weight: 700;
  color: #ffd700;
}

.prose code {
  background: rgba(0, 212, 255, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .holo-card {
    padding: 1.5rem;
  }

  .feature-card,
  .promo-card,
  .tournament-card {
    padding: 1.25rem;
  }
}

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

/* Selection color */
::selection {
  background: rgba(0, 212, 255, 0.3);
  color: white;
}

::-moz-selection {
  background: rgba(0, 212, 255, 0.3);
  color: white;
}
