/* Custom animations and overrides */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes tilt {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(1deg);
  }
  75% {
    transform: rotate(-1deg);
  }
}

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

/* Animation classes */
.float-animation {
  animation: float 3s ease-in-out infinite;
}

.tilt-animation {
  animation: tilt 2s ease-in-out infinite;
}

.shimmer-effect {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

.marquee {
  animation: marquee 20s linear infinite;
}

/* Texture effects */
.velvet-texture {
  background: linear-gradient(135deg, #2d1b69 0%, #1a0f3d 100%);
  position: relative;
}

.velvet-texture::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.brushed-gold {
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #b8860b 100%);
  background-size: 200% 200%;
  animation: shimmer 3s ease-in-out infinite;
}

.matte-black {
  background: #1a1a1a;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.marble-texture {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
  background-size: 400% 400%;
  position: relative;
}

.marble-texture::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    repeat;
  opacity: 0.3;
  pointer-events: none;
}

/* Prose styling for readability */
.prose {
  max-width: none;
  color: #374151;
  line-height: 1.7;
}

.prose h1 {
  color: #1f2937;
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.prose h2 {
  color: #1f2937;
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h3 {
  color: #374151;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.4;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

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

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

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

.prose strong {
  color: #1f2937;
  font-weight: 600;
}

.prose a {
  color: #d4af37;
  text-decoration: underline;
  font-weight: 500;
}

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

/* Custom button styles */
.btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
  color: #1a1a1a;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #d4af37;
  color: #d4af37;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #d4af37;
  color: #1a1a1a;
  transform: translateY(-2px);
}

/* Bonus badge styling */
.bonus-badge {
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
  border: 3px solid #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

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

/* Mobile navigation */
.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

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

/* Game card hover effects */
.game-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.game-card::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;
}

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

/* Payment method icons */
.payment-icon {
  width: 40px;
  height: 28px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #495057;
}

/* FAQ styling */
.faq-item {
  border-bottom: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(212, 175, 55, 0.05);
}

.faq-question {
  cursor: pointer;
  position: relative;
  padding-right: 2rem;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.active {
  max-height: 200px;
}

/* Responsive utilities */
@media (max-width: 1023px) {
  .prose h1 {
    font-size: 2rem;
  }

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

@media (max-width: 767px) {
  .prose h1 {
    font-size: 1.75rem;
  }

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

  .bonus-badge {
    margin: 1rem;
  }
}
