* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'MiSans', sans-serif;
    overflow-x: hidden;
}

/* 加载动画样式 */
#loading-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a2e;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out;
}

.loader {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #4cc9f0;
    animation: spin 1.5s linear infinite;
    position: relative;
}

.loader::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 5px solid transparent;
    border-radius: 50%;
    border-top-color: #f72585;
    animation: spin 2s linear infinite;
}

.loading-text {
    margin-top: 20px;
    color: white;
    font-size: 18px;
    letter-spacing: 2px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 视频背景容器 */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: filter 0.5s ease;
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 主内容区域 */
.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.welcome-section {
    margin-bottom: 2rem;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.8rem;
    text-shadow: 2px 2px 4px rgba(230, 3, 238, 0.5);
}

.subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* 个人资料卡片区域 */
.profile-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
}

.profile-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: white;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.profile-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 1.2rem;
    opacity: 0.8;
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.detail-item h3 {
    margin-bottom: 1rem;
    color: #4cc9f0;
}
.game-list {
    list-style: none;
}
.game-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}
.game-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #4cc9f0;
}
.skills-list {
    list-style: none;
}

.skills-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.skills-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #4cc9f0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .profile-card { padding: 2rem; }
    .profile-details { grid-template-columns: 1fr; }
}
