/* CONCURSURI_HUB_V1 */

.contests-hub-page {
    background:
        radial-gradient(
            circle at 50% 0,
            rgba(255,255,255,.72),
            transparent 38rem
        ),
        #f6f0e5;
}

.contests-hub {
    width: min(1420px, calc(100% - 40px));
    margin: 0 auto;
    padding: 48px 0 80px;
    color: #121212;
}


/* HERO */

.contests-hub__hero {
    text-align: center;
    max-width: 980px;
    margin: 0 auto 36px;
}

.contests-hub__eyebrow {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #a51d23;
}

.contests-hub__title {
    margin: 0;
    font-size: clamp(44px, 6vw, 78px);
    line-height: .96;
    letter-spacing: -.055em;
    font-weight: 950;
    color: #111;
}

.contests-hub__intro {
    max-width: 860px;
    margin: 22px auto 0;
    font-size: clamp(19px, 2vw, 27px);
    line-height: 1.35;
    font-weight: 750;
    color: #252525;
}


/* GENERAL / MINI-LIGI */

.contests-hub__modes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 980px;
    margin: 0 auto 54px;
}

.contests-mode {
    padding: 21px 24px;
    border: 1px solid rgba(18,18,18,.18);
    background: rgba(255,255,255,.48);
    box-shadow: 0 12px 30px rgba(25,18,10,.055);
}

.contests-mode__label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1;
    letter-spacing: .14em;
    font-weight: 950;
    color: #a51d23;
}

.contests-mode__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 650;
    color: #242424;
}


/* GAME GRID */

.contests-games {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}


/*
 * Entire game module is one link.
 */

.contest-game-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 36px 20px 30px;
    color: #111;
    text-decoration: none;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.76),
            rgba(255,255,255,.42)
        );
    border: 1px solid rgba(18,18,18,.14);
    box-shadow:
        0 22px 60px rgba(31,22,12,.08),
        inset 0 1px 0 rgba(255,255,255,.9);
    overflow: hidden;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.contest-game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(165,29,35,.42);
    box-shadow:
        0 30px 74px rgba(31,22,12,.13),
        inset 0 1px 0 rgba(255,255,255,.9);
}

.contest-game-card:focus-visible {
    outline: 3px solid #a51d23;
    outline-offset: 4px;
}


/* VISUAL AREA */

.contest-game-card__visual {
    position: relative;
    width: 100%;
    max-width: 610px;
    min-height: 390px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* MAIN MEDALLION */

.game-medallion {
    position: relative;
    z-index: 2;
    width: min(345px, 64vw);
    aspect-ratio: 1;
    padding: 9px;
    border-radius: 50%;
    background:
        conic-gradient(
            from -18deg,
            #151719 0deg 49deg,
            #ffffff 49deg 61deg,
            #151719 61deg 183deg,
            #a71921 183deg 207deg,
            #151719 207deg 286deg,
            #a71921 286deg 306deg,
            #151719 306deg 360deg
        );
    box-shadow:
        0 18px 38px rgba(20,15,10,.13);
    transition:
        transform .22s ease,
        filter .22s ease;
}

.contest-game-card:hover .game-medallion {
    transform: scale(1.012);
}

.game-medallion__inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            circle at 50% 35%,
            #fffdf9 0,
            #faf5eb 70%,
            #f3ecdf 100%
        );
    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,.08);
    text-align: center;
}

.game-name {
    margin: 0;
    font-size: clamp(40px, 4.2vw, 58px);
    line-height: .92;
    letter-spacing: -.055em;
    font-weight: 950;
    color: #111;
}

.game-name-rule {
    width: 56px;
    height: 5px;
    margin: 13px 0 16px;
    background: #aa1c23;
}

.game-small-label {
    font-size: 19px;
    line-height: 1.1;
    font-weight: 800;
}


/* PRONO */

.prono-score {
    margin: 3px 0 0;
    font-size: clamp(76px, 8vw, 114px);
    line-height: .88;
    letter-spacing: -.08em;
    font-weight: 950;
    transition: transform .22s ease;
}

.contest-game-card--prono:hover .prono-score {
    transform: scale(1.025);
}

.prono-away {
    margin-top: 8px;
}


/* SIDE BADGES */

.game-side-badge {
    position: absolute;
    z-index: 3;
    width: 132px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fbf6ec;
    border: 5px solid #17191b;
    box-shadow: 0 12px 26px rgba(25,18,10,.09);
}

.game-side-badge::before {
    content: "";
    position: absolute;
    inset: 11px;
    border: 3px dotted #b21d24;
    border-radius: 50%;
    opacity: .9;
}

.game-side-badge--left {
    left: 0;
}

.game-side-badge--right {
    right: 0;
}

.game-side-badge--left::after,
.game-side-badge--right::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 45px;
    border-top: 4px dotted #b21d24;
    transform: translateY(-50%);
}

.game-side-badge--left::after {
    left: 100%;
}

.game-side-badge--right::after {
    right: 100%;
}

.game-side-badge__content {
    position: relative;
    z-index: 1;
    max-width: 98px;
}

.game-side-badge__big {
    display: block;
    color: #a91920;
    font-size: 34px;
    line-height: .95;
    font-weight: 950;
    letter-spacing: -.04em;
}

.game-side-badge__rule {
    display: block;
    width: 42px;
    height: 3px;
    margin: 9px auto;
    background: #a91920;
}

.game-side-badge__small {
    display: block;
    font-size: 14px;
    line-height: 1.17;
    font-weight: 850;
    color: #111;
}


/* GOL5 */

.gol5-pick-label {
    margin-bottom: 13px;
    font-size: 18px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .015em;
}

.gol5-dots {
    display: grid;
    grid-template-columns: repeat(3, 54px);
    grid-template-rows: repeat(3, 54px);
    gap: 7px;
    align-items: center;
    justify-items: center;
    margin: 0 auto 12px;
}

.gol5-dot {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #f8f3e9;
    box-shadow:
        0 0 0 2px rgba(17,17,17,.55),
        0 6px 12px rgba(16,12,8,.13),
        inset 0 8px 12px rgba(255,255,255,.15);
}

.gol5-dot--red {
    grid-column: 2;
    grid-row: 1;
    background: #ad2026;
}

.gol5-dot--green-1 {
    grid-column: 1;
    grid-row: 2;
    background: #357e4a;
}

.gol5-dot--green-2 {
    grid-column: 2;
    grid-row: 2;
    background: #357e4a;
}

.gol5-dot--green-3 {
    grid-column: 3;
    grid-row: 2;
    background: #357e4a;
}

.gol5-dot--blue {
    grid-column: 2;
    grid-row: 3;
    background: #235b97;
}

.gol5-legend {
    max-width: 290px;
    padding: 0 16px;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 950;
    letter-spacing: -.01em;
    text-transform: uppercase;
}


/* BOTTOM */

.contest-game-card__bottom {
    position: relative;
    z-index: 5;
    margin-top: auto;
    text-align: center;
}

.contest-game-card__slogan {
    margin: 2px auto 22px;
    font-size: clamp(22px, 2.3vw, 31px);
    line-height: 1.15;
    letter-spacing: -.035em;
    font-weight: 900;
}

.contest-game-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 15px 26px;
    border-radius: 999px;
    color: #fff;
    background:
        linear-gradient(
            180deg,
            #b81e25 0%,
            #99161d 100%
        );
    box-shadow:
        0 10px 22px rgba(145,19,27,.2);
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
    transition:
        background .2s ease,
        transform .2s ease;
}

.contest-game-card:hover .contest-game-card__cta {
    background:
        linear-gradient(
            180deg,
            #a91820 0%,
            #851218 100%
        );
    transform: translateY(-1px);
}

.contest-game-card__arrow {
    margin-left: 12px;
    font-size: 24px;
    line-height: .7;
}


/* MOBILE */

@media (max-width: 1100px) {
    .contests-games {
        grid-template-columns: 1fr;
        max-width: 720px;
        margin: 0 auto;
    }

    .contest-game-card__visual {
        max-width: 620px;
    }
}

@media (max-width: 680px) {
    .contests-hub {
        width: min(100% - 24px, 1420px);
        padding-top: 30px;
    }

    .contests-hub__modes {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 34px;
    }

    .contest-game-card {
        padding: 25px 8px 24px;
    }

    .contest-game-card__visual {
        min-height: 330px;
    }

    .game-medallion {
        width: min(285px, 72vw);
        padding: 7px;
    }

    .game-side-badge {
        width: 93px;
        border-width: 4px;
    }

    .game-side-badge::before {
        inset: 7px;
        border-width: 2px;
    }

    .game-side-badge--left {
        left: -7px;
    }

    .game-side-badge--right {
        right: -7px;
    }

    .game-side-badge--left::after,
    .game-side-badge--right::after {
        width: 24px;
        border-top-width: 3px;
    }

    .game-side-badge__content {
        max-width: 72px;
    }

    .game-side-badge__big {
        font-size: 24px;
    }

    .game-side-badge__rule {
        width: 28px;
        height: 2px;
        margin: 6px auto;
    }

    .game-side-badge__small {
        font-size: 10px;
    }

    .game-name {
        font-size: 39px;
    }

    .game-name-rule {
        width: 45px;
        height: 4px;
        margin: 9px 0 11px;
    }

    .game-small-label {
        font-size: 16px;
    }

    .prono-score {
        font-size: 75px;
    }

    .gol5-pick-label {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .gol5-dots {
        grid-template-columns: repeat(3, 42px);
        grid-template-rows: repeat(3, 42px);
        gap: 4px;
        margin-bottom: 7px;
    }

    .gol5-dot {
        width: 38px;
        height: 38px;
    }

    .gol5-legend {
        max-width: 230px;
        font-size: 9px;
    }

    .contest-game-card__slogan {
        margin-top: 4px;
        font-size: 22px;
    }
}

@media (max-width: 430px) {
    .game-medallion {
        width: 260px;
    }

    .game-side-badge {
        width: 82px;
    }

    .game-side-badge--left {
        left: -15px;
    }

    .game-side-badge--right {
        right: -15px;
    }

    .contest-game-card__visual {
        min-height: 305px;
    }
}


/* ============================================================
   CONCURSURI_HUB_WIDE_LAYOUT_V1
   Hub only. Removes the narrow auth-page presentation.
   ============================================================ */

.contests-hub-page .auth-shell.auth-shell--wide {
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.contests-hub-page .auth-card.auth-card--wide {
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}


/*
 * Desktop:
 * two genuine game modules with enough room for
 * the main medallion + both exterior badges.
 */
@media (min-width: 1201px) {
    .contests-hub {
        width: min(1380px, calc(100% - 64px));
    }

    .contests-games {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px;
    }

    .contest-game-card {
        min-width: 0;
        padding-inline: 26px;
    }

    .contest-game-card__visual {
        max-width: 620px;
        min-height: 410px;
    }

    .game-medallion {
        width: 350px;
    }

    .game-side-badge {
        width: 126px;
    }
}


/*
 * Tablet / small laptop:
 * once two complete circles no longer fit comfortably,
 * stack the games instead of squeezing them.
 */
@media (min-width: 681px) and (max-width: 1200px) {
    .contests-hub {
        width: min(760px, calc(100% - 40px));
    }

    .contests-games {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contest-game-card {
        width: 100%;
    }

    .contest-game-card__visual {
        width: min(100%, 640px);
        min-height: 410px;
    }
}


/*
 * Mobile:
 * scale the whole visual hierarchy rather than cropping it.
 */
@media (max-width: 680px) {
    .contests-hub-page .auth-shell.auth-shell--wide,
    .contests-hub-page .auth-card.auth-card--wide {
        width: 100%;
        max-width: none;
    }

    .contests-hub {
        width: calc(100% - 24px);
        padding: 30px 0 48px;
    }

    .contests-hub__hero {
        margin-bottom: 26px;
    }

    .contests-hub__title {
        font-size: clamp(40px, 13vw, 58px);
    }

    .contests-hub__intro {
        font-size: 18px;
    }

    .contests-games {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .contest-game-card {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }
}


/* CONCURSURI_HUB_CARD_POLISH_V2 */


/* ==========================================================
   GAME CARDS — PREMIUM DEPTH
   ========================================================== */

.contest-game-card {
    position: relative;
    isolation: isolate;

    border:
        1px solid rgba(24, 21, 17, .14);

    border-radius: 34px;

    background:
        radial-gradient(
            circle at 50% -8%,
            rgba(169, 25, 32, .055),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, .92) 0%,
            rgba(255, 253, 248, .72) 50%,
            rgba(250, 245, 236, .62) 100%
        );

    box-shadow:
        0 14px 34px rgba(37, 26, 14, .075),
        0 3px 8px rgba(37, 26, 14, .045),
        inset 0 1px 0 rgba(255, 255, 255, .96);

    transition:
        transform .28s cubic-bezier(.2, .75, .25, 1),
        box-shadow .28s ease,
        border-color .28s ease,
        background .28s ease;
}


/*
 * Very subtle surface highlight.
 */

.contest-game-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;

    border-radius: inherit;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.72) 0%,
            rgba(255,255,255,0) 28%,
            rgba(255,255,255,0) 70%,
            rgba(169,25,32,.025) 100%
        );

    pointer-events: none;

    opacity: .75;

    transition:
        opacity .28s ease;
}


/*
 * Small premium red accent at the top.
 */

.contest-game-card::after {
    content: "";
    position: absolute;
    top: -1px;
    left: 15%;
    right: 15%;

    height: 3px;

    border-radius:
        0 0 999px 999px;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(169, 25, 32, .20) 16%,
            rgba(169, 25, 32, .92) 50%,
            rgba(169, 25, 32, .20) 84%,
            transparent 100%
        );

    opacity: .38;

    pointer-events: none;

    transition:
        opacity .28s ease,
        left .28s ease,
        right .28s ease;
}


.contest-game-card:hover {
    transform:
        translateY(-11px)
        scale(1.008);

    border-color:
        rgba(169, 25, 32, .38);

    box-shadow:
        0 34px 72px rgba(38, 25, 12, .16),
        0 12px 26px rgba(38, 25, 12, .10),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}


.contest-game-card:hover::before {
    opacity: 1;
}


.contest-game-card:hover::after {
    left: 21%;
    right: 21%;
    opacity: .82;
}


.contest-game-card:active {
    transform:
        translateY(-4px)
        scale(1.003);
}


/*
 * Cards should also look interactive for keyboard users.
 */

.contest-game-card:focus-visible {
    outline: none;

    border-color:
        rgba(169, 25, 32, .72);

    box-shadow:
        0 0 0 4px rgba(169, 25, 32, .12),
        0 28px 60px rgba(38, 25, 12, .14);
}



/* ==========================================================
   GOL5 — COMPACT CENTRAL MECHANIC
   ========================================================== */

.contest-game-card--gol5 .gol5-pick-label {
    margin-bottom: 10px;
}


/*
 * Smaller selection discs.
 */

.contest-game-card--gol5 .gol5-dots {
    grid-template-columns:
        repeat(3, 46px);

    grid-template-rows:
        repeat(3, 46px);

    gap: 5px;

    margin:
        0 auto 13px;
}


.contest-game-card--gol5 .gol5-dot {
    width: 39px;
    height: 39px;

    border-width: 2px;

    box-shadow:
        0 0 0 1.5px rgba(17,17,17,.48),
        0 5px 11px rgba(16,12,8,.12),
        inset 0 7px 10px rgba(255,255,255,.12);
}



/* ==========================================================
   GOL5 LEGEND — 3 SMALL PILLS
   ========================================================== */

.contest-game-card--gol5 .gol5-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    gap: 5px;

    width: min(270px, 82%);
    max-width: none;

    margin:
        1px auto 0;

    padding: 0;

    font-size: 9px;
    line-height: 1;

    text-transform: uppercase;
}


.gol5-legend__item {
    display: inline-flex;
    align-items: center;

    min-height: 23px;

    padding:
        5px 8px;

    border:
        1px solid rgba(25, 22, 18, .12);

    border-radius: 999px;

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

    box-shadow:
        0 3px 9px rgba(30, 22, 14, .045);

    font-weight: 900;
    letter-spacing: .015em;
    white-space: nowrap;
}


.gol5-legend__item::before {
    content: "";

    width: 6px;
    height: 6px;

    margin-right: 5px;

    border-radius: 50%;
}


.gol5-legend__item--red::before {
    background: #ad2026;
}


.gol5-legend__item--green::before {
    background: #357e4a;
}


.gol5-legend__item--blue::before {
    background: #235b97;
}



/* ==========================================================
   GOL5 MAX 5× BADGE
   ========================================================== */

.contest-game-card--gol5
.game-side-badge--right
.game-side-badge__content {
    max-width: 92px;
}


.gol5-max-word {
    display: block;

    margin-bottom: 2px;

    color: #9f1a21;

    font-size: 11px;
    line-height: 1;

    font-weight: 950;

    letter-spacing: .15em;
}


.contest-game-card--gol5
.game-side-badge--right
.game-side-badge__big {
    font-size: 40px;
    line-height: .88;

    letter-spacing: -.045em;
}


.contest-game-card--gol5
.game-side-badge--right
.game-side-badge__rule {
    margin:
        8px auto 7px;
}


.contest-game-card--gol5
.game-side-badge--right
.game-side-badge__small {
    font-size: 12px;
    line-height: 1.08;

    font-weight: 850;
}


.gol5-max-season {
    display: block;

    margin-top: 4px;

    color: rgba(17,17,17,.62);

    font-size: 10px;
    line-height: 1;

    font-weight: 750;
}



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

@media (max-width: 680px) {

    .contest-game-card {
        border-radius: 26px;
    }

    .contest-game-card:hover {
        transform:
            translateY(-6px)
            scale(1.003);
    }

    .contest-game-card--gol5 .gol5-dots {
        grid-template-columns:
            repeat(3, 38px);

        grid-template-rows:
            repeat(3, 38px);

        gap: 3px;

        margin-bottom: 10px;
    }

    .contest-game-card--gol5 .gol5-dot {
        width: 31px;
        height: 31px;
    }

    .contest-game-card--gol5 .gol5-legend {
        width: min(215px, 80%);
        gap: 3px;
    }

    .gol5-legend__item {
        min-height: 19px;

        padding:
            4px 6px;

        font-size: 7px;
    }

    .gol5-legend__item::before {
        width: 5px;
        height: 5px;

        margin-right: 4px;
    }

    .gol5-max-word {
        font-size: 8px;
    }

    .contest-game-card--gol5
    .game-side-badge--right
    .game-side-badge__big {
        font-size: 28px;
    }

    .contest-game-card--gol5
    .game-side-badge--right
    .game-side-badge__small {
        font-size: 9px;
    }

    .gol5-max-season {
        margin-top: 2px;
        font-size: 8px;
    }
}


/*
 * Respect users who request reduced motion.
 */

@media (prefers-reduced-motion: reduce) {

    .contest-game-card,
    .contest-game-card::before,
    .contest-game-card::after,
    .game-medallion,
    .prono-score {
        transition: none;
    }

    .contest-game-card:hover {
        transform: none;
    }
}


/* CONCURSURI_HUB_CARD_POLISH_V3 */


/* ==========================================================
   STRONGER CARD DEPTH
   ========================================================== */

.contest-game-card {
    border-color: rgba(169, 25, 32, .18);

    box-shadow:
        0 22px 54px rgba(38, 25, 12, .12),
        0 8px 18px rgba(38, 25, 12, .06),
        inset 0 1px 0 rgba(255,255,255,.98);
}

.contest-game-card:hover {
    transform:
        translateY(-14px)
        scale(1.01);

    border-color: rgba(169, 25, 32, .48);

    box-shadow:
        0 44px 96px rgba(38, 25, 12, .22),
        0 16px 34px rgba(38, 25, 12, .12),
        inset 0 1px 0 rgba(255,255,255,1);
}

.contest-game-card:focus-visible {
    box-shadow:
        0 0 0 4px rgba(169, 25, 32, .12),
        0 36px 82px rgba(38, 25, 12, .20);
}


/* ==========================================================
   GOL5 — SMALLER INNER CIRCLES + CLEANER BOTTOM AREA
   ========================================================== */

.contest-game-card--gol5 .gol5-pick-label {
    margin-bottom: 8px;
    font-size: 17px;
}

.contest-game-card--gol5 .gol5-dots {
    grid-template-columns: repeat(3, 40px);
    grid-template-rows: repeat(3, 40px);
    gap: 4px;
    margin: 0 auto 14px;
}

.contest-game-card--gol5 .gol5-dot {
    width: 33px;
    height: 33px;
    border-width: 2px;

    box-shadow:
        0 0 0 1.5px rgba(17,17,17,.46),
        0 4px 10px rgba(16,12,8,.10),
        inset 0 6px 9px rgba(255,255,255,.10);
}

.contest-game-card--gol5 .gol5-legend {
    width: min(318px, 90%);
    gap: 8px;
    margin-top: -4px;
}

.contest-game-card--gol5 .gol5-legend__item {
    min-height: 24px;
    padding: 6px 11px;
    font-size: 9.5px;
    letter-spacing: .02em;
}

.contest-game-card--gol5 .gol5-legend__item::before {
    width: 6px;
    height: 6px;
    margin-right: 5px;
}


/*
 * Slightly cleaner MAX 5x badge
 */

.contest-game-card--gol5
.game-side-badge--right
.game-side-badge__content {
    max-width: 86px;
}

.contest-game-card--gol5
.game-side-badge--right
.game-side-badge__big {
    font-size: 38px;
}

.contest-game-card--gol5
.game-side-badge--right
.game-side-badge__small {
    font-size: 11px;
    line-height: 1.02;
}

.contest-game-card--gol5 .gol5-max-word {
    font-size: 10px;
}

.contest-game-card--gol5 .gol5-max-season {
    font-size: 9px;
}


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

@media (max-width: 680px) {
    .contest-game-card:hover {
        transform:
            translateY(-7px)
            scale(1.004);
    }

    .contest-game-card--gol5 .gol5-dots {
        grid-template-columns: repeat(3, 34px);
        grid-template-rows: repeat(3, 34px);
        gap: 3px;
        margin-bottom: 10px;
    }

    .contest-game-card--gol5 .gol5-dot {
        width: 27px;
        height: 27px;
    }

    .contest-game-card--gol5 .gol5-legend {
        width: min(235px, 86%);
        gap: 4px;
        margin-top: -2px;
    }

    .contest-game-card--gol5 .gol5-legend__item {
        min-height: 20px;
        padding: 4px 7px;
        font-size: 7.5px;
    }

    .contest-game-card--gol5 .gol5-max-word {
        font-size: 8px;
    }

    .contest-game-card--gol5
    .game-side-badge--right
    .game-side-badge__big {
        font-size: 27px;
    }

    .contest-game-card--gol5
    .game-side-badge--right
    .game-side-badge__small {
        font-size: 8px;
    }

    .contest-game-card--gol5 .gol5-max-season {
        font-size: 7px;
    }
}

/* CONCURSURI_HUB_CARDS_LIFT_V1 */

/*
 * Reduce spațiul dintre GENERAL / MINI-LIGI
 * și cardurile jocurilor.
 */
.contests-hub__modes {
    margin-bottom: 30px;
}

@media (max-width: 680px) {
    .contests-hub__modes {
        margin-bottom: 26px;
    }
}

/* CONCURSURI_HUB_MODES_POLISH_V1 */

.contests-mode {
    position: relative;
    overflow: hidden;

    padding: 24px 28px;

    border:
        1px solid rgba(169, 25, 32, .16);

    border-radius: 22px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.88),
            rgba(255,252,246,.72)
        );

    box-shadow:
        0 12px 28px rgba(38,25,12,.08),
        0 3px 8px rgba(38,25,12,.04),
        inset 0 1px 0 rgba(255,255,255,.96);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.contests-mode::before {
    content: "";
    position: absolute;

    top: 0;
    left: 18%;
    right: 18%;

    height: 3px;

    border-radius:
        0 0 999px 999px;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(169,25,32,.18) 18%,
            rgba(169,25,32,.78) 50%,
            rgba(169,25,32,.18) 82%,
            transparent 100%
        );

    opacity: .5;

    transition:
        opacity .22s ease,
        left .22s ease,
        right .22s ease;
}

.contests-mode:hover {
    transform: translateY(-4px);

    border-color:
        rgba(169,25,32,.30);

    box-shadow:
        0 20px 42px rgba(38,25,12,.12),
        0 7px 16px rgba(38,25,12,.06),
        inset 0 1px 0 rgba(255,255,255,1);
}

.contests-mode:hover::before {
    left: 24%;
    right: 24%;
    opacity: .85;
}

.contests-mode__label {
    margin-bottom: 9px;

    font-size: 13px;
    letter-spacing: .16em;

    color: #a51d23;
}

.contests-mode__text {
    font-size: 16px;
    line-height: 1.45;

    color: #1e1e1e;
}

@media (max-width: 680px) {
    .contests-mode {
        padding: 20px 22px;
        border-radius: 18px;
    }

    .contests-mode:hover {
        transform: translateY(-2px);
    }
}

/* CONCURSURI_HUB_MODES_STATIC_V2 */

.contests-mode {
    position: relative;
    overflow: hidden;

    padding: 24px 28px;

    border:
        1px solid rgba(22, 20, 17, .18);

    border-radius: 22px;

    background: #f6f0e5;

    box-shadow:
        0 14px 32px rgba(38, 25, 12, .10),
        0 3px 8px rgba(38, 25, 12, .05),
        inset 0 1px 0 rgba(255,255,255,.72);

    transform: none;
    transition: none;
    cursor: default;
}


/* Fără comportament de link */

.contests-mode:hover {
    transform: none;

    border-color:
        rgba(22, 20, 17, .18);

    box-shadow:
        0 14px 32px rgba(38, 25, 12, .10),
        0 3px 8px rgba(38, 25, 12, .05),
        inset 0 1px 0 rgba(255,255,255,.72);
}


/* Scoatem accentul animat de tip CTA */

.contests-mode::before {
    display: none;
}


.contests-mode__label {
    margin-bottom: 9px;

    color: #a51d23;

    font-size: 13px;
    line-height: 1;

    font-weight: 950;
    letter-spacing: .16em;
}


.contests-mode__text {
    margin: 0;

    color: #202020;

    font-size: 16px;
    line-height: 1.45;

    font-weight: 650;
}


@media (max-width: 680px) {
    .contests-mode {
        padding: 20px 22px;
        border-radius: 18px;
    }
}

/* CONCURSURI_HUB_GOL5_CANONICAL_CARD_V1 */

/*
 * Noua terminologie canonică:
 * 1 TOP · 3 MEDII · 1 PROMOVATĂ
 * MAX. 2× fiecare echipă TOP pe sezon
 */

.contest-game-card--gol5 .gol5-legend {
    width: min(300px, 88%);
}

.contest-game-card--gol5 .gol5-legend__item {
    white-space: nowrap;
}

.contest-game-card--gol5
.game-side-badge--right
.game-side-badge__small {
    max-width: 76px;
    line-height: 1.05;
}

@media (max-width: 680px) {
    .contest-game-card--gol5 .gol5-legend {
        width: min(225px, 84%);
    }
}

/* CONCURSURI_HUB_GOL5_LEGEND_LAYOUT_V2 */

.contest-game-card--gol5 .gol5-legend {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: center;

    width: auto;
    max-width: 250px;

    gap: 6px 8px;

    margin:
        -2px auto 0;
}

.contest-game-card--gol5 .gol5-legend__item {
    min-width: 0;

    padding:
        5px 9px;

    white-space: nowrap;
}

/* PROMOVATĂ pe al doilea rând, centrată */

.contest-game-card--gol5
.gol5-legend__item--blue {
    grid-column: 1 / -1;
    justify-self: center;
}


/* Mobil */

@media (max-width: 680px) {

    .contest-game-card--gol5 .gol5-legend {
        max-width: 205px;
        gap: 4px 6px;
    }

    .contest-game-card--gol5 .gol5-legend__item {
        padding:
            4px 7px;
    }
}

/* CONCURSURI_HUB_PCT_LEGEND_POLISH_V1 */

/* ---------------------------------------------------------
   PUNCTE: P -> PCT
   --------------------------------------------------------- */

.score-points-number {
    display: inline-block;
}

.score-points-unit {
    display: inline-block;

    margin-left: 3px;

    font-size: .46em;
    line-height: 1;

    font-weight: 950;
    letter-spacing: .02em;

    vertical-align: .18em;
}


/* ---------------------------------------------------------
   GOL5 legend: mai vizibilă fără să iasă din medalion
   --------------------------------------------------------- */

.contest-game-card--gol5 .gol5-legend {
    display: grid;

    grid-template-columns:
        max-content max-content;

    justify-content: center;
    align-items: center;

    width: auto;
    max-width: 242px;

    gap: 6px 7px;

    margin:
        -4px auto 0;
}


.contest-game-card--gol5
.gol5-legend__item {

    min-height: 25px;

    padding:
        5px 8px;

    font-size: 10.5px;
    line-height: 1;

    font-weight: 950;
    letter-spacing: .015em;

    white-space: nowrap;
}


.contest-game-card--gol5
.gol5-legend__item::before {

    width: 6px;
    height: 6px;

    margin-right: 5px;

    flex: 0 0 6px;
}


/* PROMOVATĂ rămâne centrată sub primele două */

.contest-game-card--gol5
.gol5-legend__item--blue {

    grid-column: 1 / -1;

    justify-self: center;
}


/* GOL5: "= 1 PCT" puțin mai lizibil */

.contest-game-card--gol5
.game-side-badge--left
.game-side-badge__small {

    font-weight: 900;
    letter-spacing: .01em;
}


/* Mobil */

@media (max-width: 680px) {

    .contest-game-card--gol5 .gol5-legend {
        max-width: 200px;
        gap: 4px 5px;
    }

    .contest-game-card--gol5
    .gol5-legend__item {

        min-height: 21px;

        padding:
            4px 6px;

        font-size: 8.5px;
    }

    .contest-game-card--gol5
    .gol5-legend__item::before {

        width: 5px;
        height: 5px;

        flex-basis: 5px;

        margin-right: 4px;
    }
}

/* CONCURSURI_HUB_GOL5_DOTS_LEGEND_BALANCE_V1 */

/* Cele 5 buline principale - mai discrete */

.contest-game-card--gol5 .gol5-dots {
    grid-template-columns: repeat(3, 34px);
    grid-template-rows: repeat(3, 34px);
    gap: 3px;

    margin-bottom: 12px;
}

.contest-game-card--gol5 .gol5-dot {
    width: 27px;
    height: 27px;

    border-width: 2px;

    box-shadow:
        0 0 0 1px rgba(17,17,17,.42),
        0 3px 7px rgba(16,12,8,.09),
        inset 0 5px 7px rgba(255,255,255,.10);
}


/* Explicația categoriilor - mai importantă vizual */

.contest-game-card--gol5 .gol5-legend {
    max-width: 255px;

    gap: 7px 9px;

    margin-top: -2px;
}

.contest-game-card--gol5 .gol5-legend__item {
    min-height: 27px;

    padding: 6px 10px;

    font-size: 12px;
    line-height: 1;

    font-weight: 950;
    letter-spacing: .01em;
}


/* Micile puncte din legendă rămân doar indicatori de culoare */

.contest-game-card--gol5 .gol5-legend__item::before {
    width: 6px;
    height: 6px;

    flex: 0 0 6px;

    margin-right: 5px;
}


/* PROMOVATĂ rămâne centrată */

.contest-game-card--gol5 .gol5-legend__item--blue {
    grid-column: 1 / -1;
    justify-self: center;
}


/* Mobile */

@media (max-width: 680px) {

    .contest-game-card--gol5 .gol5-dots {
        grid-template-columns: repeat(3, 30px);
        grid-template-rows: repeat(3, 30px);
        gap: 2px;

        margin-bottom: 9px;
    }

    .contest-game-card--gol5 .gol5-dot {
        width: 23px;
        height: 23px;
    }

    .contest-game-card--gol5 .gol5-legend {
        max-width: 205px;
        gap: 4px 6px;
    }

    .contest-game-card--gol5 .gol5-legend__item {
        min-height: 22px;

        padding: 4px 7px;

        font-size: 9.5px;
    }

    .contest-game-card--gol5 .gol5-legend__item::before {
        width: 5px;
        height: 5px;

        flex-basis: 5px;
    }
}

/* CONCURSURI_HUB_GOL5_CLEAN_LEGEND_V2 */


/* =========================================================
   GOL5 - cele 5 buline principale mai mici
   ========================================================= */

.contest-game-card--gol5 .gol5-dots {
    grid-template-columns: repeat(3, 29px);
    grid-template-rows: repeat(3, 29px);
    gap: 2px;

    margin-bottom: 11px;
}

.contest-game-card--gol5 .gol5-dot {
    width: 21px;
    height: 21px;

    border-width: 1.5px;

    box-shadow:
        0 0 0 1px rgba(17,17,17,.38),
        0 2px 5px rgba(16,12,8,.08),
        inset 0 4px 5px rgba(255,255,255,.10);
}


/* =========================================================
   Explicațiile mult mai lizibile
   ========================================================= */

.contest-game-card--gol5 .gol5-legend {
    grid-template-columns: max-content max-content;

    max-width: 270px;

    gap: 7px 9px;

    margin:
        -2px auto 0;
}

.contest-game-card--gol5 .gol5-legend__item {
    min-height: 29px;

    padding:
        6px 10px;

    font-size: 13px;
    line-height: 1;

    font-weight: 950;
    letter-spacing: .005em;

    white-space: nowrap;
}

.contest-game-card--gol5 .gol5-legend__item::before {
    width: 5px;
    height: 5px;

    flex: 0 0 5px;

    margin-right: 5px;
}

.contest-game-card--gol5 .gol5-legend__item--blue {
    grid-column: 1 / -1;
    justify-self: center;
}


/* =========================================================
   Scoatem liniile/punctele dintre cercul mare și badge-uri
   ========================================================= */

.contest-game-card .game-side-badge::before,
.contest-game-card .game-side-badge::after {
    display: none !important;
}


/* =========================================================
   Scoatem cercul roșu punctat din interiorul badge-urilor
   Păstrăm cercul exterior negru.
   ========================================================= */

.contest-game-card .game-side-badge__content {
    border: 0 !important;
    outline: 0 !important;
}

.contest-game-card .game-side-badge__content::before,
.contest-game-card .game-side-badge__content::after {
    display: none !important;
}


/* Mobil */

@media (max-width: 680px) {

    .contest-game-card--gol5 .gol5-dots {
        grid-template-columns: repeat(3, 25px);
        grid-template-rows: repeat(3, 25px);
        gap: 2px;

        margin-bottom: 8px;
    }

    .contest-game-card--gol5 .gol5-dot {
        width: 18px;
        height: 18px;
    }

    .contest-game-card--gol5 .gol5-legend {
        max-width: 215px;
        gap: 4px 6px;
    }

    .contest-game-card--gol5 .gol5-legend__item {
        min-height: 23px;

        padding:
            4px 7px;

        font-size: 10px;
    }
}

/* ============================================================
   MF-CONCURSURI-UNIFORM-CARD-SCALE-20260831

   IMPORTANT:
   - designul intern rămâne CANONIC;
   - NU redimensionăm separat cercuri / texte / badge-uri;
   - visual + bottom folosesc EXACT același factor;
   - fonturi, buline, legendă, slogan, CTA se scalează împreună;
   - mobile <= 680px rămâne neschimbat.
   ============================================================ */


/*
 * Revenim la geometria canonică înainte de scalare.
 *
 * Scalarea se face DUPĂ aceea, asupra întregii bucăți
 * de conținut, nu prin valori diferite pentru copii.
 */
@media (min-width: 681px) {

    .contest-game-card {
        --mf-contest-card-scale: 1;
    }


    .contest-game-card__visual {
        min-height: 410px;
    }


    .game-medallion {
        width: 350px;
    }


    .game-side-badge {
        width: 126px;
    }


    /*
     * CELE DOUĂ BUCĂȚI CARE CONȚIN TOT CARDUL:
     *
     * 1. visual:
     *    medalion, badge-uri, toate textele, puncte,
     *    GOL5 dots + legend etc.
     *
     * 2. bottom:
     *    slogan + CTA.
     *
     * Ambele primesc FIX aceeași scară.
     *
     * zoom este intenționat aici:
     * spre deosebire de transform:scale(), participă
     * și la layout, deci nu lasă în urmă înălțimea
     * veche care produce overflow.
     */
    .contest-game-card
    > .contest-game-card__visual,

    .contest-game-card
    > .contest-game-card__bottom {
        zoom:
            var(--mf-contest-card-scale);
    }
}


/*
 * VIEWPORT FOARTE JOS
 */
@media
  (min-width: 681px)
  and (max-height: 699px) {

    .contest-game-card {
        --mf-contest-card-scale:
            .72;
    }
}


/*
 * LAPTOP JOS
 */
@media
  (min-width: 681px)
  and (min-height: 700px)
  and (max-height: 779px) {

    .contest-game-card {
        --mf-contest-card-scale:
            .78;
    }
}


/*
 * Zona tipică 1366x768 / laptop browser.
 */
@media
  (min-width: 681px)
  and (min-height: 780px)
  and (max-height: 859px) {

    .contest-game-card {
        --mf-contest-card-scale:
            .84;
    }
}


/*
 * Ecran mediu.
 */
@media
  (min-width: 681px)
  and (min-height: 860px)
  and (max-height: 939px) {

    .contest-game-card {
        --mf-contest-card-scale:
            .90;
    }
}


/*
 * Aproape de dimensiunea canonică.
 */
@media
  (min-width: 681px)
  and (min-height: 940px)
  and (max-height: 1019px) {

    .contest-game-card {
        --mf-contest-card-scale:
            .95;
    }
}


/*
 * Desktop înalt:
 * dimensiunile canonice originale, 100%.
 */
@media
  (min-width: 681px)
  and (min-height: 1020px) {

    .contest-game-card {
        --mf-contest-card-scale:
            1;
    }
}


/* MF-CONCURSURI-UNIFORM-CARD-SCALE-20260831:END */
/* MF-CONCURSURI-MOBILE-GEOMETRY-20260909:START */
/*
 * Responsive Concursuri <= 680px
 *
 * - PRONO / GOL5 devin titlu deasupra medalionului
 * - titlul vechi dispare doar în medalion pe mobil
 * - cercurile laterale RĂMÂN
 * - cercurile laterale sunt raportate vizual la marginea site-ului
 * - badge-urile sunt puțin mai mari și intră mai mult în medalion
 * - cardurile primesc border + shadow mai clar
 * - desktop >= 681px rămâne neschimbat
 */

.contest-game-card__mobile-title {
    display: none;
}

@media (max-width: 680px) {

    /*
     * CARDURILE
     */

    .contest-game-card {
        overflow: visible !important;

        border:
            2px solid rgba(165,29,35,.24)
            !important;

        box-shadow:
            0 20px 42px rgba(38,25,12,.17),
            0 6px 16px rgba(38,25,12,.11)
            !important;
    }

    .contest-game-card--prono {
        border-color:
            rgba(165,29,35,.30)
            !important;
    }

    .contest-game-card--gol5 {
        border-color:
            rgba(165,29,35,.26)
            !important;
    }


    /*
     * PRONO / GOL5 — TITLU NOU
     */

    .contest-game-card__mobile-title {
        display: block !important;

        width:
            calc(100% - 28px);

        margin:
            clamp(13px,3.6vw,17px)
            auto
            clamp(4px,1.4vw,7px);

        padding: 0;

        color:
            #a51d23;

        font-family:
            "Fredoka",
            "Nunito",
            Arial,
            sans-serif;

        font-size:
            clamp(30px,8.8vw,40px);

        line-height:
            .95;

        font-weight:
            950;

        letter-spacing:
            -.045em;

        text-align:
            center;

        text-transform:
            uppercase;
    }


    /*
     * Titlul vechi din cercul mare dispare doar pe mobil.
     */

    .contest-game-card
    .game-medallion
    .game-name,

    .contest-game-card
    .game-medallion
    .game-name-rule {
        display: none !important;
    }


    /*
     * ZONA CU CELE 3 CERCURI
     *
     * Important:
     * lățimea nu mai este limitată de card.
     * Ajunge aproape până la marginile viewport-ului.
     */

    .contest-game-card__visual {
        position:
            relative !important;

        width:
            calc(100vw - 24px)
            !important;

        max-width:
            none !important;

        min-height:
            0 !important;

        box-sizing:
            border-box !important;

        margin:
            0
            50%
            !important;

        transform:
            translateX(-50%)
            !important;

        display:
            flex !important;

        align-items:
            center !important;

        justify-content:
            center !important;

        padding:
            clamp(5px,1.4vw,8px)
            0
            clamp(8px,2.2vw,12px);

        overflow:
            visible !important;
    }


    /*
     * CERCUL CENTRAL
     */

    .game-medallion {
        width:
            clamp(250px,72vw,300px)
            !important;

        max-width:
            none !important;

        flex:
            0 0 auto !important;

        margin:
            0 auto !important;

        z-index:
            2;
    }


    /*
     * CERCURILE LATERALE
     *
     * Puțin mai mari.
     * left/right = marginea zonei de aproape tot viewport-ul.
     */

    .game-side-badge {
        width:
            clamp(106px,29vw,122px)
            !important;

        max-width:
            none !important;

        z-index:
            3 !important;

        border-width:
            clamp(4px,1.15vw,5px)
            !important;

        box-shadow:
            0 13px 28px rgba(25,18,10,.15)
            !important;
    }

    .game-side-badge--left {
        left:
            0 !important;

        right:
            auto !important;
    }

    .game-side-badge--right {
        right:
            0 !important;

        left:
            auto !important;
    }


    /*
     * TEXTUL DIN CERCURILE LATERALE
     */

    .game-side-badge__content {
        width:
            84% !important;

        max-width:
            84% !important;
    }

    .game-side-badge__big {
        font-size:
            clamp(28px,7.8vw,34px)
            !important;
    }

    .game-side-badge__small {
        font-size:
            clamp(9px,2.65vw,12px)
            !important;

        line-height:
            1.08 !important;
    }

    .game-side-badge__rule {
        width:
            clamp(34px,10vw,42px)
            !important;

        margin:
            clamp(6px,1.7vw,8px)
            auto
            !important;
    }


    /*
     * GOL5 — badge dreapta are structură specială.
     */

    .contest-game-card--gol5
    .game-side-badge--right
    .game-side-badge__content {
        width:
            82% !important;

        max-width:
            82% !important;
    }

    .contest-game-card--gol5
    .game-side-badge--right
    .game-side-badge__big {
        font-size:
            clamp(30px,8.2vw,36px)
            !important;
    }

    .contest-game-card--gol5
    .game-side-badge--right
    .game-side-badge__small {
        max-width:
            none !important;

        font-size:
            clamp(8px,2.35vw,10px)
            !important;

        line-height:
            1.04 !important;
    }

    .contest-game-card--gol5
    .gol5-max-word {
        font-size:
            clamp(8px,2.15vw,10px)
            !important;
    }

    .contest-game-card--gol5
    .gol5-max-season {
        font-size:
            clamp(7px,1.95vw,9px)
            !important;
    }


    /*
     * Fără PRONO / GOL5 în cerc avem ceva mai mult aer.
     */

    .contest-game-card--prono
    .game-medallion__inner,

    .contest-game-card--gol5
    .game-medallion__inner {
        padding-top:
            clamp(3px,1vw,6px);
    }
}

/* MF-CONCURSURI-MOBILE-GEOMETRY-20260909:END */

/* MF-CONCURSURI-MOBILE-TITLE-POLISH-20260909:START */

@media (max-width: 680px) {

    .contest-game-card__mobile-title {
        font-size:
            clamp(48px,13.5vw,60px)
            !important;

        line-height:
            .86
            !important;

        letter-spacing:
            -.06em
            !important;

        margin:
            clamp(2px,.8vw,4px)
            auto
            clamp(18px,5vw,24px)
            !important;

        text-shadow:
            0 2px 5px rgba(90,10,15,.18)
            !important;
    }
}

/* MF-CONCURSURI-MOBILE-TITLE-POLISH-20260909:END */

/* MF-CONCURSURI-TABLET-DESKTOP-DESIGN-20260909:START */
/*
 * TABLET + DESKTOP >= 681px
 *
 * Aceeași ierarhie vizuală ca pe mobil:
 * - PRONO / GOL5 = titlu exterior roșu
 * - titlul vechi dispare din medalion
 * - cercurile laterale rămân
 * - cardurile au separare vizuală clară
 *
 * Important:
 * titlul intră în același sistem de zoom folosit deja
 * de visual + bottom, astfel încât laptopurile joase
 * păstrează proporțiile canonice.
 */

@media (min-width: 681px) {

    /*
     * TITLU EXTERIOR
     */

    .contest-game-card__mobile-title {
        display:
            block !important;

        width:
            calc(100% - 32px);

        padding:
            0;

        margin:
            2px
            auto
            22px;

        color:
            #a51d23;

        font-family:
            "Fredoka",
            "Nunito",
            Arial,
            sans-serif;

        font-size:
            clamp(50px,5vw,68px);

        line-height:
            .86;

        font-weight:
            950;

        letter-spacing:
            -.06em;

        text-align:
            center;

        text-transform:
            uppercase;

        text-shadow:
            0 2px 5px rgba(90,10,15,.18);
    }


    /*
     * Titlul vechi din medalion dispare.
     */

    .contest-game-card
    .game-medallion
    .game-name,

    .contest-game-card
    .game-medallion
    .game-name-rule {
        display:
            none !important;
    }


    /*
     * Compensăm spațiul ocupat de titlul nou.
     * Medalionul are 350px, deci 370px oferă suficient
     * spațiu fără să umfle inutil cardul.
     */

    .contest-game-card__visual {
        min-height:
            370px !important;
    }


    /*
     * Conținutul medalionului rămâne perfect centrat
     * după eliminarea titlului interior.
     */

    .contest-game-card--prono
    .game-medallion__inner,

    .contest-game-card--gol5
    .game-medallion__inner {
        padding-top:
            4px;
    }


    /*
     * CARD — aceeași separare vizuală mai clară.
     */

    .contest-game-card {
        border:
            2px solid rgba(165,29,35,.20);

        box-shadow:
            0 24px 58px rgba(38,25,12,.13),
            0 8px 20px rgba(38,25,12,.07),
            inset 0 1px 0 rgba(255,255,255,.98);
    }

    .contest-game-card--prono {
        border-color:
            rgba(165,29,35,.25);
    }

    .contest-game-card--gol5 {
        border-color:
            rgba(165,29,35,.22);
    }


    /*
     * TITLUL trebuie scalat împreună cu visual + bottom.
     *
     * Folosește aceeași variabilă deja controlată prin
     * breakpoint-urile de înălțime:
     * .72 / .78 / .84 / .90 / .95 / 1.
     */

    .contest-game-card
    > .contest-game-card__mobile-title {
        zoom:
            var(--mf-contest-card-scale);
    }
}


/*
 * TABLETĂ / SMALL LAPTOP
 * 681–1200:
 * un singur card pe rând, deci putem păstra titlul generos
 * fără să forțăm geometria.
 */

@media
  (min-width: 681px)
  and (max-width: 1200px) {

    .contest-game-card__mobile-title {
        font-size:
            clamp(48px,7vw,62px);

        margin-bottom:
            clamp(18px,2.6vw,24px);
    }

    .contest-game-card__visual {
        width:
            min(100%,640px);

        min-height:
            370px !important;
    }

    .game-medallion {
        width:
            clamp(320px,48vw,350px);
    }

    .game-side-badge {
        width:
            clamp(116px,17vw,126px);
    }
}


/*
 * DESKTOP
 * 1201+:
 * două carduri pe rând.
 */

@media (min-width: 1201px) {

    .contest-game-card__mobile-title {
        font-size:
            clamp(54px,4.25vw,68px);

        margin-bottom:
            clamp(20px,1.7vw,26px);
    }

    .contest-game-card__visual {
        max-width:
            620px;

        min-height:
            370px !important;
    }

    .game-medallion {
        width:
            350px;
    }

    .game-side-badge {
        width:
            126px;
    }
}

/* MF-CONCURSURI-TABLET-DESKTOP-DESIGN-20260909:END */

/* MF-CONCURSURI-GAMES-UP-20260909:START */

@media (min-width: 681px) {

    .contests-hub__modes {
        margin-bottom:
            clamp(16px, 2.2vw, 30px)
            !important;
    }
}

/* MF-CONCURSURI-GAMES-UP-20260909:END */

/* MF-CONCURSURI-INNER-FILL-20260909:START */

/*
 * Conținutul din medalioanele mari ocupă mai bine cercul.
 * Nu schimbăm diametrul medalionului.
 */


/* =========================================================
   PRONO
   ========================================================= */

.contest-game-card--prono
.game-small-label {
    font-size:
        clamp(21px, 1.8vw, 25px)
        !important;

    line-height:
        1.05
        !important;

    font-weight:
        900
        !important;
}

.contest-game-card--prono
.prono-score {
    margin:
        clamp(4px, .5vw, 7px)
        0
        0
        !important;

    font-size:
        clamp(96px, 8.4vw, 126px)
        !important;

    line-height:
        .84
        !important;
}

.contest-game-card--prono
.prono-away {
    margin-top:
        clamp(8px, .8vw, 12px)
        !important;
}


/* =========================================================
   GOL5
   ========================================================= */

.contest-game-card--gol5
.gol5-pick-label {
    margin-bottom:
        clamp(10px, 1vw, 14px)
        !important;

    font-size:
        clamp(19px, 1.65vw, 23px)
        !important;

    line-height:
        1.05
        !important;

    font-weight:
        950
        !important;
}

.contest-game-card--gol5
.gol5-dots {
    grid-template-columns:
        repeat(
            3,
            clamp(32px, 2.65vw, 38px)
        )
        !important;

    grid-template-rows:
        repeat(
            3,
            clamp(32px, 2.65vw, 38px)
        )
        !important;

    gap:
        clamp(3px, .3vw, 5px)
        !important;

    margin-bottom:
        clamp(12px, 1vw, 16px)
        !important;
}

.contest-game-card--gol5
.gol5-dot {
    width:
        clamp(24px, 2vw, 29px)
        !important;

    height:
        clamp(24px, 2vw, 29px)
        !important;
}

.contest-game-card--gol5
.gol5-legend {
    max-width:
        290px
        !important;

    gap:
        clamp(6px, .55vw, 8px)
        clamp(8px, .7vw, 11px)
        !important;
}

.contest-game-card--gol5
.gol5-legend__item {
    min-height:
        clamp(30px, 2.4vw, 34px)
        !important;

    padding:
        clamp(6px, .5vw, 8px)
        clamp(9px, .75vw, 12px)
        !important;

    font-size:
        clamp(13px, 1.05vw, 15px)
        !important;

    line-height:
        1
        !important;
}


/* =========================================================
   MOBIL <= 680
   Dimensiuni proprii, fluide, fără overflow.
   ========================================================= */

@media (max-width: 680px) {

    .contest-game-card--prono
    .game-small-label {
        font-size:
            clamp(18px, 5vw, 21px)
            !important;
    }

    .contest-game-card--prono
    .prono-score {
        font-size:
            clamp(82px, 24vw, 104px)
            !important;
    }

    .contest-game-card--prono
    .prono-away {
        margin-top:
            clamp(7px, 2vw, 10px)
            !important;
    }


    .contest-game-card--gol5
    .gol5-pick-label {
        font-size:
            clamp(17px, 4.6vw, 20px)
            !important;

        margin-bottom:
            clamp(8px, 2.4vw, 11px)
            !important;
    }

    .contest-game-card--gol5
    .gol5-dots {
        grid-template-columns:
            repeat(
                3,
                clamp(29px, 8.2vw, 34px)
            )
            !important;

        grid-template-rows:
            repeat(
                3,
                clamp(29px, 8.2vw, 34px)
            )
            !important;

        gap:
            clamp(2px, .8vw, 4px)
            !important;

        margin-bottom:
            clamp(9px, 2.7vw, 12px)
            !important;
    }

    .contest-game-card--gol5
    .gol5-dot {
        width:
            clamp(22px, 6.3vw, 26px)
            !important;

        height:
            clamp(22px, 6.3vw, 26px)
            !important;
    }

    .contest-game-card--gol5
    .gol5-legend {
        max-width:
            clamp(220px, 64vw, 250px)
            !important;

        gap:
            clamp(4px, 1.2vw, 6px)
            clamp(6px, 1.7vw, 8px)
            !important;
    }

    .contest-game-card--gol5
    .gol5-legend__item {
        min-height:
            clamp(24px, 6.8vw, 28px)
            !important;

        padding:
            clamp(4px, 1.2vw, 6px)
            clamp(7px, 2vw, 9px)
            !important;

        font-size:
            clamp(10px, 2.9vw, 12px)
            !important;
    }
}

/* MF-CONCURSURI-INNER-FILL-20260909:END */

/* MF-CONCURSURI-GOL5-MAX-TEXT-20260909:START */

.contest-game-card--gol5
.gol5-max-badge {
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;

    width:100% !important;

    transform:
        translateY(
            clamp(3px, .35vw, 6px)
        )
        !important;
}

.contest-game-card--gol5
.gol5-max-word {
    display:block !important;

    margin:
        0 0
        clamp(1px, .15vw, 3px)
        !important;

    font-size:
        clamp(9px, .72vw, 11px)
        !important;

    line-height:
        1
        !important;

    font-weight:
        950
        !important;

    letter-spacing:
        .04em
        !important;

    color:
        #a91920
        !important;
}

.contest-game-card--gol5
.gol5-max-badge
.game-side-badge__big {
    margin:
        0
        !important;

    font-size:
        clamp(30px, 2.25vw, 36px)
        !important;

    line-height:
        .9
        !important;
}

.contest-game-card--gol5
.gol5-max-season {
    display:block !important;

    margin-top:
        clamp(6px, .5vw, 8px)
        !important;

    font-size:
        clamp(11px, .86vw, 14px)
        !important;

    line-height:
        1.08
        !important;

    font-weight:
        950
        !important;

    letter-spacing:
        -.02em
        !important;

    text-align:
        center
        !important;

    color:
        #111
        !important;

    font-weight:
        950
        !important;
}


/* TABLETĂ */
@media (min-width:681px) and (max-width:1200px) {

    .contest-game-card--gol5
    .gol5-max-badge {
        transform:
            translateY(
                clamp(3px, .55vw, 6px)
            )
            !important;
    }

    .contest-game-card--gol5
    .gol5-max-season {
        font-size:
            clamp(11px, 1.55vw, 14px)
            !important;
    }
}


/* MOBIL */
@media (max-width:680px) {

    .contest-game-card--gol5
    .gol5-max-badge {
        transform:
            translateY(
                clamp(2px, 1vw, 5px)
            )
            !important;
    }

    .contest-game-card--gol5
    .gol5-max-word {
        font-size:
            clamp(8px, 2.2vw, 10px)
            !important;
    }

    .contest-game-card--gol5
    .gol5-max-badge
    .game-side-badge__big {
        font-size:
            clamp(27px, 7.6vw, 33px)
            !important;
    }

    .contest-game-card--gol5
    .gol5-max-season {
        margin-top:
            clamp(4px, 1.2vw, 6px)
            !important;

        font-size:
            clamp(9px, 2.65vw, 11px)
            !important;

        line-height:
            1.05
            !important;
    }
}

/* MF-CONCURSURI-GOL5-MAX-TEXT-20260909:END */

/* MF-CONCURSURI-MATCH-JOCURI-HERO-20260909:START */

/*
 * Hero Concursuri = aceeași geometrie și tipografie
 * ca hero-ul curent de pe /jocuri/.
 */

.contests-hub {
    padding-top:
        0
        !important;
}


/*
 * Același hero compact ca pe Jocuri.
 */
.contests-hub__hero {
    display:
        grid;

    place-items:
        center;

    width:
        100%;

    max-width:
        none;

    min-height:
        clamp(
            185px,
            23dvh,
            225px
        )
        !important;

    margin:
        0 auto 36px;

    padding:
        clamp(
            20px,
            3.2dvh,
            30px
        )
        20px
        clamp(
            18px,
            2.8dvh,
            26px
        )
        !important;

    text-align:
        center;

    box-sizing:
        border-box;
}


/*
 * MYFOOTBALL.RO
 * identic cu .eyebrow din Jocuri.
 */
.contests-hub__eyebrow {
    margin:
        0 0 14px
        !important;

    color:
        #b12626
        !important;

    font-size:
        13px
        !important;

    font-weight:
        900
        !important;

    line-height:
        normal;

    letter-spacing:
        .22em
        !important;

    text-transform:
        uppercase;
}


/*
 * Titlul
 * identic cu .hero h1 din Jocuri.
 */
.contests-hub__title {
    margin:
        0 0 22px
        !important;

    font-family:
        var(
            --mf-heading-final,
            "Baloo 2",
            "Nunito",
            Arial,
            sans-serif
        )
        !important;

    font-size:
        clamp(
            46px,
            5.4vw,
            78px
        )
        !important;

    line-height:
        .93
        !important;

    letter-spacing:
        -.055em
        !important;

    color:
        #111
        !important;

    text-transform:
        none
        !important;
}


/*
 * Subtitlul
 * identic cu .lead din Jocuri.
 */
.contests-hub__intro {
    width:
        100%;

    max-width:
        660px
        !important;

    margin:
        0 auto
        !important;

    color:
        #4b5563
        !important;

    font-size:
        clamp(
            18px,
            2vw,
            24px
        )
        !important;

    line-height:
        1.35
        !important;

    font-weight:
        800
        !important;
}


/*
 * TABLETĂ
 * aceeași reducere de hero ca pe Jocuri.
 */
@media (min-width: 561px) and (max-width: 980px) {

    .contests-hub__hero {
        min-height:
            clamp(
                175px,
                22dvh,
                210px
            )
            !important;

        padding:
            clamp(
                18px,
                3dvh,
                26px
            )
            18px
            clamp(
                16px,
                2.6dvh,
                23px
            )
            !important;
    }
}


/*
 * MOBIL
 * copiem exact comportamentul hero-ului Jocuri.
 */
@media (max-width: 560px) {

    .contests-hub {
        padding-top:
            0
            !important;
    }

    .contests-hub__hero {
        min-height:
            0
            !important;

        padding:
            clamp(
                14px,
                4vw,
                19px
            )
            18px
            clamp(
                11px,
                3.2vw,
                16px
            )
            !important;
    }

    .contests-hub__title {
        margin-bottom:
            clamp(
                7px,
                2.2vw,
                11px
            )
            !important;

        font-size:
            clamp(
                42px,
                13vw,
                62px
            )
            !important;
    }

    .contests-hub__intro {
        margin-bottom:
            0
            !important;

        font-size:
            17px
            !important;
    }
}

/* MF-CONCURSURI-MATCH-JOCURI-HERO-20260909:END */
