.home-page {
    gap: 48px;
}
.hero {
    text-align: center;
    padding: 12px 24px 0;
    display: grid;
    gap: 10px;
}
.hero__chip {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 8px 18px;

    border-radius: 999px;

    background: var(--chip-bg);

    color: var(--chip-text);

    letter-spacing: 0.24em;

    text-transform: uppercase;

    font-size: 0.75rem;

}

.hero__title {

    font-size: clamp(2.5rem, 5vw, 3.8rem);

    font-weight: 700;

    margin: 0;

}

.hero__subtitle {

    max-width: 720px;

    margin: 0 auto;

    font-size: 1.05rem;

    color: var(--text-secondary);

}

.hero__actions {

    display: flex;

    gap: 12px;

    justify-content: center;

    flex-wrap: wrap;

}

.summary__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.summary-card__cta {
    justify-self: start;
    align-self: center;
    width: auto;
}

.surface {
    background: var(--surface-gradient);
    border-radius: 28px;
    padding: 26px;
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-card);
    display: grid;
    gap: 16px;
    min-height: 100%;
    transition: transform 160ms ease, box-shadow 160ms ease;
}
.surface:hover {
    transform: translateY(-4px);
    box-shadow: var(--surface-hover-shadow);
}

.surface header h3 {

    margin: 0;

    font-size: 1.2rem;

}

.section {
    display: grid;
    gap: 24px;
}

.card-row {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.card-row--dense {

    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

}

.fixture-pill {
    background: var(--fixture-pill-gradient);
    border-radius: 28px;
    padding: 24px 26px;
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-card);
    display: grid;
    gap: 18px;
    justify-items: center;
}

.fixture-pill__datetime {

    margin: 0;

    color: var(--text-highlight);

    letter-spacing: 0.12em;

    text-transform: uppercase;

    font-size: 0.8rem;

}

.fixture-pill__meta {
    margin: 0;
    color: var(--text-highlight);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.fixture-pill__teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.fixture-pill__team {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1 1 0;
    min-width: 0;
}

.fixture-pill__team--right {
    justify-content: flex-end;
    flex-direction: row-reverse;
    text-align: right;
}

.fixture-pill__logo {
    width: 78px;
    height: 100px;
    object-fit: cover;
    border-radius: 24px;
    border: 2px solid var(--match-card-border);
    box-shadow: var(--shadow-card);
    background: var(--glass-strong);
}

.fixture-pill__name {
    margin: 0;
    font-size: 1.06rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    min-width: 0;
}

.fixture-pill__versus {

    flex: 0 0 auto;

    font-size: 0.8rem;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    color: var(--text-muted);

}

.fixture-pill__cta {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 600;
    align-self: center;
}

.match-card {

    background: var(--glass-strong);

    border-radius: 24px;

    padding: 24px;

    border: 1px solid var(--match-card-border);

    box-shadow: var(--shadow-card);

    display: grid;

    gap: 12px;

}

.match-card__date {

    margin: 0;

    color: var(--text-highlight);

    font-size: 0.8rem;

    letter-spacing: 0.1em;

    text-transform: uppercase;

}

.match-card__title {

    margin: 0;

    font-size: 1.05rem;

}

.match-card__result {

    margin: 0;

    color: var(--accent-green);

    font-weight: 600;

}

.match-card__summary {

    margin: 0;

    color: var(--text-secondary);

    font-size: 0.95rem;

    line-height: 1.6;

}

.performer-row {

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 20px;

}

.performer-card {

    background: var(--glass-strong);

    border-radius: 24px;

    padding: 20px;

    border: 1px solid var(--match-card-border);

    box-shadow: var(--shadow-card);

    display: grid;

    gap: 12px;

}

.performer-card__title {

    margin: 0;

    color: var(--text-highlight);

    letter-spacing: 0.12em;

    text-transform: uppercase;

    font-size: 0.75rem;

}

.performer-card__content {

    display: grid;

    grid-template-columns: 72px 1fr;

    align-items: center;

    gap: 12px;

}

.performer-card__image {

    width: 72px;

    height: 92px;

    object-fit: cover;

    border-radius: 20px;

    border: 2px solid var(--match-card-border);

    box-shadow: var(--shadow-card);

}

.performer-card__details {

    display: grid;

    gap: 6px;

}

.performer-card__player {

    margin: 0;

    font-size: 1.35rem;

    font-weight: 600;

}

.performer-card__team {

    margin: 0;

    color: var(--text-muted);

    font-size: 0.85rem;

}

.performer-card__stat {

    margin: 0;

    font-size: 1.2rem;

    font-weight: 600;

}

.performer-card__meta {

    margin: 0;

    color: var(--text-secondary);

    font-size: 0.9rem;

}

.performer-card__footnote {

    margin: 0;

    color: var(--text-muted);

    font-size: 0.8rem;

}

.performer-card--empty {

    align-items: center;

    justify-items: center;

    text-align: center;

    min-height: 160px;

}

.performer-card__empty {

    margin: 0;

    color: var(--text-muted);

    font-size: 0.95rem;

}

.stats-table {

    padding: 0;

    overflow: hidden;

    border-radius: var(--surface-radius);

    border: 1px solid var(--table-border);

    box-shadow: var(--shadow-card);

    background: var(--table-bg);

}

.stats-table table {

    width: 100%;

    border-collapse: collapse;

}

.stats-table th,

.stats-table td {

    padding: 16px 20px;

    text-align: left;

}

.stats-table thead th {

    text-transform: uppercase;

    letter-spacing: 0.12em;

    font-size: 0.75rem;

    color: var(--text-muted);

    background: var(--table-head-bg);

}

.stats-table tbody tr {

    background: var(--table-row-bg);

}

.stats-table tbody tr:nth-child(2n) {

    background: var(--table-row-alt-bg);

}

.stats-table tbody tr + tr {

    border-top: 1px solid var(--table-divider);

}

.stats-table .empty {

    text-align: center;

    color: var(--text-muted);

}

.hall-row {

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

}

.hall-card {

    background: var(--hall-card-gradient);

    border-radius: 24px;

    padding: 24px;

    border: 1px solid var(--hall-card-border);

    box-shadow: var(--shadow-card);

    display: grid;

    gap: 10px;

}

.hall-card__week {

    margin: 0;

    font-size: 0.8rem;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: var(--text-highlight);

}

.hall-card__player {

    margin: 0;

    font-size: 1.1rem;

}

.hall-card__highlight {

    margin: 0;

    color: var(--text-secondary);

}

.training-card {

    background: var(--training-card-bg);

    border-radius: 24px;

    padding: 24px;

    border: 1px solid var(--training-card-border);

    display: grid;

    gap: 8px;

    box-shadow: var(--shadow-card);

}

.training-card h3 {

    margin: 0;

    font-size: 1.1rem;

}

.training-card__captain,

.training-card__schedule {

    margin: 0;

    color: var(--text-secondary);

}

.standings {
    display: grid;
    gap: 1.5rem;
}

.standings__table {
    width: 100%;
}

@media (max-width: 900px) {
    .home-page {
        gap: 40px;
    }

    .hero {
        padding: 16px 18px 0;
    }

    .hero__subtitle {
        font-size: 0.98rem;
    }

    .summary__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .card-row,
    .card-row--dense {
        grid-template-columns: minmax(0, 1fr);
    }

    .fixture-pill,
    .match-card,
    .performer-card {
        padding: 22px;
    }
}

@media (max-width: 640px) {
    .home-page {
        gap: 32px;
    }

    .hero {
        gap: 12px;
    }

    .hero__chip {
        font-size: 0.7rem;
        letter-spacing: 0.2em;
    }

    .hero__title {
        font-size: clamp(2rem, 7vw, 2.8rem);
    }

    .hero__subtitle {
        font-size: 0.92rem;
        padding: 0 12px;
    }

    .hero__actions {
        width: 100%;
    }

    .hero__actions .btn {
        flex: 1 1 auto;
        min-width: 140px;
    }

    .summary__grid {
        gap: 16px;
    }

    .card-row {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 14px;
    }

    .card-row--dense {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .fixture-pill,
    .match-card,
    .performer-card {
        padding: 20px;
    }

    .fixture-pill__teams {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .fixture-pill__team,
    .fixture-pill__team--right {
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        text-align: center;
    }

    .fixture-pill__team--right {
        align-items: center;
    }

    .fixture-pill__meta {
        text-align: center;
    }

    .fixture-pill__logo {
        width: 64px;
        height: 82px;
    }

    .fixture-pill__name {
        font-size: 1rem;
    }

    .fixture-pill__versus {
        letter-spacing: 0.22em;
    }
    .standings {
        gap: 1rem;
    }
}












