/* Explain: Styling for various UI elements like cards, buttons, and badges. */
.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.88), rgba(250, 249, 246, 0.56));
    backdrop-filter: blur(18px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(250, 249, 246, 0.82), rgba(255, 255, 255, 0.5));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.page-hero {
    background: linear-gradient(180deg, var(--surface-color), var(--background-color));
}

.hero-scrim {
    background: linear-gradient(100deg, rgba(31, 46, 35, 0.96) 0%, rgba(31, 46, 35, 0.84) 40%, rgba(31, 46, 35, 0.46) 100%);
}

.live-dot {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: currentColor;
    animation: live-pulse 1.4s ease-in-out infinite;
}

@keyframes live-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.7);
    }
}

.match-card,
.league-card,
.news-card {
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.match-card:hover,
.league-card:hover,
.news-card:hover {
    border-color: rgba(88, 129, 87, 0.6);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.12);
    transform: translateY(-5px);
}

.news-card img {
    transition: transform 600ms ease;
}

.news-card:hover img {
    transform: scale(1.06);
}

.team-crest {
    display: inline-flex;
    width: 2.6rem;
    height: 2.6rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-size: 0.85rem;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--glass-bg);
    padding: 0.5rem 1.15rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 250ms ease;
}

.filter-chip:hover {
    border-color: var(--accent-color);
    color: var(--text-color);
}

.filter-chip.is-active {
    border-color: transparent;
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: var(--shadow-button);
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.article-body {
    color: var(--text-color);
    font-size: 1.02rem;
    line-height: 1.9;
}

.article-body p {
    margin-bottom: 1.2rem;
}

.article-body h2,
.article-body h3 {
    margin: 2rem 0 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
}

.article-body h2 {
    font-size: 1.6rem;
}

.article-body h3 {
    font-size: 1.3rem;
}

.article-body ul {
    margin: 0 0 1.2rem 1.25rem;
    list-style: disc;
}

.article-body a {
    color: var(--accent-color);
    text-decoration: underline;
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }
}