/* Background hero image - fixed behind everything */
.match-hero-bg {
    position: fixed;
    top: 0;
    height: 80vh;
    background-size: cover;
    background-position: center;
    z-index: 0;
    width: 100%;
    max-width: 1500px;
}

/* Optional dark overlay to make text readable */
.match-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.35)
    );
}

/* Foreground scrolling container */
.match-foreground {
    position: relative;
    z-index: 2;
}

/* Score and match info overlay, scrolls with content */
.match-hero-content {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

/* Score styling */
.match-score {
    font-family: var(--font-header);
    font-size: clamp(3rem, 6vw, 6rem);
    text-transform: uppercase;
    color: #fff;
	border-radius: 32px;
	padding: 16px;
}

.match-meta {
    font-family: var(--font-main);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.match-scorers {
    font-size: 1.2rem;
    margin-top: 1rem;
    color: var(--primary-reserve-color);
}

/* White content panel that scrolls over image */
.match-content {
    background: #fff;
    border-radius: 32px 32px 0 0;
    padding: 40px 20px 20px;
    position: relative;
    z-index: 2;
}

/* Team sheet styling */
.team-sheet {
    background: rgba(138,108,196,0.12);
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 20px;
}

/* match center */
#tbl-lineup { width: 100%; font-family: var(--font-header); text-transform: uppercase; letter-spacing: 0.2em; }

#tbl-lineup td a { color: #000; }
#tbl-lineup td a:hover { color: var(--primary-first-color); }

#tbl-lineup td,
#tbl-lineup th {
    color: var(--primary-first-color);
    font-family: var(--font-main);
}

#tbl-lineup tr {
    border-bottom: 1px solid rgba(138,108,196,0.2);
	height: 36px;
	
}

#tbl-lineup tr:last-child {
    border-bottom: none;
}

#tbl-lineup td {
    padding: 8px 12px;
    font-size: 1.1rem;
}