body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

.container {
    max-width: 520px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.header {
    display: flex;
    align-items: center;
}

.header img {
    width: 100px;
    height: 100px;
    border-radius: 20%;
    margin-right: 20px;
}

.header h1 {
    font-size: 24px;
    margin: 0;
}

.header h3 {
    margin-top: 5px;
    font-size: 24px;
    margin: 0;
}

.header h4 {
    margin-top: 5px;
    font-size: 16px;
    margin: 0;
    color: #006de2;
}

.header p {
    font-size: 16px;
    color: #919191;
    margin: 5px 0 0;
    font-weight: bold;
}

/* 游戏信息模块样式 */
.game-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    text-align: center;
}

.info-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 20px; /* 调整为更大的外边距 */
}

.rating-value {
    font-size: 20px;
    font-weight: bold;
    color: #4d4d4d; /* 金色 */
    margin-bottom: 5px;
}

.reviews-count {
    font-size: 12px;
    color: #727272;
    font-weight: bold;
}

.downloads-count {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.downloads {
    font-size: 12px;
    color: #727272;
    font-weight: bold;
}

.separator {
    border-left: 2px solid #bdbcbc; /* 单竖线 */
    height: 35px; /* 调整为更长的高度 */
    margin: 0 10px;
}

.custom-icon-container {
    margin-bottom: 5px;
}

.custom-icon {
    width: 70%;
    height: auto;
}

.custom-icon-1{
    width: 12px;
    height: 12px;
    align-self: center;
    padding-left: 1px;
}

.editor-choice {
    background-color: #4caf50; /* 绿色背景 */
    color: #fff; /* 白色文字 */
    border-radius: 5px;
    padding: 3px 8px;
    font-size: 14px;
}

/*-- 下载按钮样式 --*/
.download-button-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.download-button, .progress-bar {
    border-radius: 20px; /* 圆角 */
    width: 80%; /* 宽度占页面容器的80% */
    max-width: 500px; /* 最大宽度限制 */
    font-size: 16px;
    text-align: center;
    height: 50px; /* 按钮和进度条的高度一致 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-button {
    background-color: #007bff; /* 蓝色背景 */
    color: #fff; /* 白色文字 */
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    padding: 0; /* 清除内边距 */
}

.download-button:hover {
    background-color: #0056b3; /* 鼠标悬停时的深蓝色 */
}

.progress-bar {
    background-color: #007bff; /* 蓝色背景，与按钮一致 */
    overflow: hidden;
    position: relative;
}

.progress {
    height: 100%;
    width: 0;
    background-color: #0056b3; /* 深蓝色进度条 */
    position: absolute;
    left: 0;
    top: 0;
    transition: width 0.3s ease;
}

#progressText {
    position: absolute;
    width: 100%;
    text-align: center;
    color: #fff; /* 白色文字 */
    font-size: 18px;
    font-weight: bold;
    line-height: 50px; /* 与进度条高度一致，实现垂直居中 */
}

/*---------------------------*/
.preview-images {
    display: flex;
    overflow-x: scroll;
    margin: 20px 0;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: #888 #f5f5f5;
}

.preview-images::-webkit-scrollbar {
    height: 10px;
}

.preview-images::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 5px;
}

.preview-images img {
    width: 400px;
    height: auto;
    margin-right: 10px;
    border-radius: 5px;
    cursor: pointer;
}

/* 游戏介绍部分样式 */
.game-description {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 使标题和箭头分别靠左和靠右 */
    margin: 20px 0;
    font-size: 24px;
    position: relative;
}

.arrow image {
    margin-left: 10px; /* 箭头与文本的间距 */
}

.description {
    margin: 20px 0;
}

.description p {
    font-size: 16PX;
    color: #666;
    line-height: 1.5em;
    font-weight: bold;
}

/* 标签按钮容器 */
.tag-button-container {
    text-align: left; /* 将按钮容器对齐到左侧 */
    margin: 20px 0; /* 上下外边距 */
}

/* 标签按钮样式 */
.tag-button {
    border: 2px solid rgb(148, 148, 148); /* 黑色描边 */
    background-color: transparent; /* 透明背景 */
    color: rgb(82, 82, 82); /* 黑色文字 */
    padding: 8px 16px; /* 内边距 */
    font-size: 16px; /* 字体大小 */
    font-weight: bold;
    border-radius: 10px; /* 圆角边框 */
    cursor: pointer; /* 鼠标悬停时显示手型 */
    transition: background-color 0.3s, color 0.3s; /* 平滑过渡效果 */
    margin: 0; /* 去掉默认外边距 */
}

.tag-button:hover {
    background-color: black; /* 悬停时背景变为黑色 */
    color: white; /* 悬停时文字变为白色 */
}

/* 数据安全模块 */
.data-security {
    margin: 20px 20px 20px 20px;
    padding: 20px 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.data-security p {
    margin-bottom: 15px;
    color: #666;
}

.security-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.security-item img {
    width: auto;
    height: auto;
}

.security-text {
    flex: 1;
}

.security-text p {
    margin: 0;
    color: #333;
    line-height: 1.5;
}

.more-details {
    display: block;
    text-align: left;
    font-weight: bold;
    color: #4c5eaf;
    text-decoration: none;
    font-size: 16px;
}

.more-details:hover {
    text-decoration: underline;
}

/* ---评论--- */

.reviews {
    margin: 20px 0;
}

.review p {
    color: #6d6d6d;
}

.review-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.review-summary .stats {
    width: 45%;
}

.review-summary .rating-bar {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    height: 100%;
    justify-content: center;
}

.review-summary .rating-bar div {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    width: 100%;
}

.review-summary .rating-bar span {
    width: 40px;
    text-align: right;
    margin-right: 10px;
}

.review-summary .rating-bar .progress-bar {
    flex: 1;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    position: relative;
}

.review-summary .rating-bar .progress {
    height: 100%;
    background-color: #4c63af;
    border-radius: 5px;
}

.review-summary .rating-bar .progress[data-rating="5"] { width: 100%; }
.review-summary .rating-bar .progress[data-rating="4"] { width: 90%; }
.review-summary .rating-bar .progress[data-rating="3"] { width: 70%; }
.review-summary .rating-bar .progress[data-rating="2"] { width: 20%; }
.review-summary .rating-bar .progress[data-rating="1"] { width: 5%; }

.review-summary .average-rating {
    font-size: 84px;
    font-weight: bold;
    margin: 10px 0;
    padding-left: 20px;
    color: #202020;
}

.review-summary .average-stars {
    color: rgb(1, 23, 153);
    padding-left: 20px;
}

.review-summary .total-reviews {
    font-size: 16px;
    color: #666;
    padding-top: 10px;
    padding-left: 20px;
    font-weight: bold;
}

.review {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.review-header .profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.review-header .review-name {
    font-weight: bold;
}

.review-header .review-right-img {
    margin-left: auto;
    height: 27px;
    width: 7px;
    border-radius: 0; /* 取消圆角 */
}

.review-stars {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.review-stars .star {
    color: rgb(12, 0, 173);
    margin-right: 2px;
}

.review-stars .review-date {
    margin-left: 10px;
    font-size: 12px;
    color: #666;
}

.review-text {
    font-size: 16px;
    margin-bottom: 10px;
    color: #696969;
}

.useful {
    display: flex;
    flex-direction: column;
    /*align-items: flex-end;*/
    margin-bottom: 10px;
}

.useful-info {
    margin-bottom: 5px;
    font-size: 14px;
    color: #414141;
}

.useful-buttons {
    padding-top: 20px;
    padding-bottom: 10px;
    font-size: 14px;
    color: #414141;
    display: flex;
    align-items:center;
    justify-content: space-between; 
}

.right-side {
    display: flex;
    align-items: center;
}

.right-side button {
    margin-left: 5px; /* 为按钮之间添加间距 */
}

.useful-buttons span {
    margin-right: 10px;
}

.useful-buttons button {
    border: 1px solid #000;
    background-color: #fff;
    color: #000;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    margin-right: 5px;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
}

.useful-buttons button:hover {
    background-color: #000;
    color: #fff;
}


.official-reply {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
}

.official-reply-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    color: #505050;
}

.reply-date {
    font-weight: normal;
    font-size: 14px;
    color: #868686;
}

/* Fullscreen image modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}
.modal-content {
    margin: 5% auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}
.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 全屏遮罩层 */
#browser-check-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
}

/* 模态弹窗 */
#browser-check-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: none;
    text-align: center;
    width: 90%; /* 调整为百分比，以适应小屏幕 */
    max-width: 350px; /* 设置最大宽度 */
}

#browser-check-modal h2 {
    margin: 0 0 15px;
    color: #333;
}

#browser-check-modal p {
    margin: 15px 0;
    color: #555;
}

#copy-link-button {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#copy-link-button:hover {
    background-color: #0056b3;
}

#copy-success {
    color: green;
    font-weight: bold;
    margin-top: 10px;
}

/* 媒体查询：适应小屏幕 */
@media (max-width: 480px) {
    #browser-check-modal {
        padding: 15px;
    }

    #copy-link-button {
        padding: 8px 16px;
        font-size: 14px;
    }

    #browser-check-modal h2 {
        font-size: 18px;
    }

    #browser-check-modal p {
        font-size: 14px;
    }
}

