/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础布局 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-image: url('../img/web_bg.png');
    background-repeat: repeat;
    color: #2b4c7e;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Logo 样式 */
.logo-container {
    width: 60px;
    height: 60px;
    margin: 5px auto;
    position: relative;
}

.logo {
    width: 100%;
    height: 100%;
    background-image: url('../img/axis-logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    /* 确保动画被应用 */
    animation: float 3s ease-in-out infinite;
}

/* Logo动画效果 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 悬停效果 */
.logo:hover {
    /* 移除 transform: scale(1.1); 因为它会与浮动动画冲突 */
    filter: brightness(1.1);
}

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

/* 主标题样式 */
.main-title {
    text-align: center;
    margin: 30px 0 50px;
}

.main-title h1 {
    font-size: 3em;
    font-weight: 900;
    color: #1e88e5;
    margin-bottom: 10px;
}

.main-title p {
    color: #64b5f6;
    font-size: 1.2em;
}

/* 语言切换按钮 */
.language-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #03a9f4;
    border-radius: 8px;
    padding: 8px 16px;
    color: #03a9f4;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.language-btn:hover {
    background: #03a9f4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 169, 244, 0.2);
}

.language-btn svg {
    width: 16px;
    height: 16px;
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 40px 0;
    color: #4a90e2;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-title h1 {
        font-size: 2em;
    }
    .container {
        padding: 15px;
    }
}