/* 现代化设计风格 - 精致简历 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(254, 202, 87, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(72, 219, 251, 0.2) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* 头部样式 */
.header {
    margin-bottom: 50px;
}

.profile-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.avatar-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 25px;
}

.avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow:
        0 15px 35px rgba(102, 126, 234, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.9);
}

.avatar-initials {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 75px;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.avatar-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 3px dashed rgba(254, 202, 87, 0.6);
    border-radius: 50%;
    animation: rotate 12s linear infinite;
}

.avatar-decoration::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border: 2px solid rgba(72, 219, 251, 0.3);
    border-radius: 50%;
    animation: rotate 15s linear infinite reverse;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.name {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 52px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.title {
    font-size: 22px;
    color: #4a5568;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.basic-info {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.info-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

/* 章节样式 */
.section {
    margin-bottom: 45px;
}

.section-title {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 38px;
    color: white;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.section-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 35px;
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* 个人简介 */
.bio-text {
    font-size: 18px;
    line-height: 1.9;
    color: #2d3748;
    text-align: justify;
    font-weight: 500;
}

.bio-text::first-letter {
    font-size: 32px;
    font-weight: bold;
    color: #667eea;
    float: left;
    line-height: 1;
    margin-right: 8px;
}

/* 技能网格 */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.skill-card {
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.3);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.skill-name {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
}

.skill-level {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    animation: progress 2s ease-out;
}

@keyframes progress {
    from { width: 0; }
}

.skill-description {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
}

/* 获奖列表 */
.awards-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.award-card {
    background: white;
    padding: 28px;
    border-radius: 18px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.3);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}

.award-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f093fb, #f5576c);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.award-card:hover {
    transform: translateX(8px);
    box-shadow: 0 15px 40px rgba(240, 147, 251, 0.25);
}

.award-card:hover::before {
    transform: scaleX(1);
}

.award-content {
    flex: 1;
    position: relative;
}

.award-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2d3748;
}

.award-details {
    margin-bottom: 12px;
}

.award-detail {
    display: inline-block;
    margin-right: 20px;
    font-size: 15px;
    color: #4a5568;
    background: #edf2f7;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 500;
}

.award-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.award-year {
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
}

.award-certificate {
    font-size: 14px;
    color: #718096;
}

.award-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #feca57, #ff6b6b);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(254, 202, 87, 0.4);
    transform: rotate(5deg);
}

/* 页脚 */
.footer {
    text-align: center;
    padding: 40px 20px 60px;
    color: rgba(255, 255, 255, 0.8);
}

.footer p {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
}

.footer-note {
    font-size: 14px;
    opacity: 0.6;
    font-weight: 400;
}

/* 背景粒子效果 */
.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.08;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: #667eea;
    border-radius: 50%;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    filter: blur(2px);
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: #764ba2;
    top: 65%;
    right: 12%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 2s;
    filter: blur(2px);
}

.shape-3 {
    width: 280px;
    height: 280px;
    background: #f093fb;
    top: 85%;
    left: 25%;
    border-radius: 50%;
    animation-delay: 4s;
    filter: blur(2px);
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: #feca57;
    top: 35%;
    right: 8%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 1s;
    filter: blur(2px);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    33% { transform: translateY(-30px) rotate(120deg) scale(1.1); }
    66% { transform: translateY(-15px) rotate(240deg) scale(0.95); }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #764ba2, #667eea);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .profile-card {
        padding: 40px 25px;
    }

    .name {
        font-size: 42px;
    }

    .title {
        font-size: 18px;
    }

    .basic-info {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .info-item {
        width: 100%;
        max-width: 280px;
    }

    .section-title {
        font-size: 32px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .award-card {
        padding: 25px;
    }

    .award-badge {
        right: 15px;
        top: 10px;
    }
}

@media (max-width: 480px) {
    .avatar-wrapper {
        width: 140px;
        height: 140px;
    }

    .avatar {
        width: 140px;
        height: 140px;
    }

    .avatar-initials {
        font-size: 65px;
    }

    .avatar-decoration {
        width: 180px;
        height: 180px;
    }

    .avatar-decoration::before {
        width: 200px;
        height: 200px;
    }

    .name {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }
}
