.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.game-detail {
    background-color: #1a1a2e; /* 深蓝色背景，与浅色背景形成对比 */
    color: #f0f2f5; /* 浅色文字，保证可读性 */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.game-detail img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 30px;
}

.game-detail p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ccc;
    max-width: 765px;
}

.game-detail p span {
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 10px;
}

.game-detail p span:first-child {
    color: #ffc107; /* 评分的黄色 */
}

.game-detail p span:last-child {
    color: #ff4d4f; /* 热度的红色 */
}

.category {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 5px;
    font-size: 0.9em;
    font-weight: bold;
    text-transform: uppercase;
    color: #00e0ff; /* 霓虹蓝 */
    background-color: rgba(0, 224, 255, 0.1);
    border: 1px solid #00e0ff;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: default;
}

.category:hover {
    background-color: rgba(0, 224, 255, 0.2);
    box-shadow: 0 0 10px #00e0ff;
}

.gradient-button {
    padding: 15px 50px;
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
    background-image: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    width: 80%;
    max-width: 400px;
    margin-top: 20px;
    text-transform: uppercase;
}

.gradient-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(37, 117, 252, 0.5);
    background-image: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
}

.comment-form {
    background-color: #2c2c3e; /* 深色背景 */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    color: #f0f2f5;
    font-family: Arial, sans-serif;
}

.comment-form h3 {
    margin-top: 0;
    color: #fff;
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 20px;
}

#reviewForm input[type="text"],
#reviewForm textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #444;
    background-color: #1a1a2e;
    color: #fff;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box; /* 确保 padding 不影响宽度 */
    transition: border-color 0.3s ease;
}

#reviewForm input[type="text"]:focus,
#reviewForm textarea:focus {
    outline: none;
    border-color: #00e0ff; /* 聚焦时边框高亮 */
    box-shadow: 0 0 8px rgba(0, 224, 255, 0.5);
}

.rating-input {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.rating-input label {
    margin-right: 15px;
    color: #ccc;
}

.stars {
    font-size: 1.8em;
    color: #888;
}

.stars span {
    cursor: pointer;
    transition: color 0.2s;
}

/* 选中星星的样式 */
.stars span.active,
.stars span:hover,
.stars span:hover ~ span {
    color: #ffc107; /* 亮黄色 */
}

/* 提交按钮的样式 */
.play-btn {
    /* 使用你之前提供的酷炫按钮样式，这里是示例 */
    background-color: #00e0ff;
    color: #1a1a2e;
    font-weight: bold;
    font-size: 1.2em;
    padding: 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background-color: #ff00c8;
    color: #fff;
    box-shadow: 0 0 15px #ff00c8;
}

.reviews {
    font-family: Arial, sans-serif;
    color: #f0f2f5;
}

.reviews h3 {
    font-size: 1.8em;
    margin-bottom: 25px;
    color: #333;
    text-align: center;
}

.review {
    display: flex;
    align-items: stretch;
    background-color: #1a1a2e;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #333;
    flex-direction: row;
    align-content: flex-start;
    flex-wrap: wrap;
    justify-content: space-around;
}

.review .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* 圆形头像 */
    margin-right: 20px;
    border: 2px solid #00e0ff;
}

.review-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.playername {
    font-size: 1.1em;
    font-weight: bold;
    color: #00e0ff;
}

.rating {
    font-size: 1.2em;
    color: #ffc107;
    margin-top: 5px;
}

.review-text {
    margin-top: 10px;
    line-height: 1.6;
    color: #ccc;
    word-wrap: break-word; /* 避免长文本溢出 */
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* 元素之间的间距 */
    padding: 20px 0;
    font-family: 'Arial', sans-serif;
}

.pagination button {
    padding: 10px 25px;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    background-image: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

/* 按钮悬停效果 */
.pagination button:hover:not([disabled]) {
    transform: translateY(-2px); /* 向上移动，增加浮动感 */
    box-shadow: 0 6px 20px rgba(37, 117, 252, 0.4);
    background-image: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
}

/* 按钮禁用状态 */
.pagination button[disabled] {
    background: #444;
    cursor: not-allowed;
    color: #888;
    box-shadow: none;
    transform: none;
}

.pagination .page-numbers {
    padding: 8px 15px;
    font-size: 1.1em;
    color: #fff;
    background-color: rgba(44, 44, 62, 0.7); /* 半透明深色背景 */
    border-radius: 6px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5); /* 内阴影增加立体感 */
}

.pagination .page-number {
    font-weight: bold;
    color: #00e0ff; /* 突出当前页码 */
}
.card-loading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 50px;
    background-color: #1a1a2e; /* 深色背景，突出内容 */
    color: #f0f2f5;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    font-family: 'Arial', sans-serif;
    text-align: center;
}
.card-loading img {
    /* 将巨大的 GIF 尺寸限制在合理范围内 */
    width: 120px;
    height: 120px;

    /* 额外的酷炫效果：添加旋转动画 */
    animation: loading-spin 2s linear infinite;

    /* 增加一个发光效果，使其更具游戏感 */
    filter: drop-shadow(0 0 8px rgba(0, 224, 255, 0.8));
}

/* 定义旋转动画 */
@keyframes loading-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.card-loading h3 {
    font-size: 1.5em;
    font-weight: bold;
    color: #00e0ff; /* 使用亮眼的颜色来吸引用户注意 */
    text-shadow: 0 0 5px #00e0ff;

    /* 添加闪烁动画，增加动态感 */
    animation: text-blink 1.5s infinite alternate;
}

/* 定义文本闪烁动画 */
@keyframes text-blink {
    from {
        opacity: 0.7;
    }
    to {
        opacity: 1;
    }
}