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

:root {
  --westace-dark: #0a1628;
  --westace-navy: #0f2140;
  --westace-emerald: #10b981;
  --westace-emerald-glow: #34d399;
  --westace-gold: #fbbf24;
}

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

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

.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(16, 185, 129, 0.15) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s infinite linear;
}

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

.shimmer-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 2s infinite;
}

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

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

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

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

/* Glow Effects */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.6);
  }
}

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

/* Prose Readability */
.prose-westace {
  line-height: 1.75;
  color: #cbd5e1;
}

.prose-westace h2 {
  color: #f1f5f9;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose-westace h3 {
  color: #e2e8f0;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

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

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

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

.prose-westace a {
  color: #34d399;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-westace a:hover {
  color: #6ee7b7;
}

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

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

/* Tab Styles */
.tab-btn {
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.tab-content {
  display: none;
}

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

/* Badge Animations */
.badge-shine {
  position: relative;
  overflow: hidden;
}

.badge-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-25deg);
  animation: badge-shine 3s infinite;
}

@keyframes badge-shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

/* Gradient Borders */
.gradient-border {
  position: relative;
  background: linear-gradient(135deg, #0f2140, #1a365d);
  border-radius: 1rem;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 1rem;
  background: linear-gradient(135deg, #10b981, #059669, #10b981);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Mobile Menu Animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-animate {
  animation: slideIn 0.3s ease forwards;
}

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

.star-empty {
  color: #475569;
}

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

.westace-table th {
  background: rgba(16, 185, 129, 0.1);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #10b981;
  border-bottom: 2px solid rgba(16, 185, 129, 0.3);
}

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

.westace-table tr:hover td {
  background: rgba(16, 185, 129, 0.05);
}

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

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

::-webkit-scrollbar-track {
  background: #0a1628;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #34d399;
}
