/* ZuuSpins Custom Styles - African Tribe Theme */

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

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.8);
  }
}

@keyframes slide-in-right {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-in-up {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

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

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

/* African Pattern Background */
.african-pattern {
  background-color: #fef9e7;
  background-image: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 35px,
      rgba(34, 197, 94, 0.05) 35px,
      rgba(34, 197, 94, 0.05) 70px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 35px,
      rgba(251, 191, 36, 0.05) 35px,
      rgba(251, 191, 36, 0.05) 70px
    );
}

/* Tribal Accent Border */
.tribal-border {
  border: 4px solid;
  border-image: repeating-linear-gradient(
      45deg,
      #22c55e,
      #22c55e 10px,
      #fbbf24 10px,
      #fbbf24 20px,
      #dc2626 20px,
      #dc2626 30px
    )
    1;
}

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

/* Custom Prose Styling */
.prose {
  max-width: 65ch;
  color: #374151;
  line-height: 1.75;
}

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

.prose h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  color: #374151;
}

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

.prose ul {
  list-style-type: disc;
  padding-left: 1.625em;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

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

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

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

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

.animate-fade-in-up {
  animation: fade-in-up 0.6s ease-out forwards;
}

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

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

/* Game Card Hover Effects */
.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 25px -5px rgba(34, 197, 94, 0.3), 0 10px 10px -5px rgba(34, 197, 94, 0.2);
}

/* CTA Button Enhancement */
.cta-button {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  transition: all 0.3s ease;
}

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

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

/* Sticky Elements */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background-color: rgba(254, 249, 231, 0.95);
}

.sticky-cta-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 40;
  animation: slide-in-right 0.5s ease-out;
}

@media (max-width: 768px) {
  .sticky-cta-banner {
    bottom: 10px;
    right: 10px;
    left: 10px;
  }
}

/* Mobile Menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.mobile-menu.active {
  max-height: 500px;
}

/* Gradient Overlays */
.gradient-overlay {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.9) 0%, rgba(251, 191, 36, 0.9) 100%);
}

/* Shadow Effects */
.shadow-tribal {
  box-shadow: 0 4px 6px -1px rgba(34, 197, 94, 0.2), 0 2px 4px -1px rgba(251, 191, 36, 0.1), inset 0 0 0 1px
    rgba(34, 197, 94, 0.1);
}

/* 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-jackpot {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #78350f;
}

.badge-rtp {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
}

.badge-bonus {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
}

/* Carousel Snap Scroll */
.carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* Review Stars */
.stars {
  display: inline-flex;
  gap: 2px;
}

.star-filled {
  color: #fbbf24;
}

.star-empty {
  color: #d1d5db;
}

/* Table Styling */
.table-wins {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 1rem;
  overflow: hidden;
}

.table-wins thead {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
}

.table-wins th,
.table-wins td {
  padding: 1rem;
  text-align: left;
}

.table-wins tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s ease;
}

.table-wins tbody tr:hover {
  background-color: rgba(34, 197, 94, 0.05);
}

.win-amount {
  color: #22c55e;
  font-weight: 700;
}

.loss-amount {
  color: #dc2626;
  font-weight: 700;
}

/* Alert Styles */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  border-left: 4px solid;
  background-color: rgba(239, 68, 68, 0.1);
  border-color: #dc2626;
}

/* 3D Button Effect */
.btn-3d {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
}

.btn-3d:hover {
  transform: translateY(-2px) translateZ(10px);
}

.btn-3d:active {
  transform: translateY(0) translateZ(0);
}

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

.provider-cloud span {
  padding: 0.5rem 1rem;
  background: white;
  border-radius: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.provider-cloud span:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.1);
}

/* Comparison Page Styles */
.comparison-table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  min-width: 800px;
}

.comparison-table th {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: white;
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  border-bottom: 2px solid #047857;
}

.comparison-table .highlight-column {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  position: relative;
}

.comparison-table .highlight-column::before {
  content: '⭐';
  position: absolute;
  top: -8px;
  right: 8px;
  font-size: 1.2rem;
}

.comparison-table td {
  padding: 0.875rem;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.3s ease;
}

.comparison-table tbody tr:hover {
  background: rgba(34, 197, 94, 0.05);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  background: #f9fafb;
}

.comparison-table .highlight-column {
  background: rgba(34, 197, 94, 0.1);
  font-weight: 600;
  color: #059669;
}

/* Payment Methods Grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.payment-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.payment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.2);
  border-color: #10b981;
}

.payment-card h4 {
  color: #059669;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.payment-card p {
  color: #6b7280;
  margin-bottom: 1rem;
}

.processing-time {
  background: linear-gradient(135deg, #10b981, #34d399);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Withdrawal Stats */
.withdrawal-comparison {
  margin: 2rem 0;
}

.withdrawal-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #10b981;
}

.stat-item h3 {
  color: #059669;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: #6b7280;
  font-weight: 500;
}

/* Promotions Grid */
.promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.promo-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 2px solid #d1fae5;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #34d399, #6ee7b7);
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.2);
  border-color: #10b981;
}

.promo-card h4 {
  color: #047857;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.bonus-amount {
  color: #059669;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.promo-card p {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.wagering {
  background: #10b981;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
}

/* CTA Section */
.cta-section {
  text-align: center;
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-radius: 16px;
  border: 2px solid #d1fae5;
}

.cta-button.large {
  padding: 1rem 2rem;
  font-size: 1.25rem;
  border-radius: 12px;
  display: inline-block;
  text-decoration: none;
  margin-bottom: 1rem;
}

.cta-subtext {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

/* Disclaimer */
.disclaimer {
  text-align: center;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  margin-top: 2rem;
}

.disclaimer p {
  color: #6b7280;
  margin: 0;
}

/* Poster Image Container */
.poster-image-container {
  float: left;
  margin: 0 2rem 1.5rem 0;
  max-width: 300px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.poster-image-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(34, 197, 94, 0.25);
}

.poster-image {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 3px solid #10b981;
}

.poster-caption {
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  color: #047857;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  margin: 0;
  border-top: 1px solid #d1fae5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .comparison-table-container {
    margin: 1rem -1rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.875rem;
  }
  
  .payment-methods-grid,
  .promotions-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .withdrawal-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-item {
    padding: 1.5rem;
  }
  
  .stat-item h3 {
    font-size: 2rem;
  }
  
  .bonus-amount {
    font-size: 1.5rem;
  }
  
  .poster-image-container {
    float: none;
    margin: 1.5rem auto 2rem auto;
    max-width: 280px;
  }
  
  .poster-caption {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }
}
