/* ========================== */
/* MAIN */
/* ========================== */

.rps-main{
    width: 100%;
    min-height: 75vh;

    padding:
    60px 20px;

    background-color:
    var(--main-color);
}


/* ========================== */
/* TITLE */
/* ========================== */

.rps-title{
    width: 100%;
    max-width: 1000px;

    margin:
    0px auto 35px auto;

    text-align: center;
}

.rps-title h1{
    color:
    var(--text-color);

    font-family:
    var(--heading-font);

    font-size: 48px;

    font-weight: 500;
}

.rps-title p{
    margin-top: 5px;

    color:
    var(--text-hover-color);

    font-size: 15px;
}


/* ========================== */
/* GAME CONTAINER */
/* ========================== */

.game-container{
    width: 100%;
    max-width: 900px;

    margin: auto;

    padding: 35px;

    background-color:
    var(--surface-color);

    border:
    1px solid var(--boarder-color);

    border-radius: 15px;
}


/* ========================== */
/* BATTLE */
/* ========================== */

.battle-container{
    width: 100%;

    display: grid;

    grid-template-columns:
    1fr auto 1fr;

    align-items: center;

    gap: 30px;
}

.battle-side{
    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 12px;
}

.battle-label{
    color:
    var(--text-hover-color);

    font-size: 13px;

    font-weight: 600;
}

.battle-icon{
    width: 150px;
    height: 150px;

    display: flex;

    justify-content: center;

    align-items: center;

    background-color:
    var(--main-color);

    border:
    1px solid var(--boarder-color);

    border-radius: 50%;
}

.battle-icon i{
    color:
    var(--text-color);

    font-size: 70px;
}

.choice-name{
    color:
    var(--text-color);

    font-family:
    var(--heading-font);

    font-size: 24px;
}


/* ========================== */
/* VS */
/* ========================== */

.vs{
    color:
    var(--button-color);

    font-family:
    var(--heading-font);

    font-size: 38px;
}


/* ========================== */
/* RESULT */
/* ========================== */

.game-result{
    width: 100%;

    margin:
    35px 0px;

    text-align: center;
}

.game-result h2{
    color:
    var(--text-color);

    font-family:
    var(--heading-font);

    font-size: 32px;

    font-weight: 500;
}


/* ========================== */
/* CHOICES */
/* ========================== */

.choices{
    width: 100%;

    display: grid;

    grid-template-columns:
    repeat(3, 1fr);

    gap: 15px;
}

.choice-button{
    min-height: 120px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 12px;

    background-color:
    var(--main-color);

    border:
    1px solid var(--boarder-color);

    border-radius: 10px;

    color:
    var(--text-color);

    cursor: pointer;

    transition: 0.2s;
}

.choice-button:hover{
    transform:
    translateY(-4px);

    border-color:
    var(--button-color);

    background-color:
    var(--surface-hover-color);
}

.choice-button i{
    font-size: 42px;
}

.choice-button span{
    font-size: 14px;

    font-weight: 600;
}


/* ========================== */
/* SCORE */
/* ========================== */

.score-container{
    width: 100%;

    margin-top: 40px;

    padding-top: 30px;

    border-top:
    1px solid var(--boarder-color);
}

.score-header{
    display: flex;

    justify-content:
    space-between;

    align-items: center;

    margin-bottom: 20px;
}

.score-header h2{
    color:
    var(--text-color);

    font-family:
    var(--heading-font);

    font-size: 30px;

    font-weight: 500;
}

.score-header button{
    padding:
    9px 18px;

    background-color:
    transparent;

    border:
    1px solid var(--button-color);

    border-radius: 6px;

    color:
    var(--button-color);

    cursor: pointer;

    transition: 0.2s;
}

.score-header button:hover{
    background-color:
    var(--button-color);

    color: white;
}


/* ========================== */
/* SCORE GRID */
/* ========================== */

.score-grid{
    display: grid;

    grid-template-columns:
    repeat(3, 1fr);

    gap: 15px;
}

.score-card{
    min-height: 100px;

    padding: 20px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 5px;

    background-color:
    var(--main-color);

    border:
    1px solid var(--boarder-color);

    border-radius: 10px;
}

.score-number{
    color:
    var(--text-color);

    font-family:
    var(--heading-font);

    font-size: 36px;
}

.score-label{
    color:
    var(--text-hover-color);

    font-size: 13px;
}


/* ========================== */
/* RULES */
/* ========================== */

.rules-container{
    width: 100%;

    margin-top: 40px;

    padding-top: 30px;

    border-top:
    1px solid var(--boarder-color);
}

.rules-container h2{
    margin-bottom: 20px;

    color:
    var(--text-color);

    font-family:
    var(--heading-font);

    font-size: 30px;

    font-weight: 500;
}

.rules-grid{
    display: grid;

    grid-template-columns:
    repeat(3, 1fr);

    gap: 15px;
}

.rule{
    min-height: 110px;

    padding: 15px;

    display: flex;

    justify-content: center;

    align-items: center;

    flex-direction: column;

    gap: 10px;

    background-color:
    var(--main-color);

    border:
    1px solid var(--boarder-color);

    border-radius: 10px;

    text-align: center;
}

.rule i{
    color:
    var(--text-color);

    font-size: 26px;
}

.rule span{
    color:
    var(--text-hover-color);

    font-size: 13px;
}


/* ========================== */
/* TABLET */
/* ========================== */

@media (max-width:1024px){

    .rps-main{
        padding:
        50px 20px;
    }

    .game-container{
        max-width: 750px;
    }

    .battle-icon{
        width: 130px;
        height: 130px;
    }

    .battle-icon i{
        font-size: 60px;
    }

}


/* ========================== */
/* MOBILE */
/* ========================== */

@media (max-width:767px){

    .rps-main{
        padding:
        35px 15px;
    }


    .rps-title h1{
        font-size: 36px;
    }


    .rps-title p{
        font-size: 13px;
    }


    .game-container{
        padding: 25px 15px;
    }


    .battle-container{
        gap: 10px;
    }


    .battle-icon{
        width: 95px;
        height: 95px;
    }


    .battle-icon i{
        font-size: 44px;
    }


    .vs{
        font-size: 26px;
    }


    .choice-name{
        font-size: 20px;
    }


    .game-result{
        margin:
        25px 0px;
    }


    .game-result h2{
        font-size: 27px;
    }


    .choices{
        gap: 8px;
    }


    .choice-button{
        min-height: 100px;
    }


    .choice-button i{
        font-size: 35px;
    }


    .choice-button span{
        font-size: 12px;
    }


    .rules-grid{
        grid-template-columns:
        1fr;
    }

}


/* ========================== */
/* SMALL MOBILE */
/* ========================== */

@media (max-width:480px){

    .rps-main{
        padding:
        30px 10px;
    }


    .battle-icon{
        width: 80px;
        height: 80px;
    }


    .battle-icon i{
        font-size: 36px;
    }


    .score-header{
        align-items:
        flex-start;

        flex-direction:
        column;

        gap: 10px;
    }


    .score-grid{
        gap: 7px;
    }


    .score-card{
        padding: 12px 5px;
    }


    .score-number{
        font-size: 30px;
    }


    .score-label{
        font-size: 11px;
    }

}