/* Wintino Casino - Custom Styles */
/* Animations: Shimmer + Float */

/* ===== KEYFRAMES ===== */

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Float Effect */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Pulse Glow */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.7);
  }
}

/* Fade In Up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== UTILITY CLASSES ===== */

.shimmer-text {
  background: linear-gradient(
    90deg,
    #a855f7 0%,
    #e879f9 25%,
    #f0abfc 50%,
    #e879f9 75%,
    #a855f7 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

.shimmer-border {
  position: relative;
  overflow: hidden;
}

.shimmer-border::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(168, 85, 247, 0.3) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
}

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

.float-animation-delayed {
  animation: float 4s ease-in-out infinite;
  animation-delay: 1s;
}

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

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

/* ===== PROSE READABILITY ===== */

.prose-casino {
  color: #d1d5db;
  line-height: 1.75;
  font-size: 1rem;
}

.prose-casino h2 {
  color: #f3f4f6;
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.prose-casino h3 {
  color: #e5e7eb;
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

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

.prose-casino ul,
.prose-casino ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

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

.prose-casino a {
  color: #a855f7;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.prose-casino a:hover {
  color: #c084fc;
}

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

/* ===== CUSTOM COMPONENTS ===== */

/* iOS-style rounded cards */
.card-ios {
  background: linear-gradient(145deg, rgba(31, 31, 35, 0.9), rgba(17, 17, 21, 0.95));
  border-radius: 1.25rem;
  border: 1px solid rgba(168, 85, 247, 0.15);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-ios:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.2);
}

/* Purple CTA Button */
.btn-cta {
  background: linear-gradient(135deg, #9333ea 0%, #7c3aed 50%, #6d28d9 100%);
  color: #ffffff;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(147, 51, 234, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

.btn-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(147, 51, 234, 0.6);
  background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 50%, #7c3aed 100%);
}

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

.btn-cta-secondary:hover {
  background: rgba(147, 51, 234, 0.15);
  border-color: #a855f7;
  color: #e9d5ff;
}

/* Pill/Chip Navigation */
.chip {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #c084fc;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.chip:hover {
  background: rgba(168, 85, 247, 0.25);
  border-color: #a855f7;
  color: #e9d5ff;
}

/* Slot Card */
.slot-card {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 1rem;
  overflow: hidden;
  background: #1a1a1f;
  transition: transform 0.3s ease;
}

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

.slot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.slot-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
}

.slot-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: linear-gradient(135deg, #9333ea, #6d28d9);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Tab System */
.tab-btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: #9ca3af;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  background: transparent;
}

.tab-btn.active {
  color: #a855f7;
  border-bottom-color: #a855f7;
}

.tab-btn:hover:not(.active) {
  color: #d1d5db;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Payment Table */
.payment-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.payment-table th {
  background: rgba(168, 85, 247, 0.15);
  color: #e9d5ff;
  font-weight: 600;
  text-align: left;
  padding: 1rem;
  font-size: 0.875rem;
}

.payment-table th:first-child {
  border-radius: 0.75rem 0 0 0;
}

.payment-table th:last-child {
  border-radius: 0 0.75rem 0 0;
}

.payment-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #d1d5db;
  font-size: 0.875rem;
}

.payment-table tr:last-child td:first-child {
  border-radius: 0 0 0 0.75rem;
}

.payment-table tr:last-child td:last-child {
  border-radius: 0 0 0.75rem 0;
}

.payment-table tbody tr {
  background: rgba(17, 17, 21, 0.6);
  transition: background 0.2s ease;
}

.payment-table tbody tr:hover {
  background: rgba(168, 85, 247, 0.08);
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 1rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: rgba(17, 17, 21, 0.8);
}

.faq-question {
  width: 100%;
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  color: #f3f4f6;
  font-weight: 600;
  background: transparent;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: rgba(168, 85, 247, 0.1);
}

.faq-question svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

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

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
  color: #9ca3af;
  line-height: 1.6;
}

/* Feature Card */
.feature-card {
  background: linear-gradient(145deg, rgba(31, 31, 35, 0.8), rgba(17, 17, 21, 0.9));
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 1.25rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  background: linear-gradient(145deg, rgba(41, 37, 51, 0.8), rgba(23, 21, 29, 0.9));
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Author Card */
.author-card {
  background: linear-gradient(145deg, rgba(41, 37, 51, 0.6), rgba(23, 21, 29, 0.8));
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
}

/* Review Star Rating */
.stars {
  color: #facc15;
  letter-spacing: 0.125rem;
}

/* Trust Badge */
.trust-badge {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #c084fc;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #a855f7, #ec4899, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #111115;
}

::-webkit-scrollbar-thumb {
  background: #4c1d95;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6d28d9;
}

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

.mobile-menu.open {
  max-height: 400px;
}

/* Hero panel */
.hero-panel {
  background: linear-gradient(160deg, rgba(31, 27, 41, 0.95), rgba(15, 13, 21, 0.98));
  border: 1px solid rgba(168, 85, 247, 0.25);
  box-shadow: 0 25px 80px rgba(147, 51, 234, 0.2), 0 0 0 1px rgba(168, 85, 247, 0.1);
}

/* CTA Banner gradient */
.cta-banner {
  background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 50%, #9333ea 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
  background-size: 200% 100%;
}

/* Winner card glow */
.winner-glow {
  box-shadow: 0 0 60px rgba(168, 85, 247, 0.3), 0 0 100px rgba(236, 72, 153, 0.15);
}

/* Responsive utilities */
@media (max-width: 768px) {
  .prose-casino h2 {
    font-size: 1.5rem;
  }

  .prose-casino h3 {
    font-size: 1.2rem;
  }

  .btn-cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
  }
}
