@font-face {
    font-family: "Ubuntu Condensed";
    src: url("/fonts/UbuntuCondensed-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}


*,
*::before,
*::after {
    box-sizing: border-box;
}


html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}


html {
    background: #000000;
}


body {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: #000000;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


/* =========================================================
   GRAFIKA
   ========================================================= */

.hero {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100vw;
    height: 100vh;
    height: 100dvh;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: #000000;
}


.hero-image {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    object-fit: contain;
    object-position: center center;

    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}


/* =========================================================
   WSPOLNY STYL OBU BOKSOW
   ========================================================= */

.countdown,
.analytics-consent {
    width: calc(100% - 40px);
    max-width: 760px;

    padding: 14px 16px;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;

    background: rgba(18, 18, 18, 0.48);

    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.28);

    overflow: hidden;

    font-family:
        "Ubuntu Condensed",
        Arial,
        Helvetica,
        sans-serif;
}


.countdown *,
.analytics-consent *,
.analytics-button {
    font-family:
        "Ubuntu Condensed",
        Arial,
        Helvetica,
        sans-serif;
}


/* =========================================================
   KOLOROWA LINIA
   ========================================================= */

.countdown::before,
.analytics-consent::before {
    content: "";

    position: absolute;

    left: 5%;
    top: 0;

    width: 90%;
    height: 2px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #ff1493 0%,
            #ff1493 30%,
            #00f0ff 50%,
            #ffe600 70%,
            #ff1493 100%
        );

    box-shadow:
        0 0 10px rgba(0, 240, 255, 0.55);
}


/* =========================================================
   LICZNIK
   ========================================================= */

.countdown {
    position: absolute;

    z-index: 20;

    left: 50%;
    top: 77%;

    transform:
        translate(-50%, -50%);

    text-align: center;

    pointer-events: none;
}


/* =========================================================
   OTWARCIE
   ========================================================= */

.countdown-date {
    margin: 0 0 5px;

    color: #00f0ff;

    font-size:
        clamp(14px, 1.25vw, 19px);

    font-weight: 700;

    line-height: 1;

    letter-spacing:
        clamp(1px, 0.14vw, 2px);

    text-transform: uppercase;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.7);
}


/* =========================================================
   POZOSTALO
   ========================================================= */

.countdown-title {
    margin: 0 0 10px;

    color: #00f0ff;

    font-size:
        clamp(9px, 0.9vw, 13px);

    font-weight: 700;

    line-height: 1;

    letter-spacing:
        clamp(0.7px, 0.1vw, 1.3px);

    text-transform: uppercase;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.7);
}


/* =========================================================
   POLA LICZNIKA
   ========================================================= */

.countdown-values {
    display: flex;

    align-items: stretch;
    justify-content: center;

    flex-wrap: nowrap;

    gap: 7px;

    width: 100%;
}


.countdown-values[hidden] {
    display: none !important;
}


.countdown-item {
    position: relative;

    display: flex;

    align-items: baseline;
    justify-content: center;

    flex: 1 1 0;

    gap: 5px;

    min-width: 0;

    padding: 9px 6px;

    border:
        1px solid rgba(255, 255, 255, 0.10);

    border-radius: 8px;

    background:
        rgba(0, 0, 0, 0.18);

    box-shadow:
        inset 0 0 14px rgba(255, 255, 255, 0.02);
}


.countdown-item[hidden] {
    display: none !important;
}


/* =========================================================
   CYFRY
   ========================================================= */

.countdown-number {
    color: #ff1493;

    font-size:
        clamp(22px, 2.4vw, 36px);

    font-weight: 700;

    line-height: 1;

    letter-spacing: -0.02em;

    text-shadow:
        0 0 12px rgba(255, 20, 147, 0.45);
}


/* =========================================================
   JEDNOSTKI
   ========================================================= */

.countdown-unit {
    color: #ffffff;

    font-size:
        clamp(9px, 0.95vw, 13px);

    font-weight: 400;

    line-height: 1;

    white-space: nowrap;
}


/* =========================================================
   PO OTWARCIU
   ========================================================= */

.countdown-open {
    color: #ff1493;

    font-size:
        clamp(24px, 3vw, 40px);

    font-weight: 700;

    line-height: 1;

    letter-spacing:
        clamp(2px, 0.3vw, 5px);

    text-shadow:
        0 0 16px rgba(255, 20, 147, 0.45);
}


.countdown-open[hidden] {
    display: none !important;
}


/* =========================================================
   ANALYTICS
   ========================================================= */

.analytics-consent {
    position: fixed;

    z-index: 1000;

    left: 50%;
    bottom: 52px;

    transform:
        translateX(-50%);

    color: #ffffff;
}


.analytics-consent[hidden] {
    display: none !important;
}


.analytics-consent__content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.analytics-consent__text {
    flex: 1;

    margin: 0;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.35;
}


.analytics-consent__buttons {
    display: flex;

    flex-shrink: 0;

    gap: 8px;
}


/* =========================================================
   PRZYCISKI
   ========================================================= */

.analytics-button {
    appearance: none;
    -webkit-appearance: none;

    min-height: 40px;

    padding: 8px 16px;

    border: 1px solid #ffffff;

    border-radius: 7px;

    background: transparent;

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    line-height: 1.2;

    cursor: pointer;
}


.analytics-button:hover,
.analytics-button:focus-visible {
    background: #ffffff;

    color: #000000;
}


.analytics-button--accept {
    background: #ffffff;

    color: #000000;
}


.analytics-button--accept:hover,
.analytics-button--accept:focus-visible {
    background: #dddddd;

    color: #000000;
}


/* =========================================================
   USTAWIENIA PRYWATNOSCI
   ========================================================= */

.privacy-settings {
    position: fixed;

    z-index: 999;

    right: 12px;
    bottom: 12px;

    padding: 7px 10px;

    border:
        1px solid rgba(255, 255, 255, 0.20);

    border-radius: 6px;

    background:
        rgba(18, 18, 18, 0.78);

    color: #ffffff;

    font-family:
        "Ubuntu Condensed",
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11px;

    font-weight: 400;

    line-height: 1.2;

    cursor: pointer;
}


.privacy-settings[hidden] {
    display: none !important;
}


.privacy-settings:hover,
.privacy-settings:focus-visible {
    background:
        rgba(18, 18, 18, 0.98);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .countdown {
        top: 76%;
    }


    .analytics-consent {
        bottom: 42px;
    }

}


/* =========================================================
   TELEFON
   ========================================================= */

@media (max-width: 650px) {

    .countdown,
    .analytics-consent {
        width:
            calc(100% - 20px);

        padding:
            12px 10px;
    }


    .countdown {
        top: 74%;
    }


    .countdown-values {
        flex-wrap: wrap;

        gap: 5px;
    }


    .countdown-item {
        flex:
            1 1 calc(50% - 5px);

        min-width: 0;

        padding:
            8px 6px;
    }


    .countdown-date {
        font-size:
            clamp(14px, 4vw, 19px);
    }


    .countdown-title {
        font-size:
            clamp(9px, 2.8vw, 13px);

        margin-bottom:
            8px;
    }


    .countdown-number {
        font-size:
            clamp(22px, 7vw, 32px);
    }


    .countdown-unit {
        font-size:
            clamp(9px, 3vw, 13px);
    }


    .analytics-consent {
        bottom:
            28px;
    }


    .analytics-consent__text {
        font-size:
            15px;
    }


    .analytics-consent__content {
        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            12px;
    }


    .analytics-consent__buttons {
        width:
            100%;
    }


    .analytics-button {
        flex: 1;

        font-size:
            15px;
    }

}


/* =========================================================
   TELEFON POZIOMO
   ========================================================= */

@media (max-height: 600px) {

    .countdown {
        top: 75%;

        padding:
            9px 12px;
    }


    .countdown-title {
        margin-bottom:
            6px;
    }


    .countdown-date {
        margin-bottom:
            4px;
    }


    .countdown-item {
        padding:
            6px 5px;
    }


    .analytics-consent {
        bottom:
            18px;
    }

}