/* Games Compare Page Styles - Scoped to avoid conflicts */

.games-compare .game-selector-wrapper {
    background: var(--panel);
    border: 1px solid #1b2335;
    border-radius: var(--rad);
    padding: 1.5rem;
}

.games-compare .selector-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.games-compare .selector-number {
    width: 28px;
    height: 28px;
    background: var(--brand);
    color: #061018;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.games-compare .comparison-container {
    overflow-x: auto;
    padding-bottom: 1rem;
}

.games-compare .comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 700px;
}

.games-compare .comparison-table th,
.games-compare .comparison-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid #1b2335;
}

.games-compare .comparison-table thead th {
    background: var(--panel);
    position: sticky;
    top: 0;
    z-index: 10;
    font-weight: 600;
    border-bottom: 2px solid var(--brand);
}

.games-compare .comparison-table thead th:first-child {
    border-radius: 12px 0 0 0;
}

.games-compare .comparison-table thead th:last-child {
    border-radius: 0 12px 0 0;
}

.games-compare .comparison-table tbody tr:hover {
    background: rgba(92, 210, 185, 0.05);
}

.games-compare .comparison-table .row-label {
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
    width: 180px;
    background: rgba(17, 19, 26, 0.5);
}

.games-compare .comparison-table .category-row {
    background: rgba(92, 210, 185, 0.08) !important;
}

.games-compare .comparison-table .category-row td {
    font-weight: 600;
    color: var(--brand);
    border-bottom: 1px solid var(--brand);
    padding: 0.75rem 1.25rem;
}

.games-compare .game-header-cell {
    text-align: center;
    vertical-align: top;
    min-width: 200px;
}

.games-compare .game-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.games-compare .game-provider {
    font-size: 0.8rem;
    color: var(--muted);
}

.games-compare .game-type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(92, 210, 185, 0.15);
    color: var(--brand);
    border-radius: 20px;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.games-compare .remove-game-btn {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: var(--danger);
    border-radius: 6px;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.games-compare .remove-game-btn:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: var(--danger);
}

.games-compare .value-cell {
    text-align: center;
    font-weight: 500;
}

.games-compare .value-best {
    color: var(--brand);
    font-weight: 600;
}

.games-compare .value-worst {
    color: var(--danger);
}

.games-compare .value-na {
    color: var(--muted);
    font-style: italic;
}

.games-compare .feature-icon {
    font-size: 1.25rem;
}

.games-compare .feature-yes {
    color: var(--brand);
}

.games-compare .feature-no {
    color: var(--muted);
}

.games-compare .gc-empty-slot {
    text-align: center;
    color: var(--muted);
    font-style: italic;
    padding: 2rem 1rem;
}

.games-compare .gc-empty-state {
    background: var(--panel);
    border: 2px dashed #1b2335;
    border-radius: var(--rad);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 2rem;
}

.games-compare .gc-empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.games-compare .gc-empty-state-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.games-compare .gc-empty-state-text {
    color: var(--muted);
    max-width: 400px;
    margin: 0 auto;
}

.games-compare .gc-legend {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--panel);
    border-radius: 8px;
    font-size: 0.875rem;
}

.games-compare .gc-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.games-compare .gc-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.games-compare .gc-legend-dot.best {
    background: var(--brand);
}

.games-compare .gc-legend-dot.worst {
    background: var(--danger);
}

.games-compare .gc-legend-dot.na {
    background: var(--muted);
}

.games-compare .gc-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.games-compare .gc-info-card {
    background: var(--panel);
    border: 1px solid #1b2335;
    border-radius: 12px;
    padding: 1.25rem;
}

.games-compare .gc-info-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}



/* Mobile Cards Layout */
.games-compare .gc-mobile-cards {
    display: none;
}

.games-compare .gc-mobile-card {
    background: var(--panel);
    border: 1px solid #1b2335;
    border-radius: var(--rad);
    margin-bottom: 1rem;
    overflow: hidden;
}

.games-compare .gc-mobile-card-header {
    background: rgba(92, 210, 185, 0.08);
    padding: 1rem;
    border-bottom: 1px solid #1b2335;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.games-compare .gc-mobile-card-header .game-name {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.games-compare .gc-mobile-card-header .remove-game-btn {
    margin-top: 0;
    flex-shrink: 0;
}

.games-compare .gc-mobile-card-body {
    padding: 0;
}

.games-compare .gc-mobile-section {
    border-bottom: 1px solid #1b2335;
}

.games-compare .gc-mobile-section:last-child {
    border-bottom: none;
}

.games-compare .gc-mobile-section-title {
    background: rgba(92, 210, 185, 0.05);
    padding: 0.6rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--brand);
    border-bottom: 1px solid #1b2335;
}

.games-compare .gc-mobile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(27, 35, 53, 0.5);
}

.games-compare .gc-mobile-row:last-child {
    border-bottom: none;
}

.games-compare .gc-mobile-label {
    color: var(--muted);
    font-size: 0.975rem;
}

.games-compare .gc-mobile-value {
    font-weight: 500;
    text-align: right;
}

.games-compare .gc-mobile-value.value-best {
    color: var(--brand);
    font-weight: 600;
}

.games-compare .gc-mobile-value.value-worst {
    color: var(--danger);
}

.games-compare .gc-mobile-value.value-na {
    color: var(--muted);
    font-style: italic;
}

.games-compare .gc-mobile-empty {
    text-align: center;
    padding: 2rem;
    color: var(--muted);
    font-style: italic;
}

@media (max-width: 768px) {
    .games-compare .game-selector-wrapper {
        padding: 1rem;
    }

    .games-compare .comparison-container {
        display: none;
    }

    .games-compare .gc-mobile-cards {
        display: block;
    }

    .games-compare .gc-legend {
        justify-content: center;
        gap: 1rem;
        font-size: 0.9rem;
    }

    .games-compare .gc-legend-item {
        gap: 0.35rem;
    }

    .games-compare .gc-empty-state {
        padding: 2rem 1rem;
    }

    .games-compare .gc-empty-state-icon {
        font-size: 2.6rem;
    }

    .games-compare .gc-empty-state-title {
        font-size: 1.2rem;
    }
}
.desc {
    color: var(--muted);
}