/* SpinBoss Custom CSS */
/* Animations: Shimmer + Float */

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

.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(34, 197, 94, 0.15) 25%,
    rgba(34, 197, 94, 0.3) 50%,
    rgba(34, 197, 94, 0.15) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    #22c55e 0%,
    #4ade80 25%,
    #86efac 50%,
    #4ade80 75%,
    #22c55e 100%
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2.5s linear infinite;
}

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

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

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

.float-slow {
  animation: float-slow 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;
}

/* Pulse Glow for CTAs */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(34, 197, 94, 0.4),
                0 0 20px rgba(34, 197, 94, 0.2);
  }
  50% {
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.6),
                0 0 40px rgba(34, 197, 94, 0.3);
  }
}

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

/* Prose Readability */
.prose-content {
  font-size: 1rem;
  line-height: 1.75;
  color: #d1d5db;
}

.prose-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f9fafb;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.prose-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f3f4f6;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

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

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

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

.prose-content a {
  color: #4ade80;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-content a:hover {
  color: #22c55e;
}

/* Tab Active States */
.tab-btn.active {
  background-color: #22c55e;
  color: #111827;
}

.tab-content {
  display: none;
}

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

/* 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(34, 197, 94, 0.15);
}

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

::-webkit-scrollbar-track {
  background: #1f2937;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}

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

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

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

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

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

.star-empty {
  color: #4b5563;
}

/* Payment Cloud */
@keyframes bubble-in {
  0% { opacity: 0; transform: scale(0.6) translateY(12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.pm-bubble {
  animation: bubble-in 0.45s ease-out both;
}

.pm-bubble:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 24px rgba(34,197,94,0.18);
}

/* Modal overlay */
.pm-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.2s ease;
}

.pm-overlay.hidden {
  display: none;
}

.pm-modal {
  animation: modal-pop 0.25s ease-out;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

@keyframes modal-pop {
  0% { opacity: 0; transform: scale(0.92) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
