:root {
    --club-navy: #1E293B;
    --club-orange: #F97316;
    --club-orange-dark: #EA580C;
    --text-dark: #1f2937;
    --text-light: #475569;
    --off-white: #F8FAFC;
    --border-light: #E2E8F0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Arvo', serif;
}

.bg-club-navy {
    background-color: var(--club-navy);
}

.bg-club-orange {
    background-color: var(--club-orange);
}

.bg-off-white {
    background-color: var(--off-white);
}

.text-club-navy {
    color: var(--club-navy);
}

.text-club-orange {
    color: var(--club-orange);
}

.text-text-light {
    color: var(--text-light);
}

.border-club-orange {
    border-color: var(--club-orange);
}

.btn-primary {
    background-color: var(--club-orange);
    color: #ffffff;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background-color: var(--club-orange-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid #CBD5E1;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    background-color: var(--off-white);
    border-color: #94A3B8;
    color: var(--text-dark);
}

.link-tertiary {
    color: var(--club-orange);
    font-weight: 600;
}

.link-tertiary:hover {
    text-decoration: underline;
}

.logo-overlap {
    width: 110px;
    height: 110px;
    position: absolute;
    top: 1rem;
    z-index: 30;
    transition: transform 0.3s ease;
}

.logo-overlap:hover {
    transform: scale(1.05);
}

#mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.active {
    transform: translateX(0);
}

.scroll-target {
    scroll-margin-top: 100px;
}

.card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.card-hover {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
}

.section-label {
    display: inline-block;
    background: rgba(249, 115, 22, 0.1);
    color: var(--club-orange);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.stat-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.table-wrap {
    overflow-x: auto;
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    background: #ffffff;
}

.club-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.club-table th {
    background: var(--club-navy);
    color: #ffffff;
    text-align: left;
    padding: 0.875rem 1rem;
    font-weight: 600;
}

.club-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border-light);
}

.club-table tr:last-child td {
    border-bottom: 0;
}

.club-table tr:hover td {
    background: var(--off-white);
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-orange {
    background: rgba(249, 115, 22, 0.12);
    color: var(--club-orange);
}

.badge-navy {
    background: rgba(30, 41, 59, 0.1);
    color: var(--club-navy);
}

@media (max-width: 640px) {
    .logo-overlap {
        width: 92px;
        height: 92px;
        top: 0.75rem;
    }

    .scroll-target {
        scroll-margin-top: 90px;
    }
}
.ground-card {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 0.75rem;
}

@media (min-width: 768px) {
    .ground-card {
        height: 450px;
    }
}

.ground-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Zoom effect */
.ground-card:hover img {
    transform: scale(1.08);
}

/* Overlay */
.ground-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
		to top,
		rgba(30, 41, 59, 0.8),
		rgba(30, 41, 59, 0.2)
	);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Show overlay on hover */
.ground-card:hover .ground-overlay {
    opacity: 1;
}

/* Text styling */
.ground-overlay span {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

/* Text animation */
.ground-card:hover .ground-overlay span {
    transform: translateY(0);
}
.ground-overlay-content {
    text-align: center;
    color: #ffffff;
}

/* Main title */
.ground-title {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    transform: translateY(10px);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

/* Divider line */
.ground-divider {
    display: block;
    width: 60px;
    height: 2px;
    background: var(--club-orange);
    margin: 10px auto;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

/* Subtitle */
.ground-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(10px);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Hover animations */
.ground-card:hover .ground-title {
    opacity: 1;
    transform: translateY(0);
}

.ground-card:hover .ground-divider {
    transform: scaleX(1);
}

.ground-card:hover .ground-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.live-fixture-card {
    border: 3px solid #f97316 !important;
    box-shadow:
        0 0 0 4px rgba(249, 115, 22, 0.15),
        0 10px 30px rgba(15, 23, 42, 0.12);
    position: relative;
}

.card.live-fixture-card {
    border: 3px solid #f97316 !important;
}

.header-socials {
    border-left: 1px solid var(--border-light);
    padding-left: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-social-link {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-social-link img {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    object-fit: contain;
    display: block;
}

.header-social-link:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.youtube-live-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.75);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.youtube-live-modal-box {
    position: relative;
    width: min(960px, 100%);
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    border-top: 5px solid var(--club-orange);
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.35);
}

.youtube-live-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    font-size: 2rem;
    line-height: 1;
    color: var(--club-navy);
}

.youtube-live-frame-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 0.75rem;
    overflow: hidden;
}

.youtube-live-frame-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.site-topbar {
    background: var(--club-navy);
    color: #fff;
    min-height: 42px; /* slightly taller */
    display: flex;
    align-items: center;
}

.site-topbar .container {
    position: relative;
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* actions sit on the right */
}

/* perfectly centre the message across the whole bar */
.site-topbar-message {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.site-topbar-message:hover {
    color: #fff;
    text-decoration: underline;
}

.site-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-left: auto;
}

.topbar-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #ffffff;
    border-radius: 9999px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.topbar-social-link img {
    width: 16px !important;
    height: 16px !important;
    object-fit: contain;
    display: block;
}

.topbar-social-link:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.topbar-stream-button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 9999px;
    padding: 0.35rem 0.8rem;
    background: transparent;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
}

.topbar-stream-button img {
    width: 14px;
    height: 14px;
}

/* mobile tidy-up */
@media (max-width: 1024px) {
    .site-topbar-message {
        position: static;
        transform: none;
        white-space: normal;
        text-align: center;
        display: block;
        width: 100%;
        padding-right: 0;
    }

    .site-topbar .container {
        flex-direction: column;
        justify-content: center;
        gap: 0.45rem;
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
        min-height: auto;
    }

    .site-topbar-actions {
        margin-left: 0;
    }
}