.page-home {
    --home-radius: 28px;
    overflow-x: hidden;
    background: #fff;
}
.page-home .home-console {
    position: relative;
    padding: 40px 0 56px;
    background: linear-gradient(135deg, var(--sand) 0%, #E8F0EA 100%);
    overflow: hidden;
}
.page-home .home-console__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.page-home .home-console__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12;
}
.page-home .home-console__inner {
    position: relative;
    z-index: 1;
}
.page-home .home-console__head {
    max-width: 640px;
    margin-bottom: 32px;
}
.page-home .home-console__title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.2;
    color: var(--green);
    margin: 12px 0;
}
.page-home .home-console__lead {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--ink);
    line-height: 1.6;
    margin: 0;
}
.page-home .home-console__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}
.page-home .home-console__aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.page-home .home-console__meta {
    border-radius: var(--radius-md);
}
.page-home .home-filter {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-lg);
}
.page-home .home-filter__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--dark-green);
    margin-bottom: 16px;
}
.page-home .home-filter__group {
    margin-bottom: 16px;
}
.page-home .home-filter__label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--deep-blue);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.page-home .home-filter__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.page-home .home-chip__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.page-home .home-chip {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: var(--sand);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.page-home .home-chip__input:checked + .home-chip {
    background: var(--green);
    color: #fff;
}
.page-home .home-filter__custom {
    display: none;
    margin-top: 12px;
    padding: 12px;
    background: var(--sand);
    border-radius: var(--radius-md);
}
.page-home .home-filter__custom input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    margin-bottom: 8px;
    box-sizing: border-box;
}
.page-home .home-filter__custom input:last-child {
    margin-bottom: 0;
}
.page-home #time-custom:checked ~ .home-filter__custom {
    display: block;
}
.page-home .home-filter__submit {
    width: 100%;
    margin-top: 8px;
}
.page-home .home-tabs {
    display: flex;
    background: var(--sand);
    border-radius: var(--radius-pill);
    padding: 4px;
    margin-bottom: 16px;
}
.page-home .home-tabs__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.page-home .home-tabs__label {
    flex: 1;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
    color: var(--ink);
    transition: background 0.2s ease, color 0.2s ease;
}
.page-home .home-tabs__input:checked + .home-tabs__label {
    background: var(--green);
    color: #fff;
}
.page-home .home-tabs__panel {
    display: none;
}
.page-home .home-tabs__panel.is-active {
    display: block;
}
.page-home #tab-fixtures:checked ~ .home-tabs__panel#panel-fixtures {
    display: block;
}
.page-home #tab-reports:checked ~ .home-tabs__panel#panel-reports {
    display: block;
}
.page-home .home-mini-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.page-home .home-mini-list li {
    border-bottom: 1px solid var(--light-gray);
    padding: 10px 0;
}
.page-home .home-mini-list li:last-child {
    border-bottom: 0;
}
.page-home .home-mini-list a {
    color: var(--deep-blue);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
}
.page-home .home-live {
    padding: 20px;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.page-home .home-live__media {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
}
.page-home .home-live__media img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.page-home .home-live__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--dark-green);
    margin-bottom: 4px;
}
.page-home .home-live__desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--ink);
    margin-bottom: 16px;
}
.page-home .home-live__list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}
.page-home .home-live__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
    gap: 8px;
}
.page-home .home-live__item:last-child {
    border-bottom: 0;
}
.page-home .home-live__teams {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--ink);
}
.page-home .home-live__score {
    color: var(--orange);
    font-weight: 800;
    margin-left: 4px;
}
.page-home .home-live__status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--deep-blue);
    white-space: nowrap;
}
.page-home .home-live__pulse {
    width: 0.9em;
    height: 0.9em;
    color: var(--orange);
    animation: home-pulse 1s ease-in-out infinite;
}
.page-home .home-live__item.is-live .home-live__score {
    display: inline-block;
    animation: home-score-pulse 1s ease-in-out infinite;
}
@keyframes home-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}
@keyframes home-score-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
.page-home .home-h2h {
    margin-top: 4px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    background: var(--sand);
}
.page-home .home-h2h summary {
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--green);
    list-style: none;
}
.page-home .home-h2h summary::-webkit-details-marker {
    display: none;
}
.page-home .home-h2h summary::after {
    content: '+';
    float: right;
    font-weight: 400;
    color: var(--orange);
}
.page-home .home-h2h[open] summary::after {
    content: '−';
}
.page-home .home-h2h__content {
    padding-top: 12px;
    border-top: 1px solid var(--light-gray);
    margin-top: 12px;
    font-family: var(--font-body);
    font-size: 0.9rem;
}
.page-home .home-h2h__content a {
    color: var(--link-blue);
}
.page-home .home-v3 {
    padding: 64px 0;
    background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--sand) 100%);
}
.page-home .home-v3__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.page-home .home-v3__content {
    order: 1;
}
.page-home .home-v3__media {
    order: 2;
    margin: 0;
}
.page-home .home-v3__media img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: rotate(1deg);
}
.page-home .home-v3__media figcaption {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--ink);
    text-align: center;
    margin-top: 8px;
}
.page-home .home-v3__list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}
.page-home .home-v3__list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-family: var(--font-body);
    color: var(--ink);
}
.page-home .home-v3__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
}
.page-home .home-v3__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}
.page-home .home-stat {
    flex: 1;
    min-width: 100px;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.page-home .home-stat__num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--green);
}
.page-home .home-stat__label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--ink);
    margin-top: 4px;
}
.page-home .home-login {
    padding: 32px 0 64px;
}
.page-home .home-login__card {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--green), var(--dark-green));
    color: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.page-home .home-login__media {
    position: relative;
    min-height: 200px;
}
.page-home .home-login__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-home .home-login__content {
    padding: 32px 24px;
}
.page-home .home-login__content .section-eyebrow {
    color: var(--gold);
}
.page-home .home-login__content .section-title {
    color: #fff;
}
.page-home .home-login__content .section-lead {
    color: rgba(255,255,255,0.9);
}
.page-home .home-login__tips {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}
.page-home .home-login__tips li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.9);
    font-family: var(--font-body);
}
.page-home .home-login__tips li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-weight: 700;
}
.page-home .home-login__content .btn {
    background: var(--orange);
    color: #fff;
}
.page-home .home-news {
    padding: 32px 0 64px;
    background: var(--sand);
}
.page-home .home-news__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    gap: 16px;
}
.page-home .home-news__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.page-home .home-news__item {
    padding: 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.page-home .home-news__item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.page-home .home-news__tag {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}
.page-home .home-news__item h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--dark-green);
    margin-bottom: 8px;
    line-height: 1.4;
}
.page-home .home-news__item p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--ink);
    margin: 0;
    line-height: 1.6;
}
.page-home .home-links {
    padding: 48px 0;
    background: var(--deep-blue);
}
.page-home .home-links__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.page-home .home-links__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    padding: 24px;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.page-home .home-links__item:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}
.page-home .home-links__num {
    color: var(--gold);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.page-home .home-links__name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.page-home .home-links__desc {
    font-family: var(--font-body);
    font-size: 0.8rem;
    opacity: 0.8;
}
@media (min-width: 768px) {
    .page-home .home-console__grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
    .page-home .home-news__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .page-home .home-links__grid {
        grid-template-columns: repeat(5, 1fr);
    }
    .page-home .home-v3__grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
    .page-home .home-login__card {
        grid-template-columns: 0.8fr 1.2fr;
    }
    .page-home .home-login__content {
        padding: 48px;
    }
    .page-home .home-console__title {
        font-size: 2.8rem;
    }
}
