* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    color: #334155;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, 20px) rotate(90deg);
    }
    50% {
        transform: translate(0, 40px) rotate(180deg);
    }
    75% {
        transform: translate(-20px, 20px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.98));
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 200;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    font-size: 2rem;
    color: #6366f1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo h1 {
    font-size: 1.8rem;
    background: linear-gradient(to right, #8b5cf6, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    font-size: 1rem;
}

nav a:hover, nav a.active {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.1);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #8b5cf6, transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

nav a:hover::after, nav a.active::after {
    width: 60%;
}

/* 主要内容区域 */
main {
    min-height: calc(100vh - 160px);
    padding: 20px 0;
}

/* 页面内容切换动画 */
.page-content {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.page-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 首页公司简介 */
.company-intro {
    background: rgba(255, 255, 255, 0);
    border-radius: 15px;
    padding: 30px 40px;
    margin: 40px auto;
    max-width: 1200px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.8s ease-out;
    height: auto;
    min-height: 180px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.company-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #8b5cf6, #3b82f6, #0ea5e9, transparent);
}

.company-intro h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #334155;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.company-intro p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 20px;
    text-align: justify;
    text-justify: inter-ideograph;
}

.company-intro_center {
    text-align: center;
    margin: 0 auto;
    line-height: 1.6;
}

.company-intro_center p {
    text-align: center;
    margin-bottom: 1em;
}

/* 其他页面标题样式 */
.page-title {
    font-size: 2.8rem;
    color: #334155;
    text-align: center;
    margin: 30px 0 20px;
    font-weight: 800;
    background: linear-gradient(to right, #8b5cf6, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: titleGlow 2s infinite alternate;
}

@keyframes titleGlow {
    from { text-shadow: 0 0 10px rgba(139, 92, 246, 0.1); }
    to { text-shadow: 0 0 20px rgba(59, 130, 246, 0.1); }
}

/* 背景展示区域 */
.background-showcase {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.background-item,
.bg-image,
.background-showcase {
    border-radius: 0 !important;
}

.bg-image {
    width: 100%;
    height: auto;
    display: block;
}

.bg-image1 {
    width: 100%;
    height: auto;
    display: block;
}


.background-item {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.background-item.with-overlay {
    position: relative;
}

/* 下载按钮容器 */
.download-buttons {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    z-index: 10;
}

.down-btn {
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.down-btn img {
    width: 180px;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.down-btn:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

.down-btn:active {
    transform: translateY(-2px);
}

/* 游戏特色图片样式 */
.game_features {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
    width: 80%;
    max-width: 800px;
}

.game_features img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 新闻资讯图片样式 */
.news_information {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
    width: 80%;
    max-width: 800px;
}

.news_information img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 页脚 */
footer {
    background: white;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    margin-top: -50px;
    position: relative;
    z-index: 2;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.03);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.copyright {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 轮播图样式 */
.carousel-section {
    position: absolute;
    top: calc(40% + 50px);
    transform: translateY(-50%);
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0 20px;
    max-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-container {
    position: relative;
    width: 85%;
    max-width: 1200px;
    margin: 0;
    overflow: hidden;
    border-radius: 15px;
    background: transparent;
    height: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 40px;
    height: 100%;
}

.carousel-slide img {
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

.carousel-slide img:nth-child(1) {
    width: 30%;
    height: 85%;
    transform: scale(0.9);
    opacity: 0.85;
    z-index: 1;
    margin-right: 10px;
}

.carousel-slide img:nth-child(2) {
    width: 35%;
    height: 85%;
    transform: scale(1);
    z-index: 2;
    margin: 0 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.carousel-slide img:nth-child(3) {
    width: 30%;
    height: 85%;
    transform: scale(0.9);
    opacity: 0.85;
    z-index: 1;
    margin-left: 10px;
}

.carousel-nav {
    position: relative;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    border: none;
    outline: none;
    padding: 0;
    box-shadow: none;
    margin: 0 5px;
}

.carousel-nav:hover {
    background: transparent;
    transform: scale(1.2);
    box-shadow: none;
}

.carousel-nav img {
    width: 40px;
    height: 40px;
    filter: brightness(1) invert(0);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

.carousel-indicators-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

.indicator.active {
    background: #738158;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(115, 129, 88, 0.8);
}

/* 新闻页面样式 */
.news-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    margin-bottom: 60px;
}

.news-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.news-title {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.news-subtitle {
    font-size: 1.6rem;
    color: #738158;
    margin-bottom: 20px;
    font-weight: 500;
}

.news-date {
    font-size: 1rem;
    color: #777;
    background: #f5f5f5;
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
}

.news-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.news-body p {
    margin-bottom: 20px;
    text-align: justify;
}

.news-section {
    margin: 40px 0;
}

.section-title {
    font-size: 1.8rem;
    color: #738158;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
}

.highlight-box {
    background: linear-gradient(135deg, #f9f9f9, #f0f0f0);
    border-left: 4px solid #738158;
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.highlight-text {
    font-size: 1.3rem;
    color: #333;
    font-weight: 500;
    text-align: center;
    margin: 0;
}

.conclusion {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.conclusion-text {
    font-size: 1.4rem;
    color: #738158;
    font-weight: 600;
    margin-bottom: 10px;
}

.conclusion-subtext {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
}

.news-image {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 修改现有的视频样式 */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 默认使用cover模式 */
    z-index: 2;
    pointer-events: none;
    background-color: #000; /* 添加黑色背景 */
}

/* 竖屏视频专用样式 */
.bg-video.portrait {
    object-fit: contain; /* 竖屏视频保持完整显示 */
}

/* 超大屏幕 (1920px+) */
@media (min-width: 1920px) {
    .video-background {
        height: 100vh;
    }
    .bg-video {
        object-fit: cover;
    }
}

/* 标准桌面 (1280px-1919px) */
@media (max-width: 1919px) and (min-width: 1280px) {
    .video-background {
        height: 100vh;
    }
    .bg-video {
        object-fit: cover;
    }
}

/* 中等屏幕 (961px-1279px) */
@media (max-width: 1279px) and (min-width: 961px) {
    .video-background {
        height: 100vh;
    }
    .bg-video {
        object-fit: cover;
    }
}

/* 小屏幕横屏和小平板 (721px-960px) */
@media (max-width: 960px) and (min-width: 721px) {
    .video-background {
        height: 100vh;
    }
    .bg-video {
        object-fit: cover;
    }
}

/* 竖版视频全屏显示区域 (最大721px) */
@media (max-width: 721px) {
    .video-background {
        height: 160vh;
        min-height: 160vh; /* 强制全屏高度 */
    }

    .bg-video {
        object-fit: cover; /* 使用cover来填满屏幕 */
    }

    /* 确保下载按钮在竖屏模式下居中 */
    .download-buttons {
        flex-direction: column;
        align-items: center;
        max-width: 280px;
        bottom: 15%;
        gap: 15px;
    }

    .down-btn {
        width: 100%;
        max-width: 250px;
    }
}

/* 更小的手机屏幕 (480px-720px) */
@media (max-width: 720px) and (min-width: 481px) {
    .video-background {
        height: 100vh;
    }

    .bg-video.portrait {
        object-fit: cover; /* 小屏幕也使用cover模式 */
    }
}

/* 超小手机 (小于480px) */
@media (max-width: 480px) {
    .video-background {
        height: 100vh;
    }

    .bg-video.portrait {
        object-fit: cover; /* 确保填满屏幕 */
    }

    .download-buttons {
        max-width: 240px;
        bottom: 10%;
    }
}

/* 横屏模式特殊处理 */
@media (orientation: landscape) and (max-height: 600px) {
    .video-background {
        height: 100vh;
    }

    /* 横屏时强制使用横屏视频 */
    .bg-video.portrait {
        object-fit: cover; /* 横屏时改为cover */
    }

    .download-buttons {
        flex-direction: row;
        max-width: 400px;
        bottom: 10%;
    }
}

/* 打印时隐藏视频 */
@media print {
    .video-background,
    .bg-video {
        display: none !important;
    }
}

.logo-image {
    height: 40px; /* 根据实际需要调整高度 */
    width: auto; /* 保持宽高比 */
    max-width: 200px; /* 可选：限制最大宽度 */
}

.policy-link {
    color: #64748b; /* 设置链接颜色 */
    text-decoration: underline; /* 添加下划线 */
    transition: color 0.3s ease; /* 添加悬停效果 */
}

.policy-link:hover {
    color: #ffcc00; /* 悬停时变色 */
    text-decoration: none; /* 悬停时去掉下划线 */
}

/* 超大屏幕 (2560px+) */
@media (max-width: 2560px) {
    .container {
        max-width: 2000px;
        padding: 0 40px;
    }

    .carousel-container {
        max-width: 1600px;
    }

    .carousel-section {
        top: calc(40% + 40px);
        max-height: 50vh;
    }

    .carousel-container {
        width: 50%;
    }

    .carousel-slide img:nth-child(2) {
        width: 30%;
        height: 95%;
    }

    .carousel-slide img:nth-child(1),
    .carousel-slide img:nth-child(3) {
        width: 29%;
        height: 90%;
    }

    .download-buttons {
        bottom: 30%;
        gap: 50px;
    }

    .down-btn img {
        width: 220px;
    }

    .company-intro {
        max-width: 1400px;
        padding: 50px 60px;
        margin: 60px auto;
    }

    .company-intro h2 {
        font-size: 2.5rem;
        margin-bottom: 25px;
    }

    .company-intro p {
        font-size: 1.2rem;
        line-height: 1.8;
    }

    .news-content {
        max-width: 1400px;
        padding: 60px 40px;
    }

    .news-title {
        font-size: 3.5rem;
    }

    .news-subtitle {
        font-size: 2rem;
    }

    .news-body {
        font-size: 1.3rem;
        line-height: 2;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .highlight-text {
        font-size: 1.6rem;
    }
}

/* 大屏幕 (1920px-2559px) */
@media (max-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    .carousel-container {
        max-width: 1400px;
    }

    .carousel-section {
        top: calc(40% + 40px);
        max-height: 50vh;
    }

    .carousel-container {
        width: 50%;
    }

    .carousel-slide img:nth-child(2) {
        width: 38%;
        height: 92%;
    }

    .carousel-slide img:nth-child(1),
    .carousel-slide img:nth-child(3) {
        width: 30%;
        height: 88%;
    }

    .download-buttons {
        bottom: 28%;
        gap: 40px;
    }

    .down-btn img {
        width: 200px;
    }

    .company-intro {
        max-width: 1300px;
        padding: 40px 50px;
    }

    .company-intro h2 {
        font-size: 2.2rem;
    }

    .company-intro p {
        font-size: 1.1rem;
    }

    .news-content {
        max-width: 1200px;
    }

    .news-title {
        font-size: 3rem;
    }

    .news-subtitle {
        font-size: 1.8rem;
    }

    .news-body {
        font-size: 1.2rem;
    }
}

/* 中等大屏幕 (1600px-1919px) */
@media (max-width: 1600px) {
    .container {
        max-width: 1400px;
    }

    .news-content {
        max-width: 1200px;
    }

    .carousel-section {
        top: calc(40% + 40px);
        max-height: 50vh;
    }

    .carousel-container {
        width: 50%;
    }

    .carousel-slide img:nth-child(2) {
        width: 36%;
        height: 90%;
    }

    .carousel-slide img:nth-child(1),
    .carousel-slide img:nth-child(3) {
        width: 30%;
        height: 86%;
    }

    .download-buttons {
        bottom: 25%;
        gap: 35px;
    }

    .down-btn img {
        width: 190px;
    }
}

/* 标准桌面 (1280px-1599px) */
@media (max-width: 1280px) {
    .container {
        max-width: 960px;
    }

    .news-content {
        max-width: 900px;
    }

    .carousel-section {
        top: calc(40% + 40px);
        max-height: 50vh;
    }

    .carousel-container {
        width: 60%;
    }

    .carousel-slide {
        padding: 0 30px;
    }

    .carousel-slide img:nth-child(1),
    .carousel-slide img:nth-child(3) {
        width: 28%;
        height: 82%;
        margin: 0 10px;
    }

    .carousel-slide img:nth-child(2) {
        width: 34%;
        height: 88%;
        margin: 0 16px;
    }

    .carousel-nav img {
        width: 36px;
        height: 36px;
    }

    .carousel-indicators-container {
        margin-top: 18px;
    }

    .game_features, .news_information {
        top: 10%;
        width: 45%;
    }

    .company-intro {
        max-width: 95%;
    }
}

/* 小桌面/平板横屏 (960px-1279px) */
@media (max-width: 960px) {
    .carousel-container {
        width: 60%;
        border-radius: 12px;
    }
}

/* 平板竖屏 (768px-959px) */
@media (max-width: 768px) {
    .carousel-section {
        top: calc(40% + 30px);
        padding: 0 15px;
        max-height: 45vh;
    }

    .carousel-container {
        width: 60%;
        border-radius: 12px;
    }

    .carousel-slide {
        padding: 0 20px;
    }

    .carousel-slide img:nth-child(1),
    .carousel-slide img:nth-child(3) {
        width: 26%;
        height: 78%;
        margin: 0 8px;
    }

    .carousel-slide img:nth-child(2) {
        width: 32%;
        height: 85%;
        margin: 0 14px;
    }

    .carousel-nav img {
        width: 32px;
        height: 32px;
    }

    .carousel-indicators-container {
        margin-top: 15px;
    }

    .carousel-indicators {
        gap: 20px;
    }

    .simple-carousel-indicators {
        bottom: 12px;
    }

    .simple-indicator {
        width: 10px;
        height: 10px;
    }

    .news-content {
        padding: 30px 15px;
        margin-top: 30px;
        margin-bottom: 50px;
    }

    .news-title {
        font-size: 2.2rem;
    }

    .news-subtitle {
        font-size: 1.4rem;
    }

    .news-body {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .highlight-box {
        padding: 20px;
    }

    .highlight-text {
        font-size: 1.2rem;
    }

    .download-buttons {
        gap: 20px;
        bottom: 20%;
    }

    .down-btn img {
        width: 150px;
    }

    .company-intro {
        padding: 20px 25px;
        margin: 30px 0;
    }

    .company-intro h2 {
        font-size: 1.6rem;
    }

    .company-intro p {
        font-size: 0.9rem;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .game_features, .news_information {
        top: 10%;
        width: 62%;
    }
}

/* 大手机 (576px-767px) */
@media (max-width: 576px) {
    .carousel-section {
        top: calc(40% + 25px);
        max-height: 40vh;
    }

    .carousel-container {
        width: 60%;
        border-radius: 10px;
    }

    .carousel-slide {
        padding: 0 15px;
    }

    .carousel-slide img:nth-child(1),
    .carousel-slide img:nth-child(3) {
        width: 24%;
        height: 75%;
        margin: 0 6px;
        transform: scale(0.85);
    }

    .carousel-slide img:nth-child(2) {
        width: 30%;
        height: 82%;
        margin: 0 10px;
    }

    .carousel-nav img {
        width: 28px;
        height: 28px;
    }

    .carousel-indicators-container {
        margin-top: 12px;
    }

    .carousel-indicators {
        gap: 15px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .simple-carousel-indicators {
        bottom: 10px;
        gap: 12px;
    }

    .simple-indicator {
        width: 8px;
        height: 8px;
    }

    .news-content {
        padding: 25px 12px;
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .news-title {
        font-size: 1.9rem;
    }

    .news-subtitle {
        font-size: 1.2rem;
    }

    .news-body {
        font-size: 1rem;
        line-height: 1.6;
    }

    .news-body p {
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .highlight-box {
        padding: 15px;
    }

    .highlight-text {
        font-size: 1.1rem;
    }

    .download-buttons {
        gap: 15px;
        bottom: 18%;
    }

    .down-btn img {
        width: 130px;
    }

    .company-intro {
        padding: 18px 20px;
    }

    .company-intro h2 {
        font-size: 1.4rem;
    }

    .company-intro p {
        font-size: 0.85rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    nav a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    nav ul {
        gap: 10px;
    }
}

/* 小手机 (480px-575px) */
@media (max-width: 480px) {
    .carousel-section {
        top: calc(40% + 20px);
        max-height: 38vh;
    }

    .carousel-slide {
        padding: 0 10px;
    }

    .carousel-slide img:nth-child(1),
    .carousel-slide img:nth-child(3) {
        width: 22%;
        height: 72%;
        margin: 0 4px;
    }

    .carousel-slide img:nth-child(2) {
        width: 28%;
        height: 80%;
        margin: 0 8px;
    }

    .carousel-nav img {
        width: 25px;
        height: 25px;
    }

    .carousel-indicators-container {
        margin-top: 10px;
    }

    .carousel-indicators {
        gap: 12px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .simple-carousel-indicators {
        bottom: 8px;
        gap: 10px;
    }

    .simple-indicator {
        width: 7px;
        height: 7px;
    }

    .news-content {
        padding: 20px 10px;
        margin-top: 15px;
        margin-bottom: 30px;
    }

    .news-title {
        font-size: 1.7rem;
    }

    .news-subtitle {
        font-size: 1.1rem;
    }

    .news-body p {
        margin-bottom: 12px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .highlight-box {
        padding: 12px;
    }

    .download-buttons {
        flex-direction: column;
        gap: 10px;
        bottom: 15%;
    }

    .down-btn img {
        width: 120px;
    }

    .carousel-container {
        width: 60%;
        border-radius: 12px;
    }
}

/* 头部导航栏响应式调整 */
@media (max-width: 1280px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .company-intro {
        padding: 25px 30px;
        max-width: 95%;
    }
}


/* ==================== 新闻轮播图和新闻列表并排布局 ==================== */
/* 新闻布局容器 */
.news-layout {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    display: flex;
    gap: 40px;
    z-index: 5;
    margin-top: 50px;
    align-items: flex-start;
}

/* 优化后的全屏轮播图容器 */
.simple-news-carousel {
    flex: 0 0 60%;
    max-width: 60%;
    height: 350px;
    overflow: hidden;
    border-radius: 15px;
    position: relative;
}

/* 全屏轮播图轨道 */
.simple-carousel-track {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

/* 每张幻灯片占据全屏 */
.simple-carousel-slide {
    width: 25%;
    height: 100%;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

/* 预先加载的背景图片样式 */
.simple-carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: contain; /* 改为contain确保完整显示图片 */
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* 为每张幻灯片设置特定的背景图片 */
.simple-carousel-slide[data-slide="0"]::before {
    background-image: url('../images/news_01.png');
}

.simple-carousel-slide[data-slide="1"]::before {
    background-image: url('../images/news_02.png');
}

.simple-carousel-slide[data-slide="2"]::before {
    background-image: url('../images/news_03.png');
}

.simple-carousel-slide[data-slide="3"]::before {
    background-image: url('../images/news_04.png');
}

/* 加载过渡效果 */
.simple-carousel-slide.loaded::before {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* 新闻列表容器 */
.news-list-container {
    flex: 0 0 40%;
    max-width: 40%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 350px;
    position: relative;
}

/* 其他原有样式保持不变 */
.news-list-header {
    background: #738158;
    padding: 15px 25px;
    color: white;
}

.news-list-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: left;
}

.news-list {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* 自定义滚动条样式 */
.news-list::-webkit-scrollbar {
    width: 6px;
}

.news-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.news-list::-webkit-scrollbar-thumb {
    background: #738158;
    border-radius: 3px;
}

/* 新闻项样式 */
.news-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item-content {
    flex: 1;
    margin-right: 20px;
}

.news-item-title {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: #334155;
    font-weight: 600;
    line-height: 1.3;
}

.news-item-date {
    margin: 0;
    font-size: 0.9rem;
    color: #94a3b8;
}

.news-item-icon {
    color: #94a3b8;
}

/* 轮播图指示器 */
.simple-carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 10;
}

.simple-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.simple-indicator.active {
    background: #738158;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(115, 129, 88, 0.8);
}

/* 图片加载完成前的占位样式 */
.simple-carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #333 0%, #444 100%);
    z-index: 0;
    opacity: 0.3;
}

.simple-carousel-slide.loaded::after {
    opacity: 0;
}

/* 响应式设计部分保持不变 */
/* 超大屏幕 (1920px+) */
@media (max-width: 2560px) {
    .news-layout {
        width: 300%;
        max-width: 1800px;
        gap: 10px;
        top: 300%;
    }

    .news-list-container {
        height: 600px;
    }

    .news-item {
        padding: 25px 30px;
    }

    /* 全屏轮播图在超大屏幕上高度也增大 */
    .simple-news-carousel {
        height: 600px;
    }
}

/* 大屏幕 (1600px-1919px) */
@media (max-width: 1920px) {
    .news-layout {
        width: 180%;
        max-width: 1500px;
        gap: 10px;
        top: 160%;
    }

    .news-list-container {
        height: 485px;
    }

    .simple-news-carousel {
        height: 485px;
    }
}

/* 标准桌面 (1280px-1599px) */
@media (max-width: 1600px) {
    .news-layout {
        width: 130%;
        max-width: 1300px;
        gap: 10px;
        top: 150%;
    }

    .simple-news-carousel,
    .news-list-container {
        height: 351px;
    }

    .news-item {
        padding: 18px 25px;
    }
}

/* 小桌面 (1024px-1279px) */
@media (max-width: 1280px) {
    .news-layout {
        width: 120%;
        max-width: 1100px;
        gap: 10px;
        top: 150%;
    }

    .simple-news-carousel,
    .news-list-container {
        height: 300px;
    }

    .news-list-header h2 {
        font-size: 1.6rem;
    }

    .news-item-title {
        font-size: 1rem;
    }
}

/* 平板横屏 (768px-1023px) */
@media (max-width: 1024px) {
    .news-layout {
        flex-direction: column;
        align-items: center;
        gap: 50px;
        top: 150%;
        max-width: 800px;
        height: auto;
        min-height: 600px;
    }

    .simple-news-carousel,
    .news-list-container {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .simple-news-carousel {
        height: 366px;
    }

    .news-list-container {
        height: 280px;
    }

    .news-list-header {
        padding: 12px 20px;
    }

    .news-item {
        padding: 15px 20px;
    }

    .bg-image {
        width: auto;
    }
}

/* 平板竖屏 (576px-767px) */
@media (max-width: 768px) {
    .news-layout {
        top: 160%;
        max-width: 90%;
        gap: 50px;
        min-height: 500px;
    }

    .simple-news-carousel,
    .news-list-container {
        height: 275px;
    }

    .simple-news-carousel {
        border-radius: 10px;
    }

    .news-list-container {
        border-radius: 10px;
    }

    .news-list-header h2 {
        font-size: 1.4rem;
        padding: 10px 15px;
    }

    .news-item-title {
        font-size: 0.95rem;
    }

    .news-item-date {
        font-size: 0.85rem;
    }
}

/* 手机 (481px-575px) */
@media (max-width: 576px) {
    .news-layout {
        top: 150%;
        gap: 50px;
        min-height: 450px;
    }

    .simple-news-carousel,
    .news-list-container {
        height: 243px;
    }

    .news-list-header h2 {
        font-size: 1.2rem;
        padding: 8px 12px;
    }

    .news-item {
        padding: 10px 15px;
    }

    .news-item-title {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }

    .news-item-date {
        font-size: 0.8rem;
    }

    .simple-carousel-indicators {
        bottom: 10px;
        gap: 10px;
    }

    .simple-indicator {
        width: 8px;
        height: 8px;
    }
}

/* 小手机 (小于480px) */
@media (max-width: 480px) {
    .news-layout {
        top: 160%;
        gap: 50px;
        min-height: 400px;
    }

    .simple-news-carousel,
    .news-list-container {
        height: 219px;
    }

    .news-item-title {
        font-size: 0.85rem;
    }

    .news-item-icon {
        font-size: 0.8rem;
    }
}

/* 横屏模式特殊处理 */
@media (orientation: landscape) and (max-height: 600px) {
    .news-layout {
        top: 25%;
        min-height: 300px;
    }

    .simple-news-carousel,
    .news-list-container {
        height: 150px;
    }
}

/* 针对超小高度的设备进行额外调整 */
@media (max-height: 700px) and (max-width: 1024px) {
    .news-layout {
        top: 15%;
        gap: 15px;
        min-height: 350px;
    }

    .simple-news-carousel,
    .news-list-container {
        height: 140px;
    }

    .news-item {
        padding: 8px 12px;
    }

    .news-item-title {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }

    .news-item-date {
        font-size: 0.75rem;
    }
}


/* ==================== 悬浮窗口样式 ==================== */
/* 第一个悬浮窗口樣式 */
.floating-window {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    width: 200px; /* 調整為背景圖寬度 */
    height: 600px; /* 調整為背景圖高度 */
    transition: all 0.3s ease;
    background-image: url('../images/floating-bg.png'); /* 背景圖 */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* 第二個懸浮窗口樣式 - 修改位置，紧挨着第一个 */
.floating-window-2 {
    position: fixed;
    right: 20px;
    top: calc(50% + 290px); /* 紧挨着第一个悬浮窗口，减少间距 */
    z-index: 9998;
    width: 200px; /* 調整為背景圖寬度 */
    height: 100px; /* 調整為背景圖高度 */
    transition: all 0.3s ease;
    background-image: url('../images/floating-bg_2.png'); /* 第二個背景圖 */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* 懸浮窗口背景圖替代方案（如果沒有圖片） */
.floating-window:before,
.floating-window-2:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: -1;
    display: none; /* 預設隱藏，如果沒有背景圖則顯示 */
}

/* 如果沒有背景圖，顯示替代樣式 */
.floating-window.no-bg:before,
.floating-window-2.no-bg:before {
    display: block;
}

.floating-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    height: 100%;
    padding: 50px 0; /* 增加上下內邊距 */
    box-sizing: border-box;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    top: 120px; /* 調整按鈕在背景圖中的垂直位置 */
}

/* 第二個懸浮窗口按鈕容器 */
.floating-buttons-container-2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    height: 100%;
    padding: 50px 0;
    box-sizing: border-box;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    top: 110px;
}

.floating-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
    border: 2px solid white;
    position: relative;
    cursor: pointer;
}

.floating-button:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

.floating-button:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px; /* 調整到左側顯示 */
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    z-index: 10000;
    pointer-events: none;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 移动端调整悬浮窗口样式 */
@media (max-width: 768px) {
    .floating-window {
        width: 120px; /* 移动端调整宽度 */
        height: 360px; /* 移动端调整高度 */
        right: 10px; /* 调整位置 */
    }

    .floating-window-2 {
        width: 120px; /* 移动端调整宽度 */
        height: 60px; /* 移动端调整高度 */
        right: 10px; /* 调整位置 */
        top: calc(50% + 175px); /* 调整第二个窗口位置 */
    }

    .floating-buttons-container {
        padding: 40px 0;
        gap: 12px;
        top: 50px; /* 调整按钮位置 */
    }

    .floating-button {
        width: 40px; /* 移动端调整按钮大小 */
        height: 40px;
        font-size: 1rem;
    }

    .floating-icon {
        width: 20px;
        height: 20px;
    }

    .floating-button:hover::after {
        display: none; /* 移动端不显示悬停提示 */
    }
}

/* 懸浮窗口開關按鈕（移動端） - 隐藏或移除 */
.floating-toggle {
    display: none; /* 隐藏开关按钮 */
}

/* 懸浮窗口標題 */
.floating-title {
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    text-align: center;
    color: #8b5cf6;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    padding: 0 10px;
}

/* 如果沒有背景圖，顯示標題 */
.floating-window.no-bg .floating-title,
.floating-window-2.no-bg .floating-title {
    display: block;
}

/* 悬浮窗口图标样式 */
.floating-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* 使图标变为白色 */
    transition: all 0.3s ease;
}

/* 悬浮按钮悬停时图标效果 */
.floating-button:hover .floating-icon {
    transform: scale(1.1);
    filter: brightness(1) invert(0); /* 恢复原始颜色 */
}

/* 不同按钮的背景颜色调整 */
.floating-button:nth-child(1) {
    background: linear-gradient(135deg, #5865F2, #7289DA); /* Discord蓝紫色 */
}

.floating-button:nth-child(2) {
    background: linear-gradient(135deg, #1877F2, #3B5998); /* Facebook蓝色 */
}

.floating-button:nth-child(3) {
    background: linear-gradient(135deg, #000000, #FE2C55); /* TikTok黑粉色 */
}

.floating-button:nth-child(4) {
    background: linear-gradient(135deg, #FF0000, #FF4747); /* YouTube红色 */
}

/* 确保第二个悬浮窗口本身可以点击 */
.floating-window-2 {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 10000 !important; /* 确保在最上层 */
}

/* 修复伪元素的z-index问题 */
.floating-window-2:before {
    z-index: 1 !important; /* 将-1改为1 */
}

/* 如果使用no-bg类时显示伪元素，确保它能接收点击 */
.floating-window-2.no-bg:before {
    z-index: 1 !important;
    pointer-events: auto !important;
}

/* 移除所有可能阻止点击的样式 */
.floating-window-2 * {
    pointer-events: auto !important;
}

/* 添加视觉反馈，让用户知道可以点击 */
.floating-window-2:hover {
    transform: scale(1.05) !important;
}

/* 添加点击效果 */
.floating-window-2:active {
    transform: scale(0.95) !important;
}

/* 为第二个悬浮窗口添加内容，确保有东西可点击 */
.floating-window-2::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    pointer-events: none; /* 文字本身不接收点击，但父元素可以 */
    z-index: 2;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .floating-icon {
        width: 20px;
        height: 20px;
    }
    .floating-window-2::after {
        font-size: 14px;
    }
}


/* ==================== 公司简介样式 ==================== */
/* 公司简介样式 - 修改为全屏黑色背景，内容居中显示 */
.company-intro-wrapper {
    background-color: #000000; /* 黑色背景 */
    width: 100%;
    margin-top: -40px;
    margin-bottom: 40px;
    padding: 40px 0;
}

.company-intro {
    max-width: 1200px; /* 限制内容最大宽度 */
    margin: 0 auto;
    text-align: center;
    color: #ffffff; /* 白色文字 */
    padding: 0 20px;
}

.company-intro .logo-image {
    filter: brightness(0) invert(1); /* 将黑色logo转换为白色 */
    max-width: 200px;
    margin: 20px auto 20px;
}

.company-intro_center {
    max-width: 800px;
    margin: 0 auto;
}

.company-intro_center p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff; /* 白色文字 */
}

.company-intro_center .policy-link {
    color: #8b5cf6; /* 紫色链接 */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.company-intro_center .policy-link:hover {
    color: #ffffff; /* 悬停时变为白色 */
    text-decoration: underline;
}

/* 移动端公司简介调整 */
@media (max-width: 768px) {
    .company-intro-wrapper {
        padding: 30px 0;
    }

    .company-intro .logo-image {
        max-width: 150px;
    }

    .company-intro_center p {
        font-size: 14px;
    }
}
