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

/* 全局样式 */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #000;
}

/* 容器 */
.container {
    min-height: 100vh;
    position: relative;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* 背景动画 */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.01) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.015) 0%, transparent 50%);
    animation: backgroundMove 30s ease-in-out infinite;
    z-index: 1;
}

@keyframes backgroundMove {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    33% {
        transform: translateX(-20px) translateY(-30px);
    }
    66% {
        transform: translateX(15px) translateY(15px);
    }
}

/* 主要内容 */
.main-content {
    z-index: 2;
    position: relative;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

/* 英雄区域 */
.hero-section {
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out;
}

.main-title {
    font-size: 4rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.main-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: charReveal 0.8s ease-out forwards;
}

.main-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: waterRipple 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes charReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes waterRipple {
    0% {
        left: -100%;
        transform: skewX(-45deg);
    }
    50% {
        left: 100%;
        transform: skewX(-45deg);
    }
    100% {
        left: 100%;
        transform: skewX(-45deg);
    }
}

.main-subtitle {
    font-size: 1.2rem;
    color: #888;
    font-weight: 300;
    letter-spacing: 0.15em;
    position: relative;
    overflow: hidden;
}

.main-subtitle .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: charReveal 0.6s ease-out forwards;
}

.main-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(136, 136, 136, 0.4), transparent);
    animation: waterRipple 3.5s ease-in-out infinite 1s;
    z-index: 1;
}

/* 链接区域 */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* 导航链接 */
.nav-link {
    display: block;
    text-decoration: none;
    color: #fff;
    padding: 1.5rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
}

.nav-link:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.link-text {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-link:hover .link-text {
    color: #fff;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.link-description {
    display: block;
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 300;
    transition: color 0.3s ease;
}

.nav-link:hover .link-description {
    color: #fff;
}

/* 页脚 */
.footer {
    position: absolute;
    bottom: 2rem;
    text-align: center;
    color: #444;
    font-size: 0.8rem;
    z-index: 2;
    animation: fadeInUp 1s ease-out 0.8s both;
    letter-spacing: 0.05em;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .main-subtitle {
        font-size: 1rem;
    }
    
    .hero-section {
        margin-bottom: 3rem;
    }
    
    .nav-link {
        padding: 1rem 0;
    }
    
    .link-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .main-subtitle {
        font-size: 0.9rem;
    }
    
    .link-text {
        font-size: 1.1rem;
    }
    
    .link-description {
        font-size: 0.8rem;
    }
}

/* 引导按钮特殊样式 */
.guide-section {
    cursor: default;
    padding-bottom: 2rem;
}

.guide-section:hover {
    transform: none;
    box-shadow: none;
}

/* 子按钮容器 */
.sub-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

/* 子按钮样式 */
.sub-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

.sub-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.sub-button-text {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

.sub-button:hover .sub-button-text {
    color: #fff;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.2);
}

/* 子按钮光波效果 */
.sub-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.4s;
}

.sub-button:hover::before {
    left: 100%;
}

/* 特殊效果 */
.nav-link:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.15);
}

/* 响应式设计 - 子按钮 */
@media (max-width: 480px) {
    .sub-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .sub-button {
        min-width: auto;
        width: 100%;
    }
    
    .sub-button-text {
        font-size: 0.85rem;
    }
}

/* 标题的微妙发光效果 */
.main-title {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

/* 页面加载时的整体淡入效果 */
.container {
    animation: pageLoad 1.5s ease-out;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}