/**
 * GamesBoard Game Library - Archive Styles
 * Additional styles for game archive pages
 */

/* Archive specific overrides */
.ggl-archive-games .ggl-game-card-cover {
    aspect-ratio: 2/3;
}

/* Featured games (if needed) */
.ggl-featured-games {
    margin-bottom: 40px;
}

.ggl-featured-games .ggl-game-card {
    background: linear-gradient(135deg, var(--ggl-bg-card) 0%, var(--ggl-bg-secondary) 100%);
}

.ggl-featured-games .ggl-game-card-title {
    font-size: 1.2rem;
}

/* Taxonomy archive specific */
.tax-game_genre .ggl-archive-title::before,
.tax-game_developer .ggl-archive-title::before,
.tax-game_publisher .ggl-archive-title::before,
.tax-game_platform .ggl-archive-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 30px;
    background: var(--ggl-accent-yellow);
    border-radius: 2px;
    margin-right: 12px;
}

/* Stats bar (optional) */
.ggl-archive-stats {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    border-top: 1px solid var(--ggl-border);
    border-bottom: 1px solid var(--ggl-border);
    margin-bottom: 30px;
}

.ggl-stat-item {
    text-align: center;
}

.ggl-stat-value {
    display: block;
    font-family: var(--font-gigabold);
    font-size: 1.5rem;
    color: var(--ggl-accent-yellow);
}

.ggl-stat-label {
    font-size: 0.8rem;
    color: var(--ggl-text-secondary);
    text-transform: uppercase;
}

/* Alphabet filter */
.ggl-alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 30px;
}

.ggl-alphabet-filter a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--ggl-bg-card);
    border: 1px solid var(--ggl-border);
    border-radius: 6px;
    color: var(--ggl-text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--ggl-transition);
}

.ggl-alphabet-filter a:hover,
.ggl-alphabet-filter a.active {
    background: var(--ggl-accent-yellow);
    border-color: var(--ggl-accent-yellow);
    color: #000;
}

/* View toggle */
.ggl-view-toggle {
    display: flex;
    gap: 5px;
}

.ggl-view-toggle button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--ggl-bg-card);
    border: 1px solid var(--ggl-border);
    border-radius: 8px;
    color: var(--ggl-text-secondary);
    cursor: pointer;
    transition: all var(--ggl-transition);
}

.ggl-view-toggle button:hover,
.ggl-view-toggle button.active {
    background: var(--ggl-accent-yellow);
    border-color: var(--ggl-accent-yellow);
    color: #000;
}

/* List view */
.ggl-games-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ggl-games-list .ggl-game-card {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 15px;
}

.ggl-games-list .ggl-game-card-cover {
    aspect-ratio: 3/4;
    width: 80px;
    border-radius: 8px;
}

.ggl-games-list .ggl-game-card-content {
    padding: 0;
}

.ggl-games-list .ggl-game-card-rating {
    position: static;
}
