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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 400% 400%;
    color: white;
    overflow-x: hidden;
    animation: backgroundShift 8s ease infinite;
    transition: background 0.5s ease, color 0.5s ease;
}

/* 深色主题样式 */
body.dark-theme {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e0e0;
}

body.dark-theme .avatar {
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-theme .footer {
    background: rgba(0, 0, 0, 0.4);
    border-top-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

/* 背景装饰效果 */
.container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(69, 183, 209, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* 主容器 */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* 主题切换按钮 */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 头像区域 */
.avatar-container {
    margin-bottom: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.avatar:hover {
    transform: scale(1.1);
}

/* UI布局优化 */
.container {
    justify-content: center;
    padding-bottom: 80px; /* 为底部信息预留空间 */
}

.content {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    padding: 0 20px;
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    .theme-toggle {
        width: 45px;
        height: 45px;
        font-size: 20px;
        top: 15px;
        right: 15px;
    }
    
    .container {
        padding-bottom: 100px;
    }
}

/* 文字内容区域 */
.content {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
}

.title {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.typing-container {
    font-size: 1.2rem;
    min-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#typing-text {
    border-right: 3px solid white;
    padding-right: 5px;
    animation: blink 0.7s infinite;
}

/* 底部区域 */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 底部内容容器 */
.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    width: 100%;
}

/* 左侧信息容器 */
.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.icp-info {
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.icp-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 版权信息样式 */
.footer span {
    font-size: 0.85rem;
    opacity: 0.8;
    display: block;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icon:hover {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 动画效果 */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes backgroundShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes blink {
    0%, 100% { border-color: white; }
    50% { border-color: transparent; }
}

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

.avatar {
    animation: float 3s ease-in-out infinite;
}

/* 内容淡入效果 */
.content {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

/* 平板设备优化 */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .typing-container {
        font-size: 1rem;
    }
    
    .avatar {
        width: 120px;
        height: 120px;
    }
    
    .footer {
        padding: 15px;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .footer-info {
        align-items: center;
    }
    
    .icp-info {
        font-size: 0.85rem;
        flex-direction: row;
        gap: 5px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* 手机设备优化 */
@media (max-width: 480px) {
    .container {
        padding: 15px;
        padding-bottom: 120px;
    }
    
    .title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .typing-container {
        font-size: 0.9rem;
        min-height: 40px;
    }
    
    .avatar {
        width: 100px;
        height: 100px;
    }
    
    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 18px;
        top: 10px;
        right: 10px;
    }
    
    .footer {
        padding: 10px;
        align-items: center;
    }
    
    .footer-content {
        gap: 10px;
        align-items: center;
    }
    
    .footer-info {
        align-items: center;
    }
    
    .icp-info {
        font-size: 0.8rem;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }
}

/* 小屏手机优化 */
@media (max-width: 320px) {
    .title {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .typing-container {
        font-size: 0.8rem;
    }
    
    .avatar {
        width: 90px;
        height: 90px;
    }
}

/* 触摸设备优化 */
@media (hover: none) {
    .avatar:hover {
        transform: scale(1.05);
    }
    
    .social-icon:hover {
        transform: translateY(-2px) scale(1.05);
    }
    
    .theme-toggle:hover {
        transform: scale(1.05);
    }
}

/* 减少动画效果以提高性能 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
.icp-info a {
    color: rgb(73, 239, 242);
    text-decoration: none;
    font-size: 0.4cm;
    font-weight: bolder;
}
.music-player {
    margin-top: -275px;

}
.yqlj{
    text-align: center;
    margin-top: -575px;
    font-size: 1px;
    
}
