/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    text-rendering: optimizeLegibility;
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: Poppins, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    background-color: #4a6fa5;
    min-height: 100vh;
    color: #ffffff;
    text-rendering: optimizeSpeed;
}

a {
    text-decoration: none;
    cursor: pointer;
    background-color: transparent;
    color: inherit;
}

ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    margin: 0;
}

button, input, select, textarea {
    background-color: transparent;
    font-size: 16px;
    color: #333;
    outline: none;
}

button {
    transition: background-color 0.2s ease 0s, color 0.2s ease 0s, border-color 0.2s ease 0s;
}

.container {
    position: relative;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
}

.row {
    width: 100%;
}

.d-flex {
    display: flex;
}

.al {
    align-items: center;
}

.sp {
    justify-content: space-between;
}

.center-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-center {
    text-align: center;
}

/* 头部导航样式 */
header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background-color: #3a5a80;
}

.header__bar, .nav__mobile--close {
    height: 80px;
}

.header__bar--navigation-list {
    white-space: nowrap;
}

.header__bar--navigation-list li {
    margin: 0 16px;
}

.header__bar--navigation-list li a {
    padding: 8px 12px;
    color: #f5e8c8;
    text-transform: capitalize;
    border-radius: 5px;
    white-space: nowrap;
    display: inline-block;
    font-weight: bold;
}

.header__bar--navigation-list li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.header__bar--searchbox form {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.header__bar--searchbox-input {
    padding-right: 44px;
    text-indent: 16px;
    height: 44px;
    width: 220px;
    min-width: 220px;
    background-color: #ffffff;
    color: #000000;
}

.header__bar--searchbox-submit {
    width: 44px;
    height: 44px;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}

.header__bar--searchbox-submit svg {
    fill: #000000;
    width: 28px;
    height: 28px;
}

.header__bar--searchbox-submit:hover svg {
    fill: #4a6fa5;
}

/* 语言切换器样式 - 整合开始 */
.language-switcher-wrapper {
    margin-left: 10px;
}

.language-switcher {
    position: relative;
    display: inline-block;
}

.language-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: #f5e8c8;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.language-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.language-btn i {
    margin: 0 4px;
}

.language-btn i.fa-globe {
    font-size: 14px;
}

.language-btn i.fa-chevron-down {
    font-size: 12px;
    margin-left: 8px;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #3a5a80;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    min-width: 180px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.language-dropdown.show {
    display: block;
}

.language-dropdown a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #f5e8c8;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    font-size: 14px;
}

.language-dropdown a:last-child {
    border-bottom: none;
}

.language-dropdown a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.language-dropdown a img {
    margin-right: 10px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 移动端语言切换器 */
.language-switcher-mobile {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.language-switcher-mobile .language-btn {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    border: none;
    border-radius: 0;
    background: none;
    justify-content: flex-start;
}

.language-switcher-mobile .language-btn i {
    margin-right: 10px;
}

.mobile-dropdown {
    position: static;
    display: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    max-height: 300px;
}

.mobile-dropdown.show {
    display: block;
}

/* 页脚语言切换器 */
.language-toggle-footer {
    cursor: pointer;
}

.language-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.language-modal.show {
    display: flex;
}

.language-modal-content {
    background-color: #3a5a80;
    border-radius: 10px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.language-modal-content h3 {
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.language-grid a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: #f5e8c8;
    text-decoration: none;
    transition: all 0.2s ease;
}

.language-grid a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
}

.language-grid a img {
    margin-right: 12px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.close-modal {
    background-color: #4a6fa5;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.2s;
}

.close-modal:hover {
    background-color: #3a5a80;
}
/* 语言切换器样式 - 整合结束 */

/* 移动端菜单样式 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9;
    background-color: rgba(30, 30, 30, 0.3);
    display: none;
}

.nav__mobile {
    z-index: 10;
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    box-shadow: 7px 10px 99px -6px rgba(0, 0, 0, 0.49);
    background-color: #3a5a80;
    transition: transform 0.25s ease-in-out;
    transform: translateX(100%);
}

.header__bar--open, .close-nav {
    width: 48px;
    height: 48px;
    cursor: pointer;
}

.header__bar--open svg, .close-nav svg {
    width: 48px;
    height: 48px;
    fill: #ffffff;
}

.header__bar--open {
    display: none;
}

.nav__mobile--close {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
}

.nav__mobile--grid {
    padding-top: 12px;
}

.nav__mobile--grid ul li {
    display: block;
}

.nav__mobile--grid ul li a {
    padding: 12px 16px;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header__bar--searchbox-mobile .header__bar--searchbox-input {
    width: 100%;
    min-width: 100%;
}

/* 游戏网格布局 */
.grid__game {
    display: grid;
    gap: 10px;
    margin: 0 auto;
    justify-content: center;
    margin-top: 25px;
}

.grid__game--item {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    background-color: #ffffff;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
    aspect-ratio: 1/1;
}

.grid__game--item.span-2x2 {
    grid-column: span 2;
    grid-row: span 2;
}

.grid__game--item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.grid__game--item:hover img {
    transform: scale(1.03);
}

.grid__game--item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 标题样式 */
.title-karmatic {
    font-family: "Karmatic", sans-serif;
    font-size: 30px;
    text-align: center;
    margin: 16px 0;
    color: #ffffff;
}

.title-karmatic a {
    color: #ffffff;
    text-decoration: none;
}

.title-karmatic a:hover {
    text-decoration: underline;
}

/* 分页样式 */
.pagination {
    margin: 24px 0;
    text-align: center;
}

.s_paging {
    display: inline-block;
}

.next_page {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    background: #fff;
    color: #333;
}

.next_page.active_ {
    background: #4a6fa5;
    color: #fff;
    border-color: #4a6fa5;
}

.next_page:hover:not(.active_) {
    background: #f5f5f5;
}

.gif.hidden {
    display: none;
}

/* 文本区域样式 */
.text__area {
    max-width: 1024px;
    margin: 16px auto;
    border: 1px solid #ced4da;
    border-radius: 30px;
    padding: 24px;
    background: #f8f9fa;
    color: #333;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 6px 12px 1px;
}

.text__area ol, .text__area ul {
    padding-left: 40px;
    margin-bottom: 1rem;
}

.text__area li {
    list-style: disc;
}

.text__area a {
    text-decoration: underline;
    color: #4a6fa5;
}

.text__area h1, .text__area h2 {
    text-transform: capitalize;
}

.text__area h1, .text__area h2, .text__area h3, .text__area h4, .text__area h5, .text__area h6 {
    margin: revert;
    font-weight: revert;
    font-size: revert;
}

.text__area img {
    max-width: 100%;
    height: auto;
}

/* 简洁面包屑导航样式 */
.breadcrumb-navigation.simple {
    margin-bottom: 15px;
    padding: 0;
}

.breadcrumb-navigation.simple .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: transparent;
    border: none;
    border-radius: 0;
}

.breadcrumb-navigation.simple .breadcrumb-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.breadcrumb-navigation.simple .breadcrumb-item + .breadcrumb-item {
    padding-left: 8px;
}

.breadcrumb-navigation.simple .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    display: inline-block;
    padding-right: 8px;
    color: #888;
}

.breadcrumb-navigation.simple .breadcrumb-item a {
    color: #994005;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 16px;
}

.breadcrumb-navigation.simple .breadcrumb-item a:hover {
    color: #3a5a80;
    text-decoration: underline;
}

.breadcrumb-navigation.simple .breadcrumb-item.active {
    color: #333;
    font-weight: 500;
}

/* 页脚样式 */
footer {
    background-color: #3a5a80;
    color: hsla(33, 23%, 92%, .7);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.link {
    display: inline-block;
    margin-right: 15px;
    color: #f5e8c8;
    font-weight: bold;
}

.link:hover {
    text-decoration: underline;
}

/* 返回顶部按钮 */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 40px;
    border-radius: 4px;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    background-color: #4a6fa5;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
    transition: 0.2s;
    cursor: pointer;
    display: none;
}

#back-to-top.show {
    display: block;
}

#back-to-top:hover {
    color: #fff;
    background-color: #3a5a80;
}

/* 游戏内容区域样式 */
.game-content {
    margin: 20px auto;
    max-width: 1024px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.game-iframe {
    width: 100%;
    height: 530px;
    border: none;
    display: block;
    background-color: #000;
}

.game-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #3a5a80;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.game-title {
    font-size: 20px;
    font-weight: bold;
    color: #f5e8c8;
    margin: 0;
}

.toolbar-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: #4a6fa5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: #3a5a80;
}

.share-container {
    position: relative;
}

.share-options {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    min-width: 150px;
    z-index: 100;
}

.share-options.show {
    display: flex;
}

.share-options a {
    padding: 10px 12px;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #eee;
}

.share-options a:last-child {
    border-bottom: none;
}

.share-options a:hover {
    background-color: #f5f5f5;
}

.share-facebook {
    color: #1877f2 !important;
}

.share-twitter {
    color: #1da1f2 !important;
}

.share-reddit {
    color: #ff4500 !important;
}

.copy-link {
    color: #4a6fa5 !important;
}

/* 全屏模式样式 */
.game-content.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    margin: 0;
    border-radius: 0;
}

.game-content.fullscreen .game-iframe {
    height: 100vh;
}

.game-content.fullscreen .game-toolbar {
    display: none;
}

/* 全屏退出按钮 */
.exit-fullscreen {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(58, 90, 128, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.game-content.fullscreen ~ .exit-fullscreen {
    display: flex;
}

/* 评分星星样式 - 适配原样式 */
.rating-stars {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.star {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
    user-select: none;
}

.star:hover,
.star.active {
    color: #ffc107;
}

.rating-stars:hover .star {
    color: #ffc107;
}

.rating-stars .star:hover ~ .star {
    color: #ddd;
}

/* 确保原样式中的表单元素样式 */
.form-control {
    display: block;
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 8px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin-bottom: 15px;
}

.form-control:focus {
    border-color: #4a6fa5;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(74, 111, 165, 0.25);
}

.make-comment .submit {
    background-color: #4a6fa5;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.make-comment .submit:hover {
    background-color: #3a5a80;
}

.make-comment .pull-center {
    text-align: center;
}

.make-comment .pull-right {
    float: right;
}

.make-comment .hidden {
    display: none;
}

/* 评论列表样式 - 重新添加 */
.comment-list {
    margin-top: 30px;
}

.comment {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.comment-avatar {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 18px;
    flex-wrap: wrap;
}

.comment-author {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.comment-date {
    color: #777;
    font-size: 0.85em;
    margin-left: 8px;
    opacity: 0.7;
}

.comment-rating {
    color: #ffc107;
    font-size: 16px;
}

.comment-content p {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
}

/* 评论错误提示样式 */
#comment_errors {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
    display: none;
    border-left: 4px solid #e74c3c;
    background-color: #f8d7da;
    color: #721c24;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#comment_errors.show {
    display: block;
}

#comment_errors.success {
    border-left-color: #28a745;
    background-color: #d4edda;
    color: #155724;
}

#comment_errors.info {
    border-left-color: #17a2b8;
    background-color: #d1ecf1;
    color: #0c5460;
}

#comment_errors.warning {
    border-left-color: #ffc107;
    background-color: #fff3cd;
    color: #856404;
}

/* 错误列表样式 */
#comment_errors ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

#comment_errors li {
    list-style: disc;
    margin-bottom: 4px;
}

#comment_errors li:last-child {
    margin-bottom: 0;
}

/* 关闭按钮样式 */
#comment_errors .close-btn {
    float: right;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    line-height: 1;
    padding: 0;
    margin-left: 10px;
}

#comment_errors .close-btn:hover {
    opacity: 1;
}

/* 版权信息页面样式 */
.for-information {
    width: 100%;
    color: #222;
    min-height: 80vh;
    padding: 40px 0;
}

.for-information h1 {
    font-size: 32px;
    color: #222;
    margin-bottom: 24px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.for-information h2 {
    font-weight: 600;
    font-size: 24px;
    margin: 32px 0 16px;
    color: #222;
    border-bottom: 2px solid #4a6fa5;
    padding-bottom: 8px;
}

.for-information h3 {
    font-weight: 600;
    font-size: 20px;
    margin: 24px 0 12px;
    color: #222;
}

.for-information h4 {
    font-weight: 600;
    font-size: 18px;
    margin: 20px 0 12px;
    color: #222;
}

.for-information p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.for-information a {
    color: #4a6fa5;
    text-decoration: underline;
}

.for-information a:hover {
    color: #3a5a80;
}

.full-information {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pad-info {
    padding: 40px;
    box-sizing: border-box;
}

.info-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.info-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #4a6fa5;
}

.contact-info h3 {
    margin-top: 0;
    color: #4a5a80;
}

.requirements-list {
    counter-reset: requirement-counter;
    margin: 20px 0;
}

.requirement-item {
    position: relative;
    margin-bottom: 16px;
    padding-left: 40px;
    line-height: 1.6;
}

.requirement-item:before {
    counter-increment: requirement-counter;
    content: counter(requirement-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    color: #4a6fa5;
    font-size: 18px;
}


.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    background: #c2d4dd;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}


.tag-item-alt {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.tag-item-alt:hover {
    background: linear-gradient(135deg, #e668e9 0%, #ee4e5e 100%);
}

.tag-item-blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.tag-item-blue:hover {
    background: linear-gradient(135deg, #3ca0fd 0%, #00e1fe 100%);
}

.tag-item-green {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.tag-item-green:hover {
    background: linear-gradient(135deg, #32d96a 0%, #24e9cd 100%);
}

.tag-item-orange {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.tag-item-orange:hover {
    background: linear-gradient(135deg, #f85d90 0%, #fedb38 100%);
}

.tag-item-dark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tag-item-dark:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* 页面特定样式 */
.page-title {
    text-align: center;
    margin: 30px 0 20px;
    font-size: 36px;
    color: #ffffff;
    font-weight: 600;
}

.page-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 0 16px;
    color: #f5e8c8;
    font-size: 18px;
    line-height: 1.6;
}

/* 响应式设计 */
/* 默认：小屏幕 - 2列 */
.grid__game {
    grid-template-columns: repeat(2, 1fr);
    max-width: 300px;
    gap: 8px;
}

/* 480px以上：3列 */
@media (min-width: 480px) {
    .grid__game {
        grid-template-columns: repeat(3, 1fr);
        max-width: 450px;
        gap: 10px;
    }
    
    /* 语言切换器响应式调整 */
    .language-modal-content {
        padding: 25px;
        width: 85%;
    }
}

/* 768px以上：5列 */
@media (min-width: 768px) {
    .grid__game {
        grid-template-columns: repeat(5, 1fr);
        max-width: 750px;
        gap: 12px;
    }
    
    /* 修复：确保游戏工具栏在一行显示 */
    .game-toolbar {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }
    
    .toolbar-buttons {
        width: auto;
        justify-content: flex-end;
    }
    
    /* 语言切换器响应式调整 */
    .language-switcher-wrapper {
        margin-left: 15px;
    }
    
    .header__bar--searchbox {
        display: flex;
        align-items: center;
    }
}

/* 1024px及以上：7列 */
@media (min-width: 1024px) {
    .grid__game {
        grid-template-columns: repeat(7, 1fr);
        max-width: 1024px;
        gap: 12px;
    }
}

/* 响应式调整 - 语言切换器 */
@media (max-width: 768px) {
    .language-grid {
        grid-template-columns: 1fr;
    }
    
    .language-modal-content {
        padding: 20px;
        width: 95%;
    }
}

@media (max-width: 1024px) {
    .header__bar--navigation, .header__bar--searchbox, .language-switcher-wrapper {
        display: none;
    }

    .header__bar--open {
        display: flex;
    }

    .header__bar--searchbox-mobile {
        display: block;
        padding: 0 16px 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .pad-info {
        padding: 30px 20px;
    }
    
    .for-information h1 {
        font-size: 28px;
    }
    
    .for-information h2 {
        font-size: 22px;
    }
}

@media (min-width: 1025px) {
    .nav__mobile {
        transform: translate(100%) !important;
    }

    .overlay {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .game-iframe {
        height: 400px;
    }
    
    /* 评论响应式设计 */
    .comments-container {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .comment-form {
        padding: 20px;
    }
    
    .comment {
        flex-direction: column;
        gap: 12px;
        padding: 15px;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .comment-avatar {
        width: 40px;
        height: 40px;
    }
    
    .rating-stars {
        gap: 6px;
    }
    
    .star {
        font-size: 20px;
    }
    
    /* 简洁面包屑导航响应式调整 */
    .breadcrumb-navigation.simple .breadcrumb-item {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .pad-info {
        padding: 20px 15px;
    }
    
    .for-information h1 {
        font-size: 24px;
    }
    
    .for-information h2 {
        font-size: 20px;
    }
    
    .contact-info {
        padding: 15px;
    }
    
   .game-toolbar {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* 评论响应式设计 */
    .comments-container {
        margin-top: 20px;
        padding-top: 15px;
    }
    
    .comment-form {
        padding: 15px;
    }
    
    .comments-container h3 {
        font-size: 20px;
    }
    
    .btn-submit {
        width: 100%;
        padding: 14px 20px;
    }
    
    /* 语言切换器响应式调整 */
    .language-btn {
        min-width: 70px;
        font-size: 13px;
        padding: 6px 10px;
    }
}