.detail-container {
    display: flex;
    justify-content: space-between;
    font-family: "Microsoft YaHei";
}

.side-ui {
    width: 18.8%;
}

.side-ui .side-list-box {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 10%;
}

.side-ui .game-item {
    width: 45%;
    aspect-ratio: 1/1;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.side-ui .game-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.center-ui {
    width: 100%;
}

.detail-top {
    display: flex;
    align-items: center;
    border-radius: 30px;
    padding: 2rem 4rem 2rem 2rem;
    position: relative;
}

.detail-top .detail-main {
    max-width: 34rem;
}

.main-icon {
    height: 15rem;
    width: 15rem;
    border-radius: 40px;
    object-fit: cover;
    margin-right: 2.5rem;
}

.detail-top .game-title {
    font-weight: 700;
    color: #ffffff;
    font-size: 2rem;
}

.flex-data {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.flex-data .game-data {
    min-width: 11rem;
}

.game-data {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    opacity: 70%;
}

.game-data .tag-item {
    opacity: 100%;
    color: #ffffff;
    padding: 0.2rem 0.75rem;
    background: rgba(200, 200, 200, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 0.9rem;
}

.get-game-btn {
    position: absolute;
    right: 3rem;
    margin-top: 1rem;
    background: linear-gradient(270deg, #b700e6 0%, #f01da1 100%);
    border-radius: 3rem;
    height: 4.5rem;
    width: 30%;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
}

@keyframes scaleAnimation {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05);
    }
}

.title-text {
    font-weight: 500;
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 1.1rem;
}

.description-container {
    padding: 2rem 0 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.description-container .description-text {

}


.screenshot-container {
    padding: 2rem 0 3rem 0;
}

.star-rating {
    display: flex;
    margin-left: 0.5rem;
}

.star {
    font-size: 1.2rem;
    color: #ccc;
    position: relative;
    display: inline-block;
}

.star::before, .star::after {
    content: "\2605";
    position: absolute;
    top: 0;
    left: 0;
}

.star::before {
    color: #ccc;
    z-index: 1;
}

.star::after {
    color: #f5b301;
    z-index: 2;
    overflow: hidden;
    width: 0;
}

.star.selected::after {
    width: 100%;
}

.star.partial::after {
    width: var(--fill-percent);
}

.carousel-wrapper {
    width: 100%;
    position: relative;
}

.carousel {
    width: 100%;
    overflow: hidden;
}

.carousel-view {
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.carousel img {
    height: 350px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 20px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.44);
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    z-index: 4;
}

.carousel-button img {
    width: 0.6rem;
    height: 0.8rem;
}

.carousel-button.prev {
    left: 0;
}

.carousel-button.next {
    left: 100%;
}

.carousel-button.hidden {
    display: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 20;
    padding-top: 60px;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.modal .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.modal .close:hover,
.modal .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.download-wrapper {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.download-container {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.download-container a {
    background-color: #000000;
    padding: 0.6rem 2.5rem;
    border-radius: 10px;
    cursor: pointer;
}

.download-container img {
    height: 3rem;
}

.download-text {
    color: #6a6a6a;
    font-size: 1.1rem;
}

.recommend-wrapper {
    padding: 2rem 0 3rem 0;
}

.game-title-info {
    align-items: center;
    margin-bottom: 0.8rem;
}

.detail-main .devide-line {
    opacity: 51%;
    width: 2px;
    height: 20px;
    background-color: #e3e3e3;;
    margin: 0 1.5rem;
}

.collect-btn {
    cursor: pointer;
}

.collect-btn img {
    height: 1.2rem;
    width: 1.2rem;
    background-color: #ffffff;
    padding: 0.3rem;
    border-radius: 50%;
}