/* public/css/caminho.css?v=1767909414154 */
/* VERSÃO: CARDS COMPACTOS COM REQUISITO NO TOPO */

.path-grid {
    display: grid;
    /* Reduzido de 150px para 120px para caber mais cards */
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px; /* Gap reduzido */
    padding: 10px;
    padding-bottom: 80px;
}

.monster-card {
    background: #111;
    border: 2px solid #444;
    border-radius: 6px; /* Borda levemente menor */
    padding: 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.monster-card:hover:not(.locked):not(.cooldown) {
    transform: translateY(-3px);
    border-color: var(--cor-titulo-dourado);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* HEADER: Requisito de Nível */
.card-header-req {
    background-color: #222;
    padding: 3px;
    font-size: 0.75em; /* Fonte menor */
    font-weight: bold;
    border-bottom: 1px solid #444;
    text-transform: uppercase;
    white-space: nowrap; /* Evita quebra de linha */
}

.req-ok { background-color: #1e3a29; color: #2ecc71; }
.req-no { background-color: #3a1e1e; color: #e74c3c; }

/* CORPO DO CARD */
.card-body {
    padding: 8px 5px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.monster-thumb {
    width: 60px; /* Reduzido de 80px */
    height: 60px;
    object-fit: contain;
    margin-bottom: 3px;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

.monster-name {
    font-size: 0.9em; /* Fonte menor */
    margin: 3px 0;
    color: #fff;
    font-family: 'Cinzel', serif;
    line-height: 1.2;
    min-height: 2.4em; /* Garante altura para 2 linhas de nome */
    display: flex;
    align-items: center;
    justify-content: center;
}

.monster-level-badge {
    background: #333;
    color: #ffd700;
    padding: 1px 6px;
    border-radius: 8px;
    font-size: 0.75em;
    margin-bottom: 5px;
    border: 1px solid #555;
}

/* STATS (Compacto) */
.monster-stats {
    background: rgba(0,0,0,0.6);
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    font-size: 0.7em; /* Fonte bem pequena para caber */
    border-top: 1px solid #333;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1px;
    color: #ccc;
}
.stat-val { color: #fff; font-weight: bold; }
.reward-val { color: #ffd700; }

/* ESTADOS */
.monster-card.locked {
    opacity: 0.6;
    filter: grayscale(100%);
    cursor: not-allowed;
    border-color: #333;
}

.monster-card.cooldown {
    border-color: #e74c3c;
    background-color: rgba(40, 10, 10, 0.5);
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    z-index: 10;
    text-align: center;
    padding: 5px;
}

.card-overlay i {
    font-size: 1.5em;
    margin-bottom: 5px;
    color: #aaa;
}

.cooldown-timer {
    font-size: 1em;
    color: #e74c3c;
    font-weight: bold;
    margin-top: 2px;
}
