@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800&display=swap');

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #ffdde1, #ee9ca7);
    margin: 0;
    color: #333;
}

/* Apply no-scroll only to the main page body */
body.no-scroll {
    overflow: hidden; /* Prevent all scrolling */
}

#app-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    width: 100%;
    min-height: 100vh;
    padding: 20px 20px 80px; /* Adjusted vertical padding */
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.app-title {
    font-size: 3.5em;
    font-weight: 800;
    color: #d6336c;
    margin-bottom: 20px;
}

.archive-link a {
    background: linear-gradient(45deg, #89f7fe, #66a6ff);
    color: white;
    font-size: 1em;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.archive-link a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: linear-gradient(45deg, #66a6ff, #89f7fe);
}

.archive-link {
    margin-bottom: 40px;
}

.game-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-bottom: 40px;
}

.game-link {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #333;
    width: 220px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.game-link:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.game-link .game-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    object-position: top;
    border-radius: 15px;
    margin-bottom: 15px;
}

.game-link .game-title {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 15px;
}

.play-button {
    background: linear-gradient(45deg, #f78ca0, #f9748f);
    color: white;
    font-size: 1em;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.game-link:hover .play-button {
    background: linear-gradient(45deg, #f9748f, #f78ca0);
}

/* Responsive Design */
@media (max-width: 768px) {
    #app-container {
        padding: 40px 15px 20px;
    }

    .app-title {
        font-size: 2.8em;
    }
}

@media (max-width: 480px) {
    .app-title {
        font-size: 2.2em;
    }

    .game-link {
        width: 90%;
    }
}
