* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html,
body {
    width: 100%;
    min-height: 100%;
}


body {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    background: #d8e3dc;
}


/* =========================================================
   PÁGINA
   ========================================================= */

.choice-page {
    position: relative;

    width: 100%;
    min-height: 100vh;

    display: flex;

    align-items: center;

    padding:
        40px
        5vw;

    background-image:
        var(--page-background);

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;
}


/* =========================================================
   MATIZAÇÃO
   ========================================================= */

.background-shade {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(38, 76, 68, 0.28) 0%,
            rgba(58, 100, 88, 0.16) 35%,
            rgba(112, 145, 126, 0.06) 65%,
            rgba(255, 255, 255, 0.00) 88%
        );

    pointer-events: none;
}


/* =========================================================
   ESTRUTURA
   ========================================================= */

.choice-layout {
    position: relative;

    z-index: 2;

    width: min(
        1100px,
        100%
    );

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        380px
        minmax(0, 1fr);

    gap: 30px;

    align-items: stretch;
}


/* =========================================================
   PERSONAGEM
   ========================================================= */

.character-preview {
    overflow: hidden;

    border-radius: 22px;

    border:
        1px solid
        rgba(219, 201, 143, 0.52);

    background:
        linear-gradient(
            145deg,
            rgba(55, 100, 88, 0.78),
            rgba(76, 122, 106, 0.68),
            rgba(197, 178, 121, 0.30)
        );

    box-shadow:
        0 20px 45px
        rgba(35, 65, 56, 0.28);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);
}


.character-image {
    width: 100%;

    height: 420px;

    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.08);
}


.character-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: top center;
}


.character-summary {
    padding:
        24px;
}


.character-summary h1 {
    margin-bottom: 20px;

    color: #f2e7c4;

    font-size: 28px;

    line-height: 1.15;
}


.summary-item {
    margin-top: 14px;
}


.summary-item span {
    display: block;

    margin-bottom: 4px;

    color:
        rgba(239, 215, 146, 0.88);

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 0.8px;

    text-transform: uppercase;
}


.summary-item strong {
    color: #fff3cf;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;

    font-weight: 500;
}


/* =========================================================
   PAINEL
   ========================================================= */

.choice-panel {
    padding:
        38px
        32px;

    border-radius: 22px;

    border:
        1px solid
        rgba(219, 201, 143, 0.55);

    background:
        linear-gradient(
            145deg,
            rgba(55, 100, 88, 0.78),
            rgba(76, 122, 106, 0.68),
            rgba(197, 178, 121, 0.30)
        );

    box-shadow:
        0 20px 45px
        rgba(35, 65, 56, 0.28),

        inset 0 1px 0
        rgba(255, 255, 255, 0.16);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);
}


/* =========================================================
   CABEÇALHO
   ========================================================= */

.choice-header {
    margin-bottom: 28px;
}


.choice-header h2 {
    color: #f2e7c4;

    font-size: 30px;

    font-weight: 600;

    letter-spacing: 1.5px;
}


.choice-header p {
    margin-top: 10px;

    color:
        rgba(242, 231, 196, 0.76);

    font-size: 14px;

    line-height: 1.5;
}


/* =========================================================
   FORMULÁRIO
   ========================================================= */

.choice-form {
    display: flex;

    flex-direction: column;

    gap: 14px;
}


.choice-form input {
    width: 100%;

    height: 52px;

    padding:
        0
        15px;

    border-radius: 12px;

    border:
        1px solid
        rgba(224, 205, 150, 0.58);

    outline: none;

    background:
        rgba(255, 255, 255, 0.93);

    color: #3f514b;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}


.choice-form input::placeholder {
    color: #89938f;
}


.choice-form input:focus {
    border-color:
        rgba(240, 207, 117, 0.95);

    box-shadow:
        0 0 0 3px
        rgba(240, 207, 117, 0.15);
}


/* =========================================================
   BOTÕES
   ========================================================= */

.confirm-button,
.back-button {
    width: 100%;

    min-height: 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
        11px
        18px;

    border-radius: 12px;

    text-decoration: none;

    text-align: center;

    font-family: inherit;

    font-size: 14px;

    font-weight: 600;

    letter-spacing: 1px;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}


.confirm-button {
    margin-top: 4px;

    border:
        1px solid
        rgba(247, 219, 132, 0.70);

    background:
        linear-gradient(
            135deg,
            rgba(239, 214, 137, 0.52),
            rgba(100, 164, 137, 0.64)
        );

    color: #fff7db;

    box-shadow:
        0 9px 20px
        rgba(34, 70, 60, 0.22);
}


.back-button {
    margin-top: 14px;

    border:
        1px solid
        rgba(232, 213, 154, 0.40);

    background:
        linear-gradient(
            135deg,
            rgba(242, 230, 190, 0.20),
            rgba(113, 156, 136, 0.30)
        );

    color: #fff3cf;
}


.confirm-button:hover,
.back-button:hover {
    transform:
        translateY(-2px);

    background:
        linear-gradient(
            135deg,
            rgba(239, 214, 137, 0.62),
            rgba(100, 164, 137, 0.72)
        );

    box-shadow:
        0 12px 25px
        rgba(34, 70, 60, 0.26);
}


/* =========================================================
   CELULAR
   ========================================================= */

@media (
    max-width: 800px
) {

    .choice-page {
        align-items: flex-start;

        padding:
            20px;
    }


    .choice-layout {
        grid-template-columns:
            1fr;
    }


    .character-image {
        height: 420px;
    }

}


@media (
    max-width: 480px
) {

    .choice-page {
        padding:
            12px;
    }


    .character-image {
        height: 330px;
    }


    .character-summary {
        padding:
            20px;
    }


    .choice-panel {
        padding:
            28px
            22px;
    }


    .choice-header h2 {
        font-size: 26px;
    }

}