body, html {
    font-size: 16px;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background: url('https://bleap.fun/assets/background1.jpg') no-repeat top center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    color: white;
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 48px;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1400px;
}

/* Logo样式 */
.navbar a:first-child {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

/* 语言切换器 */
.navbar .flex.items-center {
    height: 28px;
}

.navbar .flex.items-center a {
    font-size: 12px;
}

/* 导航链接 */
.nav-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/* 内容容器 */
.container {
    text-align: center;
    width: 100%;
    /* 关键：Flex 自动拉伸，确保内容撑高页面 */
    flex: 1; 
    /* 顶部内边距避开导航栏 */
    padding-top: 45px; 
    box-sizing: border-box; /* 内边距不影响内容宽度 */
}

/* 原有其他样式 */
.titlepic {
    position: relative;
    width: 100%;
    min-height: 200px;
    object-fit: cover;
    z-index: 2;
    display: block;
    margin: 0;
    margin-bottom: 0;
}

iframe {
    position: relative;
    width: 100%;
    /* 设置固定高度，可根据实际情况调整 */
    height: 500px; 
    margin-bottom: 20px;
    z-index: 2;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    animation: expand 0.6s ease-out forwards;
    z-index: 9999;
}

@keyframes expand {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(10);
        opacity: 0;
    }
}

/* 按钮区域 */
.buttons {
    -webkit-overflow-scrolling: touch;
}

.buttons img {
    border-radius: 1px;
}


.qrcode {
    position: relative;
    width: 150px;
    margin-top: 20px;
    z-index: 3;
}

.group {
    position: relative;
    width: 150px;
    margin-top: 20px;
    z-index: 3;
}

/* 媒体查询，根据不同屏幕宽度调整导航栏字体大小 */
@media (max-width: 1200px) {
    .nav-link {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .nav-link {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .nav-link {
        font-size: 10px;
    }
}

.gif {
    width: 150px;
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    color: #666;
    font-size: 14px;
    /* 关键：宽度 100%，随内容或视口拉伸 */
    width: 100%; 
    box-sizing: border-box;
    /* 重要：不设置固定定位，依靠 Flex 布局自然位于底部 */
}

.footer p {
    display: block;
    margin-bottom: 5px;
}
    