/* --- SUPER EXTRAS: 30 Improvements Pack (SAFE MODE) --- */

/* 1. Custom Selection Color */
::selection {
    background: var(--accent-primary);
    color: white;
}

/* 2. Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #030712;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* 3. Gradient Animation for Text */
.gradient-text {
    background-size: 200% auto;
    animation: gradientFlow 5s ease infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 7. Animated Underlines for Links */
.footer-links a {
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: var(--accent-primary);
    transition: width 0.3s;
}

.footer-links a:hover::after {
    width: 100%;
}

/* 10. Animated Noise - DISABLED / FIXED */
.noise-overlay {
    opacity: 0;
    display: none;
}

/* 11. Scroll Reveal Class - SAFETY FIX */
/* We default to visible so content is never hidden if JS fails */
.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

/* 21. Focus Styles for Accessibility */
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 4px;
}

/* 26. Pulsing Badge */
.badge {
    animation: pulseBadge 3s infinite;
}

@keyframes pulseBadge {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* 3. Button Ripple */
.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background-color: rgba(255, 255, 255, 0.3);
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 9. Cursor Follower */
.cursor-dot {
    width: 20px;
    height: 20px;
    background: rgba(59, 130, 246, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    filter: blur(5px);
    transition: width 0.2s, height 0.2s, transform 0.1s;
}

.cursor-dot.hovered {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.2);
}

/* 16. Toast Notification */
.toast {
    position: fixed;
    top: 100px;
    right: 20px;
    background: rgba(16, 185, 129, 0.9);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transform: translateX(150%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 2000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.toast.show {
    transform: translateX(0);
}

/* Print Styles */
@media print {

    .hero,
    .footer,
    .header {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
