/* 全局样式 */
:root {
    --primary-color: #6C63FF;    /* 梦幻紫 */
    --secondary-color: #FF6584;  /* 珊瑚粉 */
    --accent-color: #43E97B;     /* 清新绿 */
    --text-color: #2D3436;
    --light-color: #f4f4f4;
    --dark-color: #2D3436;
    --border-radius: 10px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #FF6584 100%);
    --gradient-accent: linear-gradient(135deg, #43E97B, #6C63FF);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: -1;
    backdrop-filter: blur(5px);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

section.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    border-radius: var(--border-radius);
}

section.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    color: var(--primary-color);
}

section.section h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: var(--gradient-accent);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* 顶部导航栏 */
header {
    background: linear-gradient(135deg,
        rgba(108, 99, 255, 0.9),
        rgba(255, 101, 132, 0.9),
        rgba(67, 233, 123, 0.9));
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: headerLight 15s ease-in-out infinite;
}

header h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease-out;
    position: relative;
    z-index: 1;
}

header .subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s backwards;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

#navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

#navbar ul li {
    margin: 0;
}

#navbar ul li a {
    display: block;
    padding: 20px;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

#navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

#navbar ul li a:hover::after {
    width: 80%;
}

/* 关于我 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-image img {
    border-radius: 50%;
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 300px;
    transition: var(--transition);
    border: 5px solid white;
}

.about-image img:hover {
    transform: scale(1.05);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.fun-fact {
    background: var(--gradient-primary);
    padding: 20px;
    border-radius: var(--border-radius);
    font-style: italic;
    color: white;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.fun-fact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>') center/50px 50px;
    opacity: 0.1;
}

.fun-fact i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* 技能 */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-accent);
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.skill-category h3 {
    margin-bottom: 25px;
    text-align: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.skill-grid {
    display: grid;
    gap: 20px;
}

.skill-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.skill-item:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skill-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.skill-info {
    flex: 1;
}

.skill-info h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.skill-bar {
    height: 10px;
    background: var(--light-color);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.skill-level {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 5px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 工作经历 */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 3px;
    background: var(--gradient-primary);
    top: 0;
    bottom: 0;
    left: 20px;
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    width: 25px;
    height: 25px;
    background: var(--gradient-accent);
    border-radius: 50%;
    left: 8px;
    top: 0;
    z-index: 1;
    box-shadow: 0 0 0 5px white;
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-accent);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.timeline-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

.experience-btn {
    display: inline-block;
    margin-top: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
    border: none;
    cursor: pointer;
}

.experience-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

/* 爱好 */
.hobbies-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.hobby-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hobby-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-accent);
}

.hobby-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.hobby-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
    transition: var(--transition);
}

.hobby-item:hover .hobby-icon {
    transform: scale(1.1) rotate(5deg);
}

.hobby-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.hobby-item p {
    color: var(--text-color);
    line-height: 1.8;
}

/* 作品集 */
.portfolio-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background: white;
    border: 2px solid var(--light-color);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    color: var(--text-color);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--box-shadow);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 1rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

.portfolio-link {
    color: white;
    background: var(--gradient-accent);
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    transform: translateY(20px);
    opacity: 0;
}

.portfolio-item:hover .portfolio-link {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 客户评价 */
.testimonial-slider {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.testimonial-content::before {
    content: '"';
    font-size: 8rem;
    color: rgba(0, 0, 0, 0.03);
    position: absolute;
    top: -40px;
    left: -20px;
    z-index: 0;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-author h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* 联系方式 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-text h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.contact-text p {
    color: var(--text-color);
    font-size: 1.1rem;
}

.social-media {
    margin-top: 20px;
}

.social-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.social-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.social-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.social-item .social-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.social-account {
    font-size: 1rem;
    color: var(--text-color);
    word-break: break-all;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.email-client {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.email-instruction {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1.1rem;
}

.email-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 30px;
    width: 100%;
    max-width: 300px;
}

.email-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

.email-btn i {
    margin-right: 10px;
    font-size: 1.3rem;
}

.email-divider {
    position: relative;
    width: 100%;
    text-align: center;
    margin: 30px 0;
}

.email-divider::before, 
.email-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--light-color);
}

.email-divider::before {
    left: 0;
}

.email-divider::after {
    right: 0;
}

.email-divider span {
    background: white;
    padding: 0 20px;
    color: var(--text-color);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.web-email-links {
    width: 100%;
}

.web-email-links p {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1.1rem;
}

.web-email-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.web-email-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 1rem;
    font-weight: 500;
}

.web-email-btn:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.web-email-btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.email-note {
    margin-top: 20px;
    font-size: 1rem;
    color: var(--text-color);
    font-style: italic;
}

/* 页脚 */
footer {
    background: linear-gradient(135deg,
        rgba(108, 99, 255, 0.9),
        rgba(255, 101, 132, 0.9),
        rgba(67, 233, 123, 0.9));
    color: white;
    text-align: center;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: headerLight 15s ease-in-out infinite;
}

footer p {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

/* 响应式设计 */
@media (max-width: 992px) {
    section.section {
        padding: 80px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .about-image {
        margin-bottom: 20px;
    }
    
    .about-image img {
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 3rem;
    }
    
    #navbar ul {
        flex-wrap: wrap;
    }
    
    #navbar ul li a {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-dot {
        width: 20px;
        height: 20px;
        left: 0;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .testimonial-slider {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    body::before {
        background-attachment: scroll;
    }
    
    section.section {
        margin: 10px 0;
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    section.section h2 {
        font-size: 2rem;
    }
    
    .skill-category h3,
    .timeline-content h3,
    .hobby-item h3 {
        font-size: 1.3rem;
    }
    
    .contact-item {
        padding: 20px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .web-email-buttons {
        flex-direction: column;
    }
    
    .web-email-btn {
        width: 100%;
    }
}

/* 添加视差滚动效果 */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.parallax-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0);
    will-change: transform;
}

/* 修改卡片背景，增加透明度 */
.about-content,
.skill-category,
.timeline-content,
.hobby-item,
.testimonial-item,
.contact-item,
.contact-form,
.social-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
}

/* 添加视差滚动效果的 JavaScript */
@media (prefers-reduced-motion: no-preference) {
    .parallax-bg {
        transform: translateZ(0);
        will-change: transform;
    }
}

/* 添加动态背景层 */
.background-layers {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

/* 主背景层 - 撞色渐变 */
.bg-layer-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(108, 99, 255, 0.2) 0%,
        rgba(255, 101, 132, 0.2) 50%,
        rgba(67, 233, 123, 0.2) 100%);
    animation: gradientShift 15s ease infinite;
}

/* 动态几何图形层 */
.bg-layer-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(108, 99, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 101, 132, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(67, 233, 123, 0.1) 0%, transparent 50%);
    animation: shapeMove 20s ease-in-out infinite;
}

/* 动态波浪层 */
.bg-layer-3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%236C63FF" fill-opacity="0.1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>'),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23FF6584" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>'),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2343E97B" fill-opacity="0.1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,224C672,245,768,267,864,261.3C960,256,1056,224,1152,218.7C1248,213,1344,235,1392,245.3L1440,256L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    animation: waveMove 20s ease-in-out infinite;
}

/* 动态光斑层 */
.bg-layer-4 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(108, 99, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 101, 132, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(67, 233, 123, 0.15) 0%, transparent 50%);
    animation: lightMove 25s ease-in-out infinite;
}

/* 动态网格层 */
.bg-layer-5 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(108, 99, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 101, 132, 0.1) 1px, transparent 1px),
        linear-gradient(45deg, rgba(67, 233, 123, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
}

/* 动画关键帧 */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shapeMove {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

@keyframes waveMove {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes lightMove {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

@keyframes gridMove {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(50px) rotate(5deg); }
}

/* 添加鼠标跟随效果 */
.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, 
        rgba(108, 99, 255, 0.2) 0%,
        rgba(255, 101, 132, 0.2) 50%,
        rgba(67, 233, 123, 0.2) 100%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: screen;
}

/* 添加悬停效果 */
.hover-effect {
    position: relative;
    overflow: hidden;
}

.hover-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        rgba(108, 99, 255, 0.1),
        rgba(255, 101, 132, 0.1),
        rgba(67, 233, 123, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hover-effect:hover::before {
    opacity: 1;
}

/* 添加header动画 */
@keyframes headerLight {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* 图片展示框样式 */
.image-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.showcase-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    aspect-ratio: 16/9;
}

.showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(108, 99, 255, 0.2),
        rgba(255, 101, 132, 0.2),
        rgba(67, 233, 123, 0.2));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
}

.showcase-item:hover img {
    transform: scale(1.1);
}

.showcase-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
    transform: translateY(20px);
    transition: var(--transition);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.showcase-description {
    color: white;
    font-size: 1rem;
    text-align: center;
    transform: translateY(20px);
    transition: var(--transition);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.showcase-item:hover .showcase-title,
.showcase-item:hover .showcase-description {
    transform: translateY(0);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .image-showcase {
        grid-template-columns: 1fr;
    }
    
    .showcase-item {
        aspect-ratio: 4/3;
    }
} 