/* Exchange Listings - CriptoFull */
* { box-sizing: border-box; }

.el-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    font-family: Arial, sans-serif;
}

.el-titulo {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #111;
    display: flex;
    align-items: center;
    gap: 10px;
}

.el-titulo::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 22px;
    background: linear-gradient(180deg, #2563eb, #60a5fa);
    border-radius: 4px;
}

.el-subtitulo {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 24px;
}

/* Filtros */
.el-filtros {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.el-btn-filtro {
    padding: 7px 20px;
    border-radius: 30px;
    border: 1.5px solid #333;
    background: #161b22;
    color: rgba(255,255,255,.6);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.el-btn-filtro:hover { border-color: #3b82f6; color: #60a5fa; }
.el-btn-filtro.ativo { background: linear-gradient(90deg,#1d4ed8,#3b82f6); border-color: transparent; color: #fff; }

/* Grid */
.el-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

@media (max-width: 900px) { .el-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px) { .el-grid { grid-template-columns: 1fr; } }

/* Card — igual ao HTML padrão */
.el-card {
    background: #161b22;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, border-color .2s;
}

.el-card:hover { transform: translateY(-3px); border-color: rgba(59,130,246,.4); }
.el-card.destaque { border-color: rgba(245,158,11,.35); }

/* Header */
.el-card-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.el-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: contain;
    background: #0d1117;
    padding: 6px;
    flex-shrink: 0;
}

.el-logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.el-card-title-wrap { flex: 1; min-width: 0; }

.el-card-name {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

/* Badge CEX/DEX */
.el-badge-tipo {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    flex-shrink: 0;
}

.el-badge-tipo.cex { background: rgba(37,99,235,.2); border: 1px solid rgba(37,99,235,.5); color: #60a5fa; }
.el-badge-tipo.dex { background: rgba(5,150,105,.15); border: 1px solid rgba(5,150,105,.4); color: #34d399; }

/* Estrelas */
.el-stars { display: flex; gap: 2px; margin-top: 4px; }
.el-star { color: #f59e0b; font-size: 13px; }
.el-star.vazia { color: rgba(255,255,255,.2); }

/* Body */
.el-card-body {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

/* Bônus badge */
.el-bonus {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(5,150,105,.15);
    border: 1px solid rgba(5,150,105,.3);
    color: #34d399;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    width: fit-content;
}

/* Infos */
.el-infos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.el-infos li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.el-label { color: rgba(255,255,255,.4); }
.el-infos li span:last-child { color: #fff; font-weight: 600; }

/* Descrição */
.el-descricao {
    font-size: 12px;
    color: rgba(255,255,255,.45);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
.el-card-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,.06);
}

.el-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 42px;
    background: linear-gradient(90deg, #1d4ed8, #3b82f6);
    border-radius: 10px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: opacity .2s;
}

.el-cta:hover { opacity: .88; }

/* Paginação */
.el-paginacao {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 10px 0 40px;
}

.el-pag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.12);
    background: #161b22;
    color: rgba(255,255,255,.6);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: all .2s;
}

.el-pag-btn:hover { border-color: #3b82f6; color: #60a5fa; }
.el-pag-btn.ativo { background: linear-gradient(90deg,#1d4ed8,#3b82f6); border-color: transparent; color: #fff; }

.el-vazio { text-align: center; color: rgba(255,255,255,.3); padding: 60px 0; font-size: 14px; }
