/* -----------------------------------------------------------------------------
   Score24h — 404 page
   Figma 4509:176126
   ----------------------------------------------------------------------------- */

.page-404 {
    background: #0d0d0d;
    color: #eee;
    min-height: 100vh;
}

.page-404 #body.page-404-main,
.page-404 .page-404-main {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 48px 16px 64px;
}

@media (max-width: 1400px) {
    .page-404 #body.page-404-main {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.page-404-main {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80vh;
    min-height: clamp(420px, 62vh, 680px);
    padding: 48px 16px 64px;
    overflow: hidden;
    background: #0d0d0d;

}

.page-404-main__rings {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(920px, 140vw);
    height: min(920px, 140vw);
    transform: translate(-50%, -50%);
    pointer-events: none;
    background:
        radial-gradient(circle, transparent 0 31%, rgba(255, 255, 255, 0.045) 31.2% 31.5%, transparent 31.7%),
        radial-gradient(circle, transparent 0 41%, rgba(255, 255, 255, 0.04) 41.2% 41.5%, transparent 41.7%),
        radial-gradient(circle, transparent 0 51%, rgba(255, 255, 255, 0.035) 51.2% 51.5%, transparent 51.7%),
        radial-gradient(circle, transparent 0 62%, rgba(255, 255, 255, 0.03) 62.2% 62.5%, transparent 62.7%),
        radial-gradient(circle, transparent 0 74%, rgba(255, 255, 255, 0.025) 74.2% 74.5%, transparent 74.7%),
        radial-gradient(circle at center, rgba(253, 0, 0, 0.08) 0%, transparent 55%);
    mask-image: radial-gradient(circle, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 72%);
}

.page-404-hero {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 560px;
    text-align: center;
}

.page-404-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 240px;
    margin: 0 auto;
}

.page-404-code {
    margin: 0;
    font-size: clamp(120px, 28vw, 220px);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: #2a2c33;
    user-select: none;
}

.page-404-ufo {
    position: absolute;
    left: 50%;
    top: 46%;
    width: clamp(140px, 28vw, 220px);
    height: auto;
    transform: translate(-50%, -48%);
    pointer-events: none;
    filter: drop-shadow(0 12px 28px rgba(253, 0, 0, 0.28));
    animation: page-404-float 4.5s ease-in-out infinite;
}

.page-404-message {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    color: #8c8c8e;
}
.page-404-message strong {
    font-weight: 400;
    color: #FFF;
}
.page-404-btn {
    display: flex;
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    border: 0.5px solid #FD0000;
    background: #383845;
    color: var(--Backgrounds-Primary, #FFF);
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    line-height: 25px;
}

.page-404-btn:hover {
    background: #1c1f28;
    border-color: #ff2a2a;
    box-shadow: 0 0 18px rgba(253, 0, 0, 0.28);
    color: #fff;
}

.page-404-btn:focus-visible {
    outline: 2px solid #fd0000;
    outline-offset: 3px;
}

.page-404 .site-footer {
    margin-top: 0;
}

.page-404 .site-footer__bg {
    border-top: 1px solid rgba(253, 0, 0, 0.55);
    box-shadow: 0 -8px 28px rgba(253, 0, 0, 0.18);
}

@keyframes page-404-float {
    0%,
    100% {
        transform: translate(-50%, -48%);
    }
    50% {
        transform: translate(-50%, calc(-48% - 10px));
    }
}

#match-simulation {
    aspect-ratio: 1.4 / 1;
}
@media (max-width: 1311px) {
    #match-simulation {
        aspect-ratio: 1.3 / 1;
    }
}
@media (max-width: 1199px) {
    #match-simulation {
        aspect-ratio: 1.4 / 1;
    }
}
@media (max-width: 767px) {
    #match-simulation {
        aspect-ratio: 1.2 / 1;
    }
}

@media (max-width: 767px) {
    .page-404-main {
        min-height: 480px;
        padding: 32px 16px 48px;
        height: 100%;
    }

    .page-404-hero {
        gap: 16px;
    }

    .page-404-visual {
        min-height: 200px;
    }

    .page-404-message {
        font-size: 14px;
        line-height: 20px;
    }
    .page-404-btn{
        font-size: 14px;
        font-weight: 400;
        line-height: 22px;
        padding: 5px 10px;
        border-radius: 10px;
        border: 0.5px solid #FD0000;
        background: #383845;
        color: #FFF;
        text-align: center;
    }
}

/* -----------------------------------------------------------------------------
   Score24h — Terms of service
   Figma 4443:156868
   ----------------------------------------------------------------------------- */

.page-terms-of-service .home-main.legal-page {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1 1 0;
    min-width: 0;
    gap: 0;
}

.legal-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    min-height: 100%;
    padding: 20px 24px;
    border-radius: 16px;
    background: #15171d;
}

.legal-card__title {
    overflow: hidden;
    color: #FFF;
    text-overflow: ellipsis;
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    margin: 0;
    display: flex;
    padding-bottom: 20px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-bottom: 1px solid #262A34;
}

.legal-card__section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-card__heading {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #eee;
}

.legal-card__text {
    margin: 0;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    color: #B6BAC3;
}

.legal-card__text strong {
    font-weight: 600;
    color: #b6bac3;
}

.page-terms-of-service .site-footer__nav-link[aria-current="page"] {
    color: #eee;
}

@media (max-width: 767px) {
    .legal-card {
        padding: 8px;
        border-radius: 12px;
        gap: 10px;
    }

    .legal-card__title {
        font-size: 20px;
        line-height: 26px;
        padding-bottom: 8px;
    }

    .legal-card__heading {
        font-size: 15px;
        line-height: 22px;
    }

    .legal-card__text {
        font-size: 13px;
        line-height: 20px;
    }
}

.scrollbar
{
    height: 100vh;
	overflow-y: scroll;
	margin-bottom: 25px;
}

/*
 *  STYLE 2
 */

#style-2::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

#style-2::-webkit-scrollbar
{
	width: 12px;
	background-color: #F5F5F5;
}

#style-2::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #D62929;
}

.force-overflow
{
	min-height: 450px;
}

.match-events-rounds{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.match-events-rounds[hidden],
.show-more-btn[hidden] {
    display: none !important;
}
.league-overview-panel.is-active{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.league-overview-dates .match-date-tabs__inner{
    display: none;
}
.league-stats-dropdown.is-open .league-stats-dropdown__menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.league-stats-dropdown.is-open .league-stats-dropdown__trigger {
    background: rgba(85, 85, 100, 0.35);
    border: 1px solid transparent;
    background: linear-gradient(#0F1015, #0F1015) padding-box, linear-gradient(82deg, #FD0000 3.87%, #2E2F3E70 70.11%) border-box;
}

.schedule-card__sport--fixture-tag{
    display: none !important;
}

.show-more-btn{
    display: flex;
    justify-content: center;
    align-items: center;
}
.show-more-btn__inner{
    display: flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    background: rgba(85, 85, 100, 0.25);
    border: 0;
    cursor: pointer;
}
.show-more-btn__inner:hover {
    background-color: rgb(123 123 123 / 25%);
}
.show-more-btn__text{
    color: #FFF;
    font-size: 12px;
    font-weight: 500;
    font-family: "Be Vietnam Pro";
}
/*.league-overview-section__head{*/
/*    display: none;*/
/*}*/
.league-overview-results__label{
    display: none;
}

/* Red card count on league results */
.page-league-results .league-overview-results .schedule-card--result .schedule-card__card-yc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 14px;
    border-radius: 2px;
    background: linear-gradient(180deg, #ff6666 0%, #ff0000 100%);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.page-league-results .league-overview-results .schedule-card--result {
    gap: 8px;
    padding: 4px 8px;
}

.page-league-overview .league-overview-results .schedule-card--result .schedule-card__time-block{
    align-items: center;
}

.page-league-results .league-overview-results .schedule-card--result .schedule-card__date--result {
    color: var(--text-muted, #8c8c8e);
    font-size: 12px;
    font-weight: 500;
    text-transform: none;
    line-height: normal;
}

.page-league-results .league-overview-results .schedule-card--result .schedule-card__favorite--result {
    position: relative;
    z-index: 2;
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.page-league-results .league-overview-results .schedule-card--result .schedule-card__favorite--result:hover,
.page-league-results .league-overview-results .schedule-card--result .schedule-card__favorite--result.is-active {
    background: rgba(253, 194, 0, 0.12);
}

.page-league-results .league-overview-results .schedule-card--result .schedule-card__favorite--result .match-card__chip-favorite-icon {
    width: 16px;
    height: 16px;
}

@media (max-width: 1024px) {
    .page-league-results .league-overview-results .schedule-card--result {
        gap: 6px;
    }

    .page-league-results .league-overview-results .schedule-card--result .schedule-card__score-col--stacked {
        width: 48px;
        min-width: 48px;
        padding: 4px 6px;
    }
}

@media (max-width: 767px) {
    .page-league-results .league-overview-results .schedule-card--result {
        min-height: 64px;
        height: auto;
        padding: 8px;
    }

    .page-league-results .league-overview-results .schedule-card--result .match-card__sport--muted {
        display: none;
    }

    .page-league-results .league-overview-results .schedule-card--result .schedule-card__time-block {
        min-width: 42px;
        width: 42px;
    }

    .page-league-results .league-overview-results .schedule-card--result .schedule-card__date--result {
        font-size: 10px;
    }

    .page-league-results .league-overview-results .schedule-card--result .schedule-card__divider {
        margin: 0 2px;
    }

    .page-league-results .league-overview-results .schedule-card--result .schedule-card__teams--stacked {
        min-width: 0;
    }

    .page-league-results .league-overview-results .schedule-card--result .schedule-card__team-logo {
        width: 20px;
        height: 20px;
    }

    .page-league-results .league-overview-results .schedule-card--result .schedule-card__team-name {
        font-size: 11px;
    }

    .page-league-results .league-overview-results .schedule-card--result .schedule-card__score-col--stacked {
        width: 34px;
        min-width: 34px;
        padding: 2px 4px;
    }

    .page-league-results .league-overview-results .schedule-card--result .schedule-card__score {
        font-size: 14px;
    }

    .page-league-results .league-overview-results .schedule-card--result .schedule-card__favorite--result {
        flex-basis: 24px;
        width: 24px;
        height: 24px;
    }
}

/*Add News Details*/
.mentions{
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(85, 85, 100, 0.25);
}
.mention-title{
    color: #FFF;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}
.list-mentions{
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}
.box-mentions{
    display: flex;
    padding: 4px 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 6px;
    background: #15171D;
}
.box-mentions:hover{
    background: #434343;
}
.box-mentions span{
    color: #FFF;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}
.related-articles{
    display: flex;
    width: 100%;
    padding: 10px;
    flex-direction: column;
    gap: 12px;
    border-radius: 16px;
    background: #15171D;
}
.title-related-category{

}
.title-related-category span{
    color: #FFF;
    font-size: 24px;
    font-weight: 500;
}
@media (max-width: 767px){
    .related-articles .news-item-sm{
        flex-direction: column !important;
    }
    .related-articles .news-item-sm--lg .news-item-sm__thumb{
        width: 100%;
        height: auto;
    }
    a.news-item-sm--lg .news-item-sm__thumb{
        /*width: 100%;*/
        height: auto;
    }
    .box-mentions span{
        font-size: 12px;
        line-height: 18px;
    }
}
/*End News Details*/
