/* =========================================================
   MARKHOR ESPORTS
   TOURNAMENT RESULTS
   PREMIUM RESULTS PAGE
========================================================= */


/* =========================================================
   HERO
========================================================= */

.results-hero {

    min-height: 460px;

    padding: 90px 7vw;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 60px;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 45%,
            rgba(183, 255, 0, 0.12),
            transparent 35%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(0, 255, 80, 0.06),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #050505,
            #0d0d0d 55%,
            #050505
        );

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


.results-hero::before {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    right: -220px;

    top: -220px;

    border-radius: 50%;

    border:
        1px solid rgba(183,255,0,0.08);

    pointer-events: none;
}


.results-hero::after {

    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    left: -180px;

    bottom: -180px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,0.05);

    pointer-events: none;
}


.results-hero > div:first-child {

    position: relative;

    z-index: 2;
}


.results-hero small {

    color: #b7ff00;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 3px;
}


.results-hero h1 {

    margin: 18px 0;

    font-size: clamp(
        55px,
        8vw,
        105px
    );

    line-height: 0.86;

    font-weight: 1000;

    letter-spacing: -5px;
}


.results-hero h1 em {

    color: #b7ff00;

    font-style: normal;
}


.results-hero p {

    max-width: 600px;

    margin-top: 25px;

    color: #888;

    font-size: 16px;

    line-height: 1.7;
}



/* =========================================================
   MARKHOR LOGO BADGE
========================================================= */

.results-badge {

    width: 280px;

    height: 280px;

    flex-shrink: 0;

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:

        radial-gradient(
            circle,
            rgba(183,255,0,0.14) 0%,
            rgba(183,255,0,0.04) 45%,
            #080808 72%
        );

    border:
        2px solid rgba(183,255,0,0.45);

    box-shadow:

        0 0 35px
        rgba(183,255,0,0.12),

        inset 0 0 50px
        rgba(183,255,0,0.08);
}


.results-badge::before {

    content: "";

    position: absolute;

    inset: 10px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,0.14);
}


.results-badge::after {

    content: "";

    position: absolute;

    inset: 20px;

    border-radius: 50%;

    border:
        1px dashed rgba(183,255,0,0.18);
}


.results-badge img {

    position: absolute;

    width: 190px;

    height: 190px;

    object-fit: cover;

    border-radius: 50%;

    opacity: 0.88;

    z-index: 1;

    filter:

        drop-shadow(
            0 0 15px
            rgba(183,255,0,0.25)
        );
}


.results-badge-text {

    position: absolute;

    bottom: 25px;

    z-index: 3;

    display: flex;

    flex-direction: column;

    align-items: center;

    padding: 4px 12px;

    background:
        rgba(0,0,0,0.72);

    border-radius: 5px;
}


.results-badge-text span {

    color: #ffffff;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 2px;
}


.results-badge-text strong {

    margin-top: 2px;

    color: #b7ff00;

    font-size: 14px;

    font-weight: 1000;

    letter-spacing: 3px;
}


.results-badge-text small {

    margin-top: 2px;

    color: #ffffff;

    font-size: 7px;

    letter-spacing: 2px;
}



/* =========================================================
   TOURNAMENT TITLE
========================================================= */

.results-title {

    padding:

        75px
        20px
        40px;

    text-align: center;
}


.results-title small {

    color: #b7ff00;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 3px;
}


.results-title h2 {

    margin:

        12px
        0
        8px;

    font-size: clamp(
        34px,
        5vw,
        62px
    );

    line-height: 1;

    font-weight: 1000;

    letter-spacing: -2px;
}


.results-title p {

    margin: 0;

    color: #666;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 3px;
}



/* =========================================================
   PODIUM SECTION
========================================================= */

.podium-section {

    padding:

        25px
        6vw
        90px;
}


.podium {

    max-width: 1150px;

    margin: auto;

    display: grid;

    grid-template-columns:

        1fr
        1.15fr
        1fr;

    align-items: end;

    gap: 18px;
}



/* =========================================================
   PODIUM CARD
========================================================= */

.podium-card {

    position: relative;

    overflow: hidden;

    padding:

        38px
        25px
        32px;

    text-align: center;

    background:

        linear-gradient(
            145deg,
            #171717,
            #0a0a0a
        );

    border:

        1px solid
        rgba(255,255,255,0.08);

    border-radius: 14px;

    transition:

        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


.podium-card:hover {

    transform:
        translateY(-7px);
}


.podium-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 3px;

    opacity: .8;
}


.podium-card.first {

    min-height: 390px;

    border-color:
        rgba(255,215,0,0.45);

    box-shadow:

        0 0 60px
        rgba(255,215,0,0.10);
}


.podium-card.first::before {

    background:
        linear-gradient(
            90deg,
            transparent,
            #ffd700,
            transparent
        );
}


.podium-card.second {

    min-height: 330px;

    border-color:
        rgba(192,192,192,0.32);
}


.podium-card.second::before {

    background:
        linear-gradient(
            90deg,
            transparent,
            #c0c0c0,
            transparent
        );
}


.podium-card.third {

    min-height: 300px;

    border-color:
        rgba(205,127,50,0.35);
}


.podium-card.third::before {

    background:
        linear-gradient(
            90deg,
            transparent,
            #cd7f32,
            transparent
        );
}



/* =========================================================
   MEDALS
========================================================= */

.medal {

    width: 92px;

    height: 92px;

    margin:

        0
        auto
        20px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    font-size: 42px;

    line-height: 1;

    border: 5px solid;

    position: relative;

    box-shadow:

        0 10px 35px
        rgba(0,0,0,0.5);
}


.podium-card.first .medal {

    width: 125px;

    height: 125px;

    font-size: 56px;

    border-color: #ffd700;

    background:

        radial-gradient(
            circle at 35% 25%,
            #fff7ad,
            #ffd700 40%,
            #b77b00 75%,
            #704900
        );

    box-shadow:

        0 0 45px
        rgba(255,215,0,0.35),

        inset 0 0 20px
        rgba(255,255,255,0.3);
}


.podium-card.second .medal {

    border-color: #d8d8d8;

    background:

        radial-gradient(
            circle at 35% 25%,
            #ffffff,
            #cfcfcf 40%,
            #888888 75%,
            #555555
        );

    box-shadow:

        0 0 30px
        rgba(220,220,220,0.2);
}


.podium-card.third .medal {

    border-color: #cd7f32;

    background:

        radial-gradient(
            circle at 35% 25%,
            #ffd6ad,
            #cd7f32 45%,
            #8a4e1d 75%,
            #5b3013
        );

    box-shadow:

        0 0 30px
        rgba(205,127,50,0.25);
}



/* =========================================================
   POSITION
========================================================= */

.position-label {

    color: #777;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 3px;
}


.podium-card.first .position-label {

    color: #ffd700;
}


.podium-card.second .position-label {

    color: #c0c0c0;
}


.podium-card.third .position-label {

    color: #cd7f32;
}



/* =========================================================
   TEAM NAME
========================================================= */

.podium-card h3 {

    margin:

        15px
        0
        5px;

    color: #ffffff;

    font-size: 25px;

    font-weight: 1000;

    letter-spacing: -.5px;
}


.podium-card.first h3 {

    font-size: 30px;
}


.podium-tag {

    color: #666;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 3px;
}



/* =========================================================
   PRIZE
========================================================= */

.podium-prize {

    margin-top: 30px;

    color: #666;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;
}


.podium-prize strong {

    display: block;

    margin-top: 7px;

    color: #b7ff00;

    font-size: 24px;

    font-weight: 1000;

    letter-spacing: 0;
}


.podium-card.first .podium-prize strong {

    font-size: 29px;

    color: #ffd700;
}



/* =========================================================
   RESULTS LIST
========================================================= */

.all-results {

    max-width: 1150px;

    margin: auto;

    padding:

        30px
        25px
        110px;
}


.results-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 28px;
}


.results-heading small {

    color: #b7ff00;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 3px;
}


.results-heading h2 {

    margin:

        8px
        0
        0;

    font-size: 40px;

    font-weight: 1000;

    letter-spacing: -1px;
}


.live-status {

    padding:

        9px
        14px;

    color: #b7ff00;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1.5px;

    border:

        1px solid
        rgba(183,255,0,0.28);

    background:
        rgba(183,255,0,0.04);

    border-radius: 5px;
}



/* =========================================================
   RESULT ROW
========================================================= */

.results-list {

    display: grid;

    gap: 10px;
}


.result-row {

    min-height: 76px;

    display: grid;

    grid-template-columns:

        80px
        1fr
        180px;

    align-items: center;

    gap: 20px;

    padding:

        14px
        22px;

    background:

        linear-gradient(
            100deg,
            #121212,
            #0d0d0d
        );

    border:

        1px solid
        rgba(255,255,255,0.06);

    border-radius: 9px;

    transition:

        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}


.result-row:hover {

    transform:
        translateX(6px);

    border-color:
        rgba(183,255,0,0.25);

    background:
        #151515;
}



/* =========================================================
   RESULT POSITION
========================================================= */

.result-position {

    color: #555;

    font-size: 25px;

    font-weight: 1000;

    font-variant-numeric:
        tabular-nums;
}


.result-row:nth-child(1)
.result-position {

    color: #ffd700;
}


.result-row:nth-child(2)
.result-position {

    color: #c0c0c0;
}


.result-row:nth-child(3)
.result-position {

    color: #cd7f32;
}



/* =========================================================
   TEAM
========================================================= */

.result-team {

    min-width: 0;

    display: flex;

    align-items: center;

    gap: 15px;
}


.result-logo {

    width: 48px;

    height: 48px;

    flex-shrink: 0;

    object-fit: contain;

    border-radius: 8px;

    background:
        #191919;

    border:
        1px solid
        rgba(255,255,255,0.07);
}


.result-logo-placeholder {

    display: flex;

    align-items: center;

    justify-content: center;

    color: #b7ff00;

    font-size: 18px;

    font-weight: 1000;
}


.result-team strong {

    display: block;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: #ffffff;

    font-size: 15px;

    font-weight: 900;
}


.result-team small {

    display: block;

    margin-top: 4px;

    color: #666;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;
}



/* =========================================================
   PRIZE
========================================================= */

.result-prize {

    text-align: right;

    color: #555;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


.result-prize strong {

    display: block;

    margin-top: 4px;

    color: #b7ff00;

    font-size: 17px;

    letter-spacing: 0;
}



/* =========================================================
   LOADING / EMPTY
========================================================= */

.results-loading {

    grid-column: 1 / -1;

    width: 100%;

    padding: 60px 20px;

    text-align: center;

    color: #666;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;

    border:

        1px solid
        rgba(255,255,255,0.06);

    border-radius: 10px;

    background:
        #0d0d0d;
}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 850px) {

    .results-hero {

        min-height: auto;

        padding:

            65px
            25px;

        flex-direction: column;

        align-items: flex-start;

    }


    .results-hero h1 {

        letter-spacing: -3px;

    }


    .results-badge {

        width: 220px;

        height: 220px;

        align-self: center;
    }


    .results-badge img {

        width: 145px;

        height: 145px;
    }


    .podium {

        grid-template-columns: 1fr;

        max-width: 500px;
    }


    .podium-card.first,
    .podium-card.second,
    .podium-card.third {

        min-height: auto;

    }


    .podium-card.first {

        order: 1;
    }


    .podium-card.second {

        order: 2;
    }


    .podium-card.third {

        order: 3;
    }

}


@media (max-width: 600px) {

    .results-title {

        padding-top: 55px;
    }


    .results-title h2 {

        font-size: 34px;

    }


    .results-heading {

        flex-direction: column;

        align-items: flex-start;

    }


    .results-heading h2 {

        font-size: 32px;

    }


    .result-row {

        grid-template-columns:

            50px
            1fr;

        gap: 12px;

        padding:

            14px
            15px;
    }


    .result-prize {

        grid-column: 2;

        text-align: left;

        margin-top: -5px;
    }


    .result-position {

        font-size: 21px;
    }


    .result-team strong {

        font-size: 14px;
    }

}


@media (max-width: 400px) {

    .results-hero h1 {

        font-size: 52px;

    }


    .results-badge {

        width: 190px;

        height: 190px;

    }


    .results-badge img {

        width: 125px;

        height: 125px;

    }


    .results-badge-text {

        bottom: 16px;

    }


    .podium-card {

        padding: 30px 18px;

    }

}
