@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

/* ================= OVERLAY ================= */
.modal {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.75), rgba(0,0,0,.9));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* ================= MODAL ================= */
.modal-content {
    width: 960px;
    max-height: 88vh;
    overflow-y: auto;

    background: linear-gradient(180deg, #0e0e0e, #050505);
    border-radius: 16px;

    padding: 32px 36px;
    font-family: 'Montserrat', sans-serif;
    color: #f1f1f1;

    box-shadow:
        0 30px 70px rgba(0,0,0,.85),
        inset 0 0 0 1px rgba(255,255,255,.06);
}

/* ================= TÍTULO PRINCIPAL ================= */
.modal-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;

    background: linear-gradient(90deg, #ffd36a, #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================= FECHAR ================= */
.modal-close {
    position: absolute;
    top: 18px;
    right: 24px;
    font-size: 22px;
    cursor: pointer;
    color: #aaa;
}
.modal-close:hover {
    color: #ff5555;
}

/* ================= SEÇÕES ================= */
.modal-section {
    margin-bottom: 36px;
}

/* ================= CABEÇALHO DE SEÇÃO ================= */
.modal-section h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-left: 14px;

    border-left: 6px solid #ffd36a;
    color: #ffd36a;
}

/* ================= LISTAS GERAIS ================= */
.info-list {
    display: grid;
    gap: 10px;
}
.info-list li {
    background: rgba(255,255,255,.05);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

/* ================= CARD DE RECEITA ================= */
.recipe-box {
    background: linear-gradient(180deg, #161616, #0a0a0a);
    border-radius: 14px;
    padding: 22px 26px;
    margin-top: 18px;

    box-shadow:
        0 12px 30px rgba(0,0,0,.7),
        inset 0 0 0 1px rgba(255,255,255,.06);

    position: relative;
}

/* ================= TÍTULO DA RECEITA ================= */
.recipe-box h4 {
    font-size: 18px;
    margin-bottom: 14px;
    font-weight: 700;
}

/* ================= VARIAÇÕES ================= */
.recipe-box.attack {
    border-top: 5px solid #e74c3c;
}
.recipe-box.attack h4 {
    color: #ff7a6a;
}

.recipe-box.defense {
    border-top: 5px solid #3498db;
}
.recipe-box.defense h4 {
    color: #6abfff;
}

.recipe-box.supreme {
    border-top: 5px solid #f1c40f;
}
.recipe-box.supreme h4 {
    color: #ffe066;
}

/* ================= LISTAS DE MATERIAIS ================= */
.recipe-box ul {
    margin-top: 12px;
    padding-left: 18px;
}
.recipe-box li {
    margin-bottom: 6px;
    font-size: 14px;
}

/* ================= DADOS IMPORTANTES ================= */
.recipe-box p {
    margin-top: 8px;
    font-size: 14px;
    color: #ddd;
}

/* ================= RESULTADO ================= */
.result-box {
    margin-top: 14px;
    padding: 14px;
    background: linear-gradient(180deg, #123012, #081808);
    border-radius: 10px;
    font-size: 14px;
    color: #baffba;
    text-align: center;
}

/* ================= ALERTA ================= */
.modal-alert {
    margin-top: 18px;
    background: linear-gradient(180deg, #2b1111, #190808);
    border-left: 6px solid #e74c3c;
    padding: 16px 18px;
    border-radius: 10px;
    font-size: 14px;
    color: #ffcccc;
}

/* ================= SCROLL ================= */
.modal-content::-webkit-scrollbar {
    width: 8px;
}
.modal-content::-webkit-scrollbar-thumb {
    background: #ffd36a;
    border-radius: 5px;
}
