/* Neon Rush Pulse Lite - Custom Styles */

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0.5rem rgba(255, 45, 149, 0.3);
    }
    50% {
        box-shadow: 0 0 1rem rgba(255, 45, 149, 0.5);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Animation Classes */
.animate-marquee {
    animation: marquee 30s linear infinite;
}

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

.animate-fade-in-up {
    animation: fade-in-up 0.6s ease-out forwards;
}

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

/* Pause marquee on hover */
.animate-marquee:hover {
    animation-play-state: paused;
}

/* ===== Table Responsive ===== */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive table {
    min-width: 100%;
}

/* ===== Prose Styling ===== */
.prose {
    color: #d1d5db;
    line-height: 1.75;
    max-width: 100%;
}

.prose h2 {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(157, 78, 221, 0.3);
    position: relative;
}

.prose h2::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 4rem;
    height: 2px;
    background: linear-gradient(to right, #ff2d95, #9d4edd);
}

.prose h3 {
    color: #f3f4f6;
    font-size: 1.375rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.prose h4 {
    color: #e5e7eb;
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

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

.prose a {
    color: #00f0ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

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

.prose em {
    color: #e5e7eb;
}

/* Lists */
.prose ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.prose ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.625rem;
    color: #d1d5db;
}

.prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.625rem;
    width: 0.5rem;
    height: 0.5rem;
    background: linear-gradient(135deg, #ff2d95, #9d4edd);
    border-radius: 50%;
}

.prose ol {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
    counter-reset: list-counter;
}

.prose ol li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 0.75rem;
    color: #d1d5db;
    counter-increment: list-counter;
}

.prose ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.75rem;
    height: 1.75rem;
    background: linear-gradient(135deg, #ff2d95, #9d4edd);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
}

/* Tables */
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.prose thead {
    background: #1a1a2e;
}

.prose th {
    padding: 0.875rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #f3f4f6;
    border-bottom: 2px solid rgba(157, 78, 221, 0.4);
}

.prose td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(157, 78, 221, 0.2);
    color: #d1d5db;
}

.prose tbody tr:hover {
    background: rgba(26, 26, 46, 0.5);
}

/* Blockquotes */
.prose blockquote {
    border-left: 4px solid #9d4edd;
    background: rgba(26, 26, 46, 0.6);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

.prose blockquote p {
    margin-bottom: 0;
    color: #e5e7eb;
    font-style: italic;
}

/* Images in prose */
.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(157, 78, 221, 0.3);
}

/* Code */
.prose code {
    background: #1a1a2e;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    color: #00f0ff;
}

.prose pre {
    background: #0a0a12;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(157, 78, 221, 0.2);
}

.prose pre code {
    background: transparent;
    padding: 0;
    color: #d1d5db;
}

/* Horizontal Rule */
.prose hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #9d4edd, transparent);
    margin: 2rem 0;
}

/* ===== Utility Overrides ===== */

/* Gradient Text */
.gradient-text {
    background: linear-gradient(to right, #ff2d95, #9d4edd, #00f0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Hover Effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.625rem 2.5rem rgba(255, 45, 149, 0.15);
}

/* Button Glow Effect */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn-glow:hover::after {
    width: 18.75rem;
    height: 18.75rem;
}

/* ===== Scrollbar Styling ===== */
::-webkit-scrollbar {
    width: 0.5rem;
    height: 0.5rem;
}

::-webkit-scrollbar-track {
    background: #0a0a12;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff2d95, #9d4edd);
    border-radius: 0.25rem;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9d4edd, #00f0ff);
}

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

/* ===== Selection Styling ===== */
::selection {
    background: rgba(157, 78, 221, 0.4);
    color: #ffffff;
}

/* ===== Responsive Typography ===== */
@media (max-width: 768px) {
    .prose h2 {
        font-size: 1.5rem;
    }
    
    .prose h3 {
        font-size: 1.25rem;
    }
    
    .prose {
        font-size: 1rem;
    }
}

/* ===== Print Styles ===== */
@media print {
    .prose {
        color: #000000;
    }
    
    .prose a {
        color: #000000;
        text-decoration: underline;
    }
}
