/* Welcome Splash Dialog Styles - Icon-Inspired Design */

/* Import color palette for consistency */
:root {
    --primary-black: #1a1a1a;
    --accent-orange: #ff8c42;
    --accent-gold: #ffa726;
    --warm-orange: #ff7043;
    --soft-cream: #fef7f0;
    --light-gray: #f5f5f5;
    --medium-gray: #666666;
    --dark-gray: #333333;
    --white: #ffffff;
    --shadow-light: rgba(26, 26, 26, 0.1);
    --shadow-medium: rgba(26, 26, 26, 0.15);
    --shadow-heavy: rgba(26, 26, 26, 0.25);
}

.splash-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease-out;
}

.splash-dialog-container {
    background: linear-gradient(135deg, var(--white) 0%, #fafafa 100%);
    border: 2px solid rgba(255, 140, 66, 0.2);
    border-radius: 20px;
    box-shadow: 0 24px 80px var(--shadow-heavy);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.4s ease-out;
    overflow: hidden;
}

.splash-dialog-header {
    padding: 32px 40px 20px;
    border-bottom: 2px solid rgba(255, 140, 66, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--soft-cream) 0%, var(--white) 100%);
}

.splash-dialog-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-black);
    display: flex;
    align-items: center;
    letter-spacing: -0.02em;
}

.splash-dialog-title i {
    color: var(--accent-orange);
    margin-right: 12px;
    font-size: 1.6rem;
}

.splash-dialog-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--medium-gray);
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-dialog-close:hover {
    background: rgba(255, 140, 66, 0.1);
    color: var(--accent-orange);
    transform: scale(1.1);
}

.splash-dialog-body {
    flex: 1;
    padding: 0;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 16px 0;
    z-index: 10;
}

.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 140, 66, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dot.active {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-gold) 100%);
    border-color: var(--white);
    transform: scale(1.4);
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.4);
}

.carousel-content {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateY(0);
}

.carousel-slide.prev {
    transform: translateY(-30px);
}

/* Full-sized image container */
.slide-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 12px;
    margin: 20px;
}

.slide-image-full {
    width: 100%;
    height: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 32px var(--shadow-light);
}

/* Content positioned at bottom */
.slide-content-bottom {
    padding: 20px 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.05) 0%, rgba(255, 167, 38, 0.05) 100%);
    border-radius: 12px;
    margin: 0 20px 20px;
    border: 1px solid rgba(255, 140, 66, 0.1);
}

.slide-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: -0.02em;
}

.slide-title i {
    color: var(--accent-orange);
    font-size: 1.2rem;
}

.slide-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-gray);
    margin: 0;
    font-weight: 500;
}

.carousel-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    pointer-events: none;
}

.carousel-nav-btn {
    background: linear-gradient(135deg, var(--white) 0%, #fafafa 100%);
    border: 2px solid rgba(255, 140, 66, 0.2);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px var(--shadow-light);
    pointer-events: all;
    color: var(--accent-orange);
    font-size: 1.2rem;
    font-weight: 600;
}

.carousel-nav-btn:hover {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-gold) 100%);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(255, 140, 66, 0.3);
    border-color: var(--accent-orange);
}

.carousel-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.carousel-nav-btn:disabled:hover {
    background: linear-gradient(135deg, var(--white) 0%, #fafafa 100%);
    color: var(--accent-orange);
    transform: none;
    box-shadow: 0 8px 24px var(--shadow-light);
}

.splash-dialog-footer {
    padding: 24px 40px 32px;
    border-top: 2px solid rgba(255, 140, 66, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, var(--soft-cream) 0%, var(--white) 100%);
}

.splash-dialog-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
}

.splash-dialog-checkbox .form-check-input {
    margin: 0;
    accent-color: var(--accent-orange);
    transform: scale(1.2);
}

.splash-dialog-checkbox .form-check-label {
    margin: 0;
    font-size: 1rem;
    color: var(--dark-gray);
    cursor: pointer;
    font-weight: 500;
}

.splash-dialog-hint {
    margin-top: -16px;
    padding: 12px 24px;
    background: rgba(255, 140, 66, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 140, 66, 0.2);
}

.splash-dialog-hint small {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--medium-gray);
    font-weight: 500;
}

#exitSplashDialog {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-gold) 100%) !important;
    border: none;
    color: var(--white);
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 140, 66, 0.3);
}

#exitSplashDialog:hover {
    background: linear-gradient(135deg, var(--warm-orange) 0%, var(--accent-orange) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .splash-dialog-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .splash-dialog-header {
        padding: 24px 28px 16px;
    }
    
    .splash-dialog-title {
        font-size: 1.5rem;
    }
    
    .carousel-container {
        height: 400px;
    }
    
    .slide-content-bottom {
        padding: 16px 20px;
        margin: 0 16px 16px;
    }
    
    .slide-title {
        font-size: 1.2rem;
    }
    
    .slide-description {
        font-size: 0.9rem;
    }
    
    .carousel-navigation {
        padding: 0 16px;
    }
    
    .carousel-nav-btn {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
    
    .splash-dialog-footer {
        padding: 20px 28px 28px;
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 350px;
    }
    
    .slide-title {
        font-size: 1.1rem;
    }
    
    .slide-description {
        font-size: 0.85rem;
    }
    
    .carousel-nav-btn {
        width: 44px;
        height: 44px;
    }
}