.page-home {
    background: var(--color-bg);
    color: var(--color-white);
    overflow-x: hidden;
}

/* ========== Hero 分屏首屏 ========== */
.page-home .home-hero {
    position: relative;
    padding: 44px 0 72px;
    background:
        radial-gradient(circle at 82% 20%, rgba(0, 212, 255, 0.14), transparent 36%),
        radial-gradient(circle at 10% 85%, rgba(255, 106, 0, 0.1), transparent 34%),
        linear-gradient(130deg, #0A1F44 0%, #060F29 62%, #1A3A6E 120%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
    overflow: hidden;
}

.page-home .home-hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 44px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.page-home .home-hero__content {
    min-width: 0;
}

.page-home .home-hero__crumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    padding: 7px 14px;
    background: rgba(0, 212, 255, 0.08);
    border-left: 3px solid var(--color-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-electric);
}

.page-home .home-hero h1 {
    margin: 0 0 18px;
    font-family: var(--font-headline);
    font-size: clamp(36px, 7vw, 64px);
    line-height: 1.05;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #ffffff;
}

@supports (background-clip: text) {
    .page-home .home-hero h1 {
        background: linear-gradient(105deg, #ffffff 20%, #e6effc 40%, #00d4ff 72%, #ff6a00 105%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

.page-home .home-hero__lead {
    margin: 0 0 32px;
    max-width: 56ch;
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-text-sub);
}

.page-home .home-hero__stepwrap {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 28px;
    padding: 20px 18px;
    background: rgba(10, 31, 68, 0.72);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.page-home .home-hero__stepwrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(0, 212, 255, 0.12), transparent 34%, rgba(255, 106, 0, 0.1));
    pointer-events: none;
}

.page-home .home-hero__step {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.page-home .home-hero__step-num {
    font-family: var(--font-headline);
    font-size: 30px;
    line-height: 1;
    color: var(--color-accent);
}

.page-home .home-hero__step p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #ffffff;
}

.page-home .home-hero__step p strong {
    display: block;
    font-weight: 700;
}

.page-home .home-hero__step p small {
    display: block;
    margin-top: 3px;
    color: var(--color-text-sub);
    font-size: 13px;
}

.page-home .home-hero__step-line {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-electric));
}

.page-home .home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.page-home .home-hero__jump {
    color: var(--color-electric);
    border-bottom: 2px solid rgba(0, 212, 255, 0.35);
    padding-bottom: 2px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.page-home .home-hero__visual {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.1), transparent 65%);
}

.page-home .home-hero__pitch {
    width: 100%;
    max-width: 560px;
    height: auto;
    display: block;
}

.page-home .home-hero__float {
    position: absolute;
    padding: 8px 16px;
    background: rgba(10, 31, 68, 0.82);
    border: 1px solid var(--color-border);
    font-family: var(--font-headline);
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--color-white);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.page-home .home-hero__float--a {
    top: 14%;
    right: 4%;
    color: var(--color-electric);
    transform: rotate(4deg);
}

.page-home .home-hero__float--b {
    bottom: 12%;
    left: 2%;
    color: var(--color-accent);
    transform: rotate(-5deg);
}

.page-home .home-pitch-core {
    animation: homePitchPulse 2.2s ease-in-out infinite;
}

.page-home .home-pitch-path {
    stroke-dashoffset: 0;
    animation: homeDashFlow 1.3s linear infinite;
}

.page-home .home-speedline {
    stroke-dasharray: 10 26;
    animation: homeSpeedFlow 1.5s linear infinite;
}

@keyframes homePitchPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes homeDashFlow {
    to { stroke-dashoffset: -40; }
}

@keyframes homeSpeedFlow {
    to { stroke-dashoffset: -72; }
}

/* ========== 核心数据板 ========== */
.page-home .home-databoard {
    padding: 64px 0 24px;
}

.page-home .home-databoard__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.page-home .home-databoard__grid .bento-card {
    position: relative;
    padding: 24px;
    background: linear-gradient(150deg, rgba(26, 58, 110, 0.45), rgba(10, 31, 68, 0.92));
    border: 1px solid var(--color-border);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    transition: transform var(--ease-fast), border-color var(--ease-fast), background var(--ease-fast);
}

.page-home .home-databoard__grid .bento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.55);
    background: linear-gradient(150deg, rgba(26, 58, 110, 0.58), rgba(10, 31, 68, 0.96));
}

.page-home .home-databoard__grid .bento-card--large,
.page-home .home-databoard__grid .bento-card--wide {
    grid-column: span 1;
    grid-row: span 1;
}

.page-home .bento-card__title {
    margin: 0 0 12px;
    font-family: var(--font-headline);
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.page-home .bento-card__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-sub);
}

.page-home .home-databoard__grid .home-focus-card,
.page-home .home-databoard__grid .home-basket {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.page-home .home-focus-card__media {
    position: relative;
    flex: 1;
    min-height: 210px;
}

.page-home .home-focus-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-home .home-focus-card__body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.page-home .home-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-warning);
    color: var(--color-bg);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.page-home .home-textlink {
    margin-top: auto;
    color: var(--color-electric);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(0, 212, 255, 0.35);
    padding-bottom: 2px;
}

.page-home .home-scorers__list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.page-home .home-scorers__list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.page-home .home-scorers__list span {
    font-size: 14px;
    color: var(--color-text-sub);
}

.page-home .home-scorers__list strong {
    font-family: var(--font-headline);
    font-size: 20px;
    color: var(--color-accent);
}

.page-home .home-calendar__total {
    margin: 4px 0 16px;
    font-size: 15px;
    line-height: 1.5;
}

.page-home .home-calendar__total strong {
    color: var(--color-accent);
    font-weight: 700;
}

.page-home .home-calendar__week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 16px;
}

.page-home .home-calendar__week span {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: var(--color-white);
}

.page-home .home-calendar__week i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--color-electric);
}

.page-home .home-calendar__week span:first-child i {
    background: var(--color-accent);
}

.page-home .home-calendar__week span:nth-child(6),
.page-home .home-calendar__week span:nth-child(7) {
    border-color: rgba(0, 212, 255, 0.3);
}

.page-home .home-twostep__path {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin: 0 0 16px;
}

.page-home .home-twostep__dot {
    flex: 1;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    color: var(--color-electric);
    font-family: var(--font-headline);
    font-size: 16px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.page-home .home-twostep__dot:last-child {
    background: rgba(255, 106, 0, 0.12);
    color: var(--color-accent);
}

.page-home .home-twostep__path i {
    width: 16px;
    align-self: center;
    height: 2px;
    background: linear-gradient(90deg, var(--color-electric), var(--color-accent));
}

.page-home .home-refresh__live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 209, 102, 0.35);
    color: var(--color-warning);
    font-size: 12px;
    font-weight: 700;
}

.page-home .home-refresh__live::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-warning);
    animation: homePitchPulse 1.8s ease-in-out infinite;
}

.page-home .home-databoard__grid .home-basket {
    min-height: 240px;
    position: relative;
}

.page-home .home-basket img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-home .home-basket__overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 48px 20px 18px;
    background: linear-gradient(180deg, transparent, rgba(6, 15, 41, 0.94));
}

.page-home .home-basket__overlay .bento-card__title {
    margin-bottom: 4px;
    font-size: 20px;
}

.page-home .home-basket__overlay .bento-card__desc {
    font-size: 13px;
}

.page-home .home-trend {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: center;
}

.page-home .home-trend__chart img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    background: rgba(6, 15, 41, 0.4);
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.page-home .home-trend__stats {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.page-home .home-trend__stats li {
    padding: 10px 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.page-home .home-trend__stats strong {
    display: block;
    font-family: var(--font-headline);
    font-size: 18px;
    color: var(--color-accent);
}

.page-home .home-trend__stats span {
    font-size: 11px;
    color: var(--color-text-sub);
}

.page-home .home-tech {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.08), rgba(10, 31, 68, 0.92));
}

.page-home .home-tech__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.12);
    color: var(--color-electric);
    font-size: 22px;
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.page-home .home-tech__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.page-home .home-tech__tags span {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: var(--color-text-sub);
}

/* ========== 球迷入口切切换 ========== */
.page-home .home-fans {
    padding: 56px 0 64px;
    background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.05) 50%, transparent);
}

.page-home .home-fans__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    margin-top: 36px;
}

.page-home .home-fans__visual .img-frame {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.page-home .home-fans__visual .img-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-home .home-fans__panel .filter-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.page-home .filter-btn {
    padding: 9px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-border);
    color: var(--color-text-sub);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    transition: background var(--ease-fast), color var(--ease-fast), border-color var(--ease-fast);
}

.page-home .filter-btn:hover,
.page-home .filter-btn.is-active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
}

.page-home .home-fans__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.page-home .home-fan-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    color: var(--color-white);
    text-decoration: none;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
    transition: transform var(--ease-fast), border-color var(--ease-fast), background var(--ease-fast);
}

.page-home .home-fan-item:hover {
    transform: translateX(6px);
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.08);
}

.page-home .home-fan-item[hidden] {
    display: none;
}

.page-home .home-fan-item__league {
    min-width: 52px;
    font-family: var(--font-headline);
    font-size: 18px;
    text-transform: uppercase;
    color: var(--color-accent);
}

.page-home .home-fan-item__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    line-height: 1.45;
}

.page-home .home-fan-item__info small {
    color: var(--color-text-sub);
    font-size: 13px;
}

.page-home .home-fan-item__arrow {
    margin-left: auto;
    color: var(--color-electric);
    font-size: 20px;
    font-weight: 700;
}

/* ========== 持续更新的内容流 ========== */
.page-home .home-stream {
    padding: 56px 0 72px;
}

.page-home .home-stream__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 310px;
    gap: 16px;
    margin-top: 36px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
}

.page-home .home-stream-card {
    scroll-snap-align: start;
    padding: 26px 24px;
    background: linear-gradient(145deg, rgba(26, 58, 110, 0.45), rgba(6, 15, 41, 0.9));
    border: 1px solid var(--color-border);
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    transition: transform var(--ease-fast), border-color var(--ease-fast);
}

.page-home .home-stream-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 106, 0, 0.5);
}

.page-home .home-stream-card__tag {
    display: inline-block;
    margin-bottom: 14px;
    padding: 3px 10px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    border: 1px solid rgba(255, 106, 0, 0.4);
}

.page-home .home-stream-card h3 {
    margin: 0 0 10px;
    font-family: var(--font-headline);
    font-size: 20px;
    line-height: 1.25;
    text-transform: uppercase;
}

.page-home .home-stream-card p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-sub);
}

.page-home .home-stream-card__link {
    color: var(--color-electric);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(0, 212, 255, 0.35);
    padding-bottom: 2px;
}

/* ========== 通用章节标题 ========== */
.page-home .section-head {
    margin-bottom: 28px;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}

.page-home .section-head__kind {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-electric);
}

.page-home .section-head__kind::before {
    content: "";
    width: 26px;
    height: 3px;
    background: var(--color-accent);
    clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}

.page-home .section-head__title {
    margin: 0;
    font-family: var(--font-headline);
    font-size: clamp(28px, 4.2vw, 42px);
    line-height: 1.12;
    text-transform: uppercase;
}

.page-home .section-head__desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text-sub);
}

/* ========== 断点 768px ========== */
@media (min-width: 768px) {
    .page-home .section-head--split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
        align-items: end;
    }

    .page-home .home-hero__inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 48px;
    }

    .page-home .home-trend {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    }

    .page-home .home-fans__layout {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    }
}

/* ========== 断点 960px ========== */
@media (min-width: 960px) {
    .page-home .home-hero {
        padding: 84px 0 112px;
    }

    .page-home .home-databoard__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }

    .page-home .home-databoard__grid .bento-card--large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .page-home .home-databoard__grid .bento-card--wide {
        grid-column: span 2;
    }

    .page-home .home-databoard {
        padding: 72px 0 32px;
    }

    .page-home .home-fans {
        padding: 64px 0 72px;
    }

    .page-home .home-stream {
        padding: 64px 0 80px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-home *,
    .page-home *::before,
    .page-home *::after {
        animation: none !important;
        transition: none !important;
    }
}
