/* 关于我页面样式 - 二次元风格 */

/* 樱花飘落效果 */
#sakura-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.sakura {
    position: absolute;
    top: -20px;
    animation: sakura-fall linear forwards;
}

@keyframes sakura-fall {
    0% {
        transform: translateY(0) rotate(0deg) translateX(0);
    }
    25% {
        transform: translateY(25vh) rotate(90deg) translateX(20px);
    }
    50% {
        transform: translateY(50vh) rotate(180deg) translateX(-20px);
    }
    75% {
        transform: translateY(75vh) rotate(270deg) translateX(20px);
    }
    100% {
        transform: translateY(110vh) rotate(360deg) translateX(-20px);
    }
}

/* 天体效果 */
.sky-body {
    position: fixed;
    top: 10%;
    right: 20%;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    animation: move-body 10s infinite alternate ease-in-out;
    z-index: -1;
}

@keyframes move-body {
    0% { transform: translateX(-20px); }
    100% { transform: translateX(20px); }
}

.sun {
    background: radial-gradient(circle, #ffdd85 40%, #ffa726 90%);
    box-shadow: 0 0 30px 10px #ffc107, 0 0 60px 30px rgba(255, 223, 130, 0.6);
}

/* 头部样式 */
.about-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(255, 107, 157, 0.15);
    border-bottom: 2px solid #ffd6e0;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-title {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.back-btn {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    background: linear-gradient(145deg, #fff9f2, #ffebd4);
    color: #6a4a3c;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.back-btn:hover {
    border-color: #ff6b9d;
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.4);
    transform: translateY(-3px);
}

/* 主内容区 */
.about-main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 20px 40px;
}

/* 个人信息卡片 */
.profile-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 40px;
    border: 2px solid #ffd6e0;
    box-shadow: 0 15px 50px rgba(255, 107, 157, 0.15);
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 头像 */
.avatar-container {
    position: relative;
    flex-shrink: 0;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab, #ffc3d4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.avatar-inner {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-emoji {
    font-size: 60px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.avatar-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 3px dashed #ff6b9d;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 个人信息 */
.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 10px 0;
}

.profile-title {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.profile-bio {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-tags .tag {
    background: linear-gradient(135deg, #fff0f3, #ffe0e6);
    color: #ff6b9d;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.profile-tags .tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

/* 章节标题 */
.section-title {
    font-size: 1.8rem;
    color: #ff6b9d;
    text-align: center;
    margin: 50px 0 30px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b9d, #ffc3d4);
    border-radius: 2px;
}

/* 技能展示 */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.skill-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    border: 2px solid #ffd6e0;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.2);
    border-color: #ff6b9d;
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.skill-card h3 {
    color: #ff6b9d;
    margin-bottom: 15px;
}

.skill-bar {
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #ff6b9d, #ff8fab);
    border-radius: 5px;
    animation: progressFill 1.5s ease-out;
}

@keyframes progressFill {
    from { width: 0; }
}

.skill-card p {
    color: #888;
    font-size: 0.9rem;
}

/* 时间线 */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #ff6b9d, #ffc3d4);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease;
}

.timeline-dot {
    position: absolute;
    left: -38px;
    top: 5px;
    width: 18px;
    height: 18px;
    background: white;
    border: 3px solid #ff6b9d;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    background: #ff6b9d;
    transform: scale(1.2);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    border: 2px solid #ffd6e0;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.15);
}

.timeline-date {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 10px;
}

.timeline-content h3 {
    color: #333;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* 兴趣爱好 */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.hobby-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid #ffd6e0;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

.hobby-card:hover {
    transform: translateY(-8px) rotate(2deg);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.2);
    border-color: #ff6b9d;
}

.hobby-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.hobby-card h3 {
    color: #ff6b9d;
    margin-bottom: 10px;
}

.hobby-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 联系方式 */
.contact-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 20px 35px;
    border: 2px solid #ffd6e0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
    border-color: #ff6b9d;
}

.contact-icon {
    font-size: 1.8rem;
}

.contact-name {
    color: #333;
    font-weight: 500;
}

/* 座右铭 */
.quote-section {
    margin-top: 50px;
}

.quote-card {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(255, 195, 212, 0.1));
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    border: 2px dashed #ffd6e0;
    position: relative;
}

.quote-card::before,
.quote-card::after {
    content: '"';
    font-size: 4rem;
    color: #ff6b9d;
    opacity: 0.3;
    position: absolute;
}

.quote-card::before {
    top: 10px;
    left: 20px;
}

.quote-card::after {
    bottom: -20px;
    right: 20px;
}

.quote-card p {
    font-size: 1.4rem;
    color: #ff6b9d;
    font-style: italic;
    margin-bottom: 15px;
}

.quote-card cite {
    color: #888;
    font-size: 1rem;
}

/* 底部 */
.about-footer {
    text-align: center;
    padding: 30px;
    color: #888;
    border-top: 2px solid #ffd6e0;
    margin-top: 60px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
        text-align: center;
    }

    .avatar-container {
        margin-bottom: 20px;
    }

    .profile-tags {
        justify-content: center;
    }

    .about-header {
        flex-direction: column;
        gap: 15px;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline-dot {
        left: -28px;
    }
}
