/* ===========================================
   麦兜账号商城 · 选号图鉴页样式
   catalog.css — 引用 style.css 后叠加
   =========================================== */

/* catalog 页面主卡加宽 */
.cat-page { max-width: 720px; }
.cat-card { padding: 28px 22px 26px; margin-top: 0; }

/* ----- 顶部返回导航 ----- */
.cat-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px 14px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    padding: 7px 14px 7px 10px;
    backdrop-filter: blur(4px);
    transition: background 0.18s ease;
}

.back-btn svg { width: 17px; height: 17px; }

.back-btn:hover {
    background: rgba(255, 255, 255, 0.34);
    outline: none;
}

.cat-nav-title {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* ----- 页面头部 ----- */
.cat-hero {
    text-align: center;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--c-border);
    margin-bottom: 24px;
}

.cat-avatar {
    display: inline-block;
    margin-bottom: 14px;
}

.cat-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 3px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(255, 107, 53, 0.26);
    display: block;
}

.cat-hero h1 {
    font-size: 28px;
    font-weight: 800;
    color: #2b2b2b;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.cat-sub {
    font-size: 15px;
    color: #666;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.cat-tip {
    display: inline-block;
    font-size: 13px;
    color: var(--c-accent-dark);
    background: var(--c-tip);
    border: 1px solid var(--c-border);
    border-radius: 999px;
    padding: 6px 16px;
}

/* ----- 购买流程 ----- */
.steps-wrap { margin-bottom: 28px; }

.steps {
    list-style: none;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    row-gap: 12px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 7px;
    width: 82px;
}

.step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--c-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 26px;
    text-align: center;
    flex-shrink: 0;
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--c-tip);
    border: 1px solid var(--c-border);
    display: grid;
    place-items: center;
    color: var(--c-accent);
}

.step-icon svg { width: 24px; height: 24px; }

.step-label {
    font-size: 14px;
    font-weight: 700;
    color: #2b2b2b;
}

.step-desc {
    font-size: 11.5px;
    color: var(--c-muted);
    line-height: 1.5;
}

.step-arrow {
    font-size: 28px;
    color: var(--c-border);
    margin-top: 28px;
    padding: 0 4px;
    line-height: 1;
}

/* ----- 游戏区块 ----- */
.game-section {
    margin-bottom: 32px;
}

.game-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    margin-bottom: 16px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.game-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><circle cx='30' cy='30' r='28' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='1'/><circle cx='30' cy='30' r='18' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'/></svg>") right -10px center / 80px no-repeat;
    pointer-events: none;
}

.pubg-banner   { background: linear-gradient(135deg, #f59f00 0%, #e8590c 100%); }
.delta-banner  { background: linear-gradient(135deg, #12b886 0%, #087f5b 100%); }
.naraka-banner { background: linear-gradient(135deg, #e03131 0%, #a61e4d 100%); }
.unlock-banner { background: linear-gradient(135deg, #4dabf7 0%, #1971c2 100%); }

.game-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    display: grid;
    place-items: center;
}

.game-icon svg { width: 26px; height: 26px; }

/* 游戏海报图标：铺满圆角方块 */
.game-icon { overflow: hidden; }
.game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.game-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.game-sub {
    font-size: 12px;
    opacity: 0.9;
}

.game-badge {
    position: absolute;
    right: 14px;
    top: 12px;
    font-size: 11px;
    font-weight: 800;
    background: rgba(255,255,255,0.28);
    border-radius: 999px;
    padding: 3px 10px;
    letter-spacing: 1px;
}

/* ----- 账号卡片网格 ----- */
.acc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.acc-grid-1 { grid-template-columns: 1fr; }

/* ----- 账号卡片 ----- */
.acc-card {
    background: #fff;
    border: 1.5px solid var(--c-border);
    border-radius: 18px;
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.acc-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* 账号类型标签 */
.acc-type-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-radius: 999px;
    padding: 3px 11px;
    margin-bottom: 7px;
    background: #fff5ec;
    color: var(--c-accent-dark);
    border: 1px solid #ffd8b5;
}

.acc-tag-purple { background: #f3f0ff; color: #6741d9; border-color: #c5b4fd; }
.acc-tag-teal   { background: #e6fcf5; color: #087f5b; border-color: #8ce99a; }
.acc-tag-red    { background: #fff5f5; color: #c0392b; border-color: #ffa8a8; }
.acc-tag-blue   { background: #e7f5ff; color: #1971c2; border-color: #74c0fc; }

.acc-name {
    font-size: 17px;
    font-weight: 800;
    color: #2b2b2b;
    margin-bottom: 5px;
    line-height: 1.3;
}

.acc-pitch {
    font-size: 13px;
    color: var(--c-muted);
    line-height: 1.5;
}

/* 特点列表 */
.acc-feats {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.acc-feats li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    color: #3a3a3a;
    line-height: 1.45;
}

.acc-feats svg {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    color: #2f9e44;
}

/* 数值指标条 */
.acc-stats {
    display: flex;
    flex-direction: column;
    gap: 9px;
    background: var(--c-tip);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 13px 14px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 9px;
}

.stat-label {
    flex: 0 0 64px;
    font-size: 11.5px;
    color: var(--c-muted);
    font-weight: 600;
    white-space: nowrap;
}

.stat-bar {
    flex: 1;
    height: 8px;
    background: #ede8e2;
    border-radius: 999px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--c-accent), var(--c-accent-dark));
    transition: width 0.6s ease;
}

.stat-none { background: #e0dada; }

.stat-val {
    flex: 0 0 36px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--c-accent-dark);
    text-align: right;
}

/* 账号专属指标色 */
.acc-rank .stat-fill  { background: linear-gradient(90deg, #f59f00, #e8590c); }
.acc-forever .stat-fill { background: linear-gradient(90deg, #9775fa, #6741d9); }
.acc-delta .stat-fill   { background: linear-gradient(90deg, #20c997, #087f5b); }
.acc-naraka .stat-fill  { background: linear-gradient(90deg, #ff6b6b, #c0392b); }
.acc-unlock .stat-fill  { background: linear-gradient(90deg, #4dabf7, #1971c2); }

/* 购买按钮 */
.acc-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fff;
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    will-change: transform;
    text-align: center;
}

.acc-buy-btn svg { width: 18px; height: 18px; }

.acc-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255, 107, 53, 0.4);
}

.acc-buy-btn:active { transform: translateY(0); filter: brightness(0.96); }

.acc-buy-purple { background: linear-gradient(135deg, #9775fa, #6741d9); box-shadow: 0 4px 14px rgba(103,65,217,0.3); }
.acc-buy-purple:hover { box-shadow: 0 8px 22px rgba(103,65,217,0.4); }

.acc-buy-teal { background: linear-gradient(135deg, #20c997, #087f5b); box-shadow: 0 4px 14px rgba(8,127,91,0.3); }
.acc-buy-teal:hover { box-shadow: 0 8px 22px rgba(8,127,91,0.4); }

.acc-buy-red { background: linear-gradient(135deg, #ff6b6b, #c0392b); box-shadow: 0 4px 14px rgba(192,57,43,0.3); }
.acc-buy-red:hover { box-shadow: 0 8px 22px rgba(192,57,43,0.4); }

.acc-buy-blue { background: linear-gradient(135deg, #4dabf7, #1971c2); box-shadow: 0 4px 14px rgba(25,113,194,0.3); }
.acc-buy-blue:hover { box-shadow: 0 8px 22px rgba(25,113,194,0.4); }

/* ===========================================
   响应式
   =========================================== */
@media (min-width: 600px) {
    .cat-card { padding: 32px 28px 28px; }

    /* PUBG 三张卡并排（可折两列） */
    .acc-grid { grid-template-columns: repeat(2, 1fr); }

    .steps { flex-wrap: nowrap; gap: 2px; }
    .step { width: 90px; }
    .step-arrow { margin-top: 40px; }
}

@media (min-width: 840px) {
    .acc-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 360px) {
    .cat-card { padding: 20px 14px 20px; }
    .cat-hero h1 { font-size: 23px; }
    .acc-name { font-size: 15px; }
    .stat-label { flex: 0 0 54px; }
}

/* ----- 科技产品专属色 ----- */
.acc-pubg-tech  { border-left-color: #f43f5e; }
.acc-delta-tech { border-left-color: #7c3aed; }
.acc-pubg-tech  .stat-fill { background: linear-gradient(90deg, #f43f5e, #be123c); }
.acc-delta-tech .stat-fill { background: linear-gradient(90deg, #7c3aed, #5b21b6); }

.acc-tag-rose   { background: #fff1f2; color: #be123c; border-color: #fecdd3; }
.acc-tag-violet { background: #f5f3ff; color: #5b21b6; border-color: #ddd6fe; }

.acc-buy-rose {
    background: linear-gradient(135deg, #f43f5e, #be123c);
    box-shadow: 0 4px 14px rgba(244,63,94,.3);
}
.acc-buy-rose:hover { box-shadow: 0 8px 22px rgba(244,63,94,.4); }

.acc-buy-violet {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    box-shadow: 0 4px 14px rgba(124,58,237,.3);
}
.acc-buy-violet:hover { box-shadow: 0 8px 22px rgba(124,58,237,.4); }

/* ----- 联系方式（图鉴页 hero） ----- */
.cat-contact {
    margin-top: 8px;
    font-size: 13px;
    color: var(--c-muted);
}
.cat-contact b { color: var(--c-accent-dark); font-weight: 800; }

/* 减弱动画 */
@media (prefers-reduced-motion: reduce) {
    .acc-card, .acc-buy-btn, .back-btn { transition: none; }
    .acc-card:hover, .acc-buy-btn:hover { transform: none; }
    .stat-fill { transition: none; }
}
