/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/*
 * Prose styles for markdown-rendered content
 * Provides styled headings, lists, paragraphs, links, and code blocks
 * for changelog and other markdown content areas.
 */

.prose {
  font-size: 0.875rem;
  line-height: 1.625;
  color: #374151;
  /* gray-700 */
}

.prose h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #111827;
  /* gray-900 */
}

.prose h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #111827;
  /* gray-900 */
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: #111827;
  /* gray-900 */
}

.prose p {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.prose p:first-child {
  margin-top: 0;
}

.prose ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.prose ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.prose li {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.prose li::marker {
  color: #6b7280;
  /* gray-500 */
}

.prose a {
  color: #2563eb;
  /* blue-600 */
  text-decoration: underline;
}

.prose a:hover {
  color: #1d4ed8;
  /* blue-700 */
}

.prose code {
  font-size: 0.875em;
  background-color: #f3f4f6;
  /* gray-100 */
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.prose pre {
  background-color: #1f2937;
  /* gray-800 */
  color: #f9fafb;
  /* gray-50 */
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  overflow-x: auto;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.prose pre code {
  background-color: transparent;
  padding: 0;
  color: inherit;
}

.prose blockquote {
  border-left: 4px solid #d1d5db;
  /* gray-300 */
  padding-left: 1rem;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  color: #6b7280;
  /* gray-500 */
  font-style: italic;
}

.prose hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  /* gray-200 */
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.prose strong {
  font-weight: 600;
  color: #111827;
  /* gray-900 */
}

.prose em {
  font-style: italic;
}

/* prose-sm modifier - already base size is small */
.prose-sm {
  font-size: 0.875rem;
}

/* max-w-none - remove max-width constraint */
.prose.max-w-none {
  max-width: none;
}

/* Hide scrollbar while keeping horizontal scroll functional */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

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

/* Purchase button – Nebula-branded with light streaks (matches login button style) */
.nova-purchase-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 168px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease, transform 0.3s ease;
  transform: scale(1);
  animation: nova-pulse-glow 3s ease-in-out infinite;
  font-family: system-ui, -apple-system, sans-serif;
  overflow: visible;
  z-index: 1;
}

.nova-purchase-btn .dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 50%, #9d174d 100%);
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.nova-purchase-btn:hover .dark-overlay {
  opacity: 1;
}

.nova-purchase-btn .rainbow-border {
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff6b6b, #ffd93d, #6bff8f, #6bcfff, #c56bff, #ff6bcf, #ff6b6b);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  pointer-events: none;
}

.nova-purchase-btn:hover .rainbow-border {
  opacity: 1;
  animation: nova-border-flow 0.8s linear infinite;
}

.nova-purchase-btn .streaks-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 9999px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.nova-purchase-btn .streak {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transform-origin: center;
  filter: blur(0.5px);
}

.nova-purchase-btn .streak-1 {
  top: 15%;
}

.nova-purchase-btn .streak-2 {
  top: 30%;
}

.nova-purchase-btn .streak-3 {
  top: 45%;
}

.nova-purchase-btn .streak-4 {
  top: 60%;
}

.nova-purchase-btn .streak-5 {
  top: 75%;
}

.nova-purchase-btn .streak-6 {
  top: 85%;
}

.nova-purchase-btn:hover .streak-1 {
  opacity: 1;
  animation: nova-hyperspeed 0.8s linear infinite, nova-color-1 1.5s ease infinite;
  animation-delay: 0s;
}

.nova-purchase-btn:hover .streak-2 {
  opacity: 1;
  animation: nova-hyperspeed 0.8s linear infinite, nova-color-2 1.5s ease infinite;
  animation-delay: -0.13s;
}

.nova-purchase-btn:hover .streak-3 {
  opacity: 1;
  animation: nova-hyperspeed 0.8s linear infinite, nova-color-3 1.5s ease infinite;
  animation-delay: -0.26s;
}

.nova-purchase-btn:hover .streak-4 {
  opacity: 1;
  animation: nova-hyperspeed 0.8s linear infinite, nova-color-1 1.5s ease infinite;
  animation-delay: -0.39s;
}

.nova-purchase-btn:hover .streak-5 {
  opacity: 1;
  animation: nova-hyperspeed 0.8s linear infinite, nova-color-2 1.5s ease infinite;
  animation-delay: -0.52s;
}

.nova-purchase-btn:hover .streak-6 {
  opacity: 1;
  animation: nova-hyperspeed 0.8s linear infinite, nova-color-3 1.5s ease infinite;
  animation-delay: -0.65s;
}

.nova-purchase-btn:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 40px rgba(168, 85, 247, 0.7),
    0 0 70px rgba(168, 85, 247, 0.4),
    0 0 100px rgba(236, 72, 153, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.nova-purchase-btn>span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

@keyframes nova-pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.4), 0 0 24px rgba(168, 85, 247, 0.2);
  }

  50% {
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.6), 0 0 36px rgba(168, 85, 247, 0.3), 0 0 48px rgba(236, 72, 153, 0.15);
  }
}

@keyframes nova-hyperspeed {
  0% {
    transform: scaleX(0) translateX(200%);
    opacity: 0;
  }

  10% {
    transform: scaleX(0.8) translateX(100%);
    opacity: 1;
  }

  30% {
    transform: scaleX(1.2) translateX(30%);
    opacity: 0.9;
  }

  70% {
    transform: scaleX(1.2) translateX(-50%);
    opacity: 0.9;
  }

  90% {
    transform: scaleX(0.8) translateX(-120%);
    opacity: 1;
  }

  100% {
    transform: scaleX(0) translateX(-200%);
    opacity: 0;
  }
}

@keyframes nova-color-1 {

  0%,
  100% {
    background: linear-gradient(90deg, transparent, #ff6b6b, #ffd93d, transparent);
  }

  33% {
    background: linear-gradient(90deg, transparent, #6bcfff, #c56bff, transparent);
  }

  66% {
    background: linear-gradient(90deg, transparent, #6bff8f, #ffb86b, transparent);
  }
}

@keyframes nova-color-2 {

  0%,
  100% {
    background: linear-gradient(90deg, transparent, #c56bff, #6bcfff, transparent);
  }

  33% {
    background: linear-gradient(90deg, transparent, #ffd93d, #ff6b6b, transparent);
  }

  66% {
    background: linear-gradient(90deg, transparent, #ffb86b, #ff6bcf, transparent);
  }
}

@keyframes nova-color-3 {

  0%,
  100% {
    background: linear-gradient(90deg, transparent, #6bff8f, #6bcfff, transparent);
  }

  33% {
    background: linear-gradient(90deg, transparent, #ff6bcf, #ffd93d, transparent);
  }

  66% {
    background: linear-gradient(90deg, transparent, #c56bff, #ff6b6b, transparent);
  }
}

@keyframes nova-border-flow {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}
}