/* CSS VERSION 1.1 */
/* 2 Mar 2026 */

/* =============================== */
/*  PAGE: AGE GATE SECTION MAIN
/* =============================== */


main {
    position: relative;
    width: 100%;
    padding-top: min(20%, 200px);
    padding-bottom: min(20%, 200px);
    overflow: hidden
}

.gate-background {
    position: absolute;
    inset: 0;
    background: url('../images/metallic-bg.webp') no-repeat bottom center;
    background-size: cover;
    z-index: 0;
    pointer-events: none;
    top: -1%;
    width: 100%;
    height: 105%;
}


#age-gate {
    background-image: url('../images/background_expanded.webp');
    background-size: 100% auto;
    background-position: right top;
    background-repeat: no-repeat;
}

#gate-content {
    position: relative;
    z-index: 0;
}

#age-gate::before {
    content: '';
    position: absolute;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(17, 4, 2, 0.50) 48.08%, #110402 100%);
    background-size: cover;
    z-index: 0;
    pointer-events: none;
    bottom: 0;
    width: 100%;
    height: 20%;
}

.gate-content {
    width: min(90%, 500px);
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.gate-content-main {
    position: relative;
    background-color: #fff;
    color: #474746;
    width: 92%;
    height: 98%;
    padding: 30px 5%;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.8);
    z-index: 2;

    & p {
        font-size: 0.8rem;
    }

    & h1 {
        font-size: 3.5rem;
    }

    & h3 {
        font-size: 2rem;
        text-align: center;
    }
}

.gate-clan-logo {
    width: max(50%, 150px);
}
.age-gate-consent {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.age-gate-buttons {
    display: flex;
    gap: 20px;
}


.promo-code-error {
    margin-top: 10px;
    color: #fff;
    background: var(--red);
    padding: 2px 12px;
    border-radius: 0;
    text-align: center;
    font-size: 14px;
}

.promo-code-wrapper input {
    font-weight: 600;
    background: #B6B3AD;
    border: 3px solid #474746 !important;
}

.age-gate-button {
    color: var(--brown);
    font-weight: 600;
    min-width: 100px;
    padding: 7px 10px;
    border: 3px solid var(--brown);
    background: #fff;
    box-shadow: 4px 4px 0 0 var(--brown);
    transition: 0.3s ease-in-out;

    &:hover {
            box-shadow: 6px 6px 0 0 var(--brown);
            transform: translateY(-2px);
            transform: scaleX(1.05);
    }
}

#age-gate-no {
    background-color: var(--brown);
    color: #fff;
    border: 3px solid #fff;
}

@media screen and (max-width: 576px) {
    .gate-content-main {
    
        & h3 {
            font-size: 1.5rem;
            text-align: center;
        }
    }
    
}



/* =============================== */
/*  PAGE: START SECTION BANNER
/* =============================== */
#home {
 padding-top: 100px;
 padding-bottom: 0;
}

#banner {
    position: relative;
    margin-top: -100px;
    padding-top: 100px;
    overflow: hidden;
    background-image: url('../images/background_expanded.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(180deg, rgba(17, 4, 2, 0.00) 0%, rgba(17, 4, 2, 0.50) 48.08%, #110402 100%);
    z-index: 0;
}
.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    
    /* translate: 0 var(--parallax-y, 0px);
    will-change: translate; */
    min-height: 200dvh;

    & img {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 100%;
    }

}

/* @media (prefers-reduced-motion: reduce) {
    .banner-bg {
        translate: none;
        will-change: auto;
    }
} */

.claim {
    position: relative;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.banner-bottles {
    width: max(40%, 100px);
    z-index: 2;
}

.prizes {
    width: 60%;
    z-index: 2;
}

.main-prize {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: min(100%, 500px);

    & h2 {
        font-size: 6rem;
        font-weight: 700;
        position: relative;
        margin-bottom: -1rem;
        stroke: 1px solid #271C07;
        -webkit-text-stroke: 1px #271C07;
        text-shadow: 0 5px 0px #271C07;

        & span {
            position: absolute;
            top: 3.2rem;
            right: -30px;
            font-size: 3.5rem;
            font-weight: 600;
            transform: translateY(-2rem);
            -webkit-text-stroke: 1px #271C07;
        }
    }
    
    & h3 {
        font-size: 1.8rem;
        font-weight: 600;
        color: #fff;
        text-shadow: 0 4px 0px #271C07;
    }

    & img {
        width: min(100%, 160px);
    }
}

.secondary-prizes  {
    display: flex;
    width: 100%;
    gap: 10px;
    margin-top: -0.5%;

    & img {
        width: calc(50% - 5px);
        max-width: 250px;
    }
}

.secondary-prize-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 250px);

    & .secondary-prize-count {
        font-size: 3.5rem;
        font-weight: 700;
        text-shadow: 0 4px 0px #271C07;
        position: relative;

        & span {
            position: absolute;
            top: 0.9rem;
            right: -20px;
            font-size: 2rem;
            font-weight: 600;
            -webkit-text-stroke: 1px #271C07;
        }
    }

    & .secondary-prize-text {
        font-size: 1.4rem;
        text-shadow: 0 3px 0px #271C07;
    }

    & img {
        height: min(100%, 120px);
    }
}

@media (max-width: 576px) {

    #banner {
        /* margin-top: -50px; */
        padding-top: 70px;
    }

    .banner-bottles {
        width: max(55%, 120px);
    }

    .prizes {
        width: 45%;
    }
 

    .main-prize {
        & h2 {
            font-size: 4rem;

            & span {
                font-size: 2rem;
                right: -15px;
            }
        }
        & h3 {
            font-size: 1.4rem;
        }
        & img {
            width: max(80%, 80px);
        }
    }

    .secondary-prize-item {
        width: 50%;

        & .secondary-prize-count {
            font-size: 2.5rem;

            & span {
                top: 0.6rem;
                font-size: 1.5rem;
                right: -15px;
            }
        }
        & .secondary-prize-text {
            font-size: 1rem;
        }
        & img {
            width: max(80%, 80px);
        }
    }
}

/* =============================== */
/*  SECTION RULES
/* =============================== */

#rules {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

#rules .container {
    position: relative;
    z-index: 2;
}

.rule-items {
    display: flex;
    position: relative;
    justify-content: center;
    gap: 20px;
    z-index: 10;
}

.rule-item {
    width: 33.33%;
}


.rule-text p {
        font-size: 1.5rem;
        color: #fff;
        text-transform: uppercase;
        font-weight: 700;
}
.rule-numeral {
    width: 4rem;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 50%;
    color: var(--brown);
    font-size: 2.5rem;
    font-weight: 700;
}

.rules-logo {
    --parallax-y: 0px;
    position: absolute;
    display: flex;
    justify-content: center;
    top: 25%;
    left: 50%;
    width: 100%;
    max-width: 200px;
    z-index: 1;
    opacity: 0.3;

    transform: translateX(-50%) translateY(var(--parallax-y));
    will-change: transform;

    & img {
        margin: auto;
    }
}

#rules .cta-outline, #rules h3 {
    font-size: 2.5rem;
}

#rules h3 {
    margin-top: -15px;
}

/* MEDIA QUERIES ---------------------------- */

@media (max-width: 992px) {
    .rule-items {
        flex-direction: column;
    }

    .rule-item {
        width: 100%;
    }

    .rule-text p {
        font-size: 1.2rem;
    }
}

/* ================================================ */
/* SECTION LOADING OVERLAY */
/* ================================================ */
.loading-wrapper {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.loading-overlay {
    position: absolute;
    inset: 0;
    background: #0e0e0ea7;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    -moz-backdrop-filter: blur(5px);
    -ms-backdrop-filter: blur(5px);
    -o-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.loading-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px 40px;
    border-radius: 20px;
    text-align: center;
    z-index: 2;
}

.loading-spinner img {
    width: 180px;
    height: 180px;
}

.loading-text {
    margin-top: 15px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    font-size: 2rem;
    text-shadow: 0 2px 40px #0000006f;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: loadingBounceSway 3s ease-in-out infinite;
    transform-origin: center bottom;
    will-change: transform;
}

.loading-spinner img {
    display: block;
    max-width: 100%;
    height: auto;
}

@keyframes loadingBounceSway {
    0% {
        transform: translateY(0)  rotate(0deg) scale(1);
    }

    20% {
        transform: translateY(-14px)  rotate(-2deg) scale(1.03);
    }

    40% {
        transform: translateY(0) rotate(1.5deg) scale(0.98);
    }

    60% {
        transform: translateY(-8px)  rotate(2deg) scale(1.02);
    }

    80% {
        transform: translateY(0)  rotate(-1deg) scale(0.99);
    }

    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}
/* ================================================ */
/* PAGE: THANKS*/
/* ================================================ */

.thanks-content {
   min-height: 500px;

   & img {
    max-width: 150px;
    margin-bottom: 20px;
   }

   & h1 {
    font-size: 3.5rem;
    color: #474746;
    text-shadow: none;
   }

   & h2 {
    font-size: 1.8rem;
   }

   & p {
    font-size: 1.2rem;
   }
}

@media screen and (max-width: 576px) {
    .thanks-content {
        & h1 {
            font-size: 2.5rem;
        }

        & h2 {
            font-size: 1.4rem;
        }

        & p {
            font-size: 1rem;
        }
    }
}

/* ================================================ */
/* PAGE: REGULAMIN*/
/* ================================================ */

.regular-page {
    background-color:#fff;
    color: #000;
    padding: 30px 5%;
    border-radius: 40px;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    margin-bottom: 20px;

    & h1 {
        font-size: 2.5rem;
        color: var(--navy-blue);
        text-align: center;
    }

    & h2 {
        text-align: center;
        width: 100%;
    }
}
/* SECTION MEDIA QUERIES   /////////////////////////////// */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

