.corpo-form {
     width: 100%;
     display: flex;
     justify-content: center;
     padding: 50px 20px;
     box-sizing: border-box;
     }

form {
     width: 100%;
     max-width: 600px;
     display: flex;
     flex-direction: column;
     gap: 20px;
}

.caixa {
     background-color: #2C0F10;
     border-radius: 20px;
     padding: 24px 20px;
     box-sizing: border-box;
     color: #eaceaa;
}

.caixa h3 {
     font-family: 'Times New Roman', serif;
     font-style: italic;
     font-size: 18px;
     margin-bottom: 16px;
     border-bottom: 1px solid #745032;
     padding-bottom: 8px;
}

.campo {
     display: flex;
     flex-direction: column;
     gap: 6px;
     margin-bottom: 14px;
}

.campo:last-child {
     margin-bottom: 0;
}

label {
     font-size: 13px;
     color: #c9a87a;
}

input[type="text"],
input[type="email"],
textarea,
select {
     background-color: #1a0708;
     border: 1px solid #745032;
     border-radius: 10px;
     color: #eaceaa;
     font-size: 14px;
     padding: 10px 12px;
     width: 100%;
     box-sizing: border-box;
     outline: none;
     font-family: Cambria, serif;
     resize: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
     border-color: #eaceaa;
}

select option {
     background-color: #2C0F10;
}

.estrelas {
     display: flex;
     flex-direction: row-reverse;
     justify-content: flex-end;
     gap: 6px;
}

.estrelas input {
     display: none;
}

.estrelas label {
     font-size: 32px;
     color: #745032;
     cursor: pointer;
}

.estrelas input:checked~label,
.estrelas label:hover,
.estrelas label:hover~label {
     color: #eaceaa;
 }

 button {
     background-color: #745032;
     color: #eaceaa;
     font-size: 15px;
     font-weight: bold;
     font-family: Cambria, serif;
     border: none;
     border-radius: 20px;
     padding: 12px;
     cursor: pointer;
     width: 100%;
 }

 button:hover {
     background-color: #8a6040;
 }

.container-tabela-pai {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 50px 20px;
    box-sizing: border-box;
}

.tabela {
     width: 100%;
     max-width: 930px;
     background-color: #2C0F10;
     border-radius: 20px;
     padding: 30px 20px;
     box-sizing: border-box;
     color: #eaceaa;
     overflow-x: auto;
}

.tabela h2 {
     font-family: 'Times New Roman', serif;
     font-style: italic;
     font-size: 25px;
     text-align: center;
     margin-bottom: 4px;
}

.tabela-subtitulo {
     text-align: center;
     color: #c9a87a;
     font-size: 14px;
     margin-bottom: 20px;
}

table {
     width: 100%;
     border-collapse: collapse;
}

th {
     font-family: Cambria, serif;
     font-size: 12px;
     font-weight: bold;
     color: #c9a87a;
     padding: 10px 12px;
     text-transform: uppercase;
     border-bottom: 2px solid #745032;
}

td {
     padding: 12px;
     vertical-align: top;
     font-size: 14px;
     line-height: 1.6;
     border-bottom: 1px solid rgba(116, 80, 50, 0.35);
}

tbody tr:last-child td {
     border-bottom: none;
}

.nome {
     font-family: 'Times New Roman', serif;
     font-style: italic;
     font-weight: bold;
     display: block;
     margin-bottom: 4px;
}

.tag,
.climax-badge {
     display: inline-block;
     font-size: 11px;
     font-weight: bold;
     padding: 2px 8px;
     border-radius: 10px;
}

.tag-deus { background: #4a1c05; color: #f5c98a; border: 1px solid #8a4a1a; }
.tag-mor { background: #0d2e1a; color: #7dd9a8; border: 1px solid #1f6640; }
.tag-div { background: #1a1040; color: #b0a8f0; border: 1px solid #4a3cb0; }
.tag-ant { background: #3a0a0a; color: #f09090; border: 1px solid #8a2020; }

.climax-badge {
     background: #5a1a1a;
     color: #f5a0a0;
     border: 1px solid #8a2a2a;
     margin-right: 4px;
}

.grupo{
    display: flex;
    gap: 10px;
}

@media (max-width: 600px) {
     th, td {
         font-size: 12px;
         padding: 8px;
     }

     .tabela,
     .inicio,
     .meio {
        width: 90%; 
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
     }

     nav a {
        display: block;
        text-align: center;
        padding: 5px 0;
     }

     .meio {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 15px;
     }

     .texto {
        width: 100%;
        font-size: 14px;
        text-align: center;
     }
}

@media (max-width: 320px) {
     .corpo-form {
         padding: 20px 10px;
     }

     .caixa {
         padding: 16px 12px;
         border-radius: 14px;
     }

     .estrelas label {
         font-size: 26px;
     }

     .tabela {
         padding: 16px 10px;
     }

     .tabela h2 {
         font-size: 18px;
     }

     th, td {
         font-size: 11px;
         padding: 6px;
     }
}
