/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 禁用所有视频相关元素的变换效果 - 最高优先级 */
.video-wrapper, .video-wrapper *, .video-container, .video-container * {
    transform: none !important;
    transition: none !important;
}

.video-wrapper:hover, .video-wrapper *:hover, .video-container:hover, .video-container *:hover {
    transform: none !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px; /* 增加滚动偏移量以适应导航栏和倒计时的高度 */
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #0c2e28;
    color: #e8f5f2;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: #a4e0d2;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #62e3bd;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(0, 10, 8, 0.97); /* 更深的背景色，几乎接近黑色 */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001; /* 增加z-index值确保导航栏在最上层 */
    border-bottom: 1px solid rgba(94, 234, 212, 0.5); /* 增加边框亮度 */
    height: 80px; /* 固定导航栏高度 */
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.7); /* 增强阴影效果 */
}

/* 网站标志样式 */
.site-logo {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    vertical-align: middle;
    display: inline-block;
    transition: transform 0.3s ease, filter 0.5s ease;
    filter: drop-shadow(0 0 5px rgba(94, 234, 212, 0.2));
    animation: logo-pulse 4s infinite;
}

/* 添加Logo闪动动画 */
@keyframes logo-pulse {
    0% { filter: drop-shadow(0 0 5px rgba(94, 234, 212, 0.2)); }
    50% { filter: drop-shadow(0 0 12px rgba(94, 234, 212, 0.8)); }
    100% { filter: drop-shadow(0 0 5px rgba(94, 234, 212, 0.2)); }
}

/* Logo悬停效果 */
.site-logo:hover {
    transform: rotate(20deg) scale(1.1);
    animation: logo-spin 2s ease-in-out infinite;
    cursor: pointer;
}

/* Logo悬停旋转动画 */
@keyframes logo-spin {
    0% { transform: rotate(0deg) scale(1.1); }
    25% { transform: rotate(15deg) scale(1.15); }
    50% { transform: rotate(0deg) scale(1.1); }
    75% { transform: rotate(-15deg) scale(1.15); }
    100% { transform: rotate(0deg) scale(1.1); }
}

/* 调整logo容器样式 */
.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #62e3bd; /* 更鲜亮的绿色，增强对比 */
    text-shadow: 0 0 10px rgba(94, 234, 212, 0.4); /* 增强文字发光效果 */
    margin: 0; /* 移除默认外边距 */
    line-height: 1.2; /* 添加行高控制，确保文字垂直居中 */
    padding: 5px 0; /* 添加一些内边距，使文字上下有空间 */
}

.logo h1 a {
    display: inline-block; /* 使链接成为块级元素以更好地控制 */
    word-spacing: -2px; /* 缩小"Pokemon Gamma"与"Emerald"之间的间距 */
}

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

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #b3e6dc; /* 稍亮一些的文字颜色 */
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav ul li a:hover {
    color: #5eead4; /* 悬停时更亮的颜色 */
    text-shadow: 0 0 10px rgba(94, 234, 212, 0.6); /* 增强悬停时的发光效果 */
}

/* 导航栏项目活动状态样式 */
nav ul li a.active {
    color: #5eead4; /* 更鲜亮的颜色 */
    text-shadow: 0 0 10px rgba(94, 234, 212, 0.8); /* 增强发光效果 */
    position: relative;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 2px;
    background-color: #5eead4;
    box-shadow: 0 0 5px rgba(94, 234, 212, 0.6);
}

/* Live Countdown Timer */
.live-countdown {
    background-color: rgba(5, 30, 27, 0.9);
    padding: 1rem 0;
    position: static; /* 改回静态定位，允许随页面滚动 */
    margin-top: 80px; /* 保持在header下方 */
    text-align: center;
    border-bottom: 1px solid rgba(94, 234, 212, 0.3);
    z-index: 99; /* 降低z-index值 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* 保留阴影效果 */
}

.countdown-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0.5rem 0;
}

.countdown-container h3 {
    font-size: 1.2rem;
    color: #5eead4;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap; /* 允许在小屏幕上换行 */
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5rem;
}

.countdown-item span {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    background-color: rgba(13, 148, 136, 0.3);
    border: 1px solid rgba(94, 234, 212, 0.3);
    border-radius: 6px;
    min-width: 70px;
    padding: 0.5rem;
    display: inline-block;
    text-align: center;
}

.countdown-label {
    font-size: 0.8rem !important;
    color: #a4e0d2 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600 !important;
    margin-top: 0.5rem !important;
    background-color: transparent !important;
    border: none !important;
    min-width: auto !important;
    padding: 0 !important;
}

/* Hero Section */
.hero {
    height: 50vh;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(6, 50, 44, 0.7), rgba(6, 50, 44, 0.7)), url('image/10033.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0 5%;
    position: relative;
    margin-top: 0; /* 移除顶部外边距，因为倒计时不再固定定位 */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(94, 234, 212, 0.5);
    color: #5eead4;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #0d9488;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-button:hover {
    background-color: #0f766e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(94, 234, 212, 0.3);
}

.hero-button.secondary {
    background-color: transparent;
    border: 2px solid #0d9488;
}

.hero-button.secondary:hover {
    background-color: rgba(13, 148, 136, 0.1);
}

/* Game Preview Area */
.play-online {
    padding: 4rem 5%;
    background-color: #0a0a0a;
    text-align: center;
}

.disclaimer {
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff4d4d;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    border-radius: 6px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.disclaimer h3 {
    font-size: 1.4rem;
    color: #ff4d4d;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 2px;
}

.disclaimer p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ddd;
}

.warning {
    background-color: rgba(255, 77, 77, 0.1);
    border: 1px solid #ff4d4d;
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    color: #ff4d4d;
    font-weight: 600;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.game-container {
    max-width: 1000px;
    margin: 0 auto 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.game-placeholder {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background-color: #000;
}

.game-placeholder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Game iframe specific styles */
#game-iframe iframe {
    background-color: #000;
    border: none;
    display: block;
}

#game-iframe iframe:fullscreen {
    width: 100vw;
    height: 100vh;
    border: none;
}

.fullscreen-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border-radius: 4px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.fullscreen-btn:hover {
    background-color: rgba(255, 77, 77, 0.8);
    transform: scale(1.1);
}

.video-description {
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-top: 1px solid #333;
}

.video-description p {
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
}

.tip {
    max-width: 800px;
    margin: 1.5rem auto;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: #ddd;
    font-size: 1rem;
    line-height: 1.6;
}

.cta-buttons {
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #ff4d4d;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #ff3333;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

.cta-button.large {
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
}

/* Game Preview Area */
.game-preview {
    padding: 5rem 5%;
    background-color: #0a0a0a;
    text-align: center;
}

.game-instructions {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: #ccc;
}

.game-instructions p {
    margin-bottom: 1rem;
}

/* Introduction Area */
.intro {
    padding: 4rem 5%;
    background-color: #083344;
    text-align: center;
}

.intro-content {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #5eead4;
    letter-spacing: 1px;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e8f5f2;
}

/* Game Trailer Video Area */
.game-trailer {
    padding: 3rem 5%;
    background-color: #0a0a0a;
    text-align: center;
}

/* 新的视频包装器和容器样式 */
.video-wrapper {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    transform: none !important;
    transition: none !important;
}

.video-wrapper:hover {
    transform: none !important;
    box-shadow: none !important;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9比例 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    background-color: #051e1b;
    transform: none !important;
    transition: none !important;
}

.video-container:hover {
    transform: none !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5) !important;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    transform: none !important;
    transition: none !important;
}

.video-container iframe:hover {
    transform: none !important;
}

/* 旧的视频容器样式保留以支持其他可能的引用，但可以逐步淘汰 */
.video-compact {
    max-width: 700px;
    padding-top: 56.25%; /* 使用16:9的宽高比，标准的YouTube视频比例 */
    margin: 2rem auto;
}

/* Experience Area */
.experience {
    padding: 5rem 5%;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('5GAG4k.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.experience-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.experience-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.experience-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Enter Area */
.enter {
    padding: 5rem 5%;
    background-color: #0a0a0a;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #5eead4;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #a4e0d2;
}

.feature-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 4rem;
    gap: 2rem;
}

.feature.reverse {
    flex-direction: row-reverse;
}

.feature img {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-content {
    flex: 1;
    min-width: 300px;
}

.feature-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #5eead4;
    letter-spacing: 1px;
}

.feature-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #e8f5f2;
}

/* Gameplay Area */
.gameplay {
    padding: 4rem 5%;
    background-color: #072f2e;
}

.features-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-item {
    background-color: rgba(13, 148, 136, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.feature-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid rgba(94, 234, 212, 0.2);
}

.feature-text {
    padding: 1.5rem;
}

.feature-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #5eead4;
    letter-spacing: 1px;
}

.feature-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #e8f5f2;
}

/* Technical Area */
.technical {
    padding: 4rem 5%;
    background-color: #083344;
    background-image: linear-gradient(rgba(8, 51, 68, 0.9), rgba(8, 51, 68, 0.9)), url('image/10044.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.tech-features {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.tech-item {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(94, 234, 212, 0.2);
    transition: transform 0.3s ease;
}

.tech-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #5eead4;
    letter-spacing: 1px;
}

.tech-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: #e8f5f2;
}

/* Screenshots Grid */
.screenshots {
    padding: 4rem 5%;
    background-color: #072f2e;
}

.screenshot-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.screenshot {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.screenshot img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.screenshot:hover {
    transform: translateY(-5px);
}

.screenshot:hover img {
    transform: scale(1.05);
}

/* Reviews Area */
.reviews {
    padding: 4rem 5%;
    background-color: #083344;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background-color: rgba(13, 148, 136, 0.1);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(94, 234, 212, 0.2);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-stars {
    font-size: 1.5rem;
    color: #5eead4;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #e8f5f2;
    font-style: italic;
    margin-bottom: 1rem;
}

.reviewer {
    font-size: 0.9rem;
    font-weight: 700;
    color: #a4e0d2;
    text-align: right;
}

/* Story Area */
.story {
    padding: 4rem 5%;
    background-color: #072f2e;
}

.story-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.story-image {
    flex: 1;
    min-width: 300px;
}

.story-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.story-text {
    flex: 2;
    min-width: 300px;
}

.story-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #5eead4;
    letter-spacing: 1px;
}

.story-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    color: #e8f5f2;
}

/* FAQ Area */
.faq {
    padding: 4rem 5%;
    background-color: #083344;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(94, 234, 212, 0.2);
}

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

.faq-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #5eead4;
}

.faq-item p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #e8f5f2;
}

/* Download Area */
.download {
    padding: 4rem 5%;
    background-color: #072f2e;
}

.download-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background-color: rgba(13, 148, 136, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(94, 234, 212, 0.2);
}

.download-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #5eead4;
}

.download-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.release-countdown {
    font-size: 1.3rem;
    font-weight: 700;
    color: #5eead4;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 4px;
    display: inline-block;
}

/* Footer */
footer {
    padding: 3rem 5% 2rem;
    background-color: #04262a;
    border-top: 1px solid rgba(94, 234, 212, 0.2);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-logo h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #5eead4;
    letter-spacing: 1px;
}

.footer-logo p {
    font-size: 0.9rem;
    color: #a4e0d2;
}

.footer-links ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.footer-links ul li a {
    font-size: 0.9rem;
    color: #a4e0d2;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(94, 234, 212, 0.2);
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(13, 148, 136, 0.3);
    transform: translateY(-3px);
}

.footer-disclaimer {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(94, 234, 212, 0.1);
    text-align: center;
    font-size: 0.8rem;
    color: #a4e0d2;
    opacity: 0.8;
}

.footer-disclaimer p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .feature {
        flex-direction: column;
    }
    
    .feature.reverse {
        flex-direction: column;
    }
    
    .feature img,
    .feature-content {
        width: 100%;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.5rem 5%;
        height: auto;
        min-height: 60px;
    }
    
    .logo h1 {
        font-size: 1.5rem; /* 减小标题字体大小 */
    }
    
    .site-logo {
        width: 50px; /* 减小logo尺寸 */
        height: 50px;
    }
    
    nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: rgba(4, 38, 33, 0.95);
        border-top: 1px solid rgba(94, 234, 212, 0.5);
        box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        padding: 5px 0;
    }
    
    nav ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 10px;
        margin: 0;
        -webkit-overflow-scrolling: touch; /* 提升iOS滚动体验 */
        scrollbar-width: none; /* Firefox隐藏滚动条 */
        white-space: nowrap; /* 保持单行 */
    }
    
    nav ul::-webkit-scrollbar {
        display: none; /* Chrome和Safari隐藏滚动条 */
    }
    
    nav ul li {
        margin: 0 10px 0 0;
        flex: 0 0 auto;
    }
    
    nav ul li a {
        font-size: 0.8rem;
        padding: 8px 12px;
        display: block;
    }
    
    /* 调整内容区域，避免被底部导航遮挡 */
    body {
        padding-bottom: 60px; /* 增加底部填充 */
    }
    
    footer {
        margin-bottom: 60px; /* 避免被底部导航栏遮挡 */
        padding-bottom: 1rem; /* 减小底部内边距 */
    }
    
    /* 调整滚动锚点位置，适应移动端导航 */
    html {
        scroll-padding-top: 70px; /* 减小滚动偏移量 */
    }
    
    /* 调整各章节的底部间距，防止内容过于紧凑 */
    section {
        padding-bottom: 3rem; /* 确保各章节底部有足够空间 */
    }
    
    /* 下载按钮优化 */
    .download-button {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }
    
    .live-countdown {
        margin-top: 70px; /* 适应较小屏幕上较短的header */
    }
    
    .hero {
        margin-top: 0; /* 移除外边距 */
        height: 40vh;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links ul {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* 移动端导航栏活动状态样式调整 */
    nav ul li a.active {
        background-color: rgba(13, 148, 136, 0.3);
        border-radius: 4px;
    }
    
    nav ul li a.active::after {
        bottom: 0;
        width: 80%;
        height: 2px;
    }
}

@media (max-width: 480px) {
    header {
        min-height: 60px;
    }
    
    .live-countdown {
        margin-top: 60px;
        padding: 0.5rem 0;
    }
    
    .hero {
        margin-top: 0;
        height: 35vh;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .feature-content h3 {
        font-size: 1.5rem;
    }
    
    .hero-button,
    .social-icon {
        width: 100%;
        text-align: center;
    }
    
    .logo h1 {
        font-size: 1.2rem; /* 进一步减小标题字体大小 */
    }
    
    .site-logo {
        width: 40px; /* 更小的logo */
        height: 40px;
    }
    
    nav ul li a {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
}

/* 修复内容区域以适应新的布局 */
section:not(.hero) {
    position: relative;
    z-index: 1; /* 降低z-index值 */
}

.about-section, .privacy-section, .terms-section, .contact-section {
    padding-top: 3rem;
}

/* Logo点击精灵球特效 */
.pokeball-effect {
    display: none;
    }

/* 精灵球动画 */
@keyframes pokeball-throw {
    0% { opacity: 0; }
    100% { opacity: 0; }
}

/* 下载按钮样式 */
.download-button-container {
    text-align: center;
    margin-top: 30px;
}

.download-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #ff5a5f;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.download-button:hover {
    background-color: #e74c3c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 77, 77, 0.3);
}