* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f0f8ff;
    color: #333;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.portal-container {
    max-width: 900px;
    width: 100%;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    color: #7f8c8d;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.game-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 3px solid transparent;
}

.game-card:hover:not(.disabled) {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.game-icon {
    height: 160px;
    background: linear-gradient(135deg, #74ebd5, #9face6);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
}

.game-info {
    padding: 20px;
    text-align: center;
}

.game-info h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.game-info p {
    font-size: 1rem;
    color: #7f8c8d;
}

.game-card.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.game-card.disabled .game-icon {
    background: #e0e0e0;
}

footer {
    text-align: center;
    margin-top: 50px;
    color: #95a5a6;
    font-size: 0.9rem;
}
@media (max-width: 600px) {
    header h1 { font-size: 2rem; }
    .games-grid { grid-template-columns: 1fr; }
}
