/* Base Setup */
body {
    background-color: #02040a;
}

/* Background Slideshow */
#bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s linear;
    transform: scale(1.05);
    filter: brightness(0.4) blur(4px);
}

.bg-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Ambient Glow */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(17, 139, 80, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    filter: blur(60px);
    opacity: 0.6;
}

/* Premium Glass Card */
.glass-premium {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 4px 24px -1px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-premium:hover {
    background: rgba(30, 30, 30, 0.7);
    border-color: rgba(17, 139, 80, 0.5);
    transform: translateY(-5px) scale(1.01);
    box-shadow:
        0 20px 40px -5px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(17, 139, 80, 0.2),
        inset 0 0 0 1px rgba(17, 139, 80, 0.2);
}

/* Text Gradients */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-brand {
    background: linear-gradient(135deg, #34d399 0%, #118B50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Button Shine Effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-shine:hover::after {
    left: 100%;
}

/* Alert Animation */
@keyframes slide-down {
    from {
        opacity: 0;
        transform: translate(-50%, -2rem);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.animate-slide-down {
    animation: slide-down 0.4s ease-out;
}