/* Basic CSS reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%);  /* 渐变蓝色背景 */
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.logo h1 {
    font-family: 'Comic Sans MS', cursive;
    color: white;
    font-size: 2.4rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
    animation: floatingText 3s ease-in-out infinite;
}

/* 修改动画效果为更柔和的浮动效果 */
@keyframes floatingText {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* 鼠标悬停效果 */
.logo:hover img {
    transform: rotate(10deg) scale(1.05);
    transition: all 0.4s ease;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 2rem;
    }
    
    .logo img {
        width: 55px;
        height: 55px;
    }
}

/* Game Area Styles */
.game-area {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.game-container {
    display: flex;
    gap: 20px;
    min-height: 800px;
}

/* 左侧主游戏区域 */
.game-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.iframe-container {
    position: relative;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16/9;
    overflow: hidden;
}

#game-frame {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
}

.fullscreen-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 100;
}

.fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* 全屏模式样式 */
.iframe-container.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    border-radius: 0;
    aspect-ratio: unset;
}

.iframe-container.fullscreen #game-frame {
    height: 100vh;
}

/* 全屏模式下的按钮样式 */
.iframe-container.fullscreen .fullscreen-btn svg {
    transform: rotate(180deg);
}

/* 底部游戏导航 */
.bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 右侧游戏导航 */
.side-nav {
    width: 300px;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.side-nav-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
    justify-content: space-between;
}

/* 游戏导航项目通用样式 */
.game-nav-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.game-nav-item:hover {
    transform: translateY(-3px);
}

.game-nav-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.game-nav-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 14px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .bottom-nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .bottom-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* SEO Content Styles */
.seo-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem 1rem;
    background-color: #f9f9f9;
}

.game-features ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    padding: 2rem 1rem;
    margin-top: 2rem;
}

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

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%);
    padding: 4rem 2rem;
    margin-top: 2rem;
}

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

.hero-text {
    flex: 1;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-family: 'Comic Sans MS', cursive;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.play-button {
    background: #FF6B6B;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
    transform: translateY(-3px);
    background: #ff5252;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 */
@media (max-width: 968px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* Feature Section Styles */
.feature-section {
    padding: 4rem 2rem;
    background: #fff;
}

.feature-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    font-family: 'Comic Sans MS', cursive;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.feature-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.feature-item h3 {
    color: #2D3748;
    font-size: 1.5rem;
    margin: 1.5rem;
    font-family: 'Comic Sans MS', cursive;
}

.feature-item p {
    color: #4A5568;
    line-height: 1.8;
    padding: 0 1.5rem 1.5rem;
    font-size: 1.1rem;
}

@media (max-width: 968px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item img {
        height: 200px;
    }
}

/* What Is Section Styles */
.what-is-section {
    padding: 4rem 2rem;
    background: #f8fafc;
}

.what-is-content {
    max-width: 1200px;
    margin: 0 auto;
}

.what-is-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
}

.what-is-main img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.what-is-main p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #4A5568;
    font-size: 1.1rem;
}

/* How To Section Styles */
.how-to-section {
    padding: 4rem 2rem;
    background: #fff;
}

.how-to-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    font-family: 'Comic Sans MS', cursive;
}

.how-to-steps {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.step {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) 2fr;
    gap: 2.5rem;
    align-items: start;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step h3 {
    color: #2D3748;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: 'Comic Sans MS', cursive;
}

.step p {
    color: #4A5568;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Why Section Styles */
.why-section {
    padding: 4rem 2rem;
    background: #f8fafc;
}

.why-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.why-item {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.why-item h3 {
    color: #2D3748;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Comic Sans MS', cursive;
}

.why-item p {
    color: #4A5568;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .what-is-main,
    .step {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }

    .step {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .step img {
        height: 200px;
    }

    .step h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
}

/* FAQ Section Styles */
.faq-section {
    padding: 4rem 2rem;
    background: #fff;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    font-family: 'Comic Sans MS', cursive;
}

.faq-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.faq-item {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: #2D3748;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Comic Sans MS', cursive;
}

.faq-answer {
    color: #4A5568;
}

.faq-answer p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 1rem;
    }

    .faq-item {
        padding: 1.5rem;
    }

    .faq-item h3 {
        font-size: 1.3rem;
    }
} 