/* Brain Games Hub - Page-Specific Styles */

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.content-page .game-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    background: white;
}

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

.game-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 50%;
    color: white;
    font-size: 2.25rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.game-card h3 {
    margin: 0.5rem 0;
    font-size: 1.25rem;
    color: #1e3a8a;
}

.game-meta {
    display: flex;
    justify-content: space-around;
    margin: 1rem 0;
    font-size: 0.85rem;
    color: #666;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.game-meta span {
    white-space: nowrap;
}

.difficulty {
    color: #f57c00;
    font-weight: 600;
}

.genre {
    color: #4f46e5;
    font-weight: 600;
}

.content-page .play-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    text-decoration: none;
    border-bottom: none;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 1rem;
    transition: transform 0.2s;
}

.content-page .play-button:hover {
    transform: scale(1.05);
    color: white;
    border-bottom: none;
}

.filter-container {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group h3 {
    margin-bottom: 0.75rem;
    color: #1e3a8a;
    font-size: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #4f46e5;
    background: white;
    color: #4f46e5;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #4f46e5;
    color: white;
}

.comparison-table th {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.cta-section {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.cta-section .cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #4338ca;
    text-decoration: none;
    border-bottom: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: transform 0.2s;
}

.cta-section .cta-button:hover {
    transform: scale(1.05);
    border-bottom: none;
}

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

    .filter-container {
        padding: 1rem;
    }
}
