/* Wrapper para isolar todos os estilos do plugin - REMOVIDO */

/* Filtros e Pesquisa */
.game-filters {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin-bottom: 30px;
    gap: 10px;
}

.filters-left {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
}

.filters-right {
    display: flex;
    align-items: center;
}

.filters-left select,
.filters-right select {
    padding: 8px 12px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    background-color: transparent;
    font-size: 14px;
    min-width: 120px;
    height: 40px;
}

.search-bar {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0 10px;
}

.search-bar input {
    padding: 8px 12px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    font-size: 14px;
    height: 40px;
    width: 250px;
    background-color: transparent;
}

.search-bar button {
    padding: 8px 20px;
    background-color: transparent;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    height: 40px;
    white-space: nowrap;
}

.search-bar button:hover {
    background-color: rgba(0,0,0,0.05);
}

.game-database {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Estilos para o cabeçalho do catálogo */
.game-database-header {
    margin-bottom: 30px;
    padding: 0 15px;
}

.game-database-header .entry-header,
.game-database-header .page-header {
    margin-bottom: 20px;
    text-align: center;
}

.game-database-header .entry-title,
.game-database-header .page-title {
    margin-bottom: 15px;
}

.game-database-header .entry-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Remove estilos específicos para o conteúdo da página e título 
   para que o tema controle essas partes */
.entry-title, 
.page-title, 
.entry-content {
    /* Herdar do tema */
}

/* Grid de Jogos */
.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.game-card {
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    position: relative;
}

.game-card-link {
    display: block;
    text-decoration: none;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.game-cover {
    position: relative;
    padding-top: 133.33%; /* Proporção 3:4 */
}

.game-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.05);
    font-size: 14px;
}

.game-title {
    padding: 10px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.game-release-date {
    padding: 0 10px 10px;
    font-size: 12px;
    text-align: center;
}

.game-card a {
    display: block;
    text-decoration: none;
}

/* Botão Mostrar Mais */
.load-more-container {
    text-align: center;
    margin-top: 30px;
}

#load-more {
    padding: 10px 30px;
    background-color: var(--wpgc-show-more-button-bg, #f0f0f0);
    color: var(--wpgc-show-more-button-text, #333333);
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

#load-more:hover {
    background-color: var(--wpgc-show-more-button-bg-hover, #e0e0e0);
}

/* Responsividade */
@media (max-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .game-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .filters-left {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
    }
    
    .filters-left select {
        min-width: auto;
        padding: 8px 10px;
        font-size: 13px;
        width: 100%;
    }
    
    .search-bar {
        width: 100%;
        margin: 0;
    }
    
    .search-bar input {
        flex-grow: 1;
        width: auto;
    }
    
    .filters-right {
        width: 100%;
    }
    
    .filters-right select {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .game-card {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
} 