/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    min-height: 100vh;
    min-height: 100dvh; /* dynamic viewport on mobile browsers */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
}

.container {
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.container.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.logo-img {
    max-width: 250px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 15px rgba(157, 78, 221, 0.5));
    animation: pulse 4s infinite ease-in-out;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(to right, #ffffff, #a88beb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.status-text {
    font-size: 1.5rem;
    font-weight: 400;
    color: #d1c4e9;
    position: relative;
    display: inline-block;
}

.dots span {
    display: inline-block;
    animation: fadeDots 1.5s infinite ease-in-out both;
}

.dots span:nth-child(1) { animation-delay: -0.32s; }
.dots span:nth-child(2) { animation-delay: -0.16s; }
.dots span:nth-child(3) { animation-delay: 0s; }

@keyframes pulse {
    0%   { transform: scale(1);    filter: drop-shadow(0 0 15px rgba(157, 78, 221, 0.5)); }
    50%  { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(157, 78, 221, 0.8)); }
    100% { transform: scale(1);    filter: drop-shadow(0 0 15px rgba(157, 78, 221, 0.5)); }
}

@keyframes fadeDots {
    0%, 80%, 100% { opacity: 0; }
    40% { opacity: 1; }
}

/* Mobile */
@media (max-width: 600px) {
    .container {
        padding: 1.5rem 1rem;
    }

    .logo-img {
        max-width: 160px;
        margin-bottom: 1.5rem;
    }

    h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .status-text {
        font-size: 1.1rem;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    h1 {
        font-size: 1.6rem;
    }

    .status-text {
        font-size: 1rem;
    }

    .logo-img {
        max-width: 130px;
    }
}
