body {
    background: linear-gradient(225deg, #0d0e12 0%, #0f2027 50%, #203a43 80%, #2c5364 100%);
    font-family: system-ui, monospace;
    color: white;
    margin: 0;
}

h1 {
    text-align: center;
    margin-top: 40px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 40px auto;
}

.game-card {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: #111;
    transition: transform 0.2s;
}

.game-card:hover {
    transform: scale(1.05);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.game-card:hover .overlay {
    opacity: 1;
}

.disabled {
    opacity: 0.3;
    pointer-events: none;
}
