.game-image-container {
    position: relative;
    width: fit-content;
    margin: auto
}

.progress-bar-container {
    position: relative;
    width: 100%;
    height: 30px;
    background-color: #ddd;
    border-radius: 5px;
    margin-top: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,.2)
}

.progress-bar {
    height: 100%;
    border-radius: 5px;
    width: 0%;
    text-align: center;
    line-height: 30px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,.5);
    transition: width 1s ease,background-color 1s ease,box-shadow 1s ease
}

.loading-bar {
    background-color: #4caf50;
    height: 20px;
    transition: width .5s ease
}

.winrate-orange,.winrate-green,.winrate-colorful {
    background-size: 300% 300%;
    animation: animateGradient 3s ease infinite
}

.winrate-orange {
    background-image: linear-gradient(90deg,#ff7e00,#ffbb00,#ff7e00);
    box-shadow: 0 0 10px #ff7e00
}

.winrate-green {
    background-image: linear-gradient(90deg,#4caf50,#8bc34a,#4caf50);
    box-shadow: 0 0 10px #4caf50
}

.winrate-colorful {
    background-image: linear-gradient(90deg, #ff8600, #e567cf, #1247fe, #12ff00);
}

@keyframes animateGradient {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

.recommendation-message {
    text-align: center;
    margin-top: 10px;
    font-size: 9px;
    display: none;
    font-weight: 700;
    color: #4caf50;
    background-image: linear-gradient(90deg,#fad648,#a767e5,#12bcfe,#44ce7b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent
}

.view-pattern-button {
    display: block;
    margin-top: 10px;
    padding: 5px 10px;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background: linear-gradient(90deg,#002499,#295bff,#002499);
    background-size: 300% 300%;
    animation: animateGradientButton 3s ease infinite
}

.view-pattern-button:hover {
    background-color: #ff7e00;
    color: #fff
}

@keyframes animateGradientButton {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

.modal6 {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,.5)
}

.modal6-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
    color: #000
}

.modal6-header,.modal6-footer {
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid #ddd
}

.modal6-body {
    padding: 10px 0
}

.modal6-footer {
    border-top: 1px solid #ddd
}

.modal6-footer .btn {
    background-color: #002499;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color .3s,color .3s
}

.modal6-footer .btn:hover {
    background-color: #4caf50;
    color: #fff
}

.modal6 .close {
    float: right;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer
}

.modal6 .close:hover {
    color: #ff7e00
}
