/* ===== WELCOME CARD WITH SLIDING BACKGROUND ===== */
.welcome-banner {
    position: relative;
    padding: 60px 40px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(251, 191, 36, 0.15);
    box-shadow: var(--shadow-gold);
}

/* Background Slider Container */
.welcome-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Individual Slide Images */
.welcome-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 3s ease-in-out;
    will-change: opacity;
}

.welcome-slide.active {
    opacity: 1;
}

/* Dark Overlay for Readability */
.welcome-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.75) 0%,
        rgba(30, 58, 95, 0.70) 40%,
        rgba(15, 23, 42, 0.80) 100%
    );
    z-index: 1;
    backdrop-filter: blur(2px);
}

/* Gold Accent Glow */
.welcome-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 70%;
    height: 80%;
    background: radial-gradient(
        circle,
        rgba(251, 191, 36, 0.10) 0%,
        transparent 70%
    );
    z-index: 2;
    pointer-events: none;
}

/* Content Layer - Above Everything */
.welcome-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 700px;
    padding: 20px;
    animation: fadeInUp 0.8s ease;
}

/* Typography with Text Shadow for Readability */
.welcome-content h2 {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 
        0 2px 20px rgba(0, 0, 0, 0.4),
        0 4px 40px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.welcome-content .subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 28px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* Decorative Gold Line */
.welcome-content .divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--gold-primary), 
        transparent
    );
    margin: 0 auto 24px auto;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

/* CTA Buttons */
.welcome-content .btn-primary {
    background: var(--gold-primary);
    color: var(--royal-dark);
    padding: 14px 40px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.welcome-content .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
    background: var(--gold-light);
}

.welcome-content .btn-primary i {
    font-size: 18px;
}

/* Register Link */
.welcome-content .register-link {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.welcome-content .register-link a {
    color: var(--gold-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
}

.welcome-content .register-link a:hover {
    color: var(--gold-light);
    border-bottom-color: var(--gold-primary);
}

/* Slide Indicators (Dots) */
.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-dot.active {
    background: var(--gold-primary);
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
    border-color: var(--gold-primary);
}

.slide-dot:hover {
    background: rgba(251, 191, 36, 0.6);
    transform: scale(1.1);
}

/* Animation for Content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .welcome-banner {
        padding: 50px 30px;
        min-height: 350px;
    }
    
    .welcome-content h2 {
        font-size: 30px;
    }
    
    .welcome-content .subtitle {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .welcome-banner {
        padding: 40px 20px;
        min-height: 300px;
        border-radius: var(--radius-sm);
    }
    
    .welcome-content h2 {
        font-size: 24px;
    }
    
    .welcome-content .subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .welcome-content .btn-primary {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .slide-indicators {
        bottom: 12px;
        gap: 8px;
    }
    
    .slide-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .welcome-banner {
        padding: 30px 16px;
        min-height: 260px;
    }
    
    .welcome-content h2 {
        font-size: 20px;
    }
    
    .welcome-content .subtitle {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .welcome-content .btn-primary {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .welcome-content .register-link {
        font-size: 14px;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    .welcome-slide {
        transition: opacity 1s ease-in-out;
    }
    
    .welcome-content {
        animation: none;
    }
}