body {
    margin: 0;
    padding: 30px;
    background: linear-gradient(-45deg, #181818, #222831, #30475e, #0077b6, #00b4d8);
    background-size: 200% 200%;
    animation: gradient-animation 15s ease infinite;
    color: #ffffff;
    text-align: center;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#loading-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #3a0ca3, #7209b7, #f72585);
    color: #e0e0e0;
    flex-direction: column;
    position: fixed;
    top: 0;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    text-align: center;
    padding: 30px;
    width: calc(100% - 60px);
    left: 50%; 
    transform: translateX(-50%);
}

.loading-content {
    text-align: center;
}

.progress-bar {
    height: 5px;
    background-color: #e0e0e0;
    position: relative;
    overflow: hidden;
    margin: 25px auto;
    width: calc(100% - 50px);
}

.progress-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 0;
    background-color: #ffcc00;
    animation: loading 5s linear forwards;
}

@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes gradient-animation {
    0% { background-position: 0% 0%; }
    25% { background-position: 50% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 50% 50%; }
    100% { background-position: 0% 0%; }
}

.hidden {
    display: none;
}

.completely-hidden {
    visibility: hidden;
    position: absolute;
}

#main-content {
    background: #ffffff;
    color: #333;
    max-width: 600px;
    width: 90%;
    padding: 50px;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

#main-content h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    color: #ff5733;
}

#main-content p {
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    color: #444;
}

#go-back-button {
    background: #007BFF;
    color: white;
    border: none;
    padding: 12px 5%; /* Scales with screen size */
    font-size: clamp(1rem, 2vw, 1.2rem);
    cursor: pointer;
    margin-top: 20px;
    border-radius: 5px;
    transition: background 0.3s ease;
    width: auto;
    min-width: 120px;
}

#go-back-button:hover {
    background: #0056b3;
}

#secret-message {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 1.8rem;
    text-align: center;
    color: #ffcc00;
    width: calc(100% - 60px);
    margin: auto;
    padding: 30px;
}

@media (max-width: 1024px) {
    #main-content {
        max-width: 85%;
        padding: 30px;
    }
}


@media (max-width: 768px) {
    #main-content {
        max-width: 90%;
        padding: 20px;
    }

    #secret-message {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 20px;
    }
    #main-content {
        max-width: 95%;
        padding:30px;
        font-size: 0.9rem;
    }

    #secret-message {
        font-size: 1.2rem;
        padding: 25px;
    }

    #go-back-button {
        font-size: 1rem;
        padding: 10px 10%;
    }

    #loading-screen {
        padding: 20px;
        width: calc(100% - 40px);
    }

    .progress-bar {
        width: calc(100% - 40px);
    }
}