/* Hero Background Removed from Body - moved to #bg-image-container */
body {
    /* No background here, handled by dedicated div */
}

@media (min-width: 768px) {
    body {
        /* Reset */
        background-image: none;
    }
}

/* Ensure footer covers the background */
footer {
    position: relative;
    z-index: 20;
    background-color: #0A0E1F; /* bgDark */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #1A1F35;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}

/* Neomorphism utilities */
.neo-card {
    background: #1A1F35;
    box-shadow: 8px 8px 16px #0b0d17, 
                -8px -8px 16px #293153;
}

.neo-inset {
    background: #1A1F35;
    box-shadow: inset 5px 5px 10px #0b0d17, 
                inset -5px -5px 10px #293153;
}

/* Radio Button Custom Styling */
.quiz-radio:checked + div {
    border-color: #D4AF37;
    background-color: rgba(212, 175, 55, 0.1);
}

.quiz-radio:checked + div .check-icon {
    opacity: 1;
    transform: scale(1);
}

/* Progress Bar Animation */
@keyframes progress {
    from { width: 0%; }
    to { width: 100%; }
}

.animate-progress {
    animation: progress 2s ease-out forwards;
}

/* Particle Animation Setup */
canvas {
    display: block;
    vertical-align: bottom;
}

/* Form Input Autofill Fix */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #1A1F35 inset !important;
    -webkit-text-fill-color: white !important;
    caret-color: white;
}

/* Analysis Animation */
.scan-line {
    width: 100%;
    height: 100px;
    z-index: 10;
    background: linear-gradient(0deg, rgba(212,175,55,0) 0%, rgba(212,175,55,0.2) 50%, rgba(212,175,55,0) 100%);
    opacity: 0.1;
    position: absolute;
    bottom: 100%;
    animation: scanline 2s infinite linear;
    pointer-events: none;
}

@keyframes scanline {
    0% {
        bottom: 100%;
    }
    100% {
        bottom: -100%;
    }
}

.typing-cursor::after {
    content: '|';
    animation: blink 1s step-start infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}