/* ============================
   全局样式
   ============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    overflow: hidden;
}

body {
    background: #000;
    color: #fff;
    height: 100%;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================
   顶部导航
   ============================ */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 44px 16px 0;
    background: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.mobile-nav.visible {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

/* 顶部导航栏背景遮罩 */
.mobile-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.5) 70%,
    rgba(0, 0, 0, 0) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    pointer-events: none;
}

.mobile-nav.has-news-nav::before {
    opacity: 1;
}

/* 顶部新闻导航列表 */
.nav-news-tabs {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10.667px;
    padding: 0 10.667px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.nav-news-tabs.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-news-tab {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, width 0.3s ease, height 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    position: relative;
}

.nav-news-tab img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-news-tab.selected {
    width: 32px;
    height: 32px;
}

.nav-news-tab:active {
    transform: scale(0.9);
}

/* 小圆点样式 */
.nav-news-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

.nav-menu-btn,
.nav-home-btn {
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.nav-menu-btn img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.nav-home-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-menu-btn:active,
.nav-home-btn:active {
    transform: scale(0.9);
}

/* ============================
   侧边菜单
   ============================ */
.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    visibility: hidden;
}

.side-menu.active {
    visibility: visible;
}

.side-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.side-menu.active .side-menu-overlay {
    opacity: 1;
}

.side-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    max-width: 80%;
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 80px 30px 30px;
    overflow-y: auto;
}

.side-menu.active .side-menu-content {
    transform: translateX(0);
}

.side-menu-close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.side-menu-list {
    list-style: none;
    margin-bottom: 40px;
}

.side-menu-list li {
    margin-bottom: 10px;
}

.side-menu-list a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 12px 0;
    transition: color 0.3s ease;
}

.side-menu-list a:hover,
.side-menu-list a:active {
    color: #ff6b00;
}

.side-menu-lang {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.lang-selector {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
}

/* ============================
   主容器
   ============================ */
.mobile-container {
    padding-top: 0;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.mobile-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* ============================
   通用Section样式
   ============================ */
.mobile-section {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    padding: 40px 20px 60px;
    overflow: visible;
    z-index: auto;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.section-news.mobile-section {
    padding: 0;
    scroll-snap-align: start;
    height: auto;
    min-height: 100vh;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.section-content {
    position: relative;
    z-index: auto;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================
   全局固定黑色渐变遮罩
   ============================ */
.bg-overlay-fixed {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50vh;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 9900;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.bg-overlay-fixed.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ============================
   Section 1: 首页
   ============================ */
.section-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    padding: 0;
}

.section-main .section-content {
    transform: translateY(-12vh);
}

.main-logo {
    margin-bottom: 20vh;
}

.main-logo img {
    width: 90%;
    max-width: 400px;
    height: auto;
}

.scroll-hint {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 9901;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.scroll-arrow {
    width: 94.5px;
    height: 56px;
    position: relative;
    opacity: 0.64;
}

.scroll-arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.scroll-hint span {
    font-size: var(--font-size-scroll-hint);
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.64);
    text-shadow: 0px 3.725px 22.349px rgba(120, 136, 135, 0.4);
    text-align: center;
    line-height: 1.5;
    white-space: nowrap;
}

.wishlist-btn {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 196px;
    height: 56px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s ease, transform 0.3s ease;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-btn.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* 当隐私政策弹框打开时隐藏心愿单按钮 */
.privacy-modal.active ~ main .wishlist-btn {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.wishlist-btn-bg {
    position: absolute;
    top: 5%;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wishlist-btn-text {
    position: relative;
    z-index: 1;
    color: rgba(0, 0, 0, 0.8);
    font-size: var(--font-size-wishlist-btn);
    font-family: var(--font-family-primary);
    text-shadow: 0px 6.682px 40.093px rgba(120, 136, 135, 0.4);
    line-height: 1.5;
    white-space: nowrap;
}

.wishlist-btn:active {
    transform: translateX(-50%) scale(0.95);
}

/* ============================
   Section 2: 新闻
   ============================ */
.section-news .bg-image {
    background-image: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.news-list {
    margin-bottom: 30px;
}

.news-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.news-item:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.08);
}

.news-image {
    width: 100%;
    height: 200px;
    background: #333;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-info {
    padding: 20px;
}

.news-title {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.news-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}

.news-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
}

.load-more-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:active {
    background: rgba(255, 255, 255, 0.15);
}

/* ============================
   Section 3: 游戏介绍
   ============================ */
.section-intro {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    padding: 0;
}

/* 背景视频容器 */
.intro-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.intro-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.intro-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.64) 100%);
    pointer-events: none;
    z-index: 2;
}

/* 背景图片容器（双缓冲） */
.intro-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.5s ease-in-out;
}

.intro-bg-image-1 {
    z-index: 0;
}

.intro-bg-image-2 {
    z-index: 1;
}

/* 左右遮罩 */
.intro-left-mask,
.intro-right-mask {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.intro-left-mask {
    left: 0;
}

.intro-right-mask {
    right: 0;
    background: linear-gradient(to left,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0) 100%);
}

/* 游戏介绍内容 */
.intro-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    padding: 16.604px 0;
}

.intro-content.left {
    left: 32px;
    right: auto;
}

.intro-content.right {
    right: 31.53px;
    left: auto;
}

.intro-text-group {
    display: flex;
    gap: 13.283px;
    align-items: flex-start;
}

.intro-content.left .intro-text-group {
    flex-direction: row;
}

.intro-content.right .intro-text-group {
    flex-direction: row-reverse;
}

.intro-icon {
    width: 18.679px;
    height: 33.078px;
    flex-shrink: 0;
    position: relative;
}

.intro-icon img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.intro-text {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 9.962px;
}

.intro-content.right .intro-text {
    align-items: flex-end;
    text-align: right;
}

.intro-content.left .intro-text {
    align-items: flex-start;
    text-align: left;
}

.intro-title {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-intro-title);
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0px 2.833px 16.997px rgba(120, 136, 135, 0.4);
    line-height: 1.2;
    white-space: pre;
    overflow: visible;
    margin: 0;
    text-transform: uppercase;
}

.intro-description {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-intro-desc);
    color: rgba(255, 255, 255, 0.48);
    text-shadow: 0px 1.66px 9.962px rgba(120, 136, 135, 0.4);
    line-height: 1.5;
    white-space: normal;
    word-wrap: break-word;
    overflow: visible;
    margin: 0;
}

/* 底部导航区域 */
.intro-nav-bottom {
    position: absolute;
    bottom: 24vh;
    left: 0;
    right: 0;
    z-index: 9903;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 导航图标 */
.intro-nav-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.intro-nav-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.intro-nav-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.intro-nav-icon:active {
    transform: scale(0.9);
}

/* ============================
   Section 4: 媒体下载
   ============================ */
.section-media {
    padding: 104px 0 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: auto;
}

/* 背景容器 */
.media-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.media-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../assets/images/media/media_bg.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.media-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.64) 100%);
}

/* 顶部标题 */
.media-display-title {
    padding: 16px 0 24px;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.media-display-title h2 {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-media-display-title);
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0px 2.833px 16.997px rgba(120, 136, 135, 0.4);
    margin: 0;
    width: 321px;
    text-transform: uppercase;
}

/* 黑色渐变面板 */
.media-panel {
    background: linear-gradient(to bottom,
        rgba(38, 45, 45, 0) 0%,
        rgba(38, 45, 45, 0.95) 100%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 0 80px;
    position: relative;
    z-index: 1;
    align-items: center;
}

.media-panel::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    height: 70px;
    background-image: url('../../assets/images/footer.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: repeat-x;
    pointer-events: none;
}

/* 媒体分类块 */
.media-category {
    display: flex;
    flex-direction: column;
    width: 321px;
    max-width: 321px;
}

/* 分类标题区域 */
.media-category-title {
    padding: 4px 0;
    height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 321px;
}

.media-category-title-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 321px;
}

.media-category-title-text {
    padding: 0 12px 0 0;
    display: flex;
    gap: 4px;
    align-items: center;
}

.media-category-title-text h3 {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-media-category-title);
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.64);
    text-shadow: 0px 4px 24px rgba(120, 136, 135, 0.4);
    text-align: center;
    margin: 0;
}

.media-category-divider {
    width: 321px;
    height: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(180deg) scaleY(-1);
    padding: 0;
}

.media-category-divider img {
    width: 100%;
    height: 3px;
    opacity: 0.64;
    object-fit: fill;
    display: block;
}

/* 预览列表容器 */
.media-preview-list {
    padding: 4px 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 321px;
}

.media-preview-list::-webkit-scrollbar {
    display: none;
}

.media-preview-scroll {
    display: flex;
    gap: 8px;
    width: max-content;
}

/* 预览项 */
.media-preview-item {
    position: relative;
    width: 120px;
    height: 320px;
    flex-shrink: 0;
    cursor: pointer;
    overflow: hidden;
    background: #000;
    transition: transform 0.2s ease;
}

.media-preview-item:active {
    transform: scale(0.98);
}

.media-preview-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    mask-image: linear-gradient(to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 1%,
    rgba(255, 255, 255, 1) 15%,
    rgba(255, 255, 255, 1) 85%,
    rgba(255, 255, 255, 0.1) 99%,
    transparent 100%
    );
}

/* 播放按钮图标 */
.media-play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 50%;
    pointer-events: none;
    opacity: 0.64;
    z-index: 2;
}

.media-play-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ============================
   媒体弹框
   ============================ */
.media-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6000;
    visibility: hidden;
    pointer-events: none;
}

.media-modal.active {
    pointer-events: auto;
    visibility: visible;
}

.media-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.media-modal.active .media-modal-overlay {
    opacity: 1;
}

.media-modal-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.media-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    z-index: 10;
}

.media-modal-close img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    opacity: 0.8;
}

.media-modal-close:active {
    transform: scale(0.9);
}

.media-modal-content {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 弹框中的图片 */
.media-modal-image {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 弹框中的视频 */
.media-modal-video {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    background: #000;
}

/* 弹框中的iframe */
.media-modal-iframe {
    width: 100%;
    max-width: 90vw;
    height: calc(90vw * 9 / 16);
    max-height: 90vh;
    border: none;
    background: #000;
}

/* 视频播放按钮 */
.media-modal-play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
}

.media-modal-play-btn.show {
    opacity: 1;
    pointer-events: auto;
}

.media-modal-play-btn img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    opacity: 0.9;
}

.media-modal-play-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
    background: rgba(0, 0, 0, 0.8);
}

/* ============================
   页脚
   ============================ */
.mobile-footer {
    background: #0a0a0a;
    padding: 64px 16px 200px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    scroll-snap-align: end;
    position: relative;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

/* 隐私政策 */
.footer-links {
    display: flex;
    justify-content: center;
}

.footer-link {
    color: rgba(255, 255, 255, 0.64);
    text-decoration: none;
    font-size: var(--font-size-footer-link);
    font-family: var(--font-family-secondary);
    line-height: 1.5;
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.footer-link:active {
    color: rgba(255, 255, 255, 0.8);
}

/* Logo 和分割线区域 */
.footer-logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 238px;
    padding: 9px 0;
    opacity: 0.64;
}

.footer-divider {
    flex: 1;
    height: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(180deg) scaleY(-1);
}

.footer-divider img {
    width: 100%;
    height: 100%;
    opacity: 0.64;
    object-fit: contain;
}

.footer-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    height: 14.79px;
    width: 69.46px;
}

/* 社交媒体链接 */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.social-link {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    transition: transform 0.2s ease;
    opacity: 0.64;
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-link:active {
    transform: scale(0.9);
}

/* 版权信息 */
.footer-copyright {
    font-size: var(--font-size-footer-copyright);
    color: rgba(255, 255, 255, 0.24);
    line-height: 1.5;
    font-family: var(--font-family-primary);
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.footer-copyright p {
    margin: 0;
}

/* ============================
   心愿单滑出页面
   ============================ */
.wishlist-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
    pointer-events: none;
}

.wishlist-modal.active {
    pointer-events: auto;
}

.wishlist-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.wishlist-modal.active .wishlist-modal-overlay {
    opacity: 1;
}

.wishlist-modal-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 533px;
    background: transparent;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wishlist-modal.active .wishlist-modal-panel {
    transform: translateY(0);
}

.wishlist-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 2;
    padding: 0;
}

.wishlist-modal-close img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wishlist-modal-close:active {
    transform: scale(0.9);
}

.wishlist-modal-content {
    position: relative;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 1) 12%,
        rgba(0, 0, 0, 1) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px 16px 40px;
    gap: 24px;
}

.wishlist-modal-btn {
    width: 296px;
    height: 54px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.wishlist-modal-btn-bg {
    position: absolute;
    top: 55%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 54px;
    object-fit: fill;
    opacity: 0.4;
}

.wishlist-modal-btn-text-group {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}

.wishlist-modal-btn-text {
    color: rgba(255, 255, 255, 0.64);
    font-size: var(--font-size-wishlist-modal-btn);
    font-family: var(--font-family-primary);
    text-shadow: 0px 1.922px 11.534px rgba(120, 136, 135, 0.4);
    line-height: 1.5;
    white-space: nowrap;
}

.wishlist-modal-btn:active {
    transform: scale(0.95);
}

.wishlist-platforms {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    width: 100%;
    flex-shrink: 0;
}

.wishlist-platform-btn {
    width: 240px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 12px;
    pointer-events: none;
}

.wishlist-platform-btn img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.wishlist-platform-btn.ps5-btn img {
    height: 22.593px;
    width: 104px;
}

.wishlist-platform-btn.steam-btn img {
    height: 31.38px;
    width: 104px;
}

.wishlist-platform-btn.epic-btn img {
    height: 34.334px;
    width: 96px;
}

.wishlist-release {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    flex-shrink: 0;
}

.wishlist-divider-top,
.wishlist-divider-bottom {
    width: 296px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-divider-top img,
.wishlist-divider-bottom img {
    width: 100%;
    height: 6.058px;
    opacity: 0.64;
    object-fit: contain;
}

.release-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 296px;
    height: 27.812px;
    padding: 5.96px 23.839px;
}

.release-label {
    font-size: var(--font-size-release-label);
    font-family: var(--font-family-primary);
    color: rgba(255, 255, 255, 0.64);
    text-shadow: 0px 1.365px 8.188px rgba(120, 136, 135, 0.4);
    line-height: 1.5;
    white-space: nowrap;
}

.release-date {
    font-size: var(--font-size-release-date);
    font-family: var(--font-family-secondary);
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0px 1.987px 11.919px rgba(120, 136, 135, 0.4);
    line-height: 1.5;
    white-space: nowrap;
    letter-spacing: 1px;
}

/* ============================
   菜单弹框
   ============================ */
.menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9980;
    visibility: hidden;
    pointer-events: none;
}

.menu-modal.active {
    pointer-events: auto;
    visibility: visible;
}

/* 关闭时立即隐藏内容 */
.menu-modal:not(.active) .menu-modal-header,
.menu-modal:not(.active) .menu-modal-content {
    display: none;
}

.menu-modal.active .menu-modal-header,
.menu-modal.active .menu-modal-content {
    display: flex;
}

/* 当社区弹框或语言弹框打开时，立即隐藏菜单弹框内容（通过检查body下是否有这些active弹框） */
body:has(.social-modal.active) .menu-modal-header,
body:has(.social-modal.active) .menu-modal-content,
body:has(.language-modal.active) .menu-modal-header,
body:has(.language-modal.active) .menu-modal-content {
    display: none !important;
}

.menu-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: auto;
}

.menu-modal.active .menu-modal-overlay {
    opacity: 1;
}

.menu-modal-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.menu-modal-bg-image {
    width: 469.819px;
    height: 860px;
    background: transparent;
    backdrop-filter: blur(20px);
    transform: rotate(90deg);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
}

.menu-modal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 44px 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    z-index: 2;
}

.menu-modal-blur-mask {
    position: absolute;
    top: 0;
    left: -1px;
    width: 376px;
    height: 98px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(50px);
    pointer-events: none;
}

.menu-modal-nav {
    position: relative;
    width: 100%;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-modal-back,
.menu-modal-close {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.menu-modal-back img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.48;
}

.menu-modal-close img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    opacity: 0.4;
}

.menu-modal-back:active,
.menu-modal-close:active {
    transform: scale(0.9);
}

.menu-modal-title {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-menu-modal-title);
    color: rgba(255, 255, 255, 0.4);
    text-shadow: 0px 4px 24px rgba(120, 136, 135, 0.4);
    letter-spacing: var(--letter-spacing-wide);
    line-height: 1.5;
    white-space: pre-wrap;
    text-align: center;
    text-indent: var(--letter-spacing-wide);
}

.menu-modal-content {
    position: absolute;
    top: 160px;
    left: 0;
    right: 0;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 0;
    z-index: 1;
}

.menu-modal-list {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    justify-content: center;
    gap: 0;
    width: 100%;
}

.menu-list-item {
    position: relative;
    width: 320px;
    height: 72px;
    margin: 0 auto;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
}

.menu-list-item-bg {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 70px;
    background-image: url('../../assets/icons/wishlist-bg.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-list-item.active .menu-list-item-bg {
    opacity: 0.4;
}

.menu-list-item-text {
    position: relative;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-menu-list-item);
    color: rgba(255, 255, 255, 0.64);
    text-shadow: 0px 4px 24px rgba(120, 136, 135, 0.4);
    line-height: 1.5;
    white-space: pre-wrap;
    transition: color 0.3s ease;
    text-align: center;
    width: 100%;
}

.menu-list-item.active .menu-list-item-text {
    color: rgba(255, 255, 255, 1);
}

.menu-list-item:active {
    transform: scale(0.98);
}

.menu-modal-divider {
    width: 266px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px 0;
    flex-shrink: 0;
}

.menu-modal-divider img {
    width: 100%;
    height: auto;
    opacity: 0.64;
    transform: rotate(180deg) scaleY(-1);
}

.menu-lang-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 16px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.menu-lang-icon {
    width: 32px;
    height: 32px;
    object-fit: cover;
}

.menu-lang-text {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-menu-lang);
    color: rgba(255, 255, 255, 0.48);
    text-shadow: 0px 4px 24px rgba(120, 136, 135, 0.4);
    line-height: 1.5;
    white-space: nowrap;
}

.menu-lang-selector:active {
    transform: scale(0.95);
}

/* ============================
   社区弹框
   ============================ */
.social-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9981;
    visibility: hidden;
    pointer-events: none;
}

.social-modal.active {
    pointer-events: auto;
    visibility: visible;
}

/* 关闭时立即隐藏内容 */
.social-modal:not(.active) .social-modal-header,
.social-modal:not(.active) .social-modal-content,
.social-modal:not(.active) .social-modal-bottom {
    display: none;
}

.social-modal.active .social-modal-header,
.social-modal.active .social-modal-content,
.social-modal.active .social-modal-bottom {
    display: flex;
}

.social-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-modal.active .social-modal-overlay {
    opacity: 1;
}

.social-modal-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.social-modal-bg-image {
    width: 469.819px;
    height: 860px;
    background: rgba(0, 0, 0, 0.76);
    backdrop-filter: blur(20px);
    transform: rotate(90deg);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
}

.social-modal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 44px 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    z-index: 2;
}

.social-modal-blur-mask {
    position: absolute;
    top: 0;
    left: -1px;
    width: 376px;
    height: 98px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(50px);
    pointer-events: none;
}

.social-modal-nav {
    position: relative;
    width: 100%;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-modal-back,
.social-modal-close {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.social-modal-back img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.48;
}

.social-modal-close img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    opacity: 0.4;
}

.social-modal-back:active,
.social-modal-close:active {
    transform: scale(0.9);
}

.social-modal-title {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-social-modal-title);
    color: rgba(255, 255, 255, 0.4);
    text-shadow: 0px 4px 24px rgba(120, 136, 135, 0.4);
    letter-spacing: var(--letter-spacing-wide);
    line-height: 1.5;
    white-space: pre-wrap;
    text-align: center;
    text-indent: var(--letter-spacing-wide);
}

.social-modal-content {
    position: absolute;
    top: 160px;
    left: 0;
    right: 0;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 32px 0;
    z-index: 1;
}

.social-logo {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    flex-shrink: 0;
}

.social-logo img {
    height: 14.79px;
    width: 69.46px;
}

.social-divider {
    width: 266px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-divider img {
    width: 100%;
    height: auto;
    opacity: 0.64;
    transform: rotate(180deg) scaleY(-1);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    flex: 0 0 auto;
    justify-content: center;
}

.social-icon-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.social-icon-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-icon-link:active {
    transform: scale(0.9);
}

.social-modal-bottom {
    display: none;
}

.social-bottom-gradient {
    display: none;
}

.social-modal-divider {
    width: 266px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-modal-divider img {
    width: 100%;
    height: auto;
    opacity: 0.64;
    transform: rotate(180deg) scaleY(-1);
}

.social-lang-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 16px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.social-lang-icon {
    width: 32px;
    height: 32px;
    object-fit: cover;
    opacity: 0.64;
}

.social-lang-text {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-social-lang);
    color: rgba(255, 255, 255, 0.48);
    text-shadow: 0px 4px 24px rgba(120, 136, 135, 0.4);
    line-height: 1.5;
    white-space: nowrap;
}

.social-lang-selector:active {
    transform: scale(0.95);
}

/* ============================
   隐私政策弹框
   ============================ */
.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5003;
    visibility: hidden;
    pointer-events: none;
}

.privacy-modal.active {
    pointer-events: auto;
    visibility: visible;
}

.privacy-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.privacy-modal.active .privacy-modal-overlay {
    opacity: 1;
}

.privacy-modal-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.privacy-modal-bg-image {
    width: 469.819px;
    height: 860px;
    background: rgba(0, 0, 0, 0.76);
    backdrop-filter: blur(20px);
    transform: rotate(90deg);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
}

.privacy-modal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 44px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.privacy-modal-blur-mask {
    position: absolute;
    top: 0;
    left: -1px;
    width: 376px;
    height: 88px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(50px);
    pointer-events: none;
}

.privacy-modal-nav {
    position: relative;
    width: 100%;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
}

.privacy-modal-lang {
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.privacy-modal-lang:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.15);
}

.privacy-lang-text {
    font-family: var(--font-family-secondary);
    font-size: var(--font-size-privacy-lang);
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.privacy-modal-close {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.privacy-modal-close img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    opacity: 0.4;
}

.privacy-modal-close:active {
    transform: scale(0.9);
}

.privacy-modal-content {
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    z-index: 1;
    overflow: hidden;
}

.privacy-content-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
}

/* ============================
   语言选择弹框
   ============================ */
.language-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9982;
    visibility: hidden;
    pointer-events: none;
}

.language-modal.active {
    pointer-events: auto;
    visibility: visible;
}

.language-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.language-modal.active .language-modal-overlay {
    opacity: 1;
}

.language-modal-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.language-modal-bg-image {
    width: 469.819px;
    height: 860px;
    background: rgba(0, 0, 0, 0.76);
    backdrop-filter: blur(20px);
    transform: rotate(90deg);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
}

.language-modal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 44px 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    z-index: 2;
}

.language-modal-blur-mask {
    position: absolute;
    top: 0;
    left: -1px;
    width: 376px;
    height: 98px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(50px);
    pointer-events: none;
}

.language-modal-nav {
    position: relative;
    width: 100%;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-modal-back,
.language-modal-close {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.language-modal-back img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.48;
}

.language-modal-close img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    opacity: 0.4;
}

.language-modal-back:active,
.language-modal-close:active {
    transform: scale(0.9);
}

.language-modal-title {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-language-modal-title);
    color: rgba(255, 255, 255, 0.4);
    text-shadow: 0px 4px 24px rgba(120, 136, 135, 0.4);
    letter-spacing: var(--letter-spacing-wide);
    line-height: 1.5;
    white-space: pre-wrap;
    text-align: center;
    text-indent: var(--letter-spacing-wide);
}

.language-modal-content {
    position: absolute;
    top: 160px;
    left: 0;
    right: 0;
    bottom: 163px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 32px 0;
    z-index: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

/* 滚动条样式 - 移动端 */
.language-modal-content::-webkit-scrollbar {
    width: 4px;
}

.language-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.language-modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.language-modal-content::-webkit-scrollbar-thumb:active {
    background: rgba(255, 255, 255, 0.4);
}

.language-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    width: 100%;
    padding-bottom: 32px;
}

.language-item {
    width: 112px;
    height: auto;
    padding: 4px 16px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.language-item-text {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-language-item);
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.5;
    white-space: nowrap;
}

.language-item-en {
    font-family: var(--font-family-secondary);
}

.language-item.active .language-item-text {
    color: rgba(255, 255, 255, 1);
}

.language-item:active {
    transform: scale(0.98);
}

/* ============================
   新闻页面样式
   ============================ */
.section-news {
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: auto;
    height: auto;
}

/* 背景遮罩 */
.news-bg-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    pointer-events: none;
}

.news-bg-image {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    flex-shrink: 0;
}

/* 新闻标题 */
.news-display-title {
    padding: 120px 0 24px;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.news-display-title.hidden {
    opacity: 0;
}

.news-display-title h2 {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-news-display-title);
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0px 2.833px 16.997px rgba(120, 136, 135, 0.4);
    margin: 0;
    width: 321px;
    text-transform: uppercase;
}

/* 新闻导航容器 */
.news-nav-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
    padding-bottom: 20px;
}

/* 新闻图标选项卡 */
.news-icon-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 375px;
    padding: 0 20px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    min-height: 52.563px; /* 保持选中图标的高度 */
}

.news-icon-tabs.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.news-icon-tab {
    width: 21.333px;
    height: 21.333px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, width 0.3s ease, height 0.3s ease;
    background: none;
    border: none;
    padding: 0;
}

.news-icon-tab img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.news-icon-tab.selected {
    width: 52.563px;
    height: 52.563px;
}

.news-icon-tab:active {
    transform: scale(0.9);
}

/* 新闻标题组 */
.news-title-group {
    width: 321px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    font-family: var(--font-family-primary);
}

.news-preview-title {
    font-size: var(--font-size-news-preview-title);
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 1);
    text-shadow: 0px 2.167px 13px rgba(120, 136, 135, 0.4);
    margin: 0;
    width: 100%;
    text-align: left;
}

.news-preview-description {
    font-size: var(--font-size-news-preview-desc);
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.48);
    text-shadow: 0px 1.354px 8.127px rgba(120, 136, 135, 0.4);
    margin: 0;
    width: 100%;
    text-align: left;
}

/* 新闻内容区 */
.news-content-area {
    background: #d1d1d1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    padding: 24px 0;
    padding-bottom: 80vh;
    position: relative;
    z-index: 1;
    width: 100%;
}

.news-content-area::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 32px;
    background-image: url('../../assets/images/news-panel-bg.png');
    background-size: cover;
    background-position: center top;
    background-repeat: repeat-x;
    pointer-events: none;
    z-index: 2;
}

.news-content-image {
    width: 285px;
    height: 159px;
    overflow: hidden;
}

.news-content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content-text {
    width: 321px;
    max-width: 321px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-content-video-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-content-video {
    width: 285px;
    height: 160px;
    border: none;
}

.news-content-body {
    width: 100%;
    color: rgba(0, 0, 0, 0.64);
    font-family: var(--font-family-secondary);
    font-size: var(--font-size-news-content-body);
    font-style: normal;
    font-weight: 300;
    line-height: 150%; /* 18px */
    text-align: left;
}

.news-content-iframe {
    width: 100%;
    min-height: 400px;
    border: none;
    background: transparent;
}

/* ============================
   响应式调整
   ============================ */
@media (min-width: 768px) {
    .mobile-section {
        padding: 60px 40px 80px;
    }

    .section-title {
        font-size: 36px;
    }

    .media-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .wishlist-btn {
        width: 320px;
        height: 90px;
    }

    .wishlist-btn-text {
        font-size: 20px;
    }
}
