/* Custom CSS for Cat Spins Casino Theme */

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

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

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

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(254, 203, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(254, 203, 0, 0.6);
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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

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

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

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

.animate-spin-slow {
  animation: spin-slow 8s linear infinite;
}

/* Prose Styling for Content Readability */
.prose {
  max-width: none;
  color: #e5e7eb;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  color: #fecb00;
  font-weight: 700;
}

.prose p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

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

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

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

.prose a {
  color: #ef4914;
  text-decoration: underline;
  transition: color 0.2s;
}

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

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

.prose th,
.prose td {
  border: 1px solid #374151;
  padding: 0.75rem;
  text-align: left;
}

.prose th {
  background-color: #1f2937;
  color: #fecb00;
  font-weight: 600;
}

.prose tr:nth-child(even) {
  background-color: rgba(31, 41, 55, 0.5);
}

/* Custom Utility Classes */
.bg-hero-pattern {
  background-image: radial-gradient(circle at 25% 25%, rgba(254, 203, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(239, 73, 20, 0.1) 0%, transparent 50%);
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.glass-effect {
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cat-paw-cursor {
  cursor: pointer;
}

.cat-paw-cursor:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

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

/* Focus States for Accessibility */
.focus-visible:focus {
  outline: 2px solid #fecb00;
  outline-offset: 2px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #ef4914;
}

/* Responsive Typography */
@media (max-width: 640px) {
  .prose {
    font-size: 0.875rem;
  }
}

/* Custom Button Styles */
.btn-primary {
  background: linear-gradient(135deg, #fecb00 0%, #f59e0b 100%);
  color: #000;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #fecb00 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(254, 203, 0, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, #ef4914 0%, #dc2626 100%);
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #dc2626 0%, #ef4914 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(239, 73, 20, 0.3);
}

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

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(254, 203, 0, 0.2), transparent);
  transition: left 0.5s;
}

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

/* Marquee Container */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 30s linear infinite;
}

/* Responsive Grid Utilities */
.grid-responsive {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-responsive {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-responsive {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Island Bottom Menu */
.bottom-island {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  border: 2px solid #fecb00;
  border-radius: 2rem;
  padding: 0.5rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Wagering Calculator */
.calculator-input {
  background: rgba(31, 41, 55, 0.8);
  border: 1px solid #374151;
  color: #e5e7eb;
  padding: 0.5rem;
  border-radius: 0.5rem;
  width: 100%;
}

.calculator-input:focus {
  outline: none;
  border-color: #fecb00;
  box-shadow: 0 0 0 2px rgba(254, 203, 0, 0.2);
}

/* Trustpilot-style Review Cards */
.review-card {
  background: rgba(31, 41, 55, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
}

.review-card::before {
  content: "🐱";
  position: absolute;
  top: -10px;
  right: 1rem;
  font-size: 1.5rem;
  background: #111827;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
}

/* Star Rating */
.star-rating {
  color: #fecb00;
  font-size: 1.25rem;
}

/* Comparison Table Styling */
.comparison-table {
  background: rgba(31, 41, 55, 0.6);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
  background: rgba(254, 203, 0, 0.1);
  color: #fecb00;
  font-weight: 600;
  padding: 1rem;
  text-align: left;
}

.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* Payment Method Icons */
.payment-icon {
  width: 3rem;
  height: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
}

/* FAQ Styling */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}

.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: between;
  align-items: center;
  font-weight: 600;
  color: #fecb00;
}

.faq-answer {
  margin-top: 1rem;
  line-height: 1.6;
  color: #d1d5db;
}

/* Responsive Utilities */
@media (max-width: 1023px) {
  .lg-hidden {
    display: none;
  }
}

@media (min-width: 1024px) {
  .lg-show {
    display: block;
  }
  .mobile-only {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .mobile-only {
    display: flex !important;
  }
}
