/* Neon Glow Effect */
.neon-glow {
  text-shadow: 0 0 10px rgba(176, 38, 255, 0.8), 0 0 20px rgba(176, 38, 255, 0.6), 0 0 30px rgba(176, 38, 255, 0.4);
}

/* Bowling Pattern Background */
.bowling-pattern {
  background-image: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 35px,
      rgba(0, 240, 255, 0.03) 35px,
      rgba(0, 240, 255, 0.03) 70px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 35px,
      rgba(176, 38, 255, 0.03) 35px,
      rgba(176, 38, 255, 0.03) 70px
    );
  width: 100%;
  height: 100%;
}

/* Parallax Animation */
.parallax-content {
  animation: parallaxFloat 6s ease-in-out infinite;
}

.parallax-image {
  animation: parallaxFloat 8s ease-in-out infinite;
}

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

/* Marquee Animation */
.marquee-container {
  position: relative;
  width: 100%;
}

.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Island Navigation */
.island-nav {
  box-shadow: 0 -4px 20px rgba(176, 38, 255, 0.3);
}

/* Prose Styling for Readability */
.prose-custom {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.prose-custom p {
  margin-bottom: 1.5rem;
}

.prose-custom h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  color: #00f0ff;
}

.prose-custom h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #b026ff;
}

.prose-custom h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #ff10f0;
}

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

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

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

.prose-custom a:hover {
  color: #ff10f0;
}

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

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

.prose-custom th {
  background-color: rgba(176, 38, 255, 0.2);
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  color: #00f0ff;
  border-bottom: 2px solid rgba(176, 38, 255, 0.3);
}

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

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

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #03111f;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #b026ff, #ff10f0);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff10f0, #b026ff);
}

/* Rotate Animation for FAQ Icons */
.rotate-180 {
  transform: rotate(180deg);
}

/* Responsive Typography */
@media (max-width: 768px) {
  .prose-custom {
    font-size: 1rem;
  }

  .prose-custom h2 {
    font-size: 1.75rem;
  }

  .prose-custom h3 {
    font-size: 1.375rem;
  }

  .prose-custom h4 {
    font-size: 1.125rem;
  }
}

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

/* Loading Animation */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
