body {
    margin: 0;
    padding: 40px 20px;
    background-color: #f4f7f6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
}

.portal-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.portal-container h1 {
    font-size: 3.5rem;
    color: #333;
    margin-bottom: 3rem;
}

.game-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    padding: 20px;
}

.game-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.game-thumbnail {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.game-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-name {
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    background-color: #fff;
}

@media (max-width: 768px) {
    .game-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .portal-container h1 {
        font-size: 2.5rem;
    }
}
