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

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


main {
    background: url(../images/bg_main_transparent.webp) no-repeat top center;
    background-size: cover;
    width: 100%;
    margin-top: -30px;
    padding-top: min(20%, 200px);
    padding-bottom: min(20%, 200px);
}



.gate-content {
    background-color: var(--navy-blue);
    color: #fff;
    width: min(90%, 500px);
    border: 2px solid #fff;
    padding: 30px 5%;
    border-radius: 70px;
    box-shadow: 0 0 30px 0 rgba(255, 255, 255, 0.5);

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

.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: 6px;
    text-align: center;
    font-size: 14px;
}



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


.banner-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

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

.banner-bottles {
    max-width: 200px;
}

.claim {
    margin-left: 2rem;

    & h1 {
        font-size: 4.5rem;
        line-height: 5rem;
        text-shadow:    8px 0 0 #000,
        -8px 0 0 #000,
         0 8px 0 #000,
         0 -8px 0 #000,
         8px 8px 0 #000,
        -8px 8px 0 #000,
         8px -8px 0 #000,
        -8px -8px 0 #000;
    }

    & .text-offset {
        font-size: 6rem;
        line-height: 6.5rem;
        margin-left: -2rem;
    }

    & .text-red {
        margin-left: -2rem;
    }

    & img {
        max-width: 400px;
    }
}

.banner-venue h2 {
    font-family: "cheddar-gothic-rough", sans-serif;

}

/* =============================== */
/*  SECTION PRIZES
/* =============================== */

.prizes-frame {
    position: relative;
    max-width: 600px;
    width: 90%;
    border-radius: 40px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* important */
    padding: clamp(80px, 12vw, 120px) 20px;
    gap: clamp(45px, 8vw, 80px);

    z-index: 10;
    isolation: isolate;
}

.prizes-glow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    pointer-events: none;
    z-index: -1;
    overflow: visible;
}

@property --gradient-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 180deg;
}

@keyframes rotation {
    0% { --gradient-angle: 0deg; }
    100% { --gradient-angle: 360deg; }
}  

.prize-item {
    color: #fff;;
}

.prize-count {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0;
    text-transform: uppercase;

    & span {
        font-style: italic;
        font-weight: 800;
        font-size: 2.6rem;
    }
}

.prize-image {
    max-width: 160px;
    margin: auto;
}

.prize-description {
    font-family: "cheddar-gothic-rough", sans-serif;
    font-size: 2.5rem;
}

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

.rule-items {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.rule-numeral {
    background-color: var(--red);
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    font-family: "cheddar-gothic-rough", sans-serif;
}

/* ================================================ */
/* 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;
   }

   & h2 {
    font-size: 1.8rem;
   }

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

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

.regular-page {
    background-color:#fff;
    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   /////////////////////////////// */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

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

@media (max-width: 768px) {
    .claim {
        margin-left: 2rem;
    
        & h1 {
            font-size: 3.5rem;
            line-height: 4rem;
            text-shadow:    
            8px 0 0 #000,
            -8px 0 0 #000,
             0 8px 0 #000,
             0 -8px 0 #000,
             8px 8px 0 #000,
            -8px 8px 0 #000,
             8px -8px 0 #000,
            -8px -8px 0 #000;
        }
    
        & .text-offset {
            font-size: 5rem;
            line-height: 5.5rem;

        }
    
        & .text-red {
            margin-left: -2rem;
        }
    
        & img {
            max-width: 300px;
        }
    }

}

@media (max-width: 576px) {
    .banner-bottles {
        max-width: 120px;
    }
    .claim {
        margin-left: 2rem;
    
        & h1 {
            font-size: 2.2rem;
            line-height: 2.5rem;
            text-shadow:    
            4px 0 0 #000,
            -4px 0 0 #000,
             0 4px 0 #000,
             0 -4px 0 #000,
             4px 4px 0 #000,
            -4px 4px 0 #000,
             4px -4px 0 #000,
            -4px -4px 0 #000;
        }
    
        & .text-offset {
            font-size: 4rem;
            line-height: 4.5rem;
            margin-left: -2rem;
        }
    
        & .text-red {
            font-size: 2rem;
            margin-left: -1rem;
        }
    
        & img {
            max-width: 200px;
            margin-left: -1rem;
        }
    }

    /* .prizes-frame {
        gap: 15px;
    } */

    .prize-image {
        max-width: 90px;
        margin-top: -20px
    }

    .prize-count {
        font-size: 1.5rem;

        & span {
            font-size: 1.8rem;
        }
    }

    .prize-description {
        font-size: 1.5rem;
    }

} 