/* Games hub — purple palette, container layout */

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.game-hub {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.game-hub-lead h1 {
    margin: 0 0 8px 0;
    color: #5a67d8;
    font-size: 1.6em;
}

.game-hub-lead p {
    margin: 0;
    color: #64748b;
    font-size: 0.95em;
    line-height: 1.5;
    max-width: 720px;
}

.game-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.game-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(102, 126, 234, 0.22);
    border-color: #c3baf7;
}

.game-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.game-icon-large {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5em;
}

.game-info h3 {
    margin: 0 0 6px 0;
    color: #5a67d8;
    font-size: 1.15em;
}

.game-info p {
    margin: 0;
    color: #666;
    font-size: 0.88em;
    line-height: 1.45;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.feature-tag {
    display: inline-block;
    background: #eef2ff;
    color: #5a67d8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
}

.game-hub-footer-links {
    margin-top: auto;
    padding-top: 8px;
    font-size: 0.85em;
    color: #94a3b8;
}

.game-hub-footer-links a {
    color: #5a67d8;
    text-decoration: none;
}

.game-hub-footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .game-cards {
        grid-template-columns: 1fr;
    }
}
