/* ============================================
   铁蛋电竞 - 下单流程 order.css
   布局：左竖线时间轴 + 右侧卡片 + 通栏提示框
   与 price.css 完全不同的节奏
   ============================================ */

.container-narrow {
    max-width: 860px;
}

/* ===== 顶部窄横幅（左右分栏，不是居中） ===== */
.order-banner {
    padding: 50px 20px 40px;
    background:
        linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, transparent 60%),
        var(--bg-dark);
    border-bottom: 1px solid var(--border-light);
}

.order-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.order-banner-left {
    flex: 1;
    min-width: 280px;
}

.order-banner-kicker {
    display: inline-block;
    font-size: 12px;
    color: var(--primary-light);
    background: var(--primary-bg);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.order-banner-title {
    font-size: 40px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.2;
}

.order-banner-desc {
    color: var(--text-secondary);
    font-size: 15px;
}

.hl {
    color: var(--primary-light);
    font-weight: 700;
}

.order-banner-right {
    flex-shrink: 0;
}

/* ===== 时间线区块 ===== */
.timeline-section {
    padding: 60px 0;
}

.tl-heading {
    font-size: 30px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.tl-sub {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 14px;
}

/* 时间线核心：左侧竖线 + 圆点，右侧卡片 */
.timeline {
    position: relative;
    padding-left: 80px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.5);
}

.tl-item {
    position: relative;
    margin-bottom: 36px;
}

.tl-spine {
    position: absolute;
    left: -80px;
    top: 0;
    width: 80px;
    display: flex;
    justify-content: center;
}

.tl-dot {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 5px var(--bg-dark), 0 0 0 7px var(--primary), 0 0 20px rgba(124, 58, 237, 0.6);
    z-index: 2;
}

.tl-dot-final {
    background: linear-gradient(135deg, var(--success), #059669);
    box-shadow: 0 0 0 5px var(--bg-dark), 0 0 0 7px var(--success), 0 0 20px rgba(16, 185, 129, 0.6);
}

/* 右侧卡片 */
.tl-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 26px 28px;
    transition: all 0.3s;
}

.tl-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.tl-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.tl-icon {
    font-size: 26px;
}

.tl-card-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
}

.tl-time {
    font-size: 12px;
    color: var(--primary-light);
    background: var(--primary-bg);
    padding: 3px 10px;
    border-radius: 10px;
}

.tl-card-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 14px;
}

.tl-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.tl-tag {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.tl-tip-inline {
    padding: 12px 14px;
    background: rgba(245, 158, 11, 0.08);
    border-left: 3px solid var(--warning);
    border-radius: 4px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.tl-tip-inline strong {
    color: var(--warning);
}

.tl-tip-inline a {
    color: var(--primary-light);
}

/* ===== 小贴士通栏框 ===== */
.tips-section {
    padding: 20px 0 60px;
}

.tips-box {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(124, 58, 237, 0.05));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
}

.tips-box-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.tips-box-icon {
    font-size: 28px;
}

.tips-box-head h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    border-bottom: 1px dashed var(--border-light);
}

.tips-list li:last-child {
    border-bottom: none;
}

.tips-list li::before {
    content: '▸';
    position: absolute;
    left: 4px;
    color: var(--primary-light);
}

.tips-list strong {
    color: var(--text-primary);
}

/* ===== FAQ 手风琴（与price不同：左侧Q编号） ===== */
.faq-section {
    padding: 40px 0 80px;
}

.order-acc {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.oacc-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.oacc-q {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.oacc-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--primary-bg);
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oacc-text {
    flex: 1;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
}

.oacc-plus {
    color: var(--primary-light);
    font-size: 16px;
    transition: transform 0.3s;
}

.oacc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.oacc-body.open {
    max-height: 400px;
}

.oacc-answer {
    display: flex;
    gap: 14px;
    padding: 0 20px 18px;
    padding-left: 70px;
}

.oacc-letter {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.oacc-answer p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .order-banner-inner {
        flex-direction: column;
        text-align: left;
    }
    .order-banner-title {
        font-size: 28px;
    }
    /* 移动端时间线：缩小左侧 */
    .timeline {
        padding-left: 56px;
    }
    .timeline::before {
        left: 19px;
    }
    .tl-spine {
        left: -56px;
        width: 56px;
    }
    .tl-dot {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .tl-card {
        padding: 20px;
    }
    .oacc-answer {
        padding-left: 20px;
    }
}
