body {
    padding-top: 56px; /* Adjust for fixed navbar height */
    font-family: 'Noto Sans SC', sans-serif;
}

.language-selector {
    display: flex;
    align-items: center;
}

.language-selector img {
    width: 20px;
    margin-right: 5px;
}

header {
    min-height: 100vh; /* 默认最小高度 */
    background-size: cover;
    position: relative;
    display: flex; /* 启用 Flexbox */
    align-items: center; /* 让子元素在垂直方向上居中 */
    justify-content: center; /* 让子元素在水平方向上居中（可选） */
    text-align: center; /* 确保文本居中 */
}

/* 适用于无线端（小屏幕，宽度 < 768px） */
@media (max-width: 768px) {
    header {
        min-height: 50vh; /* 移动端高度较小 */
    }
}

/* 新增：为背景图片添加 20% 透明度黑色蒙版 */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

header > * {
    position: relative;
    z-index: 2;
}

#floating-telegram {
    position: absolute;
    top: 100%; /* 让其紧挨着输入框 */
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
    padding: 5px 10px;
    width: max-content;
    min-width: 260px;
    display: flex;
    gap: 20px;
    z-index: 999;
}

.telegram-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #00aaff, #0088cc); /* 颜色更亮 */
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    min-width: 120px;
    text-align: center;
    box-shadow: 0px 3px 8px rgba(0, 170, 255, 0.3); /* 轻微阴影 */
}

.telegram-btn i {
    margin-right: 4px;
    font-size: 16px;
}

.telegram-btn:hover {
    background: linear-gradient(135deg, #0099ee, #0077bb); /* 悬停时更深一点 */
    transform: translateY(-1px);
    box-shadow: 0px 4px 10px rgba(0, 170, 255, 0.5); /* 悬浮时阴影加强 */
}

/* 隐藏滚动条 */
.overflow-auto::-webkit-scrollbar {
    display: none;
}