/* 额外美化样式 */

/* 标签云查看更多按钮样式 */
.view-more-tags {
    background: #fbf6fa;
    color: var(--theme-primary);
    transition: all 0.3s;
}

body.night-mode .view-more-tags {
    background: rgba(26, 26, 46, 0.1);
    color: #e0e0e0;
}

.view-more-tags:hover {
    background: rgba(var(--theme-primary-rgb, 255, 107, 147), 0.2);
}

body.night-mode .view-more-tags:hover {
    background: rgba(var(--theme-primary-rgb, 255, 107, 147), 0.3);
}

/* 首页横幅标题和副标题 */
.hero-banner {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

/* 修复横幅副标题打字效果导致的布局偏移 */
.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    /* 确保有足够的高度容纳标题和副标题 */
    bottom: 80px;
    /* 调整标题和副标题的位置 */
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 2.25rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-container {
    position: relative;
    height: 3.5rem;
    /* 固定高度避免布局偏移 */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 2rem;
}

#typing-subtitle {
    font-size: 2.25rem;
    color: var(--text-color);
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    min-height: 2.7rem;
    /* 确保最小高度 */
    display: inline-block;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle-container {
        height: 2.5rem;
    }

    #typing-subtitle {
        font-size: 1.5rem;
        min-height: 1.8rem;
    }
}



/* 下滑探索图标样式 - 修改后：只显示图标，无背景 */
.scroll-down-indicator {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
    /* 移除背景和边框样式 */
    background: none;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    width: auto;
    height: auto;
    border-radius: 0;
}

.scroll-down-indicator:hover {
    color: #fff;
    /* 移除悬停时的背景 */
    background: none;
    transform: translateX(-50%) scale(1.1);
}

/* 添加文字阴影提高可读性 */
.article-title,
.article-excerpt,
.widget-title,
.category-name,
.shuoshuo-content p,
.profile-info h2,
.profile-content p,
.profile-content h3,
.favorite-list li {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

body.night-mode .article-title,
body.night-mode .article-excerpt,
body.night-mode .widget-title,
body.night-mode .category-name,
body.night-mode .shuoshuo-content p,
body.night-mode .profile-info h2,
body.night-mode .profile-content p,
body.night-mode .profile-content h3,
body.night-mode .favorite-list li {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}