/* ===== 首页专属样式 (page-home) ===== */
.page-home {
    --color-primary: #B22222;
    --color-gold: #FFD700;
    --color-dark: #2F2F2F;
    --color-darker: #1A1A1A;
    --color-light: #F5F5F5;
    --color-mid: #6B6B6B;
    --color-overlay: rgba(0, 0, 0, 0.6);
    --font-heading: "Impact", "Arial Black", "Helvetica Neue", sans-serif;
    --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --transition: 0.3s ease;
}

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

/* 首屏竞技焦点 */
.page-home .hero {
    position: relative;
    overflow: hidden;
    background-color: var(--color-darker);
    min-height: 80vh;
    display: flex;
    align-items: stretch;
}

.page-home .hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-home .hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-home .hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--color-overlay);
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.7) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.page-home .hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1.5rem;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    justify-content: center;
}

@media (min-width: 1024px) {
    .page-home .hero__inner {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
        padding: 4rem 2rem;
        clip-path: polygon(0 0, 55% 0, 40% 100%, 0 100%);
        background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-darker) 80%);
    }
}

.page-home .hero__score-area {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.page-home .hero__score-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--color-gold);
    width: 100%;
    max-width: 400px;
    justify-content: center;
}

.page-home .hero__team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.page-home .hero__team-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .page-home .hero__team-name {
        font-size: 1.25rem;
    }
}

.page-home .hero__score-value {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-gold);
    line-height: 1;
    display: inline-block;
    animation: scorePulse 1.2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

@media (min-width: 768px) {
    .page-home .hero__score-value {
        font-size: 5rem;
    }
}

@keyframes scorePulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }
    50% {
        transform: scale(1.1);
        text-shadow: 0 0 40px rgba(255, 215, 0, 0.9);
    }
}

.page-home .hero__vs {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-light);
    opacity: 0.6;
}

.page-home .hero__divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-home .hero__live-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-primary);
    color: var(--color-light);
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
}

.page-home .status-dot.live {
    width: 8px;
    height: 8px;
    background-color: #00FF00;
    border-radius: 50%;
    display: inline-block;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.page-home .hero__info {
    flex: 1 1 60%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.page-home .hero__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-light);
    line-height: 1.1;
    margin: 0;
}

@media (min-width: 768px) {
    .page-home .hero__title {
        font-size: 4rem;
    }
}

.page-home .hero__desc {
    font-size: 1.125rem;
    color: var(--color-light);
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
}

.page-home .hero__history {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--color-gold);
}

.page-home .hero__history-text {
    color: var(--color-light);
    font-size: 0.95rem;
}

.page-home .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.page-home .btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.page-home .btn-primary {
    background: var(--color-primary);
    color: var(--color-light);
}

.page-home .btn-primary:hover {
    background: #8B0000;
    transform: translateY(-2px);
}

.page-home .btn-gold {
    background: var(--color-gold);
    color: var(--color-darker);
}

.page-home .btn-gold:hover {
    background: #E6C200;
    transform: translateY(-2px);
}

/* 三步操作流程 */
.page-home .steps {
    padding: 4rem 1.5rem;
    background: var(--color-dark);
    max-width: 1280px;
    margin: 0 auto;
}

.page-home .steps__header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-home .steps__subtitle {
    color: var(--color-mid);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.page-home .section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-light);
    margin: 0 0 0.5rem;
    position: relative;
    display: inline-block;
}

@media (min-width: 768px) {
    .page-home .section-title {
        font-size: 2.5rem;
    }
}

.page-home .section-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background: var(--color-gold);
    margin-top: 0.5rem;
}

.page-home .steps__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .page-home .steps__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.page-home .step-card {
    background: var(--color-darker);
    border: 1px solid var(--color-mid);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.page-home .step-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-home .step-card__number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-gold);
    opacity: 0.3;
    line-height: 1;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
}

.page-home .step-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-light);
    margin: 0;
}

.page-home .step-card__desc {
    color: var(--color-mid);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.page-home .step-card__img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    border-radius: 4px;
    margin-top: auto;
}

.page-home .step-card__link {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: auto;
    align-self: flex-start;
}

.page-home .step-card__link:hover {
    text-decoration: underline;
}

.page-home .subscribe-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    background: var(--color-primary);
    color: var(--color-light);
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    font-weight: 700;
    transition: var(--transition);
    margin-top: auto;
    align-self: flex-start;
}

.page-home .subscribe-trigger:hover {
    background: #8B0000;
}

.page-home .subscribe-icon {
    width: 24px;
    height: 24px;
    overflow: hidden;
    border-radius: 2px;
}

.page-home .subscribe-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-home .subscribe-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    background: var(--color-darker);
    border: 1px solid var(--color-mid);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 0 1.5rem;
}

.page-home .subscribe-content.is-expanded,
.page-home .subscribe-content[data-expand-target].is-expanded {
    max-height: 300px;
    padding: 1.5rem;
}

.page-home .subscribe-content p {
    color: var(--color-light);
    font-size: 1rem;
    line-height: 1.6;
}

.page-home .subscribe-content a {
    color: var(--color-gold);
}

/* 特色功能卡片 */
.page-home .features {
    padding: 4rem 1.5rem;
    background: var(--color-darker);
}

.page-home .features__header {
    text-align: center;
    max-width: 1280px;
    margin: 0 auto 3rem;
}

.page-home .features__subtitle {
    color: var(--color-mid);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.page-home .features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .page-home .features__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.page-home .feature-card {
    background: var(--color-dark);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 8px 8px 0;
    padding: 2rem 1.5rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.page-home .feature-card:hover {
    transform: scale(1.02);
    border-left-color: var(--color-gold);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-home .feature-card__icon {
    font-size: 2.5rem;
    line-height: 1;
}

.page-home .feature-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-light);
    margin: 0;
}

.page-home .feature-card__desc {
    color: var(--color-mid);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.page-home .feature-card__link {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: auto;
    align-self: flex-start;
}

.page-home .feature-card__link:hover {
    text-decoration: underline;
}

/* 品牌辅助横幅 */
.page-home .brand-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--color-dark);
    border-top: 4px solid var(--color-gold);
    border-bottom: 4px solid var(--color-primary);
    overflow: hidden;
}

@media (min-width: 768px) {
    .page-home .brand-banner {
        flex-direction: row;
        gap: 2rem;
    }
}

.page-home .brand-banner__image {
    flex: 1 1 60%;
    max-height: 250px;
    overflow: hidden;
}

.page-home .brand-banner__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-home .brand-banner__content {
    flex: 1 1 40%;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.page-home .brand-banner__content p {
    color: var(--color-light);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 400px;
}

.page-home .brand-banner__content .btn {
    min-width: 160px;
    text-align: center;
}

/* 通用标签类 */
.page-home .tag--gold {
    background: var(--color-gold);
    color: var(--color-darker);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.75rem;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

/* 移动端安全间距 */
@media (max-width: 767px) {
    .page-home .hero__title {
        font-size: 2rem;
    }
    .page-home .hero__score-value {
        font-size: 2.5rem;
    }
    .page-home .hero__score-box {
        padding: 1.5rem;
    }
    .page-home .step-card__number {
        font-size: 2.5rem;
    }
}
