/* ============================================
   铁蛋电竞 - 新手指南 专属样式
   布局：左右分栏Hero(含票根优惠券) + 三步大卡 + 彩色游戏网格 + 误区警告条 + CTA横幅
   ============================================ */

/* ===== Hero 左右分栏 ===== */
.guide-hero {
    padding: 70px 0 60px;
    background:
        radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
}

.guide-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
}

.guide-hero-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-bg);
    color: var(--primary-light);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

.guide-hero-left h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.guide-hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 520px;
}

.guide-hero-btns {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.guide-hero-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 13px;
}

/* 右侧礼包票根卡 */
.guide-hero-right {
    display: flex;
    justify-content: center;
}

.gift-card {
    width: 100%;
    max-width: 360px;
    background: linear-gradient(135deg, #1a1333 0%, #2d1b4e 100%);
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.3);
}

.gift-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.gift-card-emoji {
    font-size: 36px;
}

.gift-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.gift-card-sub {
    font-size: 12px;
    color: var(--text-muted);
}

/* 优惠券票根 */
.gift-coupon {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--primary-light);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gift-coupon-pink {
    border-color: #ec4899;
}

.gc-left {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.gc-value {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-light);
}

.gift-coupon-pink .gc-value {
    color: #ec4899;
}

.gc-name {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
}

.gc-right {
    text-align: right;
}

.gc-condition {
    font-size: 12px;
    color: var(--text-secondary);
}

.gc-expire {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* 票根齿孔 */
.gc-notch-top,
.gc-notch-bottom {
    position: absolute;
    left: 50%;
    width: 16px;
    height: 16px;
    background: #0f0a1e;
    border-radius: 50%;
    transform: translateX(-50%);
}

.gc-notch-top { top: -8px; }
.gc-notch-bottom { bottom: -8px; }

/* ===== 通用 section 标题 ===== */
.guide-sec-head {
    text-align: center;
    margin-bottom: 40px;
}

.guide-sec-head h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.guide-sec-head p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ===== 三步入门 ===== */
.guide-steps {
    padding: 60px 0;
    background: rgba(124, 58, 237, 0.04);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
}

.step-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 24px 24px;
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--border);
}

.step-card-highlight {
    border: 2px solid var(--primary);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.12), var(--bg-card) 60%);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.25);
}

.step-num {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 56px;
    font-weight: 900;
    color: rgba(124, 58, 237, 0.15);
    line-height: 1;
    font-style: italic;
}

.step-card-highlight .step-num {
    color: rgba(124, 58, 237, 0.35);
}

.step-icon {
    font-size: 44px;
    margin-bottom: 14px;
}

.step-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-card > p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
}

.step-tips {
    list-style: none;
    padding: 0;
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
}

.step-tips li {
    font-size: 13px;
    color: var(--text-muted);
    padding: 4px 0 4px 18px;
    position: relative;
}

.step-tips li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

.step-hot {
    margin-top: 14px;
    padding: 6px 12px;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    text-align: center;
    display: inline-block;
}

/* ===== 游戏贴士网格 ===== */
.guide-games {
    padding: 60px 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.game-tip-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 20px;
    border-top: 3px solid var(--game-color, var(--primary));
    transition: all 0.3s;
}

.game-tip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.game-tip-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.game-tip-icon {
    font-size: 28px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.game-tip-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.game-tip-price {
    font-size: 12px;
    color: var(--game-color, var(--primary-light));
    font-weight: 600;
    margin-top: 2px;
}

.game-tip-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    min-height: 40px;
}

.game-tip-tag {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-dark);
    padding: 8px 10px;
    border-radius: 6px;
    line-height: 1.5;
    border-left: 3px solid var(--game-color, var(--primary));
}

/* ===== 误区警告条 ===== */
.guide-mistakes {
    padding: 60px 0;
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.05), transparent);
}

.mistakes-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}

.mistake-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--warning);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.mistake-icon {
    font-size: 26px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 10px;
}

.mistake-text {
    flex: 1;
}

.mistake-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.mistake-text p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.mistake-correct {
    flex-shrink: 0;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
}

/* ===== CTA 横幅 ===== */
.guide-cta {
    padding: 40px 0 70px;
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.4);
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cta-emoji {
    font-size: 50px;
}

.cta-left h2 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.cta-left p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.cta-right {
    display: flex;
    gap: 12px;
}

.cta-right .btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-right .btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
}

.cta-right .btn-primary {
    background: #fff;
    color: var(--primary);
}

.cta-right .btn-primary:hover {
    background: #f3f4f6;
}

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
    .games-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .guide-hero-grid {
        grid-template-columns: 1fr;
    }
    .guide-hero-left h1 { font-size: 32px; }
    .mistake-item {
        flex-wrap: wrap;
    }
    .mistake-correct {
        margin-left: 64px;
    }
}

@media (max-width: 768px) {
    .games-grid { grid-template-columns: 1fr; }
    .cta-banner {
        flex-direction: column;
        text-align: center;
    }
    .cta-left {
        flex-direction: column;
    }
    .guide-hero-trust {
        justify-content: center;
    }
    .guide-hero-btns {
        justify-content: center;
    }
}
