/* GoLiveFootball css script */

:root {

    --navy: #171717;
    --navy-light: #222222;

    --green: #15803d;
    --green-dark: #166534;

    --red: #DC143C;
    --red-dark: #B01030;

    --gold: #F4C430;

    --page: #F2F2F2;
    --surface: #FFFFFF;

    --ink: #222222;
    --muted: #777777;

    --line: #E5E5E5;

    --shadow: 0 8px 28px rgba(0, 0, 0, 0.06);

    --radius: 12px;

}


/*  GLOBAL RESET */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family: Arial, Helvetica, sans-serif;

    background: var(--page);

    color: var(--ink);

    overflow-x: hidden;

    line-height: 1.5;

}


button,
input {

    font-family: inherit;

}


button {

    cursor: pointer;

    border: none;

}


a {

    text-decoration: none;

    color: inherit;

}


img {

    max-width: 100%;

    display: block;

}


ul {

    list-style: none;

    margin: 0;

    padding: 0;

}


/*  LIVE SCORE TICKER */

.score-ticker {

    display: flex;

    align-items: center;

    width: 100%;

    min-height: 43px;

    background: var(--navy);

    color: white;

    overflow: hidden;

}


.ticker-label {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-width: 125px;

    height: 43px;

    background: var(--red);

    font-size: 12px;

    font-weight: 800;

}


.live-dot {

    display: inline-block;

    width: 9px;

    height: 9px;

    background: var(--red);

    border-radius: 50%;

    animation: livePulse 1.2s infinite;

}


.ticker-label .live-dot {

    background: white;

}


@keyframes livePulse {

    0% {

        box-shadow: 0 0 0 0 rgba(220, 20, 60, .7);

    }

    70% {

        box-shadow: 0 0 0 7px rgba(220, 20, 60, 0);

    }

    100% {

        box-shadow: 0 0 0 0 rgba(220, 20, 60, 0);

    }

}


.ticker-window {

    flex: 1;

    overflow: hidden;

    white-space: nowrap;

}


.ticker-track {

    display: flex;

    align-items: center;

    gap: 35px;

    width: max-content;

    padding-left: 25px;

    animation: tickerMove 35s linear infinite;

}


.ticker-window:hover .ticker-track {

    animation-play-state: paused;

}


.ticker-item {

    font-size: 12px;

    color: #eeeeee;

}


.ticker-item strong {

    color: var(--gold);

    margin: 0 5px;

}


.status {

    color: white;

    background: #555;

    padding: 4px 7px;

    border-radius: 4px;

    font-size: 10px;

    margin-right: 6px;

}


.status.live {

    background: var(--red);

}


.status.upcoming {

    background: var(--green);

}


@keyframes tickerMove {

    from {

        transform: translateX(0);

    }

    to {

        transform: translateX(-50%);

    }

}


.create-acct {

    background: var(--green);

    color: white;

    padding: 10px 16px;

    font-size: 11px;

    font-weight: bold;

    white-space: nowrap;

}


.create-acct:hover {

    background: var(--green-dark);

}


/* TOP HEADER */

.topbar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    width: 100%;

    min-height: 75px;

    padding: 12px 3%;

    background: white;

    border-bottom: 1px solid var(--line);

}


.search-box {

    display: flex;

    align-items: center;

    gap: 12px;

    width: 45%;

    max-width: 500px;

    padding: 12px 16px;

    background: #F5F5F5;

    border: 1px solid var(--line);

    border-radius: 7px;

}


.search-box i {

    color: var(--muted);

}


.search-box input {

    width: 100%;

    outline: none;

    border: none;

    background: transparent;

    font-size: 13px;

}


.top-actions {

    display: flex;

    align-items: center;

    gap: 12px;

}


.action-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    width: 40px;

    height: 40px;

    border-radius: 7px;

    background: #F5F5F5;

    color: var(--ink);

    transition: .3s;

}


.action-btn:hover {

    background: var(--green);

    color: white;

}


.profile {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 11px 17px;

    background: var(--navy);

    color: white;

    border-radius: 6px;

    font-size: 12px;

}


.profile:hover {

    background: var(--green);

}


.mobile-menu {

    display: none;

    background: transparent;

    font-size: 22px;

    color: var(--ink);

}


/*  TOP NAVIGATION */

.topnavbar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 0 3%;

    min-height: 58px;

    background: var(--red-dark);

    color: white;

}


.nav-brand {

    font-size: 20px;

    font-weight: 800;

    white-space: nowrap;

}


.nav-brand span {

    color: var(--gold);

}


.topnavbar ul {

    display: flex;

    align-items: center;

    gap: 5px;

}


.topnavbar ul li a {

    display: block;

    padding: 19px 13px;

    font-size: 12px;

    font-weight: 600;

    transition: .3s;

    border-bottom: 3px solid transparent;

}


.topnavbar ul li a:hover,

.topnavbar ul li a.active {

    background: rgba(0, 0, 0, .15);

    border-bottom-color: var(--gold);

    color: var(--gold);

}


/*  APP LAYOUT */

.app-shell {

    display: grid;

    grid-template-columns: 235px minmax(0, 1fr);

    align-items: stretch;

    min-height: 100vh;

}


/*  SIDEBAR */

.sidebar {

    position: relative;

    display: flex;

    flex-direction: column;

    background: var(--navy);

    color: white;

    padding: 25px 15px;

    min-height: 100%;

    z-index: 100;

}


.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 0 10px 25px;

    font-size: 20px;

    font-weight: 800;

    border-bottom: 1px solid rgba(255, 255, 255, .1);

}


.brand-ball {

    width: 38px;

    height: 38px;

    overflow: hidden;

    border-radius: 50%;

}


.brand-ball img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.sidebar-toggle {

    display: none;

}


.side-nav {

    display: flex;

    flex-direction: column;

    gap: 5px;

    margin-top: 25px;

}


.side-nav a {

    display: flex;

    align-items: center;

    gap: 13px;

    min-height: 45px;

    padding: 10px 13px;

    color: #c8c8c8;

    font-size: 13px;

    border-radius: 6px;

    transition: .3s;

}


.side-nav a span {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 22px;

    height: 22px;

    font-size: 15px;

}


.side-nav a:hover,

.side-nav a.active {

    background: var(--red);

    color: white;

}


.live-count {

    margin-left: auto;

    background: var(--red);

    padding: 3px 8px;

    border-radius: 20px;

    font-size: 10px;

}


.nav-heading {

    margin: 25px 12px 10px;

    color: #999;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.weather {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-top: auto;

    padding: 15px;

    background: rgba(255, 255, 255, .07);

    border-radius: 8px;

}


.weather span {

    color: var(--gold);

    font-size: 25px;

}


.weather strong,

.weather small {

    display: block;

}


.weather strong {

    font-size: 16px;

}


.weather small {

    color: #aaa;

    font-size: 11px;

}


/* SIDEBAR OVERLAY */

.sidebar-overlay {

    display: none;

}


/*  MAIN DASHBOARD */

.fixture_dashboard {

    min-width: 0;

    padding: 28px;

}


/* PAGE HEADING */

.page-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;

}


.section-label {

    color: var(--green);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

}


.page-heading h1 {

    font-size: 28px;

    font-weight: 800;

    margin: 6px 0;

}


.page-heading p {

    color: var(--muted);

    font-size: 13px;

}


.calendar-btn {

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 12px 16px;

    background: var(--green);

    color: white;

    border-radius: 6px;

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

}


.calendar-btn:hover {

    background: var(--green-dark);

}


/*  DATE NAVIGATION */

.header {

    background: white;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    padding: 20px;

    margin-bottom: 25px;

}


.month {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    margin-bottom: 20px;

}


.month h3 {

    font-size: 17px;

    font-weight: 800;

}


.month button {

    width: 32px;

    height: 32px;

    border-radius: 5px;

    background: #F2F2F2;

    color: var(--ink);

}


.month button:hover {

    background: var(--green);

    color: white;

}


.date-container {

    display: flex;

    align-items: center;

    gap: 8px;

    overflow-x: auto;

    padding-bottom: 12px;

    scrollbar-width: thin;

}


.date {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

    min-width: 72px;

    min-height: 65px;

    background: #F7F7F7;

    border: 1px solid var(--line);

    border-radius: 7px;

    cursor: pointer;

    transition: .3s;

}


.date span {

    color: var(--muted);

    font-size: 10px;

    font-weight: 700;

}


.date strong {

    font-size: 12px;

}


.date:hover,

.date.active {

    background: var(--green);

    color: white;

    border-color: var(--green);

}


.date.active span {

    color: white;

}


/*  FILTER BUTTONS */

.filter-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 20px;

    padding-top: 17px;

    border-top: 1px solid var(--line);

}


.filters,

.favorite {

    display: flex;

    align-items: center;

    gap: 8px;

    flex-wrap: wrap;

}


.filter,

.favorite button {

    padding: 9px 14px;

    background: #F4F4F4;

    color: #555;

    border-radius: 5px;

    font-size: 11px;

    font-weight: 700;

    transition: .3s;

}


.filter:hover,

.filter.active-filter {

    background: var(--green);

    color: white;

}


.favorite button.selected {

    background: var(--red);

    color: white;

}


.favorite button:hover {

    background: var(--red);

    color: white;

}


/*  RESULTS DASHBOARD GRID */

.result-dashboard {

    display: grid;

    grid-template-columns: minmax(0, 1.8fr) minmax(280px, .9fr);

    align-items: start;

    gap: 22px;

}


.matches-section {

    display: flex;

    flex-direction: column;

    gap: 20px;

    min-width: 0;

}


/*  COMPETITION CARDS */

.competition {

    background: white;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    overflow: hidden;

}


.competition-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 10px;

    padding: 17px 20px;

    background: #FAFAFA;

    border-bottom: 1px solid var(--line);

}


.competition-heading h3 {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 14px;

    font-weight: 800;

}


.competition-heading h3 i {

    color: var(--gold);

}


.competition-heading>span {

    color: var(--muted);

    font-size: 10px;

    font-weight: 600;

}


/*  MATCH RESULT ROWS */

.match {

    display: grid;

    grid-template-columns: minmax(0, 1fr) 75px minmax(0, 1fr);

    align-items: center;

    gap: 10px;

    min-height: 76px;

    padding: 12px 20px;

    border-bottom: 1px solid #EEEEEE;

    transition: .3s;

}


.match:last-child {

    border-bottom: none;

}


.match:hover {

    background: #F8FBF8;

}


.team {

    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 0;

    font-size: 13px;

    font-weight: 700;

}


.team:first-child {

    justify-content: flex-start;

}


.team:last-child {

    justify-content: flex-end;

    text-align: right;

}


.team img {

    width: 32px;

    height: 32px;

    object-fit: contain;

    flex-shrink: 0;

}


.team-placeholder {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 32px;

    height: 32px;

    flex-shrink: 0;

    background: var(--green);

    color: white;

    border-radius: 50%;

    font-weight: 800;

}


.score {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 4px;

}


.score strong {

    color: var(--ink);

    font-size: 19px;

    font-weight: 900;

    white-space: nowrap;

}


.score small {

    color: var(--green);

    font-size: 9px;

    font-weight: 800;

    background: #E8F5EC;

    padding: 3px 9px;

    border-radius: 4px;

}


/*  RIGHT SIDEBAR */

.standings-section {

    display: flex;

    flex-direction: column;

    gap: 20px;

    min-width: 0;

}


.standings,

.top-scorers {

    background: white;

    padding: 20px;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    overflow: hidden;

}


.sidebar-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 18px;

}


.sidebar-heading h3 {

    font-size: 16px;

    font-weight: 800;

}


.sidebar-heading>span {

    background: #E8F5EC;

    color: var(--green);

    padding: 5px 9px;

    border-radius: 4px;

    font-size: 9px;

    font-weight: 800;

}


/* STANDINGS TABLE */

.table-responsive {

    width: 100%;

    overflow-x: auto;

}


.standings table {

    width: 100%;

    border-collapse: collapse;

    white-space: nowrap;

}


.standings th {

    padding: 12px 7px;

    text-align: left;

    background: #F5F5F5;

    color: var(--muted);

    font-size: 10px;

}


.standings td {

    padding: 13px 7px;

    border-bottom: 1px solid var(--line);

    font-size: 11px;

}


.standings tbody tr:hover {

    background: #F8FBF8;

}


.standings td:first-child {

    color: var(--green);

    font-weight: 800;

}


.standings td.points {

    color: var(--green);

    font-weight: 900;

}


/* TOP SCORERS */

.scorer {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 0;

    border-bottom: 1px solid var(--line);

}


.scorer:last-child {

    border-bottom: none;

}


.scorer img {

    width: 40px;

    height: 40px;

    object-fit: cover;

    border-radius: 50%;

    background: #EEEEEE;

}


.scorer-info {

    display: flex;

    flex-direction: column;

    gap: 3px;

    flex: 1;

}


.scorer-info strong {

    font-size: 12px;

}


.scorer-info span {

    color: var(--muted);

    font-size: 10px;

}


.goals {

    color: var(--green);

    font-size: 12px;

    font-weight: 800;

}


.goals i {

    color: var(--gold);

}


/*  RESULT OF THE DAY */

.match-result {

    padding: 20px;

    background: var(--navy);

    color: white;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

}


.result-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 25px;

}


.result-header h2 {

    font-size: 16px;

    font-weight: 800;

}


.aet-button {

    background: var(--red);

    padding: 5px 10px;

    border-radius: 4px;

    font-size: 10px;

    font-weight: 800;

}


.match-resu-info {

    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    gap: 8px;

}


.match-resu-team {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

    text-align: center;

}


.match-resu-team .flag {

    width: 48px;

    height: 38px;

    object-fit: contain;

}


.match-resu-team p {

    font-size: 11px;

    font-weight: 700;

}


.score-container {

    text-align: center;

}


.score-container .score {

    font-size: 25px;

    font-weight: 900;

    white-space: nowrap;

}


.after-et {

    color: var(--gold);

    font-size: 10px;

    margin-top: 5px;

}


.match-resu-venue {

    text-align: center;

    color: #bbbbbb;

    font-size: 10px;

    margin: 20px 0;

}


.match-resu-venue i {

    color: var(--red);

}


.watch-replay button {

    width: 100%;

    padding: 12px;

    background: var(--green);

    color: white;

    border-radius: 5px;

    font-size: 12px;

    font-weight: 800;

    transition: .3s;

}


.watch-replay button:hover {

    background: var(--red);

}


/*  FOOTER */

.site-footer {

    background: var(--navy);

    color: white;

    padding: 45px 5% 0;

}


.footer-section {

    display: grid;

    grid-template-columns: 1.5fr repeat(3, 1fr);

    gap: 35px;

    padding-bottom: 35px;

}


.footer-brand h3 {

    font-size: 22px;

    font-weight: 900;

}


.footer-brand h3 span {

    color: var(--gold);

}


.footer-brand p {

    max-width: 250px;

    color: #aaaaaa;

    font-size: 12px;

    margin-top: 12px;

}


.footer-column {

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.footer-column h4 {

    color: var(--gold);

    font-size: 13px;

    margin-bottom: 5px;

}


.footer-column a {

    color: #bbbbbb;

    font-size: 12px;

    transition: .3s;

}


.footer-column a:hover {

    color: var(--red);

    padding-left: 5px;

}


.footer-bottom {

    padding: 18px 0;

    text-align: center;

    border-top: 1px solid rgba(255, 255, 255, .12);

}


.footer-bottom p {

    color: #aaaaaa;

    font-size: 11px;

}


/*  TOAST NOTIFICATION */

.toast-message {

    position: fixed;

    right: 20px;

    bottom: 20px;

    z-index: 9999;

    max-width: 320px;

    padding: 15px 20px;

    background: var(--green);

    color: white;

    border-radius: 7px;

    font-size: 13px;

    box-shadow: var(--shadow);

    opacity: 0;

    visibility: hidden;

    transform: translateY(20px);

    transition: .3s;

}


.toast-message.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}



/* DESKTOP AND LARGE TABLET */

@media (max-width: 1100px) {

    .app-shell {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .fixture_dashboard {
        padding: 22px;
    }

    .result-dashboard {
        grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr);
        gap: 16px;
    }

    .match {
        padding: 12px 14px;
        gap: 7px;
    }

    .team {
        gap: 8px;
        font-size: 12px;
    }

    .team img {
        width: 28px;
        height: 28px;
    }

    .footer-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-footer .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* TABLET RESPONSIVENESS */

@media (max-width: 900px) {

    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 260px;
        height: 100dvh;
        min-height: 100dvh;
        overflow-y: auto;
        padding: 22px 15px;
        transition: left .35s ease;
        z-index: 1001;
    }

    .sidebar.open,
    .sidebar.active {
        left: 0;
    }

    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 18px;
        right: 15px;
        width: 35px;
        height: 35px;
        background: var(--red);
        color: white;
        border-radius: 6px;
        font-size: 17px;
        z-index: 5;
    }

    .sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .55);
        visibility: hidden;
        opacity: 0;
        transition: .3s;
        z-index: 1000;
    }

    .sidebar-overlay.active {
        visibility: visible;
        opacity: 1;
    }

    .mobile-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #f4f4f4;
        border-radius: 6px;
    }

    .fixture_dashboard {
        width: 100%;
        padding: 22px;
    }

    .result-dashboard {
        grid-template-columns: 1fr;
    }

    .standings-section {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .topnavbar {
        flex-wrap: wrap;
        gap: 5px;
        padding: 10px 3%;
    }

    .topnavbar ul {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: thin;
    }

    .topnavbar ul li a {
        padding: 12px 10px;
    }

    .search-box {
        width: 55%;
    }

}


/* SMALL TABLET  */

@media (max-width: 650px) {

    .score-ticker {
        min-height: 38px;
    }

    .ticker-label {
        min-width: 100px;
        height: 38px;
        font-size: 10px;
    }

    .ticker-track {
        gap: 22px;
        padding-left: 15px;
    }

    .ticker-item {
        font-size: 10px;
    }

    .topbar {
        min-height: 65px;
        padding: 10px 3%;
        gap: 10px;
        flex-wrap: wrap;
    }

    .mobile-menu {
        width: 37px;
        height: 37px;
        font-size: 19px;
        flex-shrink: 0;
    }

    .search-box {
        flex: 1;
        width: auto;
        min-width: 120px;
        padding: 10px;
        gap: 7px;
    }

    .search-box input {
        font-size: 11px;
        min-width: 0;
    }

    .top-actions {
        gap: 6px;
    }

    .action-btn {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }

    .profile {
        padding: 9px 10px;
        font-size: 10px;
    }

    .topnavbar {
        min-height: 50px;
    }

    .nav-brand {
        font-size: 17px;
    }

    .topnavbar ul li a {
        padding: 11px 9px;
        font-size: 11px;
    }

    .fixture_dashboard {
        padding: 16px;
    }

    .page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 18px;
    }

    .page-heading h1 {
        font-size: 24px;
    }

    .page-heading p {
        font-size: 12px;
    }

    .calendar-btn {
        padding: 10px 13px;
        font-size: 11px;
    }

    .header {
        padding: 15px;
        margin-bottom: 18px;
    }

    .month {
        gap: 12px;
    }

    .month h3 {
        font-size: 15px;
    }

    .date {
        min-width: 62px;
        min-height: 60px;
    }

    .filter-container {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .filters,
    .favorite {
        width: 100%;
    }

    .filter,
    .favorite button {
        padding: 8px 11px;
        font-size: 10px;
    }

    .competition-heading {
        padding: 14px;
    }

    .competition-heading h3 {
        font-size: 12px;
    }

    .match {
        grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
        min-height: 68px;
        padding: 10px;
        gap: 5px;
    }

    .team {
        gap: 6px;
        font-size: 11px;
    }

    .team img,
    .team-placeholder {
        width: 25px;
        height: 25px;
    }

    .score strong {
        font-size: 16px;
    }

    .score small {
        font-size: 8px;
        padding: 2px 6px;
    }

    .standings-section {
        grid-template-columns: 1fr;
    }

    .standings,
    .top-scorers {
        padding: 15px;
    }

    .match-result {
        padding: 16px;
    }

    .site-footer {
        padding: 30px 5% 0;
    }

    .footer-section {
        gap: 25px;
    }

    .main-footer .footer-container {
        gap: 25px;
    }

}


/* MOBILE SCREEN  */

@media (max-width: 600px) {

    body {
        font-size: 13px;
    }

    .topbar {
        display: flex;
        flex-wrap: wrap;
    }

    .topbar .search-box {
        order: 3;
        width: 100%;
        flex: 1 0 100%;
        max-width: none;
    }

    .top-actions {
        margin-left: auto;
    }

    .create-acct {
        padding: 8px 10px;
        font-size: 10px;
    }

    .result-dashboard {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .matches-section,
    .standings-section {
        width: 100%;
    }

    .match-resu-info {
        gap: 5px;
    }

    .match-resu-team .flag {
        width: 40px;
        height: 35px;
    }

    .match-resu-team p {
        font-size: 10px;
    }

    .score-container .score {
        font-size: 22px;
    }

    .footer-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .main-footer .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .main-footer .footer-about {
        grid-column: 1 / -1;
    }

}


/* MOBILE SCREEN  */

@media (max-width: 380px) {

    .score-ticker {
        min-height: 35px;
    }

    .ticker-label {
        min-width: 85px;
        height: 35px;
        gap: 5px;
        font-size: 9px;
    }

    .live-dot {
        width: 7px;
        height: 7px;
    }

    .ticker-item {
        font-size: 9px;
    }

    .topbar {
        padding: 9px 10px;
    }

    .mobile-menu {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }

    .action-btn {
        width: 32px;
        height: 32px;
    }

    .profile {
        padding: 8px;
        font-size: 9px;
    }

    .nav-brand {
        font-size: 15px;
    }

    .fixture_dashboard {
        padding: 12px 9px;
    }

    .page-heading h1 {
        font-size: 21px;
    }

    .page-heading p {
        font-size: 11px;
    }

    .header {
        padding: 11px;
    }

    .month {
        gap: 8px;
    }

    .month h3 {
        font-size: 13px;
    }

    .month button {
        width: 28px;
        height: 28px;
    }

    .date {
        min-width: 54px;
        min-height: 55px;
    }

    .date span {
        font-size: 9px;
    }

    .date strong {
        font-size: 11px;
    }

    .filter,
    .favorite button {
        padding: 7px 9px;
        font-size: 9px;
    }

    .competition-heading {
        padding: 11px 9px;
    }

    .competition-heading h3 {
        font-size: 11px;
        gap: 6px;
    }

    .competition-heading > span {
        font-size: 9px;
    }

    .match {
        grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
        gap: 3px;
        padding: 9px 7px;
    }

    .team {
        gap: 4px;
        font-size: 10px;
    }

    .team img,
    .team-placeholder {
        width: 22px;
        height: 22px;
    }

    .score strong {
        font-size: 14px;
    }

    .score small {
        font-size: 7px;
        padding: 2px 4px;
    }

    .standings,
    .top-scorers {
        padding: 11px;
    }

    .sidebar-heading h3 {
        font-size: 14px;
    }

    .match-result {
        padding: 13px 10px;
    }

    .result-header h2 {
        font-size: 14px;
    }

    .match-resu-team .flag {
        width: 32px;
        height: 30px;
    }

    .match-resu-team p {
        font-size: 9px;
    }

    .score-container .score {
        font-size: 19px;
    }

    .site-footer {
        padding: 25px 12px 0;
    }

    .footer-section {
        gap: 18px 12px;
    }

    .footer-brand h3 {
        font-size: 19px;
    }

    .footer-column h4 {
        font-size: 11px;
    }

    .footer-column a {
        font-size: 10px;
    }

    .main-footer .footer-container {
        gap: 18px 12px;
    }

    .toast-message {
        right: 10px;
        bottom: 10px;
        left: 10px;
        width: auto;
        max-width: none;
        padding: 12px;
        font-size: 11px;
    }

}


/* EXTRA SMALL MOBILE  */

@media (max-width: 320px) {

    .topbar {
        gap: 7px;
        padding: 8px;
    }

    .top-actions {
        gap: 4px;
    }

    .action-btn {
        width: 29px;
        height: 29px;
        font-size: 11px;
    }

    .profile {
        padding: 7px;
        font-size: 8px;
    }

    .fixture_dashboard {
        padding: 10px 7px;
    }

    .page-heading h1 {
        font-size: 19px;
    }

    .calendar-btn {
        padding: 9px;
        font-size: 10px;
    }

    .header {
        padding: 9px;
    }

    .date {
        min-width: 48px;
        min-height: 50px;
    }

    .filter,
    .favorite button {
        padding: 6px 7px;
        font-size: 8px;
    }

    .competition-heading {
        padding: 9px 7px;
    }

    .match {
        grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
        padding: 8px 5px;
        gap: 2px;
    }

    .team {
        gap: 3px;
        font-size: 9px;
    }

    .team img,
    .team-placeholder {
        width: 19px;
        height: 19px;
    }

    .score strong {
        font-size: 12px;
    }

    .score small {
        font-size: 6px;
        padding: 2px 3px;
    }

    .sidebar {
        width: min(260px, 85vw);
    }

    .footer-section,
    .main-footer .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .main-footer .footer-about {
        grid-column: auto;
    }

}


/* DARK MODE */

body.dark-mode {
    --page: #111111;
    --surface: #1d1d1d;
    --ink: #f5f5f5;
    --muted: #aaaaaa;
    --line: #333333;

    background: var(--page);
    color: var(--ink);
}

body.dark-mode .topbar,
body.dark-mode .header,
body.dark-mode .competition,
body.dark-mode .standings,
body.dark-mode .top-scorers {
    background: #1d1d1d;
    color: white;
}

body.dark-mode .competition-heading,
body.dark-mode .search-box,
body.dark-mode .date,
body.dark-mode .filter,
body.dark-mode .favorite button,
body.dark-mode .month button,
body.dark-mode .action-btn {
    background: #292929;
    color: white;
    border-color: #383838;
}

body.dark-mode .match {
    border-color: #333333;
}

body.dark-mode .match:hover,
body.dark-mode .standings tbody tr:hover {
    background: #292929;
}

body.dark-mode .score strong {
    color: white;
}

body.dark-mode .standings th {
    background: #292929;
    color: #cccccc;
}

body.dark-mode .standings td {
    border-color: #383838;
}

body.dark-mode .page-heading p,
body.dark-mode .competition-heading > span {
    color: #aaaaaa;
}

body.dark-mode .search-box input {
    color: white;
}

body.dark-mode .date span {
    color: #aaaaaa;
}

body.dark-mode .date.active {
    background: var(--green);
    color: white;
}

body.dark-mode .date.active span {
    color: white;
}

body.dark-mode .score small {
    background: #16452b;
    color: #9ae6b4;
}


/* FOOTER COMPATIBILITY */

/* Newer footer HTML */

.main-footer {
    background: var(--navy);
    color: white;
    padding: 45px 5% 0;
}

.main-footer .footer-container {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    gap: 30px;
    padding-bottom: 35px;
}

.footer-about p {
    max-width: 280px;
    margin-top: 12px;
    color: #aaaaaa;
    font-size: 12px;
}

.footer-logo {
    font-size: 23px;
    font-weight: 900;
}

.footer-logo span {
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    transition: .3s;
}

.footer-social a:hover {
    background: var(--red);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links h4,
.footer-newsletter h4 {
    color: var(--gold);
    font-size: 13px;
    margin-bottom: 5px;
}

.footer-links a {
    color: #bbbbbb;
    font-size: 12px;
    transition: .3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-newsletter p {
    color: #aaaaaa;
    font-size: 12px;
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    gap: 5px;
}

.newsletter-form input {
    width: 100%;
    min-width: 0;
    padding: 11px;
    outline: none;
    border: 1px solid #444;
    background: #292929;
    color: white;
    border-radius: 5px;
}

.newsletter-form button {
    padding: 10px 13px;
    background: var(--green);
    color: white;
    border-radius: 5px;
}

.newsletter-form button:hover {
    background: var(--red);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.12);
}

.footer-bottom p {
    color: #aaaaaa;
    font-size: 11px;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-links a {
    color: #aaaaaa;
    font-size: 11px;
}

.footer-bottom-links a:hover {
    color: var(--gold);
}


/*  ACCESSIBILITY AND FINAL FIXES */

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

html,
body {
    max-width: 100%;
}

.app-shell,
.fixture_dashboard,
.result-dashboard,
.matches-section,
.standings-section {
    min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}



/* GoLiveFootball - MATCH CENTRE
   Scoped fixture styles and responsive layout
 */

.match-center {
    --match-ink: #17221d;
    --match-muted: #78847d;
    --match-line: #e7ece8;
    --match-surface: #ffffff;
    --match-soft: #f7faf8;
    --match-green: #168447;
    --match-green-dark: #116b38;
    --match-live: #dc3545;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
    width: 100%;
}

.match-center *,
.match-center *::before,
.match-center *::after {
    box-sizing: border-box;
}

.match-competition {
    min-width: 0;
    overflow: hidden;
    background: var(--match-surface);
    border: 1px solid var(--match-line);
    border-radius: 13px;
    box-shadow: 0 5px 18px rgba(20, 45, 30, .055);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.match-competition:hover {
    border-color: #d5e4da;
    box-shadow: 0 8px 24px rgba(20, 45, 30, .085);
}

.match-competition .competition-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 14px;
    min-height: 58px;
    padding: 13px 18px;
    background: linear-gradient(110deg, #f8fbf9, #ffffff);
    border-bottom: 1px solid var(--match-line);
}

.match-competition .competition-header h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    margin: 0;
    color: var(--match-ink);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -.15px;
}

.match-competition .competition-header h3 i {
    display: inline-grid;
    place-items: center;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    border-radius: 8px;
    color: #a87908;
    background: #fff5d9;
    font-size: 12px;
}

.match-competition .competition-header > span {
    color: var(--match-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .35px;
}

.match-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 12px 18px;
    background: #fff;
    border-bottom: 1px solid var(--match-line);
    transition: background .18s ease;
}

.match-card:last-child {
    border-bottom: 0;
}

.match-card:hover {
    background: var(--match-soft);
}

.match-team {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--match-ink);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 750;
}

.match-team:first-child {
    justify-content: flex-start;
    text-align: left;
}

.match-team:last-child {
    justify-content: flex-end;
    text-align: right;
}

.match-team img,
.match-team .team-crest-placeholder {
    display: block;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    object-fit: contain;
}

.match-team span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.match-team .team-crest-placeholder {
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--match-green);
    font-size: 11px;
    font-weight: 800;
}

.match-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    text-align: center;
}

.match-score strong {
    color: #17221d;
    font-size: 19px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .2px;
    white-space: nowrap;
}

.match-score small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 18px;
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--match-green-dark);
    background: #e9f6ee;
    font-size: 9px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .45px;
}

/* Dark theme support, restricted to the fixture cards. */
.dark-mode .match-competition {
    --match-ink: #f1f5f2;
    --match-muted: #aab7ae;
    --match-line: #343d37;
    --match-surface: #222a25;
    --match-soft: #29342d;
    background: var(--match-surface);
    border-color: var(--match-line);
}

.dark-mode .match-competition .competition-header {
    background: #252f29;
}

.dark-mode .match-competition .competition-header h3,
.dark-mode .match-team,
.dark-mode .match-score strong {
    color: #f1f5f2;
}

.dark-mode .match-card {
    background: #222a25;
    border-color: #343d37;
}

.dark-mode .match-card:hover {
    background: #29342d;
}

/* 650px — compact tablet and large phones */
@media (max-width: 650px) {
    .match-center {
        gap: 14px;
    }

    .match-competition {
        border-radius: 11px;
    }

    .match-competition .competition-header {
        min-height: 52px;
        padding: 11px 13px;
    }

    .match-competition .competition-header h3 {
        font-size: 12px;
    }

    .match-card {
        grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr);
        min-height: 68px;
        gap: 7px;
        padding: 10px 13px;
    }

    .match-team {
        gap: 7px;
        font-size: 11px;
    }

    .match-team img,
    .match-team .team-crest-placeholder {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
    }

    .match-score strong {
        font-size: 16px;
    }
}

/* 600px — tighter content gutters */
@media (max-width: 600px) {
    .match-center {
        gap: 12px;
    }

    .match-competition .competition-header {
        padding: 10px 11px;
    }

    .match-card {
        grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
        padding: 10px 11px;
        gap: 5px;
    }

    .match-team {
        gap: 6px;
        font-size: 10px;
    }

    .match-team img,
    .match-team .team-crest-placeholder {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    .match-score strong {
        font-size: 15px;
    }
}

/* 380px — narrow mobile */
@media (max-width: 380px) {
    .match-center {
        gap: 10px;
    }

    .match-competition {
        border-radius: 9px;
    }

    .match-competition .competition-header {
        gap: 6px;
        padding: 9px 9px;
    }

    .match-competition .competition-header h3 {
        gap: 6px;
        font-size: 11px;
    }

    .match-competition .competition-header h3 i {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
        font-size: 10px;
    }

    .match-competition .competition-header > span {
        font-size: 8px;
    }

    .match-card {
        grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr);
        min-height: 60px;
        gap: 3px;
        padding: 8px 7px;
    }

    .match-team {
        gap: 4px;
        font-size: 9px;
    }

    .match-team img,
    .match-team .team-crest-placeholder {
        width: 21px;
        height: 21px;
        flex-basis: 21px;
    }

    .match-score {
        gap: 4px;
    }

    .match-score strong {
        font-size: 13px;
    }

    .match-score small {
        min-height: 15px;
        padding: 2px 5px;
        font-size: 7px;
    }
}

/* 300px — very small phones */
@media (max-width: 300px) {
    .match-center {
        gap: 8px;
    }

    .match-competition .competition-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        padding: 8px;
    }

    .match-competition .competition-header h3 {
        font-size: 10px;
    }

    .match-competition .competition-header > span {
        padding-left: 30px;
        font-size: 8px;
    }

    .match-card {
        grid-template-columns: minmax(0, 1fr) 39px minmax(0, 1fr);
        min-height: 56px;
        gap: 2px;
        padding: 7px 5px;
    }

    .match-team {
        gap: 3px;
        font-size: 8px;
    }

    .match-team img,
    .match-team .team-crest-placeholder {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }

    .match-score strong {
        font-size: 11px;
    }

    .match-score small {
        min-height: 13px;
        padding: 1px 4px;
        font-size: 6px;
    }
}


/* 
   HIGHLIGHT VIDEO GRID - FLEX LAYOUT ONLY
   Responsive at 650px, 600px, 380px and 300px
*/

.highlight-video-grid {
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
    gap: 18px;
    width: 100%;
    min-width: 0;
}

.highlight-video-grid > .highlight-card {
    flex: 1 1 calc(33.333% - 12px);
    min-width: 0;
    max-width: calc(33.333% - 12px);
}

.highlight-video-grid > .highlight-card-link {
    display: block;
    height: 100%;
    min-width: 0;
}

/* 650px — two cards per row */
@media (max-width: 650px) {
    .highlight-video-grid {
        gap: 14px;
    }

    .highlight-video-grid > .highlight-card {
        flex-basis: calc(50% - 7px);
        max-width: calc(50% - 7px);
    }
}

/* 600px — tighter tablet and mobile spacing */
@media (max-width: 600px) {
    .highlight-video-grid {
        gap: 12px;
    }

    .highlight-video-grid > .highlight-card {
        flex-basis: calc(50% - 6px);
        max-width: calc(50% - 6px);
    }
}

/* 380px — one card per row on narrow phones */
@media (max-width: 380px) {
    .highlight-video-grid {
        gap: 11px;
    }

    .highlight-video-grid > .highlight-card {
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* 300px — compact spacing on very small phones */
@media (max-width: 300px) {
    .highlight-video-grid {
        gap: 9px;
    }

    .highlight-video-grid > .highlight-card {
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* 
HIGHLIGHT VIDEO GRID - SUBTLE MOTION & INTERACTIONS
 */

@keyframes highlightCardReveal {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes highlightPlayPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.22);
    }
    50% {
        box-shadow: 0 0 0 9px rgba(255, 255, 255, 0);
    }
}

.highlight-video-grid > .highlight-card {
    opacity: 0;
    animation: highlightCardReveal 650ms cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
    transition: transform 250ms ease, box-shadow 250ms ease;
    will-change: transform, opacity;
}

.highlight-video-grid > .highlight-card:nth-child(1) { animation-delay: 60ms; }
.highlight-video-grid > .highlight-card:nth-child(2) { animation-delay: 140ms; }
.highlight-video-grid > .highlight-card:nth-child(3) { animation-delay: 220ms; }
.highlight-video-grid > .highlight-card:nth-child(4) { animation-delay: 300ms; }
.highlight-video-grid > .highlight-card:nth-child(5) { animation-delay: 380ms; }
.highlight-video-grid > .highlight-card:nth-child(6) { animation-delay: 460ms; }
.highlight-video-grid > .highlight-card:nth-child(n + 7) { animation-delay: 540ms; }

.highlight-video-grid .highlight-card-media {
    overflow: hidden;
}

.highlight-video-grid .highlight-card-media img {
    transition: transform 450ms ease, filter 450ms ease;
}

.highlight-video-grid .highlight-card-play {
    animation: highlightPlayPulse 2.2s ease-in-out infinite;
    transition: transform 250ms ease, opacity 250ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .highlight-video-grid > .highlight-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    }

    .highlight-video-grid > .highlight-card:hover .highlight-card-media img {
        transform: scale(1.06);
        filter: brightness(1.08);
    }

    .highlight-video-grid > .highlight-card:hover .highlight-card-play {
        transform: scale(1.12);
        animation-play-state: paused;
    }
}

.highlight-video-grid .highlight-card-link:focus-visible {
    outline: 3px solid var(--green, #15803d);
    outline-offset: 4px;
    border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
    .highlight-video-grid > .highlight-card,
    .highlight-video-grid .highlight-card-media img,
    .highlight-video-grid .highlight-card-play {
        animation: none !important;
        opacity: 1;
        transform: none;
        transition: none !important;
        will-change: auto;
    }
}
