/* ================================
   MOUSE FLASHLIGHT EFFECT
   ================================ */
#mouse-flashlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: radial-gradient(
        circle 150px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 40%,
        transparent 70%
    );
    mix-blend-mode: overlay;
}

.mouse-glow {
    position: fixed;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    background: radial-gradient(
        circle,
        rgba(211, 47, 47, 0.6) 0%,
        rgba(211, 47, 47, 0.3) 30%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
}

/* ================================
   HERO CHECKLIST ANIMATION
   ================================ */
.hero-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInCheck 0.6s ease forwards;
}

.hero-checklist li:nth-child(1) { animation-delay: 0.5s; }
.hero-checklist li:nth-child(2) { animation-delay: 1.2s; }
.hero-checklist li:nth-child(3) { animation-delay: 1.9s; }
.hero-checklist li:nth-child(4) { animation-delay: 2.6s; }

.hero-checklist .check-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: bold;
    flex-shrink: 0;
}

.hero-checklist .check-icon.cross {
    background-color: #d32f2f;
    color: white;
}

.hero-checklist .check-icon.tick {
    background-color: #4caf50;
    color: white;
}

.hero-checklist li.success {
    color: #4caf50;
    font-weight: 600;
    font-style: italic;
}

@keyframes slideInCheck {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ================================
   DEADLINE SCENE (Desk + Reaper)
   ================================ */
.deadline-scene {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 350px;
    margin: 0 auto;
}

/* Desk and Person */
.worker-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.desk {
    width: 200px;
    height: 80px;
    background: linear-gradient(to bottom, #5d4037 0%, #4e342e 100%);
    border-radius: 5px 5px 0 0;
    position: relative;
}

.desk::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 60px;
    background: #37474f;
    border-radius: 5px;
    border: 3px solid #263238;
}

.desk::after {
    content: '';
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 40px;
    background: linear-gradient(135deg, #4fc3f7 0%, #0288d1 100%);
    border-radius: 3px;
}

.worker {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
}

.worker-head {
    width: 40px;
    height: 40px;
    background: #ffcc80;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
}

.worker-body {
    width: 60px;
    height: 50px;
    background: #1976d2;
    border-radius: 10px 10px 0 0;
    margin-top: -5px;
}

/* Grim Reaper */
.reaper {
    position: absolute;
    right: 20px;
    bottom: 0;
    z-index: 1;
    opacity: 0;
    transform: translateX(50px);
    animation: reaperAppear 1.5s ease 3.5s forwards;
}

.reaper-cloak {
    width: 80px;
    height: 150px;
    background: linear-gradient(to bottom, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 40px 40px 0 0;
    position: relative;
}

.reaper-hood {
    width: 60px;
    height: 50px;
    background: #0d0d0d;
    border-radius: 50% 50% 30% 30%;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.reaper-hood::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 20px;
    background: #000;
    border-radius: 50%;
    box-shadow: inset 0 0 10px rgba(139, 0, 0, 0.5);
}

.reaper-scythe {
    position: absolute;
    left: -40px;
    top: 0;
    width: 8px;
    height: 120px;
    background: linear-gradient(to bottom, #5d4037 0%, #3e2723 100%);
    transform: rotate(-20deg);
    transform-origin: bottom center;
}

.reaper-scythe::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -35px;
    width: 70px;
    height: 40px;
    border: 5px solid #9e9e9e;
    border-top: none;
    border-left: none;
    border-radius: 0 0 100% 0;
    background: transparent;
}

.reaper-eyes {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.reaper-eyes span {
    width: 8px;
    height: 8px;
    background: #d32f2f;
    border-radius: 50%;
    animation: eyeGlow 1.5s ease infinite alternate;
}

@keyframes reaperAppear {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes eyeGlow {
    from { box-shadow: 0 0 5px #d32f2f, 0 0 10px #d32f2f; }
    to { box-shadow: 0 0 10px #ff1744, 0 0 20px #ff1744, 0 0 30px #ff1744; }
}

/* Slogan */
.deadline-slogan {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #d32f2f, #b71c1c);
    color: white;
    padding: 10px 30px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.2rem;
    white-space: nowrap;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

/* ================================
   SCROLL BUTTON ANIMATION
   ================================ */
.scroll-down-btn:hover {
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.scroll-down-btn i {
    animation: bounce 2s infinite;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 991px) {
    .deadline-scene {
        height: 280px;
        margin-top: 40px;
    }
    
    .hero-checklist li {
        font-size: 0.95rem;
    }
    
    /* Mobile menu text fix - prevent uppercase */
    .header-nav-main nav > ul > li > a,
    .header-nav-main nav > ul > li > a.nav-link,
    .header-nav-main nav > ul > li > a.dropdown-toggle {
        text-transform: capitalize !important;
    }
    
    /* Mobile menu better spacing */
    .header-nav-main nav > ul > li {
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .header-nav-main nav > ul > li > a {
        padding: 12px 15px;
        font-size: 1rem;
    }
}
