/**
 * FC Player Shop - Squads UI
 * Layout cards horizontais inspirado na referência
 * @package FCPlayerShop
 */

/* ===============================================
   LISTA DE SQUADS - NOVO LAYOUT
   =============================================== */
.fc-squads-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 16px 120px;
}

.fc-squads-header {
    text-align: center;
    margin-bottom: 48px;
}

.fc-squads-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.fc-squads-subtitle {
    font-size: 18px;
    color: var(--fc-text-light);
}

/* Grid - 4 colunas no PC */
.fc-squads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

/* Card horizontal comprido */
.fc-squad-card {
    position: relative;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fc-squad-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.3);
    border-color: var(--fc-primary);
}

/* Imagem de fundo - esticada para cobrir tudo */
.fc-squad-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: auto;
    background-position: center;
    transition: transform 0.3s ease;
}

.fc-squad-card:hover .fc-squad-bg {
    transform: scale(1.05);
}

.fc-squad-bg-fallback {
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
}

/* Overlay escuro com opacidade BAIXA */
.fc-squad-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.2),
        rgba(10, 10, 10, 0.6)
    );
}

/* Conteúdo do card */
.fc-squad-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    color: white;
    z-index: 1;
}

.fc-squad-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.fc-squad-date {
    font-size: 12px;
    color: rgba(255, 111, 0, 0.9);
    opacity: 0.95;
    margin-bottom: 8px;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.fc-squad-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--fc-primary);
    transition: gap 0.3s ease;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.fc-squad-card:hover .fc-squad-cta {
    gap: 10px;
}

.fc-squad-cta svg {
    width: 16px;
    height: 16px;
}

.fc-squads-pagination {
    text-align: center;
    padding: 24px;
    color: var(--fc-text-light);
}

/* ===============================================
   RESPONSIVIDADE
   =============================================== */

/* Tablet grande: 3 colunas */
@media (max-width: 1200px) {
    .fc-squads-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet: 2 colunas */
@media (max-width: 900px) {
    .fc-squads-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .fc-squad-card {
        height: 120px;
    }
    
    .fc-squad-name {
        font-size: 16px;
    }
}

/* Mobile: 1 coluna */
@media (max-width: 768px) {
    .fc-squads-header h1 {
        font-size: 32px;
    }
    
    .fc-squads-grid {
        grid-template-columns: 1fr;
    }
    
    .fc-squad-card {
        height: 160px;
    }
    
    .fc-squad-content {
        padding: 20px;
    }
    
    .fc-squad-name {
        font-size: 20px;
    }
    
    .fc-squad-date {
        font-size: 13px;
    }
    
    .fc-squad-cta {
        font-size: 14px;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .fc-squads-grid {
        grid-template-columns: 1fr;
    }
    
    .fc-squad-card {
        height: 140px;
    }
}