/* ============================================================
   home.css —— 首页专属版式（index.php）
   版式参考 index.html（codex 设计稿），视觉令牌全部取自
   variables.css（--brand/--accent/--line/--surface/--shadow 等），
   所有选择器限定在 body.home 作用域内，不污染其他页面。
   依赖：variables.css / base.css / components.css / layout.css
   ============================================================ */

/* ---------------- Hero ---------------- */
.home .hero {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    background: radial-gradient(ellipse at 88% 22%, rgba(255,160,145,.20), transparent 35%),
                radial-gradient(ellipse at 65% 85%, rgba(80,92,190,.09), transparent 45%),
                linear-gradient(120deg, #FFFFFF 0%, #F7F8FF 55%, #F0F2FC 100%)
}
.home .hero-grid {
    display: grid;
    grid-template-columns: 1fr .87fr;
    gap: 28px;
    align-items: center;
    min-height: 590px;
    position: relative
}
.home .hero-copy {
    position: relative;
    z-index: 3;
    padding: 78px 0 85px
}
.home .hero h1 {
    font-size: clamp(46px, 5vw, 76px);
    letter-spacing: -.06em;
    color: var(--brand);
    line-height: 1.19;
    margin: 28px 0;
    font-weight: 850
}
.home .hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #ff735f, #f6a19f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}
.home .hero-desc {
    font-size: 17px;
    line-height: 2.04;
    color: var(--muted);
    max-width: 620px;
    margin: 0 0 30px
}
.home .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}
.home .hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 30px;
    color: var(--muted);
    margin-top: 48px;
    font-size: 12px
}
.home .hero-meta b {
    color: var(--brand)
}

/* Hero 抽象球体（纯 CSS 装饰） */
.home .hero-art {
    height: 535px;
    position: relative;
    isolation: isolate
}
.home .glow {
    position: absolute;
    width: 490px;
    height: 490px;
    right: -32px;
    top: 38px;
    background: radial-gradient(circle, #ececff, transparent 68%);
    filter: blur(15px);
    z-index: -1
}
.home .orb {
    position: absolute;
    border-radius: 50%;
    box-shadow: inset 18px 20px 35px rgba(255,255,255,.5),
                inset -25px -30px 45px rgba(34,30,104,.25),
                0 22px 46px rgba(32,26,91,.13);
    background: radial-gradient(circle at 33% 25%, #fff3e9 1%, #ffad9d 26%, #ff765b 54%, #e2568e 80%, #7f6aa8 100%)
}
.home .orb-a { width: 345px; height: 345px; right: 55px;  top: 90px;  transform: rotate(-18deg) }
.home .orb-b { width: 225px; height: 225px; right: -53px; top: 18px;
    background: radial-gradient(circle at 30% 27%, #fff, #c1c6f1 30%, #777abd 70%, #2b2f7e) }
.home .orb-c { width: 192px; height: 192px; right: 270px; top: 265px;
    background: radial-gradient(circle at 35% 28%, #fff, #c6cbf5 28%, #777cc7 70%, #252969) }
.home .orb-d { width: 135px; height: 135px; right: 175px; top: 3px;
    background: radial-gradient(circle at 27% 20%, #ffe2db, #ffb09e 45%, #f46b70 75%, #7c65ad) }
.home .art-ring {
    position: absolute;
    right: 12px;
    top: 74px;
    width: 456px;
    height: 456px;
    border: 1px solid rgba(90,95,171,.18);
    border-radius: 50%
}
.home .floating-label {
    position: absolute;
    bottom: 45px;
    right: 4px;
    color: var(--brand);
    font: 700 13px/1.6 Arial, sans-serif;
    letter-spacing: .14em
}
.home .floating-label span {
    display: block;
    color: var(--subtle);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: .2em
}

/* ---------------- 关键词条带 ---------------- */
.home .strip {
    border-bottom: 1px solid var(--line)
}
.home .strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}
.home .strip-item {
    padding: 24px;
    border-right: 1px solid var(--line)
}
.home .strip-item:first-child { padding-left: 0 }
.home .strip-item:last-child { border-right: 0; padding-right: 0 }
.home .strip-item strong {
    color: var(--brand);
    display: block;
    font-size: 21px;
    line-height: 1.3
}
.home .strip-item small {
    color: var(--muted);
    font-size: 12px
}

/* ---------------- 通用区块（覆盖公共 .section 的首页节奏） ---------------- */
.home .section { padding: 105px 0 }
.home .section.alt { background: var(--surface) }
.home .section-head h2 {
    font-size: clamp(30px, 3.3vw, 46px);
    letter-spacing: -.04em;
    line-height: 1.32;
    margin: 15px 0
}
.home .section-head p {
    margin: 0;
    max-width: 650px;
    color: var(--muted);
    line-height: 1.9
}
.home .kicker {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase
}
.home .text-link {
    color: var(--brand);
    font-weight: 800;
    font-size: 13px;
    white-space: nowrap
}
.home .text-link:hover { color: var(--accent) }

/* ---------------- 关于大赛 ---------------- */
.home .intro-grid {
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: 55px;
    align-items: center
}
.home .intro-title {
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.3;
    color: var(--brand);
    letter-spacing: -.04em;
    margin: 16px 0 24px
}
.home .intro-text {
    font-size: 16px;
    color: var(--muted);
    line-height: 2.1
}
.home .intro-text strong { color: var(--brand) }
.home .intro-graphic {
    background: linear-gradient(140deg, #21245c, var(--brand-deep));
    height: 355px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px
}
.home .intro-graphic::before,
.home .intro-graphic::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    width: 240px;
    height: 240px;
    right: 0;
    top: -35px;
    background: radial-gradient(circle at 30% 20%, #ffddd9, #f27e75 60%, #6158a7);
    box-shadow: 0 0 30px rgba(102,98,171,.32)
}
.home .intro-graphic::after {
    width: 175px;
    height: 175px;
    right: 175px;
    top: 35px;
    background: radial-gradient(circle at 27% 22%, #fafaff, #afb5f1 45%, #3b3e9a)
}
.home .intro-graphic b {
    position: relative;
    z-index: 2;
    font-size: 30px;
    line-height: 1.5;
    letter-spacing: .02em
}
.home .intro-graphic small {
    position: relative;
    z-index: 2;
    opacity: .7;
    letter-spacing: .12em;
    margin-bottom: 13px
}
.home .value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 34px
}
.home .value {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff
}
.home .value-no {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800
}
.home .value h3 {
    color: var(--brand);
    font-size: 20px;
    margin: 15px 0 8px
}
.home .value p {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
    line-height: 1.9
}

/* ---------------- 四大奖项 ---------------- */
.home .award-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px
}
.home .award-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
    padding: 28px 23px 30px;
    min-height: 270px;
    position: relative;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s
}
.home .award-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: #cbd0ea
}
.home .award-card::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    top: -55px;
    right: -45px;
    border-radius: 50%;
    background: var(--brand-light)
}
.home .award-no {
    color: #a7aacf;
    font: 400 34px Georgia, serif
}
.home .award-card h3 {
    font-size: 21px;
    color: var(--brand);
    margin: 23px 0 10px;
    position: relative
}
.home .award-card p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
    position: relative
}
.home .award-more {
    position: absolute;
    bottom: 23px;
    color: var(--accent);
    font-weight: 900;
    font-size: 19px
}

/* ---------------- 评分构成（分段权重条） ---------------- */
.home .scoring {
    margin-top: 40px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 28px;
    border-radius: 16px
}
.home .scoring-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap
}
.home .scoring h3 {
    font-size: 17px;
    margin: 0;
    color: var(--brand)
}
.home .score-legend {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--muted)
}
.home .score-legend i {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px
}
.home .score-row {
    display: grid;
    grid-template-columns: 135px 1fr;
    align-items: center;
    gap: 18px;
    margin: 21px 0
}
.home .score-row label {
    font-weight: 700;
    font-size: 13px;
    color: var(--brand)
}
.home .score-bar {
    height: 29px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    background: var(--surface)
}
.home .segment {
    font-size: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    min-width: 0
}
.home .expert-seg { background: var(--brand) }
.home .pitch-seg  { background: #6265bc }
.home .test-seg   { background: var(--accent) }
.home .vote-seg   { background: #c0c4d8; color: #20275d }
.home .score-caption {
    color: var(--muted);
    font-size: 12px;
    margin: 13px 0 0;
    line-height: 1.9
}

/* ---------------- 赛事流程时间线 ---------------- */
.home .process {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 42px;
    padding: 0;
    list-style: none
}
.home .process-step {
    border-top: 2px solid #dfe2f0;
    padding-top: 21px;
    position: relative
}
.home .process-step::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 0;
    width: 12px;
    height: 12px;
    background: var(--brand);
    border: 3px solid #fff;
    outline: 1px solid var(--brand);
    border-radius: 50%
}
.home .process-step strong {
    display: block;
    color: var(--brand);
    font-size: 16px
}
.home .process-step h3 {
    margin: 7px 0;
    font-size: 15px
}
.home .process-step p {
    margin: 0;
    font-size: 12px;
    color: var(--muted)
}

/* ---------------- 获奖成果选项卡 + 卡片 ---------------- */
.home .winner-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    border-bottom: 0;
    overflow: visible
}
.home .winner-tabs button {
    background: #fff;
    border: 1px solid #dfe2ee;
    border-radius: 100px;
    padding: 10px 18px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 1px solid #dfe2ee
}
.home .winner-tabs button[aria-selected="true"] {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand)
}
.home .winner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 25px;
    padding: 0
}
.home .winner-grid[hidden] { display: none }
.home .winner-card {
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--line);
    background: #fff;
    min-height: 233px;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s
}
.home .winner-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px)
}
.home .winner-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center
}
.home .award-index {
    font: 34px Georgia, serif;
    color: #dadeec
}
.home .mini-tag {
    background: var(--brand-light);
    color: var(--brand);
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap
}
.home .winner-card h3 {
    font-size: 18px;
    color: var(--brand);
    line-height: 1.5;
    margin: 16px 0 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}
.home .winner-card p {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 20px
}
.home .winner-foot {
    border-top: 1px solid var(--line);
    margin-top: auto;
    padding-top: 13px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--subtle)
}

/* ---------------- 评审阵容 ---------------- */
.home .people-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px
}
.home .person-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden
}
.home .person-photo {
    height: 167px;
    background: linear-gradient(145deg, #e3e5fa, #c2c8e7);
    display: grid;
    place-items: center
}
.home .person-photo span {
    display: grid;
    place-items: center;
    border-radius: 50%;
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,.63);
    color: #747da8;
    font: 600 37px Georgia, serif
}
.home .person-body { padding: 17px }
.home .person-type {
    font-size: 12px;
    letter-spacing: .02em;
    color: #9d5b5d
}
.home .person-body h3 {
    font-size: 19px;
    color: var(--brand);
    margin: 6px 0
}
.home .person-body p {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
    line-height: 1.7
}
.home .taster-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 25px
}
.home .taster-panel {
    padding: 29px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px
}
.home .taster-panel h3 {
    font-size: 21px;
    color: var(--brand);
    margin: 12px 0 17px
}
.home .taster-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px
}
.home .taster {
    display: flex;
    align-items: center;
    gap: 12px
}
.home .taster-circle {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    background: #eeeff9;
    color: var(--brand);
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 700
}
.home .taster strong {
    font-size: 13px;
    display: block
}
.home .taster small {
    font-size: 12px;
    color: var(--muted);
    display: block;
    line-height: 1.6
}
.home .taster-panel p {
    color: var(--muted);
    line-height: 1.9;
    font-size: 13px
}

/* ---------------- 品鉴活动 ---------------- */
.home .event-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 21px
}
.home .event-feature {
    background: linear-gradient(124deg, #222562, var(--brand-dark));
    padding: 39px;
    border-radius: 20px;
    color: #fff;
    min-height: 345px;
    position: relative;
    overflow: hidden
}
.home .event-feature::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    width: 260px;
    height: 260px;
    right: -50px;
    top: -100px;
    background: radial-gradient(circle at 30% 20%, #ffc8b7, #ff826d 62%, #5750a3)
}
.home .event-feature span,
.home .event-feature h3,
.home .event-feature p,
.home .event-feature a {
    position: relative;
    z-index: 2
}
.home .event-feature span {
    font-size: 12px;
    letter-spacing: .13em;
    color: #f7bbb4
}
.home .event-feature h3 {
    font-size: 32px;
    line-height: 1.45;
    margin: 30px 0 12px
}
.home .event-feature p {
    font-size: 14px;
    color: #d9dcf3;
    max-width: 410px
}
.home .event-feature a {
    display: inline-block;
    margin-top: 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 700
}
.home .event-feature a:hover { color: #ffd2c7 }
.home .event-side {
    background: var(--surface);
    padding: 34px;
    border-radius: 20px
}
.home .event-side h3 {
    color: var(--brand);
    font-size: 25px;
    margin: 10px 0 18px
}
.home .event-side p {
    color: var(--muted);
    font-size: 14px
}
.home .event-points {
    display: grid;
    gap: 12px;
    margin-top: 30px
}
.home .event-points span {
    font-size: 13px;
    border-top: 1px solid #e1e4ef;
    padding-top: 12px;
    color: var(--brand);
    font-weight: 700
}

/* ---------------- FAQ ---------------- */
.home .faq-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 65px
}
.home .faq-side h2 {
    font-size: 38px;
    color: var(--brand);
    margin: 13px 0
}
.home .faq-side p { color: var(--muted) }
.home .faq-item {
    border-bottom: 1px solid var(--line)
}
.home .faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--brand)
}
.home .faq-item summary::-webkit-details-marker { display: none }
.home .faq-item summary::after {
    content: "+";
    font-size: 22px;
    font-weight: 400
}
.home .faq-item[open] summary::after { content: "−" }
.home .faq-item p {
    font-size: 14px;
    line-height: 2;
    color: var(--muted);
    margin: 0 0 24px
}

/* ---------------- 合作 CTA 横幅 ---------------- */
.home .site-cta {
    background: linear-gradient(115deg, var(--brand), var(--brand-dark));
    color: #fff;
    position: relative;
    overflow: hidden
}
.home .cta-in {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 65px 0
}
.home .site-cta::after {
    content: "";
    position: absolute;
    right: -100px;
    top: -160px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #ffd4c9, #ff806b 60%, #5350a2)
}
.home .cta-in h2 {
    font-size: 36px;
    margin: 0 0 8px
}
.home .cta-in p {
    margin: 0;
    color: #d5d8f2
}

/* ============================================================
   响应式（首页专属断点）
   ============================================================ */
@media(max-width:1100px) {
    .home .people-grid { grid-template-columns: repeat(3, 1fr) }
    .home .award-grid  { grid-template-columns: repeat(2, 1fr) }
}
@media(max-width:820px) {
    .home .container { width: min(calc(100% - 32px), var(--container)) }
    .home .section { padding: 73px 0 }
    .home .hero-grid { grid-template-columns: 1fr; min-height: auto }
    .home .hero-copy { padding: 80px 0 15px }
    .home .hero-art {
        height: 320px;
        max-width: 500px;
        width: 100%;
        margin: 0 auto
    }
    .home .orb-a { width:250px; height:250px; right:75px;  top:26px }
    .home .orb-b { width:165px; height:165px; right:0;     top:0 }
    .home .orb-c { width:136px; height:136px; right:245px; top:142px }
    .home .orb-d { width:95px;  height:95px;  right:187px; top:0 }
    .home .art-ring { width:300px; height:300px; right:50px; top:10px }
    .home .floating-label { bottom: 12px }
    .home .hero h1 { font-size: clamp(44px, 8vw, 65px) }
    .home .strip-inner { grid-template-columns: repeat(2, 1fr) }
    .home .strip-item:nth-child(2) { border-right: 0 }
    .home .intro-grid,
    .home .faq-grid,
    .home .event-grid,
    .home .taster-section { grid-template-columns: 1fr }
    .home .intro-grid { gap: 28px }
    .home .winner-grid { grid-template-columns: repeat(2, 1fr) }
    .home .process { grid-template-columns: repeat(3, 1fr) }
    .home .cta-in { align-items: flex-start; flex-direction: column }
}
@media(max-width:540px) {
    .home .hero-copy { padding-top: 58px }
    .home .hero h1 { font-size: 42px }
    .home .hero-desc { font-size: 15px }
    .home .hero-meta { margin-top: 30px }
    .home .hero-art { height: 265px }
    .home .orb-a { width:205px; height:205px; right:48px;  top:25px }
    .home .orb-b { width:150px; height:150px; right:-15px }
    .home .orb-c { width:115px; height:115px; right:190px; top:137px }
    .home .art-ring { right:35px; width:250px; height:250px }
    .home .section-head { display: block }
    .home .section-head .text-link { display: inline-block; margin-top: 15px }
    .home .award-grid,
    .home .winner-grid,
    .home .people-grid,
    .home .value-grid,
    .home .taster-list { grid-template-columns: 1fr }
    .home .award-card { min-height: 226px }
    .home .process { grid-template-columns: repeat(2, 1fr) }
    .home .score-row { grid-template-columns: 1fr; gap: 7px }
    .home .scoring { padding: 18px }
    .home .score-legend { gap: 8px }
    .home .person-card {
        display: grid;
        grid-template-columns: 115px 1fr
    }
    .home .person-photo { height: 100%; min-height: 135px }
    .home .person-body { padding: 19px }
    .home .intro-graphic { height: 275px }
    .home .strip-item { padding: 12px 10px }
    .home .strip-item strong { font-size: 18px }
    .home .cta-in h2 { font-size: 29px }
    .home .event-feature,
    .home .event-side { padding: 26px }
    .home .event-feature h3 { font-size: 27px }
    .home .faq-grid { gap: 28px }
}
