.anuncio {
    background: #222;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #f8f8f8;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    position: relative;
    display: block;
}

.anuncio:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(233, 30, 99, 0.28);
}

/* Wrapper da imagem com aspect-ratio fixo */
.anuncio-thumb {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #181818;
}

.anuncio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}

.anuncio:hover .anuncio-thumb img {
    transform: scale(1.07);
}

/* Badge Destaque (canto superior esquerdo) */
.badge-destaque {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 0.62em;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
    line-height: 1.5;
}

/* Badge Online/Disponível (canto superior direito) */
.badge-disponivel {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(22, 163, 74, 0.9);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.62em;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    line-height: 1.5;
}

.badge-disponivel::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-verde 1.6s ease-in-out infinite;
}

@keyframes pulse-verde {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(1.6); }
}

/* Badge Disponível Agora (créditos, canto inferior direito) */
.badge-agora {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: linear-gradient(135deg, rgba(22,163,74,0.95), rgba(16,122,55,0.95));
    color: #fff;
    font-size: 0.65em;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    animation: pulse-agora 1.8s ease-in-out infinite;
}
@keyframes pulse-agora {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
    50%       { opacity: 0.85; box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

/* Ponto pulsante no section-titulo "Disponível Agora" */
.dot-agora {
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-verde 1.6s ease-in-out infinite;
    flex-shrink: 0;
}

/* Info do card */
.anuncio .info {
    padding: 10px 12px 14px;
}

.anuncio .info .titulo {
    font-size: 0.88em;
    font-weight: 700;
    color: #f0f0f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.anuncio .info .localizacao,
.anuncio .info .cidade {
    font-size: 0.74em;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.anuncio .info .idade-tipo {
    font-size: 0.74em;
    color: #e91e63;
    font-weight: 600;
    margin-top: 4px;
}
