/* ===================================================================
   ARQUIVO: css/pages/athletes-list.css
   DESCRIÇÃO: Mercado da Bola (Grid Inteligente e Filtros HUD)
   =================================================================== */

.market-wrapper {
    padding-top: 100px; 
    padding-bottom: 50px;
    min-height: 100vh;
    background: radial-gradient(circle at top, #1a1a1a 0%, #000 100%);
}

/* --- BARRA DE FILTROS (HUD STYLE) --- */
.filter-bar-container {
    background: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.filter-title {
    color: var(--primary);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 24px;
    margin-bottom: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Inputs Customizados */
.filter-group { position: relative; }

.input-filter {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    color: #fff;
    height: 50px;
    border-radius: 4px;
    padding: 0 15px;
    font-size: 14px;
    width: 100%;
    transition: 0.3s;
    font-weight: 500;
}
.input-filter:focus {
    border-color: var(--primary);
    background: #000;
    outline: none;
    box-shadow: 0 0 10px rgba(178, 209, 58, 0.1);
}

.search-icon-inside {
    position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
    color: #666; pointer-events: none;
}

select.input-filter {
    cursor: pointer;
    appearance: none; 
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b2d13a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: right 15px center; background-size: 15px;
}

/* --- GRID E CARDS --- */
.athletes-grid {
    display: grid;
    /* Colunas responsivas */
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 50px; /* Aumentei o gap vertical para caber o botão */
    justify-items: center;
    width: 100%;
}

/* WRAPPER DO CARD + BOTÃO (Mantém tudo junto e alinhado) */
.athlete-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza o botão embaixo do card */
    animation: fadeInUp 0.5s ease backwards;
    position: relative;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- O NOVO BOTÃO DE CONTRATAR (ESTILO NEON) --- */
.btn-hire-card {
    margin-top: -25px; /* Puxa para cima para "encostar" no fundo do card */
    background: var(--primary);
    color: #000;
    border: 2px solid #000;
    
    padding: 10px 30px;
    border-radius: 30px; /* Formato Pílula */
    
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    
    cursor: pointer;
    transition: 0.3s;
    z-index: 10; /* Garante que fique por cima */
    box-shadow: 0 10px 20px rgba(0,0,0,0.5); /* Sombra forte para destacar */
    
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-hire-card:hover {
    transform: scale(1.1) translateY(-2px); /* Cresce um pouco */
    background: #fff;
    box-shadow: 0 0 20px var(--primary); /* Glow verde */
}

.btn-hire-card i {
    font-size: 16px;
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .filter-title { font-size: 18px; margin-bottom: 15px; justify-content: center; }
    .filter-bar-container { padding: 15px 0; }
    .athletes-grid { gap: 40px; }
}