/* Splash Screen - Adobe Illustrator Style */

/* Initial dark screen before splash loads */
html.splash-loading {
    background: #000 !important;
}

html.splash-loading body > *:not(.splash-overlay) {
    visibility: hidden !important;
    opacity: 0 !important;
}

html.splash-loading .splash-overlay {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Overlay backdrop */
.splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.splash-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Main splash container - horizontal layout like Illustrator */
/* 16:10 aspect ratio (800x500) to match Adobe Illustrator */
.splash-container {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 800px;
    height: 500px;
    max-width: 95vw;
    max-height: 60vh;
    background: #2b2b2b;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transform: scale(1);
    transition: transform 0.5s ease-out;
}

.splash-overlay.fade-out .splash-container {
    transform: scale(0.95);
}

/* Left panel - Logo and info (like Illustrator) - 40% width */
.splash-info-panel {
    width: 40%;
    height: 100%;
    min-width: 280px;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #2b2b2b;
}

/* Logo section */
.splash-logo-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.splash-logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.splash-logo-icon .material-icons {
    font-size: 28px;
    color: white;
}

.splash-product-name {
    color: #ffffff;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Features section - middle area */
.splash-features-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
}

.splash-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    font-size: 12px;
    line-height: 1.4;
}

.splash-feature .material-icons {
    font-size: 18px;
    color: #4facfe;
    flex-shrink: 0;
}

/* Loading section - bottom */
.splash-loading-section {
    margin-top: auto;
}

.splash-loading-text {
    color: #888;
    font-size: 11px;
    margin-bottom: 12px;
}

.splash-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 11px;
}

.splash-brand .material-icons {
    font-size: 16px;
}

.splash-copyright {
    color: #666;
    font-size: 10px;
    margin-top: 8px;
    line-height: 1.4;
}

/* Right panel - Video - 60% width */
.splash-video-wrapper {
    width: 60%;
    height: 100%;
    position: relative;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.splash-video,
.splash-image {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    object-position: 47% 50%;
    transform: scale(1.10);
    transition: transform 10s ease-out;
}

.splash-video.zooming,
.splash-image.zooming {
    transform: scale(1.00);
}

/* Mobile responsive - stack vertically */
@media (max-width: 600px) {
    .splash-container {
        flex-direction: column;
        width: 95vw;
        max-height: 90vh;
    }

    .splash-info-panel {
        width: 100%;
        min-width: unset;
        padding: 20px;
        order: 2;
    }

    .splash-video-wrapper {
        order: 1;
        min-height: 200px;
        max-height: 50vh;
    }

    .splash-product-name {
        font-size: 18px;
    }
}
