* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: auto;
}

/* 背景容器 */
.bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.bg-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

/* 遮罩层 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* 内容区域 */
.content {
    position: relative;
    z-index: 2;
    width: 100%;
    /*height: 100%;*/
}

/* 幻灯片样式 */
.slider-container {
    width: 900px;
    height: 400px;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.slider {
    width: 300%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 33.333%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 幻灯片控制按钮 */
.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-nav button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 0;
}

.slider-nav button.active {
    background: #fff;
}

/* 确保特别通知的 z-index 足够高 */
.special-notice {
    z-index: 10;
    position: relative;
    margin: 20px auto;
    max-width: 860px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.notice-block {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.notice-left {
    background-color: #007bff;
    color: white;
    padding: 10px;
    text-align: center;
    width: 120px;
    height: 100px;
    font-weight: bold;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.notice-right {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    flex-grow: 1;
}

.notice-text {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    padding: 5px;
    background-color: #f8f9fa;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.notice-text img {
    margin-right: 5px;
}

/* 手机端适配 */
@media screen and (max-width: 480px) {
    .special-notice {
        max-width: 100%;
        padding: 5px;
    }

    .notice-left {
        width: 80px;
        height: auto;
        font-size: 16px;
    }

    .notice-text {
        font-size: 14px;
        padding: 3px;
    }

    .notice-text img {
        width: 16px;
        height: 16px;
    }
}

.nav-xiacontainer {
    width: 860px;
    margin: 15px auto;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
}

.notice-xiatext {
    font-size: 22px;
    background-color: #8A2BE2;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
}

.game-buttons {
    display: flex;
    justify-content: space-around;
    margin: 8px 0;
}

.game-btn {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #f0f0f0;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 10px;
}

.game-btn:hover {
    background-color: #ddd;
}

.game-btn.active {
    background-color: #007bff;
    color: #fff;
}

/* 手机端适配 */
@media screen and (max-width: 480px) {
    .game-btn {
        margin: 0 2px;
    }
} 