* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 主要容器 - 添加 flex 布局 */
.big_box {
    width: 100%;
    min-height: 100vh;
    display: flex;           /* 新增 */
    flex-direction: column;  /* 新增 */
}

.box1 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 150px); /* 修改：减去底部高度 */
    height: auto;
    background: url(../img/2b258.jpg) no-repeat center center fixed;
    background-size: cover;
    padding: 20px;
    flex: 1; /* 新增：占据剩余空间 */
}

/* 欢迎卡片 */
.box11 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    min-height: 400px;
    height: auto;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 25px;
    gap: 20px;
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.box11 h1 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

.box11 p {
    color: #f0f0f0;
    font-weight: 500;
    font-size: 1.3rem;
    transition: color 0.3s;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.box11 a {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
    transition: all 0.3s;
    padding: 12px 30px;
    border-radius: 50px;
    background-color: rgba(255, 107, 139, 0.7);
    box-shadow: 0 4px 15px rgba(255, 107, 139, 0.3);
    display: inline-block;
    margin-top: 10px;
}

.box11 a:hover {
    color: #fff;
    background-color: rgba(255, 107, 139, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 139, 0.4);
    border-bottom: none;
    padding-bottom: 12px;
}

/* 底部样式 - 确保显示 */
.weibu {
    background-color: #282828;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    gap: 100px;
    color: white;
    width: 100%; /* 新增 */
}

.weibu a {
    text-decoration: none;
    color: white;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .weibu {
        flex-direction: column;
        gap: 20px;
        height: auto;
        padding: 20px 15px;
    }
    
    .bottom_left, .footer-msg {
        width: 100%;
        text-align: center;
    }
}

/* 针对超小屏幕设备 */
@media (max-width: 480px) {
    .box1 {
        min-height: calc(100vh - 130px); /* 调整 */
        padding: 15px;
    }
    
    .box11 {
        min-height: 350px;
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .box11 h1 {
        font-size: 1.8rem;
    }
    
    .box11 p {
        font-size: 1.2rem;
    }
    
    .box11 a {
        font-size: 1.6rem;
        padding: 10px 25px;
    }
    
    .weibu {
        gap: 15px;
        padding: 15px 10px;
        height: auto;
    }
    
    .bottom_left, .footer-msg {
        font-size: 0.9rem;
    }
}

/* 其他原有的媒体查询保持不变... */

/* 平板适配 */
@media (min-width: 768px) {
    .box1 {
        height: calc(100vh - 150px); /* 修改 */
    }
    
    .box11 {
        width: 80%;
        max-width: 600px;
        min-height: 500px;
        padding: 60px 40px;
    }
    
    .box11 h1 {
        font-size: 2.5rem;
    }
    
    .box11 p {
        font-size: 1.5rem;
    }
    
    .box11 a {
        font-size: 2rem;
        padding: 15px 40px;
    }
}

/* 桌面适配 */
@media (min-width: 1024px) {
    .box11 {
        width: 500px;
        height: 500px;
        max-width: 500px;
        min-height: 500px;
        padding: 50px;
    }
    
    .box11 h1 {
        font-size: 2.8rem;
    }
    
    .box11 p {
        font-size: 1.6rem;
    }
    
    .box11 a {
        font-size: 2.2rem;
    }
}

/* 超大屏幕适配 */
@media (min-width: 1400px) {
    .box11 {
        width: 600px;
        height: 600px;
        max-width: 600px;
        min-height: 600px;
    }
    
    .box11 h1 {
        font-size: 3.2rem;
    }
    
    .box11 p {
        font-size: 1.8rem;
    }
    
    .box11 a {
        font-size: 2.5rem;
    }
}

/* 触屏优化 */
@media (hover: none) and (pointer: coarse) {
    .box11 a:active {
        transform: scale(0.98);
        box-shadow: 0 3px 10px rgba(255, 107, 139, 0.3);
    }
}

/* 防止背景图片在移动端拉伸问题 */
@media (max-height: 600px) and (orientation: landscape) {
    .box1 {
        min-height: calc(100vh - 130px);
        height: auto;
        padding: 40px 20px;
    }
}