@charset "utf-8";

/* ===== FIFA World Cup 2026 Countdown Timer ===== */

.fifa-timer {
    position: relative;
    /* border-radius: 10px; */
    overflow: hidden;
    margin: 10px 0;
    min-height: 100px;
}

/* Background images */
.fifa-timer__bg {
    position: relative;
    width: 100%;
}

.fifa-timer__bg img {
    width: 100%;
    height: auto;
    display: block;
}

.fifa-timer__bg--mobile {
    display: none;
}

/* Countdown overlay */
.fifa-timer__countdown {
    position: absolute;
    top: 50%;
    right: 7%;
    transform: translateY(-50%);
    display: flex;
    align-items: flex-start;
    z-index: 2;
    grid-gap: 5px;
}

/* Each time unit block */
.fifa-timer__unit {
    display: flex;
    align-items: center;
    grid-gap: 5px;
}

.fifa-timer__digits-wrap {
    display: flex;
    gap: 4px;
}

.fifa-timer__digit {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 43px;
    color: #FCF220;
    text-shadow: 0 0 10px #000;
    line-height: 1;
    width: 40px;
    text-align: center;
    background: url(../images/fifa/column1.png) no-repeat center center;
    background-size: 100% 100%;
    padding: 6px 2px;
}

.fifa-timer__label {
    margin-top: 6px;
}

.fifa-timer__label img {
    height: 35px;
    width: auto;
    display: block;
}

/* ===== Responsive — Tablet ===== */
@media (max-width: 992px) {
    .fifa-timer__countdown {
        right: 5%;
        gap: 8px;
    }

    .fifa-timer__digit {
        font-size: 32px;
        width: 32px;
        padding: 5px 2px;
    }

    .fifa-timer__label img {
        height: 14px;
    }
}

/* ===== Responsive — Mobile ===== */
@media (max-width: 768px) {
    .fifa-timer__unit {
        flex-direction: column;
        grid-gap: 0;
    }

    .fifa-timer {
        min-height: auto;
    }

    .fifa-timer__bg--desktop {
        display: none;
    }

    .fifa-timer__bg--mobile {
        display: block;
    }

    .fifa-timer__countdown {
        position: absolute;
        top: auto;
        bottom: 12px;
        right: 10px;
        transform: none;
        gap: 6px;
    }

    .fifa-timer__digits-wrap {
        gap: 0;
        background: url(../images/fifa/column1.png) no-repeat center center;
        background-size: 100% 100%;
        padding: 4px 4px;
    }

    .fifa-timer__digit {
        font-size: 20px;
        width: 18px;
        padding: 0;
        background: none;
    }

    .fifa-timer__label {
        margin-top: 3px;
    }

    .fifa-timer__label img {
        height: 14px;
    }
}

/* ===== Responsive — Small Mobile ===== */
@media (max-width: 480px) {
    .fifa-timer__countdown {
        bottom: 8px;
        right: 24px;
        gap: 5px;
    }

    .fifa-timer__digits-wrap {
        gap: 0;
        height: 50px;
    }

    .fifa-timer__digit {
        font-size: 23px;
        width: 17px;
        align-content: center;
    }
}