/* ===== Custom Styles for Miracle 24 ===== */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Base */
body {
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0a0a0c;
}
::-webkit-scrollbar-thumb {
    background: #3d0f20;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #fbbf24;
}

/* Scroll Indicator Animation */
@keyframes scrollIndicator {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(400%); }
}
.animate-scroll-indicator {
    animation: scrollIndicator 1.5s ease-in-out infinite;
}

/* Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal[data-reveal="true"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Nav Active State */
nav.scrolled {
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(251, 191, 36, 0.1);
}

nav.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile Menu */
.mobile-nav-link {
    opacity: 1;
}

/* Input Autofill */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #1a1a1f inset !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Focus Visible */
*:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: rgba(61, 15, 32, 0.8);
    color: #fbbf24;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}
