/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    padding-top: 80px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 > span {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg,
    var(--gradient-color-1),
    var(--gradient-color-2),
    var(--gradient-color-3));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s linear infinite;
    padding: 0 5px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 添加背光效果 */
.hero-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(50px);
    z-index: -1;
    animation: pulse 3s infinite alternate;
}

svg#me {
    max-width: 600px;
    max-height: 600px;
    transition: var(--transition);
    transform: scaleX(-1);
    filter: drop-shadow(0 0 15px var(--accent-color))
    drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
    z-index: 2;
}

@keyframes pulse {
    0% { opacity: 0.2; transform: scale(0.4); }
    100% { opacity: 0.4; transform: scale(1.05); }
}

.typewriter {
    font-size: 2rem;
    color: var(--accent-color);
    min-height: 80px;
    margin-bottom: 30px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tag {
    padding: 8px 15px;
    border: 1px solid var(--accent-color);
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--accent-color);
    background: transparent;
    transition: var(--transition);
}

.tag:hover {
    background: var(--accent-color);
    color: var(--bg-secondary);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.1);
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

svg#gitee {
    width: 24px;
    height: 24px;
}

#gitee-ico:hover .gitee{
    fill: white;
}

/* 波浪背景 */
.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    height: 100px;
    z-index: 1;
}

/* 波浪动画 */
.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    height: 100px;
    z-index: 1;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%; /* 两倍宽度用于无缝滚动 */
    height: 100%;
    display: flex; /* 使两个SVG并排 */
    animation: wave-animation 10s linear infinite;
    opacity: 0.8;
}

.wave svg {
    position: relative;
    display: block;
    width: 50%; /* 每个SVG占一半宽度 */
    height: 100%;
    flex-shrink: 0;
    transform: rotate(180deg); /* 每个SVG单独翻转 */
}

@keyframes wave-animation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* 移动一半宽度 */
    }
}

.wave-1 {
    height: 100%;
    animation-duration: 15s;
    animation-delay: -2s;
    opacity: 0.5;
}

.wave-2 {
    height: 90%;
    animation-duration: 12s;
    animation-delay: -4s;
    opacity: 0.7;
}

.wave-3 {
    height: 80%;
    animation-duration: 10s;
    opacity: 0.9;
}

.waves .shape-fill {
    fill: var(--wave-color);
    transition: 0.5s;
}