@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');

:root {
    --main-bg-color: #8A07D3;
    --principalColor: #831BD1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: white;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Sora", sans-serif;
    overflow-x: hidden;
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, #9A03D7, #820AD1);
    padding: 20px 80px;
    color: white;
    border-bottom-left-radius: 650px 40px;
    border-bottom-right-radius: 650px 40px;
}

header img {
    width: 100px;
}

.wallet {
    position: relative;
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 17px;
    border: 1px solid white;
}

.wallet-title {
    top: -10px;
    font-weight: 300;
    font-size: 15px;
    padding: 1px;
    background-color: #8A07D3;
    position: absolute;
    z-index: 9;
}



main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 100px;
}

.loading-review {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.title-container {
    display: flex;
    align-items: center;
}


.loading-img {
    width: 50px;
}

.title {
    color: #831BD1;
    font-size: 25px;
}


.review-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.review-container .title-container img {
    width: 30px;

}



.img-review {
    width: 450px;
    border: 2px solid rgba(162, 47, 250, 0.432);
    border-radius: 8px
}


.fill {
    color: #a855f7 !important;
}

.label-container {
    display: flex;
    flex-direction: column;
    justify-content: center;

    align-items: center;
    text-align: center;
    color: #8A07D3;
}

.label-container .value {
    font-weight: 800;
    font-size: 35px;
}

.label-container .title-img {
    font-size: 45px;
}

.label-container .estrela {
    font-size: 50px;
}

.label-container .estrela.hover {
    color: #ccc;
}




.avaliacao {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5px 0;
}

.estrelas {
    display: flex;
    justify-content: space-around;
    align-items: center;
    cursor: pointer;
}

.estrelas .legenda-text {
    display: none;
}

.estrela {
    font-size: 2.5rem;
    color: #ccc;
    transition: color 0.2s;
}

.estrela.hover,
.estrela.selecionada {
    color: #a855f7;
    /* Roxo */
}

.legenda {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.9rem;
    margin-top: 5px;
    color: #555;
}


.question {
    color: #353434;
    margin-bottom: 10px;
    font-size: 20px;
}


.price-options {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


.buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.price-btn {
    padding: 10px 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    background-color: #f4f4f4;
    color: #353434;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.price-btn:hover {
    border-color: #831BD1;
    color: #831BD1;
    background-color: #eee;
}

.price-btn.selected {
    border-color: #831BD1;
    background-color: #831BD1;
    color: white;
}


/*POPUP INICIO*/

.popup-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
}

.popup {
    width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    box-shadow: 7px 7px 13px 0px rgba(64, 61, 64, 0.23);
    background-color: white;
    padding: 10px 24px 24px 24px;
    border-radius: 10px;

    /* animação */
    animation: popup 0.4s ease-out forwards;
}

.highlight-text {
    font-size: 34px;
    font-weight: 500;
}

.sub-text {
    font-size: 17px;
    font-weight: 300;
    color: #353434;
    margin: 10px 0;
}

.sub-text b {
    font-weight: 600;
}

.value-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.value-container .more {
    font-size: 24px;
    font-weight: 600;
}

.group {
    display: flex;
    flex-direction: column;
}

.group .dollar {
    font-size: 14px;
    color: #797676;
    font-weight: 600;
}

.group .value-number {
    font-size: 40px;
    font-weight: 600;
}


.group .purple-text {
    color: #8A07D3;
}


.tag {
    background-color: #8c07d338;
    color: #831BD1;
    padding: 8px 16px;
    width: 100%;
    border-radius: 20px;
    margin: 20px 0;
}


.btn {
    border: none;
    outline: none;
    width: 100%;
    background-color: #8A07D3;
    color: white;
    padding: 10px 0;
    font-weight: 600;
    font-size: 18px;
    border-radius: 10px;
    box-shadow: 7px 7px 13px 0px rgba(64, 61, 64, 0.23);
    animation: pulse 1.5s infinite;
    text-decoration: none;
}

.btn:hover {
    cursor: pointer;
}


/*POPUP SALDO*/
.popup.balance {
    gap: 10px;
}

.popup.balance .text {
    font-size: 20px;
    font-weight: 600;
}


.popup.balance .text-sm {
    font-size: 17px;
}

.popup.balance .value {
    font-size: 42px;
    font-weight: 600;
}


.hidden {
    display: none;
}


.bg-popup {
    position: absolute;
    z-index: 99;
    width: 100vw;
    height: 130vh;
    background-color: rgba(0, 0, 0, 0.452);

}

@keyframes popup {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}



@media screen and (max-width:480px) {
    header img {
        width: 100px;
    }

    .popup {
        width: 370px;
    }

    .sub-text {
        font-size: 16px;
    }

    .question {
        text-align: center;
        margin-bottom: 0;
    }

    .legenda {
        display: none;
    }

    .estrelas {
        width: 100%;
        align-items: center;
        justify-content: center !important;
    }

    .estrelas .legenda-text {
        display: block;
        margin: 0 5px;
        color: #555;
        font-size: 13px !important;

    }

    .img-review {
        width: 330px;
    }

    .title {
        font-size: 16px;
    }

    .label-container .value {
        font-size: 25px;
    }

    .label-container .title-img {
        font-size: 30px;
    }

    .label-container .estrela {
        font-size: 20px;
    }

    header {
        padding: 15px 20px !important;
    }



    .avaliacao {
        margin: 0 !important;
    }

    .wallet {
        margin: 8px 15px;
        font-size: 15px;
    }

    .wallet-title {
        font-size: 13px;
    }

}








@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}