/* ============================================================
   ZY 2026 · 大咖精讲 · MASTER CONSTELLATION / 2026-11-18
   仅本页：大师星图 + 聚光灯 + 中心播放核 + 紫/金点色
   ============================================================ */

html.zy-site .star-hero {
    --st-violet: #A78BFF;
    --st-blue: #2563EB;
    --st-gold: #FFD166;

    position: relative;
    overflow: hidden;
    background:
        radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1.2px),
        radial-gradient(640px 360px at 12% 0%, rgba(167, 139, 255, .15), transparent 66%),
        radial-gradient(580px 340px at 88% 12%, rgba(255, 209, 102, .12), transparent 68%),
        linear-gradient(180deg, #06070F 0%, #080A16 65%, #04050B 100%);
    background-size: 26px 26px, auto, auto, auto;
    border-top: 1px solid rgba(167, 139, 255, .28);
    border-bottom: 1px solid rgba(255, 209, 102, .16);
}
html.zy-site .star-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(167, 139, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(167, 139, 255, .04) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse at 72% 42%, #000 8%, rgba(0, 0, 0, .40) 52%, transparent 84%);
    mask-image: radial-gradient(ellipse at 72% 42%, #000 8%, rgba(0, 0, 0, .40) 52%, transparent 84%);
    opacity: .8;
}
html.zy-site .star-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, #A78BFF 18%, #2563EB 46%, #FFD166 76%, transparent);
    filter: drop-shadow(0 0 6px rgba(167, 139, 255, .45));
}

/* 顶部聚光灯 */
html.zy-site .star-beam {
    position: absolute;
    top: -1px;
    left: 50%;
    width: 520px;
    height: 440px;
    margin-left: -100px;
    pointer-events: none;
    clip-path: polygon(46% 0, 54% 0, 84% 100%, 16% 100%);
    background: linear-gradient(180deg, rgba(255, 209, 102, .16), rgba(167, 139, 255, .06) 55%, transparent 82%);
    filter: blur(10px);
    opacity: .8;
}

html.zy-site .star-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 48px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 54px 40px 56px;
    box-sizing: border-box;
}

/* ---------- 左侧文案 ---------- */
html.zy-site .star-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 16px;
    font-family: var(--zy-mono);
    font-size: 9.5px;
    letter-spacing: .16em;
    color: var(--st-violet);
}
html.zy-site .star-kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, var(--st-gold), transparent);
}
html.zy-site .star-kicker b {
    color: var(--st-gold);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 209, 102, .40);
}

html.zy-site .star-title {
    margin: 0 0 14px;
    font-size: clamp(48px, 5vw, 68px);
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: 1.02;
    color: #F6F3FF;
}
html.zy-site .star-accent {
    background: linear-gradient(100deg, #A78BFF 0%, #7C5CFF 42%, #FFD166 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 20px rgba(167, 139, 255, .22));
}

html.zy-site .star-sub {
    margin: 0 0 24px;
    max-width: 560px;
    font-size: 15px;
    line-height: 1.85;
    color: #A9A3C2;
}

html.zy-site .star-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 30px;
}
html.zy-site .star-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid rgba(167, 139, 255, .22);
    background: rgba(10, 12, 26, .55);
    color: #DDD6F5;
    font-family: var(--zy-mono);
    font-size: 11px;
    letter-spacing: .04em;
    line-height: 1.4;
}
html.zy-site .star-tag .tagi {
    display: inline-flex;
    align-items: center;
    font-style: normal;
}
html.zy-site .star-tag .tagi svg {
    width: 14px;
    height: 14px;
    flex: none;
    stroke: var(--st-gold);
}
html.zy-site .star-tag::before {
    content: "";
    width: 4px;
    height: 4px;
    flex: none;
    background: var(--st-violet);
    box-shadow: 0 0 7px rgba(167, 139, 255, .7);
}

html.zy-site .star-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
html.zy-site .star-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 46px;
    padding: 0 24px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
html.zy-site .star-btn svg { width: 16px; height: 16px; }
html.zy-site .star-btn--p {
    background: linear-gradient(100deg, #FFD166 0%, #FFB020 100%);
    color: #1A1204;
    box-shadow:
        0 0 26px rgba(255, 209, 102, .22),
        inset 0 -2px 0 rgba(167, 139, 255, .55);
}
html.zy-site .star-btn--p:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 38px rgba(255, 209, 102, .36),
        inset 0 -2px 0 rgba(167, 139, 255, .85);
}
html.zy-site .star-btn--g {
    border-color: rgba(167, 139, 255, .35);
    background: rgba(10, 12, 26, .42);
    color: #E4DEFF;
}
html.zy-site .star-btn--g:hover {
    border-color: rgba(255, 209, 102, .60);
    background: rgba(255, 209, 102, .05);
    transform: translateY(-2px);
}

/* ---------- 右侧大师星图 ---------- */
html.zy-site .star-visual {
    position: relative;
    width: 420px;
    max-width: 100%;
    height: 380px;
    margin-left: auto;
}
html.zy-site .star-map {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}
html.zy-site .star-link {
    fill: none;
    stroke: rgba(167, 139, 255, .28);
    stroke-width: 1;
    stroke-dasharray: 3 8;
    animation: zy-star-flow 18s linear infinite;
}
html.zy-site .star-orbit {
    fill: none;
    stroke: rgba(255, 209, 102, .18);
    stroke-width: 1;
    stroke-dasharray: 2 10;
}
html.zy-site .star-node {
    fill: #C9B8FF;
    filter: drop-shadow(0 0 6px rgba(167, 139, 255, .75));
    animation: zy-star-twinkle 3.4s ease-in-out infinite;
}
html.zy-site .star-node--gold {
    fill: var(--st-gold);
    filter: drop-shadow(0 0 8px rgba(255, 209, 102, .80));
    animation-delay: 1.2s;
}
html.zy-site .star-node:nth-child(3n) { animation-delay: .7s; }
html.zy-site .star-node:nth-child(3n + 1) { animation-delay: 1.8s; }
html.zy-site .star-label {
    fill: rgba(255, 224, 160, .78);
    font-family: var(--zy-mono);
    font-size: 8.5px;
    letter-spacing: .12em;
}
html.zy-site .star-play-ring {
    fill: none;
    stroke: rgba(255, 209, 102, .70);
    stroke-width: 1;
    stroke-dasharray: 2 6;
    transform-box: view-box;
    transform-origin: 260px 200px;
    animation: zy-star-rotate 26s linear infinite;
}
html.zy-site .star-play-fill {
    fill: rgba(255, 209, 102, .09);
    stroke: rgba(255, 209, 102, .50);
    stroke-width: 1;
    filter: drop-shadow(0 0 18px rgba(255, 209, 102, .30));
}
html.zy-site .star-play-tri {
    fill: var(--st-gold);
    filter: drop-shadow(0 0 10px rgba(255, 209, 102, .55));
}
html.zy-site .star-play-text {
    fill: #FFF4D6;
    font-family: var(--zy-mono);
    font-size: 9px;
    letter-spacing: .18em;
    text-anchor: middle;
}

html.zy-site .star-hud {
    position: absolute;
    font-family: var(--zy-mono);
    font-size: 8px;
    letter-spacing: .18em;
    color: rgba(167, 139, 255, .60);
    pointer-events: none;
    white-space: nowrap;
}
html.zy-site .star-hud::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 1px;
    margin-right: 7px;
    vertical-align: middle;
    background: var(--st-violet);
    opacity: .6;
}
html.zy-site .star-hud--tl { left: 0; top: 0; }
html.zy-site .star-hud--tr {
    right: 0;
    top: 0;
    color: rgba(255, 224, 160, .80);
}
html.zy-site .star-hud--tr::before { display: none; }
html.zy-site .star-hud--tr i {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--st-gold);
    box-shadow: 0 0 8px rgba(255, 209, 102, .85);
    animation: zy-star-twinkle 2.2s ease-in-out infinite;
}
html.zy-site .star-hud--bl { left: 0; bottom: 0; }
html.zy-site .star-hud--br { right: 0; bottom: 0; }

@keyframes zy-star-flow {
    to { stroke-dashoffset: -120; }
}
@keyframes zy-star-twinkle {
    0%, 100% { opacity: .35; }
    50% { opacity: 1; }
}
@keyframes zy-star-rotate {
    to { transform: rotate(360deg); }
}

@media (max-width: 1400px) {
    html.zy-site .star-inner {
        grid-template-columns: minmax(0, 1fr) 400px;
        padding-right: 80px;
    }
    html.zy-site .star-visual { width: 400px; }
}

@media (max-width: 1080px) {
    html.zy-site .star-inner {
        grid-template-columns: 1fr;
        gap: 26px;
        padding-right: 40px;
    }
    html.zy-site .star-visual {
        width: 400px;
        margin: 0 auto;
    }
    html.zy-site .star-beam { display: none; }
}

@media (max-width: 900px) {
    html.zy-site .star-inner { padding: 30px 20px 38px; }
    html.zy-site .star-title { font-size: 40px; }
    html.zy-site .star-sub { font-size: 14px; }
    html.zy-site .star-visual { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html.zy-site .star-link,
    html.zy-site .star-node,
    html.zy-site .star-play-ring,
    html.zy-site .star-hud--tr i { animation: none !important; }
}


/* ---------- 科技增强：流星 ---------- */
html.zy-site .star-visual::before,
html.zy-site .star-visual::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 110px;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 209, 102, .85), transparent);
    filter: drop-shadow(0 0 4px rgba(255, 209, 102, .60));
    opacity: 0;
    animation: zy-star-comet 7s linear infinite;
}
html.zy-site .star-visual::before { top: 18%; left: -10%; }
html.zy-site .star-visual::after { top: 64%; right: -10%; animation-delay: 3.5s; }
@keyframes zy-star-comet {
    0% { transform: translate(-40px, 20px) rotate(-24deg); opacity: 0; }
    8% { opacity: 1; }
    45% { opacity: 1; }
    60%, 100% { transform: translate(300px, -110px) rotate(-24deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    html.zy-site .star-visual::before,
    html.zy-site .star-visual::after { animation: none !important; }
}
