/* Custom Keyframes & Animations */

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 255, 136, 0.8), 0 0 60px rgba(255, 215, 0, 0.5);
    }
}

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

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

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

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

/* Apply Animations */

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

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

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

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

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

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

/* Prose Styling for Readability */

.prose-custom {
    color: #d1d5db;
    line-height: 1.75;
}

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

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

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

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

.prose-custom p {
    margin-top: 1em;
    margin-bottom: 1em;
}

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

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

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

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

.prose-custom strong {
    color: #ffd700;
    font-weight: 700;
}

.prose-custom code {
    background-color: rgba(0, 255, 136, 0.1);
    padding: 0.2em 0.4em;
    border-radius: 0.25em;
    font-size: 0.875em;
    color: #00ff88;
}

.prose-custom pre {
    background-color: #0d2818;
    padding: 1em;
    border-radius: 0.5em;
    overflow-x: auto;
    margin-top: 1em;
    margin-bottom: 1em;
}

.prose-custom blockquote {
    border-left: 4px solid #00ff88;
    padding-left: 1em;
    font-style: italic;
    color: #9ca3af;
    margin-top: 1em;
    margin-bottom: 1em;
}

.prose-custom img {
    border-radius: 0.5em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.prose-custom table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
    margin-bottom: 1em;
}

.prose-custom th {
    background-color: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    font-weight: 700;
    padding: 0.75em;
    text-align: left;
    border-bottom: 2px solid #00ff88;
}

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

.prose-custom tr:hover {
    background-color: rgba(0, 255, 136, 0.05);
}

/* CSS Pattern Background Alternative */

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Smooth Scroll */

html {
    scroll-behavior: smooth;
}

/* Custom Selection */

::selection {
    background-color: #00ff88;
    color: #0a1a0f;
}

/* Details/Summary Styling */

details summary::-webkit-details-marker {
    display: none;
}

details summary {
    list-style: none;
}
