/* Floating Clovers Animation */
.floating-clovers {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.floating-clovers::before,
.floating-clovers::after {
  content: "🍀";
  position: absolute;
  font-size: 2rem;
  opacity: 0.15;
  animation: float 20s infinite ease-in-out;
}

.floating-clovers::before {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.floating-clovers::after {
  top: 60%;
  left: 70%;
  animation-delay: 8s;
  animation-duration: 30s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  25% {
    transform: translateY(-100px) translateX(50px) rotate(90deg);
  }
  50% {
    transform: translateY(-50px) translateX(100px) rotate(180deg);
  }
  75% {
    transform: translateY(-150px) translateX(25px) rotate(270deg);
  }
}

/* CTA Pulse Animation */
.cta-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(255, 215, 0, 0);
  }
}

/* Rainbow Glow Effect */
.rainbow-glow {
  position: relative;
  animation: rainbow-border 8s linear infinite;
}

@keyframes rainbow-border {
  0% {
    border-color: rgba(255, 215, 0, 0.3);
  }
  25% {
    border-color: rgba(34, 197, 94, 0.3);
  }
  50% {
    border-color: rgba(255, 215, 0, 0.3);
  }
  75% {
    border-color: rgba(22, 163, 74, 0.3);
  }
  100% {
    border-color: rgba(255, 215, 0, 0.3);
  }
}

/* Glow Border for Featured Slot */
.glow-border {
  position: relative;
  background: linear-gradient(45deg, #ffd700, #16a34a, #ffd700);
  background-size: 200% 200%;
  animation: glow-rotate 3s ease infinite;
}

@keyframes glow-rotate {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Wheel Spin Animation */
.wheel-spin {
  animation: spin 10s linear infinite;
  transform-origin: center;
}

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

/* Scrollbar Hide */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Prose Styling for Readability */
.prose {
  color: #d1d5db;
  line-height: 1.75;
}

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

.prose h2 {
  color: #ffd700;
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h3 {
  color: #ffd700;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

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

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

.prose a {
  color: #ffd700;
  text-decoration: underline;
}

.prose a:hover {
  color: #16a34a;
}

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

.prose blockquote {
  border-left: 4px solid #ffd700;
  padding-left: 1rem;
  font-style: italic;
  color: #9ca3af;
  margin: 1.5rem 0;
}

.prose code {
  background-color: rgba(255, 215, 0, 0.1);
  color: #ffd700;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.prose pre {
  background-color: rgba(13, 77, 43, 0.5);
  color: #d1d5db;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.prose img {
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

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

.prose th {
  background-color: rgba(255, 215, 0, 0.1);
  color: #ffd700;
  font-weight: 600;
  padding: 0.75rem;
  text-align: left;
  border-bottom: 2px solid #ffd700;
}

.prose td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

/* Parallax Effect for Background */
body {
  background-attachment: fixed;
  background-size: cover;
}

/* Tilt Effect on Cards */
@media (hover: hover) {
  .hover\:scale-105:hover {
    transform: scale(1.05) rotate(0.5deg);
  }
}

/* Custom Container */
.container {
  max-width: 1280px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .floating-clovers::before,
  .floating-clovers::after {
    font-size: 1.5rem;
  }

  h1 {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }
}

/* Smooth Animations */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Print Styles */
@media print {
  .floating-clovers,
  header,
  footer,
  #sticky-cta {
    display: none !important;
  }
}
