* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo {
    height: 35px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    vertical-align: middle;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.title {
    color: #333333;
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.ocean-container {
    width: 100vw;
    flex: 1;
    background: linear-gradient(to bottom, 
        #4a9bc7 0%, 
        #5eb3d9 25%, 
        #72c5ea 50%, 
        #86d7fb 75%, 
        #9ae5ff 100%);
    position: relative;
    overflow: hidden;
    margin-top: 100px;
    margin-bottom: 60px;
}

#fishCanvas {
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: block;
    position: relative;
    z-index: 1;
}

/* 水波纹效果 */
.ocean-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: wave 8s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* 游戏控制区域 */
.game-controls {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.next-level-btn {
    background: linear-gradient(135deg, #0077be 0%, #00aaff 100%);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.3);
    transition: all 0.3s ease;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

.next-level-btn:hover {
    background: linear-gradient(135deg, #0099dd 0%, #00ccff 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 190, 0.4);
}

.next-level-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 119, 190, 0.3);
}

.game-tip {
    background: rgba(255, 255, 255, 0.9);
    color: #333333;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

/* 页脚样式 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 15px 20px;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-item {
    color: #333333;
    font-size: 12px;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.footer-item a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-item a:hover {
    color: #0077be;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-item {
        font-size: 11px;
        min-width: auto;
    }
    
    .ocean-container {
        margin-bottom: 120px;
    }
    
    .game-controls {
        bottom: 100px;
    }
    
    .next-level-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .game-tip {
        padding: 8px 15px;
        font-size: 12px;
    }
}
