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

body {
    background: #fff;
    min-height: 100vh;
    overflow: auto;
    font-family: "Alibaba Sans", "Alibaba PuHuiTi 2.0", sans-serif;
    font-weight: 350;
    font-size: 14px;
    position: relative;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Logo样式 */
.logo-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.logo {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* 竖排导航按钮 */
.nav-buttons {
    position: fixed;
    top: 80px;
    left: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
}

.nav-button {
    padding: 8px 20px;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    width: fit-content;
    transform-origin: left center;
}

/* 导航按钮颜色和旋转角度 */
.nav-button:nth-child(1) { 
    background-color: rgba(103, 191, 92, 0.95); 
    transform: rotate(-2deg);
}
.nav-button:nth-child(2) { 
    background-color: rgba(247, 183, 49, 0.95); 
    transform: rotate(1deg);
}
.nav-button:nth-child(3) { 
    background-color: rgba(235, 87, 87, 0.95); 
    transform: rotate(-3deg);
}
.nav-button:nth-child(4) { 
    background-color: rgba(30, 136, 229, 0.95); 
    transform: rotate(2deg);
}
.nav-button:nth-child(5) { 
    background-color: rgba(149, 94, 210, 0.95); 
    transform: rotate(-1deg);
}
.nav-button:nth-child(6) { 
    background-color: rgba(51, 187, 210, 0.95); 
    transform: rotate(3deg);
}

.nav-button:hover {
    transform: scale(1.05);
}

/* 下拉菜单样式 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: transparent;
    border-radius: 8px;
    padding: 10px 0;
    display: none;
    z-index: 1001;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.dropdown-menu.active {
    display: flex;
}

.dropdown-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    white-space: nowrap;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: fit-content;
    transform-origin: left center;
}

/* 主页图标图片样式 */
.home-icon-img {
    height: 1.1em;
    width: auto;
    vertical-align: middle;
    transition: all 0.3s ease;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .home-icon-img {
        height: 0.9em;
    }
}

/* 解决小屏幕时按钮变大的问题 */
@media (max-width: 1200px) {
    .dropdown-menu a {
        padding: 8px 20px;
        font-size: 14px;
    }
}

@media (max-width: 1000px) {
    .dropdown-menu a {
        padding: 7px 18px;
        font-size: 13px;
    }
}

/* 下拉菜单按钮颜色和旋转角度 */
.dropdown-menu a:nth-child(1) { 
    background-color: rgba(103, 191, 92, 0.95); 
    transform: rotate(-2deg);
}
.dropdown-menu a:nth-child(2) { 
    background-color: rgba(247, 183, 49, 0.95); 
    transform: rotate(1deg);
}
.dropdown-menu a:nth-child(3) { 
    background-color: rgba(235, 87, 87, 0.95); 
    transform: rotate(-3deg);
}
.dropdown-menu a:nth-child(4) { 
    background-color: rgba(30, 136, 229, 0.95); 
    transform: rotate(2deg);
}
.dropdown-menu a:nth-child(5) { 
    background-color: rgba(149, 94, 210, 0.95); 
    transform: rotate(-1deg);
}
.dropdown-menu a:nth-child(6) { 
    background-color: rgba(51, 187, 210, 0.95); 
    transform: rotate(3deg);
}

/* 下拉菜单悬停效果 */
.dropdown-menu a:hover {
    transform: scale(1.05);
    filter: brightness(0.95);
    color: white !important;
}

/* 顶部遮罩层 */
.top-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 1) 80%,
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 998;
}

/* 底部遮罩层 */
.bottom-mask {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 1) 80%,
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 998;
}

/* 内容区域样式 */
.content-message {
    text-align: center;
    max-width: 600px;
    padding: 40px 20px;
    color: #666;
    margin: 20px 0;
}

.content-message h1 {
    font-size: 32px;
    color: #1E88E5;
    margin-bottom: 20px;
}

.content-message p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.bottom-bar {
    position: fixed;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    z-index: 1000;
}

.footer-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #1E88E5;
}

.separator {
    color: #666;
}

.copyright {
    color: #666;
    text-align: right;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-button {
    display: none;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    color: #666;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

/* 主页图标样式 */
.home-icon {
    display: none;
    color: #666;
    text-decoration: none;
    margin-left: 8px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.home-icon:hover {
    color: #1E88E5;
}

.mobile-menu {
    position: fixed;
    bottom: 60px;
    left: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    display: none;
    z-index: 1001;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    color: #666;
    text-decoration: none;
    padding: 10px 20px;
    white-space: nowrap;
}

.mobile-menu a:hover {
    background-color: #f5f5f5;
}

.fade-divider {
    position: fixed;
    bottom: 50px;
    left: 0;
    right: 0;
    height: 0.5px;
    background: linear-gradient(90deg, 
        rgba(30, 136, 229, 0) 0%, 
        rgba(30, 136, 229, 0.8) 40%,
        rgba(103, 191, 92, 0.8) 60%,
        rgba(103, 191, 92, 0) 100%);
    z-index: 999;
}

/* 响应式设计 */
@media (max-width: 1450px) {
    .nav-buttons {
        display: none;
    }
    
    .logo-container {
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1000;
    }
}

@media (max-width: 1000px) {
    .footer-links {
        display: none;
    }

    .menu-button {
        display: block;
        font-size: 11px;
        background-color: rgba(30, 136, 229, 0.1);
        border: 1px solid #1E88E5;
    }
    
    .home-icon {
        display: inline-block;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .top-mask {
        height: 80px;
    }
    
    .bottom-mask{
        height: 60px;
    }
    
    .logo {
        height: 38px;
    }
    
    .copyright {
        font-size: 11px;
        bottom: 10px;
        right: 10px;
    }
    
    .fade-divider {
        bottom: 45px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }
    
    .top-mask {
        height: 60px;
    }
    
    .logo-container {
        top: 15px;
        left: 15px;
    }
    
    .logo {
        height: 28px;
    }
    
    .copyright {
        font-size: 10px;
        bottom: 8px;
        right: 8px;
        padding: 4px 8px;
    }

    .menu-button {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .content-message {
        padding: 20px 15px;
    }
    
    .content-message h1 {
        font-size: 24px;
    }
}