/* 轮播图样式 */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    left: 10%;
    bottom: 20%;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.slide.active .slide-text {
    opacity: 1;
    transform: translateY(0);
}

.slide-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.slide-text p {
    font-size: 1.5rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.prev-btn,
.next-btn {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* 个人简介样式 */
.profile {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.ink-portrait {
    flex: 1;
    text-align: center;
}

.ink-portrait img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
}

.profile-text {
    flex: 2;
}

.cn-text,
.en-text {
    margin-bottom: 2rem;
}

.cn-text h2,
.en-text h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cn-text p,
.en-text p {
    line-height: 1.8;
    color: var(--text-color);
}

/* 数据展示板块样式 */
.data-board {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
    background-color: var(--primary-color);
    border-radius: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.weibo-counter,
.works-chart {
    flex: 1;
    background: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.weibo-counter h3,
.works-chart h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
}
.weibo-counter img{
    width: 100%;
    border-radius: 20px;
}

.counter {
    font-size: 3rem;
    text-align: center;
    color: var(--secondary-color);
    font-weight: bold;
    margin-top: -30px;
}

#worksChart {
    width: 100%;
    height: 300px;
    margin-top: 50px;
}
