/* 游戏页面样式 */
.page-content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

/* 背景图片 */
.game-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.game-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 左上角文字图片 */
.game-title-image {
    position: absolute;
    top: 150px;
    left: 100px;
    z-index: 10;
}

.title-img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* 游戏模式轮播区域 */
.game-carousel-section {
    position: absolute;
    bottom: 90px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-container {
    width: 100%;
    max-width: 1400px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 轮播图片容器 */
.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    position: absolute;
    width: 650px;
    height: 380px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.7;
    z-index: 1;
}

/* 当前活跃的轮播项 */
.carousel-item.active {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
    z-index: 5;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 前一张图片 */
.carousel-item.prev {
    transform: translate(-130%, -50%) scale(0.85);
    opacity: 0.7;
    z-index: 2;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 下一张图片 */
.carousel-item.next {
    transform: translate(30%, -50%) scale(0.85);
    opacity: 0.7;
    z-index: 2;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 模式卡片 */
.mode-card {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.mode-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 212, 255, 0.5);
}

.mode-card:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.mode-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.mode-info {
    display: none;
}

.mode-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #00d4ff;
}

.mode-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* 轮播控制按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(0, 212, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 50px;
}

.carousel-btn-next {
    right: 50px;
}

/* 轮播指示点 */
.carousel-indicators {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.indicator {
    width: 40px;
    height: 6px;
    border: 2px solid #00d4ff;
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #00d4ff;
    transform: scale(1.1);
}

.indicator:hover {
    background: rgba(0, 212, 255, 0.5);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .carousel-item {
        width: 550px;
        height: 340px;
    }

    .carousel-item.active {
        transform: translate(-50%, -50%) scale(1.05);
    }

    .carousel-item.prev {
        transform: translate(-125%, -50%) scale(0.8);
    }

    .carousel-item.next {
        transform: translate(25%, -50%) scale(0.8);
    }

    .carousel-wrapper {
        height: 450px;
    }

    .carousel-btn-prev {
        left: 30px;
    }

    .carousel-btn-next {
        right: 30px;
    }

    .game-title-image {
        left: 60px;
        top: 130px;
    }

    .title-img {
        height: 70px;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        width: 450px;
        height: 280px;
    }

    .carousel-item.active {
        transform: translate(-50%, -50%) scale(1.0);
    }

    .carousel-item.prev {
        transform: translate(-120%, -50%) scale(0.75);
    }

    .carousel-item.next {
        transform: translate(20%, -50%) scale(0.75);
    }

    .carousel-wrapper {
        height: 350px;
    }

    .game-carousel-section {
        bottom: 60px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn-prev {
        left: 20px;
    }

    .carousel-btn-next {
        right: 20px;
    }

    .game-title-image {
        left: 40px;
        top: 110px;
    }

    .title-img {
        height: 60px;
    }

    .mode-title {
        font-size: 16px;
    }

    .mode-description {
        font-size: 12px;
    }

    .indicator {
        width: 30px;
        height: 5px;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        width: 350px;
        height: 220px;
    }

    .carousel-item.active {
        transform: translate(-50%, -50%) scale(0.95);
    }

    .carousel-wrapper {
        height: 280px;
    }

    .game-carousel-section {
        bottom: 40px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
    }

    .carousel-btn-prev {
        left: 10px;
    }

    .carousel-btn-next {
        right: 10px;
    }

    .game-title-image {
        left: 20px;
        top: 90px;
    }

    .title-img {
        height: 50px;
    }

    /* 在小屏幕上减少侧边预览的可见度，突出中间图片 */
    .carousel-item.prev,
    .carousel-item.next {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.7);
    }

    .carousel-item.prev {
        transform: translate(-100%, -50%) scale(0.7);
    }

    .carousel-item.next {
        transform: translate(0%, -50%) scale(0.7);
    }

    .indicator {
        width: 25px;
        height: 4px;
    }
} 