* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}



body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(-45deg, #ffd1dc, #ffb7c5, #ffa0b0, #ff8da1);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #333;
}



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



.container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 20px;
}



.sidebar {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}



.profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}



.name {
    font-size: 28px;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2c3e50;
}



.contact-info {
    width: 100%;
    margin-top: 10px;
}



.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}



.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}



.contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    color: #f06292;
}



.time-weather-section {
    width: 100%;
    margin-top: 20px;
}



.time-weather-card {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}



.time-weather-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}



.time-display {
    margin-bottom: 15px;
}



.date {
    font-size: 18px;
    margin-bottom: 5px;
    color: #2c3e50;
}



.week {
    font-size: 16px;
    color: #f06292;
    margin-bottom: 10px;
}



.time {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #2c3e50;
}



.weather-info {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 15px;
}



.weather-icon {
    font-size: 40px;
    color: #ff9e80;
}



.weather-temp {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
}



.weather-desc {
    font-size: 14px;
    color: #f06292;
}



.social-section {
    width: 100%;
    margin-top: 20px;
}



.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}



.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #333;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}



.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.4);
}



.social-btn i {
    font-size: 20px;
    margin-bottom: 5px;
}



.bilibili-btn { color: #fb7299; }
.gitee-btn { color: #c71d23; }
.wechat-btn { color: #07c160; }
.qq-btn { color: #12b7f5; }



.social-btn:hover.bilibili-btn { background: rgba(251, 114, 153, 0.1); }
.social-btn:hover.gitee-btn { background: rgba(199, 29, 35, 0.1); }
.social-btn:hover.wechat-btn { background: rgba(7, 193, 96, 0.1); }
.social-btn:hover.qq-btn { background: rgba(18, 183, 245, 0.1); }



.main-content {
    flex: 4;
    min-width: 600px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}



.section {
    margin-bottom: 30px;
}



.section-title {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f06292;
    font-weight: 600;
    display: flex;
    align-items: center;
}



.section-title i {
    margin-right: 10px;
    color: #f06292;
}



.timeline-item {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}



.timeline-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}



.timeline-period {
    color: #f06292;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 15px;
}



.timeline-title {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 8px;
}



.project-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}



.project-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}



.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}



.project-title {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
}



.project-description {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}



.skills-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}



.skill-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}



.skill-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}



.skill-title {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
}



.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}



.modal-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 30px;
    max-width: 320px;
    width: 90%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: modalFadeIn 0.4s ease;
}



@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}



.modal-title {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}



.qrcode {
    width: 220px;
    height: 220px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
    flex-direction: column;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}



.modal-close {
    background: rgba(240, 98, 146, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(240, 98, 146, 0.3);
}



.modal-close:hover {
    background: rgba(240, 98, 146, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(240, 98, 146, 0.4);
}



@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar, .main-content {
        min-width: 100%;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-list {
        flex-direction: column;
    }
}