/* design v4 */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(45deg, #000000, #000000, #ff0000, #000000, #ff0000, #000000, #000000);
    background-size: 1850% 1850%;
    animation: wave 19s ease infinite;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0 20px;
    overflow: hidden;
}

@keyframes wave {
    0% {
        background-position: 50% 50%;
    }
    20% {
        background-position: 50% 100%;
    }
    40% {
        background-position: 0% 0%;
    }
    60% {
        background-position: 100% 50%;
    }
    80% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 50% 50%;
    }
}

.logo {
    width: 100px; /* Original size */
    margin-top: 30px; /* Original spacing */
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeIn 1.2s ease-out forwards;
}

.container {
    text-align: center;
    padding: 50px; /* Original padding */
    background: #ffffff;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    margin: auto;
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeIn 1.2s ease-out forwards;
    animation-delay: 0.5s;
}

/* Media query for small screens */
@media only screen and (max-width: 600px) {
    .container {
        padding: 30px; /* Adjusted padding for smaller screens */
        max-width: calc(100% - 40px); /* Prevents overflow */
        font-size: 16px;
    }

    .logo {
        width: 80px; /* Adjusted logo size for smaller screens */
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 400px) {
    h1 {
        font-size: 2rem;
    }
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 2rem;
    font-weight: 300;
}

.welcome-list p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: #333;
    transition: color 0.3s ease-in-out;
}

.welcome-list p:hover {
    color: #555;
}

.welcome-list p:last-child {
    margin-bottom: 0;
}

/* Fade-in animation */
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}