/* ==========================================================================
   THETOD STUDIO — GAMES PORTFOLIO & PIPELINE STYLES
   ========================================================================== */

.games-hero {
    padding-top: calc(var(--navbar-height) + 50px);
    padding-bottom: 40px;
    text-align: center;
}

/* ── FILTER TABS ─────────────────────────────────────────────────── */
.filter-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 40px 0 56px;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    color: var(--text-secondary);
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-subtle);
    background: var(--bg-card-secondary);
}

.filter-btn.active {
    background: var(--gold-primary);
    color: var(--text-inverse);
    border-color: var(--gold-primary);
    box-shadow: 0 4px 16px var(--gold-glow);
    font-weight: 700;
}

/* ── GAME CARDS GRID ────────────────────────────────────────────── */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
}

.game-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.game-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-surface);
}

.game-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.game-badge-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.game-platform-overlay {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.platform-pill {
    background: rgba(6, 9, 15, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-subtle);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.game-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.game-header {
    margin-bottom: 12px;
}

.game-genre {
    font-size: 0.8rem;
    color: var(--gold-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    display: block;
}

.game-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

.game-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.game-tag {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-card);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.game-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

/* Pipeline Status Card */
.pipeline-banner {
    background: linear-gradient(135deg, var(--bg-card-secondary) 0%, var(--bg-card) 100%);
    border: 1px dashed var(--border-card-hover);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    margin-top: 20px;
}

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