/* ==========================================================================
   天恩尚品 · 门户首页（入口聚合）
   深色工业底 + 品牌红，一屏看清所有角色入口
   ========================================================================== */

:root {
    --brand:       #E5123A;
    --brand-soft:  rgba(229, 18, 58, .14);
    --brand-line:  rgba(229, 18, 58, .45);
    --ink:         #F2F4F7;
    --ink-2:       #A8B0BB;
    --ink-3:       #6B7480;
    --panel:       rgba(255, 255, 255, .035);
    --panel-2:     rgba(255, 255, 255, .06);
    --line:        rgba(255, 255, 255, .09);
    --bg:          #14171B;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: var(--bg);
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* 背景：网格 + 红色光晕 */
.pt {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background-image:
        radial-gradient(900px 480px at 8% -12%, rgba(229, 18, 58, .22), transparent 62%),
        radial-gradient(760px 420px at 100% 0%, rgba(90, 110, 140, .16), transparent 60%),
        linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
    background-size: auto, auto, 46px 46px, 46px 46px;
    background-position: 0 0, 0 0, -1px -1px;
}

.pt__wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px 64px;
}

/* ---------- 顶栏 ---------- */
.pt__top {
    height: 76px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.pt__logo {
    width: 34px; height: 34px;
    border-radius: 9px;
    background: var(--brand);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 17px; color: #fff;
    box-shadow: 0 6px 18px rgba(229, 18, 58, .38);
}

.pt__brand { font-size: 17px; font-weight: 700; letter-spacing: 1.5px; }
.pt__brandsub { font-size: 12px; color: var(--ink-3); margin-top: 1px; letter-spacing: .5px; }

.pt__topright { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-2); }

.pt__who {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--panel-2); border: 1px solid var(--line);
    padding: 6px 12px; border-radius: 30px;
}

.pt__whorole { color: var(--brand); font-weight: 600; }

/* ---------- Hero ---------- */
.pt__hero { padding: 54px 0 40px; }

.pt__tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; color: #FFD9E1;
    background: var(--brand-soft);
    border: 1px solid var(--brand-line);
    padding: 6px 14px; border-radius: 30px;
    letter-spacing: .5px;
}

.pt__dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
    box-shadow: 0 0 0 4px rgba(229, 18, 58, .2);
}

.pt__title {
    font-size: 46px;
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -.5px;
    margin: 22px 0 0;
}

.pt__title em {
    font-style: normal;
    color: var(--brand);
}

.pt__sub {
    margin-top: 16px;
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--ink-2);
    max-width: 720px;
}

/* 指标条 */
.pt__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin: 38px 0 0;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.pt__stat {
    background: rgba(20, 23, 27, .72);
    padding: 20px 22px;
}

.pt__statnum {
    font-size: 28px; font-weight: 700; letter-spacing: -.5px;
    font-variant-numeric: tabular-nums;
}

.pt__statnum--brand { color: var(--brand); }
.pt__statlabel { font-size: 12.5px; color: var(--ink-3); margin-top: 5px; }

/* ---------- 入口区 ---------- */
.pt__section {
    margin-top: 56px;
}

.pt__sectionhead {
    display: flex; align-items: baseline; gap: 12px;
    margin-bottom: 20px;
}

.pt__sectiontitle { font-size: 19px; font-weight: 700; letter-spacing: .5px; }
.pt__sectiondesc { font-size: 13px; color: var(--ink-3); }

/* 我的入口（已登录时） */
.pt__mine {
    background: linear-gradient(135deg, rgba(229, 18, 58, .16), rgba(229, 18, 58, .03));
    border: 1px solid var(--brand-line);
    border-radius: 14px;
    padding: 18px 22px;
    display: flex; align-items: center; gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.pt__minetext { flex: 1 1 320px; }
.pt__minetitle { font-weight: 700; font-size: 15px; }
.pt__minedesc { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }

/* 入口卡片 */
.pt__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.pt__card {
    position: relative;
    display: block;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px 22px 20px;
    transition: transform .18s ease, border-color .18s, background .18s, box-shadow .18s;
    overflow: hidden;
}

.pt__card::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(220px 120px at 100% 0%, rgba(229, 18, 58, .18), transparent 70%);
    opacity: 0;
    transition: opacity .18s;
    pointer-events: none;
}

.pt__card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-line);
    background: var(--panel-2);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .38);
}

.pt__card:hover::after { opacity: 1; }

.pt__cardico {
    width: 40px; height: 40px; border-radius: 11px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--ink);
    transition: background .18s, border-color .18s, color .18s;
}

.pt__card:hover .pt__cardico {
    background: var(--brand); border-color: var(--brand); color: #fff;
    box-shadow: 0 8px 20px rgba(229, 18, 58, .35);
}

.pt__cardname {
    font-size: 16px; font-weight: 700; margin-top: 16px;
    display: flex; align-items: center; gap: 8px;
}

.pt__cardpath {
    font-size: 11.5px; color: var(--ink-3);
    font-family: ui-monospace, Consolas, monospace;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line);
    padding: 1px 7px; border-radius: 5px;
}

.pt__carddesc {
    font-size: 13px; color: var(--ink-2); line-height: 1.85; margin-top: 9px;
    min-height: 48px;
}

.pt__cardgo {
    margin-top: 16px; font-size: 13px; color: var(--brand);
    display: flex; align-items: center; gap: 6px; font-weight: 600;
}

.pt__cardgo span { transition: transform .18s; }
.pt__card:hover .pt__cardgo span { transform: translateX(3px); }

.pt__minebadge {
    position: absolute; top: 14px; right: 14px;
    font-size: 11px; color: var(--brand);
    background: var(--brand-soft);
    border: 1px solid var(--brand-line);
    padding: 2px 8px; border-radius: 20px;
}

/* ---------- 底部 ---------- */
.pt__foot {
    margin-top: 60px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--ink-3);
    font-size: 12.5px;
    display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap;
}

.pt__foot a { color: var(--ink-2); }
.pt__foot a:hover { color: var(--brand); }

/* ---------- 按钮 ---------- */
.btnx {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    height: 38px; padding: 0 18px; border-radius: 9px;
    font-size: 13.5px; font-weight: 600; cursor: pointer;
    border: 1px solid var(--line); background: var(--panel-2); color: var(--ink);
    transition: all .16s;
}
.btnx:hover { border-color: rgba(255,255,255,.25); }

.btnx--brand {
    background: var(--brand); border-color: var(--brand); color: #fff;
    box-shadow: 0 8px 22px rgba(229, 18, 58, .32);
}
.btnx--brand:hover { background: #C10E31; border-color: #C10E31; }

.btnx--lg { height: 44px; padding: 0 24px; font-size: 14.5px; }

@media (max-width: 980px) {
    .pt__grid { grid-template-columns: repeat(2, 1fr); }
    .pt__stats { grid-template-columns: repeat(2, 1fr); }
    .pt__title { font-size: 34px; }
}
@media (max-width: 620px) {
    .pt__grid { grid-template-columns: 1fr; }
    .pt__stats { grid-template-columns: 1fr; }
    .pt__wrap { padding: 0 18px 48px; }
}
