.welcome-experience {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F5F5F5; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 25px;
    box-sizing: border-box;
    font-family: "Outfit", sans-serif;
}

.welcome-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.20);
    padding: 48px;
    max-width: 775px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Ensure minimum side padding on very small screens */
@media screen and (max-width: 480px) {
    .welcome-experience {
        padding: 25px;
    }
    
    .welcome-card {
        padding: 24px;
    }
}

.welcome-logo {
    max-width: 180px;
    height: auto;
}

.welcome-header {
    font-size: 24px;
    color: #414346;
    margin: 0;
    font-weight: 700;
}

.welcome-body {
    font-size: 18px;
    color: #666;
    line-height: 1.2;
    margin: 0;
    white-space: pre-line;
}

.welcome-body-link {
    color: #555;
    text-decoration: underline;
    transition: opacity 0.2s;
    font-weight: 600;
}

.welcome-body-link:hover {
    opacity: 0.8;
}

.welcome-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
    aspect-ratio: 682/384; /* Maintain the exact aspect ratio */
    display: block;
    transition: opacity 0.2s ease-out, filter 0.2s ease-out;
    opacity: 1;
    filter: blur(0);
}

.welcome-image.loading {
    opacity: 0.6;
    filter: blur(4px);
}

.welcome-image-placeholder {
    background-color: #f8f8f8; /* Off-white color */
    width: 100%;
    max-width: 682px; /* Maximum width of the original images */
    min-height: 384px; /* Set minimum height to match aspect ratio */
    display: block;
    content: '';
    font-size: 0; /* Removes any potential text */
    line-height: 0; /* Removes any potential text */
}

.welcome-button {
    background: #007AFF; /* Default color, will be overridden by API */
    color: white;
    border: none;
    padding: 12px 32px;
    min-width: 200px;
    border-radius: 6px;
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
    transition: filter 0.2s;
}

.welcome-button:hover {
    filter: brightness(90%);
}

/* Animation classes */
.welcome-card-enter {
    opacity: 0;
    transform: translateY(20px);
}

.welcome-card-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s, transform 0.3s;
}

.welcome-card-exit {
    opacity: 1;
}

.welcome-card-exit-active {
    opacity: 0;
    transition: opacity 0.3s;
} 
