/* Racing-themed CSS Pattern Background */
.racing-pattern {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 107, 0, 0.03) 10px,
    rgba(255, 107, 0, 0.03) 20px
  );
}

/* Keyframe Animations */
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 107, 0, 0.6);
  }
}

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

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Apply Animations */
.pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

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

.slide-in {
  animation: slide-in 0.5s ease-out;
}

.provider-glow {
  box-shadow: 0 0 30px rgba(255, 107, 0, 0.2);
  transition: all 0.3s ease;
}

.provider-glow:hover {
  box-shadow: 0 0 50px rgba(255, 107, 0, 0.4);
  transform: scale(1.05);
}

/* Custom Scrollbar */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

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

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  color: #ffffff;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  line-height: 1.3;
}

.prose h1 {
  font-size: 2.25em;
}

.prose h2 {
  font-size: 1.875em;
}

.prose h3 {
  font-size: 1.5em;
}

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

.prose a {
  color: #ff6b00;
  text-decoration: none;
  transition: color 0.2s;
}

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

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

.prose ul,
.prose ol {
  margin-top: 1em;
  margin-bottom: 1em;
  padding-left: 1.5em;
}

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

.prose code {
  background-color: #2a2a2a;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
  color: #ff6b00;
}

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

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

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

.prose th {
  background-color: #2a2a2a;
  font-weight: 600;
  color: #ff6b00;
}

/* Racing Stripe Accent */
.racing-stripe {
  position: relative;
  overflow: hidden;
}

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

/* Mobile Menu Transition */
@media (max-width: 768px) {
  #mobileMenu {
    animation: slide-in 0.3s ease-out;
  }
}

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

/* Focus Styles for Accessibility */
*:focus {
  outline: 2px solid #ff6b00;
  outline-offset: 2px;
}

button:focus,
a:focus {
  outline: 2px solid #ff6b00;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  header,
  footer,
  #stickyBanner,
  .no-print {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}
