/* 恋爱小站.css - 移动端适配版 */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

div {
    border: 1px solid black;
}

/* 主要容器 */
.big_box {
    width: 100%;
    min-height: 100vh;
    background: url(../img/微信图片_20251228181450_14632_34.jpg) no-repeat center center fixed;
    background-size: cover;
    height: auto;
    padding: 0;
}

/* 导航栏 */
.nav {
    background-color: rgba(0,0,0,0.25);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 0;
    flex-wrap: nowrap;
}

.nav_left {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
    flex-shrink: 0;
}

.nav_left a {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.nav_left span {
    color: #ff6b8b;
}

.nav_right {
    width: 60%;
    flex-shrink: 0;
}

.nav1 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 50px;
    gap: 10px;
}

.nav1 li {
    list-style: none;
    white-space: nowrap;
}

.nav1 a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav1 li:hover {
    color: #ff6b8b;
    border-bottom: 2px solid #ff6b8b;
    padding-bottom: 5px;
}

.nav1 a:hover {
    color: #ff6b8b;
}

/* 内容区域 */
.content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 20px;
}

.content-wrapper {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* 底部样式 - 这里修复了weibu样式 */
.weibu {
    background-color: #282828;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    gap: 100px;
    color: white;
}

.weibu a {
    text-decoration: none;
    color: white;
}

/* 响应式调整 - 针对小屏幕设备 */
@media (max-width: 768px) {
    .nav {
        padding: 10px 5px;
    }
    
    .nav_left a {
        font-size: 1.5rem;
    }
    
    .nav1 {
        gap: 5px;
    }
    
    .nav1 a {
        font-size: 0.9rem;
        padding: 0 3px;
    }
    
    .content-wrapper {
        padding: 25px;
        width: 95%;
    }
    
    .content h1 {
        font-size: 2rem;
    }
    
    .content p {
        font-size: 1rem;
    }
    
    /* 小屏幕下的底部样式 */
    .weibu {
        flex-direction: column;
        gap: 20px;
        height: auto;
        padding: 20px 15px;
    }
    
    .bottom_left, .footer-msg {
        width: 100%;
        text-align: center;
    }
}

/* 针对超小屏幕设备 */
@media (max-width: 480px) {
    .nav {
        flex-direction: column;
        padding: 10px;
    }
    
    .nav_left, .nav_right {
        width: 100%;
        justify-content: center;
    }
    
    .nav1 {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        height: auto;
        margin-top: 10px;
    }
    
    .content-wrapper {
        padding: 20px 15px;
    }
    
    .content h1 {
        font-size: 1.8rem;
    }
    
    .content p {
        font-size: 0.95rem;
    }
    
    /* 超小屏幕下的底部样式 */
    .weibu {
        gap: 15px;
        padding: 15px 10px;
    }
    
    .bottom_left, .footer-msg {
        font-size: 0.9rem;
    }
}

/* 横屏模式优化 */
@media (max-height: 500px) and (orientation: landscape) {
    .content {
        min-height: calc(100vh - 60px);
    }
    
    .nav {
        padding: 8px 0;
    }
    
    .nav1 {
        height: 35px;
    }
}

/* 触屏设备优化 */
@media (hover: none) and (pointer: coarse) {
    .nav1 li:hover {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .nav1 a:hover {
        color: white;
    }
    
    .nav1 li:active {
        color: #ff6b8b;
        border-bottom: 2px solid #ff6b8b;
        padding-bottom: 5px;
    }
    
    .nav1 a:active {
        color: #ff6b8b;
    }
}