/* 组件外层容器（隔离全局，加唯一父类） */
.nav-reward-component {
    width: 1260px;
    max-width: 100%;
    margin: 20px auto;
    padding: 0 0px;
    box-sizing: border-box;
}

/* 左右布局行（PC端横向并排） */
.nav-reward-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* 左侧快捷导航区（PC占25%） */
.nav-quick-block {
    flex: 0 0 28%;
    background: #1e1e1e;
    border-radius: 12px;
    padding: 33px;    
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.nav-quick-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    border-left: 3px solid #6366f1;
    padding-left: 10px;
}

/* 导航网格（APP风大图标） */
.nav-quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.nav-quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    background: #252542;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-quick-item:hover {
    background: #6366f1;
    transform: translateY(-2px);
}

.nav-quick-item i {
    font-size: 24px;
    margin-bottom: 8px;
}

.nav-quick-item span {
    font-size: 12px;
}

/* 右侧互动奖励区（PC占剩余宽度） */
.reward-area-block {
    flex: 1;
    background: #1e1e1e;
    border-radius: 12px;
    padding: 20px;   
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.reward-area-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    border-left: 3px solid #10b981;
    padding-left: 10px;
}

/* 仅修改这部分：互动区从横向轮播改为左幻灯+右竖排Tab */
/* 新布局容器：左幻灯+右竖排Tab */
.reward-new-layout {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

/* 左侧幻灯面板容器 */
.reward-swiper-left {
    flex: 1;
    position: relative;
    height: 223px; /* 保留你精准微调的高度 */
    border-radius: 8px;
    overflow: hidden;
}

/* 幻灯面板（替代原横向卡片） */
.reward-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 94%; /* 保留你精调的数值 */
    background: #252542;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    transition: opacity 0.3s ease;
}

.reward-panel.active {
    display: flex;
    opacity: 1;
}

/* 复用原有卡片内样式，保证风格统一 */
.reward-panel .reward-icon {
    font-size: 48px;
}
.reward-panel h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 6px; /* 保留你微调的数值 */
}
.reward-panel p {
    font-size: 14px;
    color: #b8b8d1;
    margin-bottom: 9px; /* 保留你微调的数值 */
}

/* 右侧竖排Tab导航 */
.reward-tabs-right {
    flex: 0 0 180px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-item {
    padding: 8px 15px;
    background: #252542;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-item.active {
    background: #6366f1;
}

.tab-item:hover {
    background: #3d3d5c;
    transform: translateY(-2px);
}
/* 互动区修改结束 */

/* 手机端媒体查询（<768px 上下叠放） */
@media (max-width: 768px) {
    .nav-reward-row {
        flex-direction: column;
        gap: 15px;
    }
    .nav-quick-block, .reward-area-block {
        flex: none;
        width: 100%;
    }
    .nav-quick-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    /* 适配新布局的手机端样式 */
    .reward-new-layout {
        flex-direction: column;
        gap: 15px;
    }
    .reward-swiper-left {
        height: 220px;
        flex: none;
        width: 100%;
    }
    .reward-tabs-right {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
        flex: none;
        width: 100%;
    }
    .tab-item {
        flex: 0 0 110px;
        padding: 12px 8px;
        font-size: 12px;
    }
    .reward-panel .reward-icon {
        font-size: 36px;
    }
}