* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

:root {
    --emerald-primary: #00c897;
    --emerald-dark: #00946f;
    --emerald-light: #00ffbf;
}

body {
    background: #0a0a0a;
    min-height: 100vh;
    overflow-x: hidden;
}

.back-btn {
    background: rgba(0,200,151,0.1);
    border: 1px solid rgba(0,200,151,0.2);
    color: var(--emerald-primary);
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    position: fixed;
    left: 20px;
    top: 20px;
    z-index: 1000;
}

.back-btn:hover {
    background: rgba(0,200,151,0.15);
    border-color: var(--emerald-primary);
    transform: translateY(-1px);
}

.games-text {
    color: var(--emerald-primary);
    font-size: 180px;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(0,200,151,0.5),
                 0 0 40px rgba(0,200,151,0.3),
                 0 0 60px rgba(0,200,151,0.2);
    text-align: center;
    width: 100%;
    position: absolute;
    top: 2vh;
    left: 0;
    right: 0;
    letter-spacing: 4px;
    z-index: 2;
}

#games {
    position: relative;
    width: 100%;
    height: 100%;
    top: 26vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0 2vw;
}

#games a {
    width: 12vw;
    height: 12vw;
    margin: 1vw;
    display: flex;
    border-radius: 1vw;
    transition: all 0.5s;
    text-decoration: none;
    position: relative;
}

#games img {
    width: 100%;
    height: 100%;
    border-radius: 1vw;
    object-fit: cover;
}

#games a:hover {
    cursor: pointer;
    transform: rotate(-10deg) scale(1.3);
    box-shadow: 0 0 1vw #181818;
    z-index: 3;
}

@media (max-width: 1400px) {
    .games-text {
        font-size: 140px;
    }
}

@media (max-width: 1200px) {
    #games a {
        width: 15vw;
        height: 15vw;
    }
    .games-text {
        font-size: 120px;
    }
}

@media (max-width: 768px) {
    #games a {
        width: 25vw;
        height: 25vw;
    }
    #games {
        top: 15vh;
    }
    .games-text {
        font-size: 80px;
        top: 5vh;
    }
}

@media (max-width: 480px) {
    #games a {
        width: 40vw;
        height: 40vw;
    }
    .games-text {
        font-size: 60px;
    }
    .back-btn {
        font-size: 12px;
        padding: 8px;
    }
}