/* Casea Custom Styles - Sea Life Casino Vibe */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a1628;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0ea5e9, #06b6d4);
  border-radius: 4px;
}

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

.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(14, 165, 233, 0.3) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

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

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

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

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

.float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

.float-delay-1 {
  animation-delay: 0.5s;
}

.float-delay-2 {
  animation-delay: 1s;
}

.float-delay-3 {
  animation-delay: 1.5s;
}

/* Bubble decorations */
@keyframes bubble {
  0% {
    transform: translateY(100%) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(125, 211, 252, 0.4), rgba(14, 165, 233, 0.1));
  animation: bubble 8s ease-in-out infinite;
}

/* Glow effects */
.glow-cyan {
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4), 0 0 40px rgba(6, 182, 212, 0.2);
}

.glow-cyan-sm {
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4), 0 0 40px rgba(6, 182, 212, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.6), 0 0 60px rgba(6, 182, 212, 0.3);
  }
}

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

/* Card hover effects */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.25);
}

/* Button shine effect */
@keyframes btn-shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: btn-shine 3s ease-in-out infinite;
}

/* Prose readability for review content */
.prose-casino {
  line-height: 1.75;
  color: #e0f2fe;
}

.prose-casino h2 {
  color: #f0f9ff;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

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

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

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

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

.prose-casino strong {
  color: #7dd3fc;
}

/* Tab styles */
.tab-btn {
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  color: #fff;
}

.tab-content {
  display: none;
}

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

/* Badge styles */
.badge {
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-jackpot {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1e1e1e;
}

.badge-rtp {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}

.badge-bonus {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
}

.badge-popular {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #fff;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #7dd3fc, #22d3ee, #2dd4bf);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glass morphism */
.glass {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(125, 211, 252, 0.1);
}

/* Wave decoration */
.wave-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%230ea5e9' fill-opacity='0.05' d='M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
}

/* Star rating */
.star-rating {
  color: #fbbf24;
}

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

.casino-table th {
  background: rgba(14, 165, 233, 0.2);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #7dd3fc;
  border-bottom: 2px solid rgba(14, 165, 233, 0.3);
}

.casino-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(125, 211, 252, 0.1);
  color: #e0f2fe;
}

.casino-table tr:hover td {
  background: rgba(14, 165, 233, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .prose-casino h2 {
    font-size: 1.25rem;
  }
  
  .prose-casino h3 {
    font-size: 1.125rem;
  }
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #7dd3fc;
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #0ea5e9;
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}
