main {
    display: none;
}

.preloader {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-direction: column;
    color: #9CA0AB;
    gap: 16px;
}

.preloader img {
    width: 50px;
    height: 50px;
}

.hero {
    background-image: url(../images/hero.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 32px 16px;
    color: white;
}

.hero .left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 70%;
}

.hero .left h1 {
    font-size: 32px;
    font-family: "Play", sans-serif;
}

.hero .left h1 span {
    color: #E41827;
}

.hero .left .hero-caption {
    color: #9CA0AB;
}

.hero .left .footer .actions a {
    text-decoration: none;
}

.hero .left .footer .actions button {
    cursor: pointer;
}

.hero .left .footer .actions .signin-btn {
    display: none;
}

.hero .left .footer .actions .signup-btn {
    background: #E41827;
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    color: white;
}

.hero .left .footer .actions .signup-btn:hover {
    opacity: .5;
}

.hero .left .footer .bonus {
    color: #9CA0AB;
    font-size: 14px;
    margin-top: 16px;
}

.hero .left .hr {
    display: none;
}

.hero .right {
    display: none;
}

/* Featured Match */
.matches {
    padding-block: 32px;
}

.matches .featured-match {
    padding-inline: 16px;
    color: white;
    text-align: center;
}

.matches .featured-match h2 {
    font-family: "Play", sans-serif;
    margin-bottom: 32px;
}

.matches .featured-match .fm-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 90%;
    margin: 0 auto;
    gap: 16px;
}

.matches .featured-match .fm-teams .fm-teams-left,
.matches .featured-match .fm-teams .fm-teams-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.matches .featured-match .fm-teams .fm-teams-left img,
.matches .featured-match .fm-teams .fm-teams-right img {
    height: 70px;
    width: 70px;
}

.matches .featured-match .fm-teams .fm-teams-center {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4px;
}

.matches .featured-match .fm-teams .fm-teams-center h3 {
    font-size: 16px;
}

.matches .featured-match .fm-teams .fm-teams-center span {
    font-size: 12px;
}

.matches .featured-match .fm-teams .fm-teams-center p {
    color: #32CE62;
    font-size: 12px;
}

.matches .featured-match .fm-teams .fm-teams-center h3.f-score {
    font-size: 16px;
}

.matches .featured-match .caption-title {
    margin-block: 32px;
    font-size: 14px;
    font-family: "Play", sans-serif;
}

.matches .featured-match .tabbars {
    display: flex;
    gap: 32px;
    justify-content: space-between;
    border-bottom: 1px solid #353A45;
}

.matches .featured-match .tabbars .tabbar {
    padding-block: 16px;
    border-bottom: 4px solid transparent;
    flex: 1;
}

.matches .featured-match .tabbars .tabbar.active {
    color: #32CE62;
    border-color: #32CE62;
}

.matches .featured-match a .fm-view-btn {
    padding: 8px 16px;
    border-radius: 8px;
    color: #E41827;
    background: white;
    border: none;
    outline: none;
    font-weight: bold;
    margin: 32px;
    cursor: pointer;
}

.matches .featured-match a .fm-view-btn:hover {
    opacity: .5;
}

.matches .featured-match .filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.matches .featured-match .filters select {
    background: transparent;
    border-radius: 8px;
    padding: 8px;
    font-size: 12px;
    border: 1px solid #353A45;
    outline: none;
    color: #9CA0AB;
}


/* LIVE UPCOMING MATCHES */
.matches .live-upcoming-matches {
    padding-block: 32px;
    color: white;
}

.matches .live-upcoming-matches .live {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.matches .live-upcoming-matches .live .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 16px;
}

.matches .live-upcoming-matches .live .header .left {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: hidden;
}

.matches .live-upcoming-matches .live .header .left .badge {
    background: #538C00;
    padding: 4px 8px;
    font-size: 12px;
}

.matches .live-upcoming-matches .live .header .left .sports {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 70%;
    overflow-x: auto;
}

.matches .live-upcoming-matches .live .header .left .sports::-webkit-scrollbar {
    display: none;
}

.matches .live-upcoming-matches .live .header .left .sports .sport {
    white-space: nowrap;
    color: #9CA0AB;
    cursor: pointer;
}

.matches .live-upcoming-matches .live .header .left .sports .sport:hover {
    opacity: .5;
}

.matches .live-upcoming-matches .live .header .left .sports .sport.active {
    color: white;
    opacity: 1;
}

.matches .live-upcoming-matches .live .header a {
    white-space: nowrap;
    text-decoration: none;
    color: #E41827;
    font-size: 12px;
}

.matches .live-upcoming-matches .live .header a:hover {
    opacity: .5;
}

.matches .live-upcoming-matches .live .live-matches-list {
    display: flex;
    gap: 16px;
    padding-inline: 16px;
    overflow-x: auto;
}

.matches .live-upcoming-matches .live .live-matches-list::-webkit-scrollbar {
    display: none;
}

.matches .live-upcoming-matches .live .live-matches-list .match {
    background: #1B1E25;
    border-radius: 8px;
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 280px;
    color: white;
    text-decoration: none;
}

.matches .live-upcoming-matches .live .live-matches-list .match .m-header {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.matches .live-upcoming-matches .live .live-matches-list .match .m-header .time {
    color: #32CE62;
}

.matches .live-upcoming-matches .live .live-matches-list .match .m-header .type {
    color: #9CA0AB;
}

.matches .live-upcoming-matches .live .live-matches-list .match .m-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.matches .live-upcoming-matches .live .live-matches-list .match .m-teams .left,
.matches .live-upcoming-matches .live .live-matches-list .match .m-teams .right {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.matches .live-upcoming-matches .live .live-matches-list .match .m-teams .left img,
.matches .live-upcoming-matches .live .live-matches-list .match .m-teams .right img {
    width: 50px;
    height: 50px;
}

.matches .live-upcoming-matches .live .live-matches-list .match .m-teams .left p,
.matches .live-upcoming-matches .live .live-matches-list .match .m-teams .right p {
    font-size: 12px;
    text-align: center;
}

.matches .live-upcoming-matches .live .live-matches-list .match .m-teams .center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.matches .live-upcoming-matches .live .live-matches-list .match .m-teams .center p {
    font-size: 12px;
    color: #32CE62;
}

.matches .live-upcoming-matches .live .live-matches-list .match .m-teams .center h3 {
    font-size: 16px;
}

.matches .live-upcoming-matches .live .live-matches-list .match .footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #353A45;
    padding-top: 8px;
    font-size: 12px;
    color: #9CA0AB;
}

.matches .live-upcoming-matches .upcoming {
    padding-top: 32px;
}

.matches .live-upcoming-matches .upcoming .header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-inline: 16px;
}

.matches .live-upcoming-matches .upcoming .header .badge {
    padding: 4px 8px;
    background: #E41827;
    font-size: 12px;
}

.matches .live-upcoming-matches .upcoming .header .sports {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
}

.matches .live-upcoming-matches .upcoming .header .sports::-webkit-scrollbar {
    display: none;
}

.matches .live-upcoming-matches .upcoming .header .sports .sport {
    white-space: nowrap;
    color: #9CA0AB;
}

.matches .live-upcoming-matches .upcoming .header .sports .sport:hover {
    cursor: pointer;
    opacity: .5;
}

.matches .live-upcoming-matches .upcoming .header .sports .sport.active {
    color: white;
    opacity: 1;
}

.matches .live-upcoming-matches .upcoming .days {
    display: flex;
    gap: 16px;
    color: #9CA0AB;
    padding: 16px;
    overflow-x: auto;
    border-top: 1px solid #353A45;
    margin-top: 8px;
}

.matches .live-upcoming-matches .upcoming .days::-webkit-scrollbar {
    display: none;
}

.matches .live-upcoming-matches .upcoming .day {
    font-size: 14px;
}

.matches .live-upcoming-matches .upcoming .day:hover {
    cursor: pointer;
    opacity: .5;
}

.matches .live-upcoming-matches .upcoming .day.active {
    color: white;
    opacity: 1;
}

.matches .live-upcoming-matches .upcoming .date {
    padding: 4px 16px;
    background: #353A45;
    font-size: 10px;
}

.matches .live-upcoming-matches .upcoming .matches-list {
    display: flex;
    flex-direction: column;
}

.matches .live-upcoming-matches .upcoming .matches-list .match {
    border-bottom: 1px solid #353A45;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    cursor: pointer;
    color: white;
    text-decoration: none;
}

.matches .live-upcoming-matches .upcoming .matches-list .match:hover {
    opacity: .5;
}

.matches .live-upcoming-matches .upcoming .matches-list .match .m-header {
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #9CA0AB;
}

.matches .live-upcoming-matches .upcoming .matches-list .match .m-header .right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.matches .live-upcoming-matches .upcoming .matches-list .match .m-teams {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.matches .live-upcoming-matches .upcoming .matches-list .match .m-teams .left,
.matches .live-upcoming-matches .upcoming .matches-list .match .m-teams .right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.matches .live-upcoming-matches .upcoming .matches-list .match .m-teams .left img,
.matches .live-upcoming-matches .upcoming .matches-list .match .m-teams .right img {
    width: 50px;
    height: 50px;
}

.matches .live-upcoming-matches .upcoming .matches-list .match .m-teams .left p,
.matches .live-upcoming-matches .upcoming .matches-list .match .m-teams .right p {
    font-size: 12px;
}

.matches .live-upcoming-matches .upcoming .matches-list .match .m-teams .center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.matches .live-upcoming-matches .upcoming .matches-list .match .m-teams .center h3 {
    font-size: 14px;
}

.matches .live-upcoming-matches .upcoming .matches-list .view-more-matches {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-block: 16px;
    color: #E41827;
    text-decoration: none;
    gap: 8px;
}

.no-live-items {
    width: 100%;
    padding-block: 50px;
    color: #9CA0AB;
    text-align: center;
}

.loading {
    width: 100%;
    padding-block: 50px;
    color: #9CA0AB;
    text-align: center;
}

.no-games {
    width: 100%;
    padding-block: 50px;
    color: #9CA0AB;
    text-align: center;
}

@media(min-width: 768px) {
    .hero {
        padding-top: 100px;
        padding-inline: 48px;
        height: 100vh;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .hero .left {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero .left h1 {
        font-size: 48px;
    }

    .hero .left .footer .actions {
        display: flex;
        gap: 32px;
    }

    .hero .left .footer .actions .signin-btn {
        display: block;
        background: transparent;
        border: 1px solid white;
        border-radius: 8px;
        padding: 16px 32px;
        color: white;
    }

    .hero .left .footer .actions .signin-btn:hover {
        background: white;
        color: #E41827;
    }

    .hero .left .hr {
        display: block;
        background: linear-gradient(to right, white, rgba(255, 255, 255, 0.1));
        height: 1px;
        width: 70%;
    }

    .hero .right {
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: center;
        align-items: center;
        gap: 32px;
    }

    .hero .right .vr {
        width: 1px;
        background: rgb(228, 24, 39, 0.5);
        height: 100px;
    }

    .hero .right .socials {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .hero .right .socials a {
        text-decoration: none;
        color: white;
    }

    .hero .right .socials a i {
        font-size: 20px;
    }

    /* Featured Match */
    .matches {
        display: flex;
        flex-direction: row-reverse;
        gap: 16px;
        padding-right: 32px;
    }

    .matches .featured-match {
        background: #060918;
        border-radius: 20px;
        padding-top: 32px;
        height: fit-content;
        flex: 1;
        font-size: 12px;
    }

    .matches .featured-match .fm-teams .fm-teams-left img,
    .matches .featured-match .fm-teams .fm-teams-right img {
        width: 40px;
        height: 40px;
    }

    .matches .live-upcoming-matches {
        flex: 1;
        overflow-x: hidden;
        padding: 0;
    }
}

@media(min-width: 768px) {
    .matches .featured-match {
        flex: 1;
    }

    .matches .live-upcoming-matches {
        flex: 2;
    }
}