body {
    margin: 0;
    overflow: hidden; /* Hide scrollbars during splash screen */
    font-family: 'Inter', sans-serif; /* Use Inter font */
}
/* Splash Screen Container */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark gradient from purple-900 to blue-900 */
    background: linear-gradient(130deg, #8b5cf6, #9333ea, #6366f1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's on top */
    opacity: 1;
    transition: opacity 1s ease-out; /* Fade out effect */
    border-radius: 0; /* Keep it full screen, no rounded corners for the screen itself */
}
/* Hidden state for splash screen */
#splash-screen.hidden {
    opacity: 0;
    pointer-events: none; /* Disable interaction after fade */
}
/* Splash Screen Content */
.splash-content {
    text-align: center;
    color: white;
    padding: 20px;
    border-radius: 15px; /* More pronounced rounded corners for the content box */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); Subtle shadow for depth */
    transform: scale(0.95); /* Slightly scale down initially for pop-in effect */
    animation: fadeInScale 1s ease-out forwards; /* Combined fade and scale animation */
}
/* Profile Photo Styling */
.profile-photo {
    width: 128px; /* w-32 */
    height: 128px; /* h-32 */
    border-radius: 50%; /* rounded-full */
    margin: 0 auto 20px auto; /* Centered, bottom margin */
    border: 4px solid rgba(255, 255, 255, 0.6); /* White border */
    object-fit: cover; /* Ensure image covers the area without distortion */
    animation: slideInFromTop 0.8s ease-out forwards; /* Animation for profile photo */
}
.splash-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    animation: bounceIn 1s ease-out; /* Animation for heading */
}
.splash-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeIn 1.5s ease-out; /* Animation for paragraph */
}
/* Simple loading spinner */
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.4);
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto 0;
}
/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes slideInFromTop {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
/* Responsive adjustments */
@media (max-width: 640px) {
    .splash-content h1 {
        font-size: 2.2rem;
    }
    .splash-content p {
        font-size: 1rem;
    }
    .profile-photo {
        width: 96px; /* w-24 on small screens */
        height: 96px; /* h-24 on small screens */
    }
}