/* ==========================================================================
   Custom CSS for Sankra Casino - Indiana Jones Adventure Theme
   ========================================================================== */

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

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

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

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

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.5), 0 0 40px rgba(255, 193, 7, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.8), 0 0 60px rgba(255, 193, 7, 0.5);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes tilt {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

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

/* Utility Classes */
.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

.animate-pulse-slow {
  animation: pulse 2s ease-in-out infinite;
}

.animate-shimmer {
  animation: shimmer 3s linear infinite;
  background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.4), transparent);
  background-size: 200% 100%;
}

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

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

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

.animate-marquee {
  animation: marquee 30s linear infinite;
}

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

/* Prose Styling for Readability */
.prose {
  color: #e0e0e0;
  max-width: 65ch;
  line-height: 1.7;
}

.prose h2 {
  color: #ffc107;
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(255, 193, 7, 0.3);
}

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

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

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

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

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

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

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

.prose blockquote {
  border-left: 4px solid #ffc107;
  padding-left: 1rem;
  font-style: italic;
  color: #b0b0b0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.prose th {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
}

.prose td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 193, 7, 0.2);
}

/* Custom Gradient Backgrounds */
.bg-adventure-gradient {
  background: linear-gradient(135deg, #1a0f0a 0%, #2d1810 50%, #1a0f0a 100%);
}

.bg-treasure-gradient {
  background: linear-gradient(135deg, #3d2817 0%, #5a3d2a 50%, #3d2817 100%);
}

.bg-gold-gradient {
  background: linear-gradient(135deg, #ffc107 0%, #ffd54f 50%, #ffc107 100%);
}

/* Card Styles */
.card-adventure {
  background: rgba(61, 40, 23, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: 1rem;
  transition: all 0.3s;
}

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

/* Button Overrides */
.btn-primary {
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  color: #1a0f0a;
  font-weight: 700;
  border: none;
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffd54f 0%, #ffc107 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

.btn-secondary {
  background: transparent;
  color: #ffc107;
  font-weight: 600;
  border: 2px solid #ffc107;
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: #ffc107;
  color: #1a0f0a;
}

/* Badge Styles */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-gold {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.4);
}

.badge-red {
  background: rgba(220, 38, 38, 0.2);
  color: #ef4444;
  border: 1px solid rgba(220, 38, 38, 0.4);
}

.badge-green {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

/* Sticky Elements */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(26, 15, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 193, 7, 0.2);
}

.sticky-cta {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 999;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(26, 15, 10, 0.98);
  backdrop-filter: blur(20px);
  transition: right 0.3s ease;
  z-index: 2000;
}

.mobile-menu.active {
  right: 0;
}

/* SVG Pattern Background */
.pattern-bg {
  background-image: radial-gradient(circle at 20% 50%, rgba(255, 193, 7, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 193, 7, 0.05) 0%, transparent 50%);
}

/* Slot Grid */
.slot-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  transition: transform 0.3s;
}

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

.slot-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
}

/* Payment Logos Grid */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 1rem;
  align-items: center;
}

/* Provider Cloud */
.provider-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.provider-tag {
  padding: 0.5rem 1.25rem;
  background: rgba(61, 40, 23, 0.6);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: 9999px;
  color: #e0e0e0;
  font-size: 0.875rem;
  transition: all 0.3s;
}

.provider-tag:hover {
  background: rgba(255, 193, 7, 0.2);
  border-color: #ffc107;
  color: #ffc107;
  transform: translateY(-2px);
}

/* Rating Stars */
.rating-stars {
  display: flex;
  gap: 0.25rem;
}

.star {
  color: #ffc107;
  font-size: 1.25rem;
}

/* Disclaimer Alert */
.disclaimer-alert {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 0.75rem;
  padding: 1rem;
  color: #fca5a5;
}

/* Responsible Gaming Banner */
.rg-banner {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(185, 28, 28, 0.2) 100%);
  border: 2px solid rgba(220, 38, 38, 0.5);
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.rg-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

/* Wheel Widget Styles */
.wheel-container {
  position: relative;
  width: 300px;
  height: 300px;
}

.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 8px solid #ffc107;
  position: relative;
  transition: transform 4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1a0f0a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffc107 0%, #ffb300 100%);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffd54f 0%, #ffc107 100%);
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .prose {
    font-size: 0.9375rem;
  }

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

  .prose h3 {
    font-size: 1.25rem;
  }

  .sticky-cta {
    bottom: 0;
    right: 0;
    left: 0;
    border-radius: 0;
  }
}
