/* ===================================================================
   ARQUIVO: css/pages/peladas-list.css
   DESCRIÇÃO: Estilo da Lista de Peladas (Cards de Partida)
   =================================================================== */

.matches-section {
    padding-top: 100px;
    padding-bottom: 50px;
    min-height: 100vh;
}

.section-title {
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    font-size: 28px;
    letter-spacing: 1px;
}
.section-subtitle {
    color: #888;
    font-size: 14px;
    margin-top: 5px;
}

.filter-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 5px 15px;
    border-radius: 20px;
    color: #aaa;
    font-size: 12px;
    border: 1px solid #333;
}

/* --- GRID DE PARTIDAS --- */
.matches-grid {
    display: grid;
    /* Cards largos mas responsivos */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* --- CARD DE PARTIDA (MATCH TICKET) --- */
.match-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.match-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Área da Foto */
.match-header {
    height: 160px;
    position: relative;
    overflow: hidden;
}
.match-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    filter: brightness(0.7);
}
.match-card:hover .match-img {
    transform: scale(1.1);
    filter: brightness(1);
}

/* Badges sobre a foto */
.date-badge {
    position: absolute;
    top: 15px; left: 15px;
    background: var(--primary);
    color: #000;
    font-weight: 900;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    box-shadow: 0 5px 10px rgba(0,0,0,0.5);
    z-index: 2;
}

.price-badge {
    position: absolute;
    top: 15px; right: 15px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid #444;
    z-index: 2;
}

/* Corpo do Card */
.match-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.arena-name {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.arena-location {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

/* Barra de Progresso (Jogadores) */
.slots-container {
    margin-bottom: 20px;
}
.slots-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    color: #ccc;
    margin-bottom: 5px;
}
.progress-track {
    width: 100%;
    height: 8px;
    background: #222;
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--primary);
}
/* Cores dinâmicas da barra */
.fill-green { background: #4caf50; box-shadow: 0 0 10px #4caf50; }
.fill-orange { background: #ff9800; box-shadow: 0 0 10px #ff9800; }
.fill-red { background: #f44336; box-shadow: 0 0 10px #f44336; }

/* Botão de Ação */
.btn-join-match {
    width: 100%;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}
.btn-join-match:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px rgba(178, 209, 58, 0.4);
}
.btn-join-match.full {
    border-color: #555;
    color: #555;
    cursor: not-allowed;
    background: rgba(255,255,255,0.05);
}
.btn-join-match.full:hover {
    box-shadow: none;
    transform: none;
}