/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #87CEEB 0%, #FFE4B5 30%, #FFA500 70%, #FF6347 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 背景动画元素 - 沙滩海浪效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 40% 60%, rgba(255, 140, 0, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: beachWave 8s ease-in-out infinite;
}

@keyframes beachWave {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); }
}

/* 固定开发者徽章 - 沙滩风格 */
.developer-badge {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 12px 20px;
    animation: beachGlow 2s ease-in-out infinite alternate;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.developer-text {
    font-family: 'Fredoka One', cursive;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.developer-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FF6B35, #F7931E, #FFD700, #FFA500);
    border-radius: 27px;
    z-index: -1;
    opacity: 0.9;
    animation: rotateBeachGlow 3s linear infinite;
}

@keyframes beachGlow {
    0% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.4); }
    100% { box-shadow: 0 0 30px rgba(255, 107, 53, 0.8); }
}

@keyframes rotateBeachGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 游戏头部 - 沙滩风格 */
.game-header {
    text-align: center;
    padding: 80px 20px 40px;
    animation: fadeInDown 1s ease-out;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.game-icon {
    position: relative;
    width: 80px;
    height: 80px;
}

.icon-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF6B35, #FFD700);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.4);
    animation: beachIconBounce 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.icon-emoji {
    font-size: 36px;
    animation: beachIconRotate 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: beachPulse 2s ease-in-out infinite;
}

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

@keyframes beachIconRotate {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(15deg) scale(1.1); }
}

@keyframes beachPulse {
    0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
}

.game-title {
    font-family: 'Fredoka One', cursive;
    font-size: 48px;
    color: #fff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    animation: beachTitleGlow 2s ease-in-out infinite alternate;
}

@keyframes beachTitleGlow {
    0% { text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.3); }
    100% { text-shadow: 0 4px 20px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 215, 0, 0.6); }
}

/* 主要内容 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 横幅区域 - 沙滩风格 */
.banner-section {
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 0.3s both;
    display: flex;
    justify-content: center;
}

.banner-container {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.4);
    width: 50%;
    max-width: 600px;
    margin: 0 auto;
    border: 3px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 215, 0, 0.1));
}

.banner-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    display: block;
    background: rgba(255, 255, 255, 0.1);
}

/* 截图区域 - 沙滩风格 */
.screenshots-section {
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: 28px;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: beachTextGlow 3s ease-in-out infinite alternate;
}

@keyframes beachTextGlow {
    0% { text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 140, 0, 0.4); }
    100% { text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 140, 0, 0.7); }
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.screenshot-card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 215, 0, 0.1));
}

.screenshot-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 107, 53, 0.5);
}

.screenshot-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.screenshot-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.6);
}

/* 下载按钮 - 沙滩风格 */
.download-section {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 80px;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    font-family: 'Fredoka One', cursive;
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: beachButtonPulse 2s ease-in-out infinite alternate;
}

@keyframes beachButtonPulse {
    0% { box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4), 0 0 20px rgba(255, 215, 0, 0.3); }
    100% { box-shadow: 0 12px 35px rgba(255, 107, 53, 0.7), 0 0 30px rgba(255, 215, 0, 0.6); }
}

.download-button:hover {
    background: linear-gradient(135deg, #FF8C42, #FFB347);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.7);
    animation: none;
}

.download-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    animation: beachIconFloat 1.5s ease-in-out infinite alternate;
}

@keyframes beachIconFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-3px) rotate(5deg); }
}

/* 响应式设计 - 沙滩风格 */
@media (max-width: 768px) {
    .game-title {
        font-size: 36px;
    }
    
    .banner-container {
        width: 90%;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .download-button {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .download-icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .game-header {
        padding: 100px 20px 30px;
    }
    
    .logo-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .game-title {
        font-size: 32px;
    }
    
    .download-button {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .download-icon {
        width: 20px;
        height: 20px;
    }
}

/* 动画 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* 移除旧的样式 */
.fruit-particles {
    display: none;
}

.game-footer {
    display: none;
}

.google-play-button {
    display: none;
}

.google-play-badge {
    display: none;
}

.game-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.game-icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Banner图片按原始宽高比显示 */
.banner-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: #f0f0f0;
}

/* 截图按原始宽高比显示 */
.screenshot-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: #f0f0f0;
}

/* 下载按钮区域 */
.download-section {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #000000;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-family: 'Nunito', sans-serif;
}

.download-button:hover {
    background-color: #555555;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.download-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* 移除原有的game-footer样式 */
.game-footer {
    display: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .banner-image {
        max-height: 300px;
    }
    
    .download-button {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .download-icon {
        width: 20px;
        height: 20px;
    }
}