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

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

main {
    position: relative;
    width: 100%;
    margin-top: -50px;
    padding-top: min(20%, 50px);
    padding-bottom: min(20%, 50px);
    overflow: hidden;   
    isolation: isolate;

    /* JS will update this */
    --parallax-y: 0px;
}


/* keep content above background */
main > * {
    position: relative;
    z-index: 1;
}

#gate-content .container {
    background: url('../images/doodle.webp') no-repeat center 10%;
    background-size: 100%;
    position: relative;
}

.gate-content {
    position: relative;
    width: min(90%, 500px);
    padding: 30px 5%;
    border: 3px solid var(--red);
    border-radius: 70px;
    color: var(--red);
    background: #fff;
}


.gate-clan-logo {
    width: max(30%, 250px);
    margin-bottom: 20px;
}

.gate-title {
    & h1 {
        font-size: 2.5rem;
        line-height: 2.8rem;
        font-weight: 900;
        text-transform: uppercase;

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

.age-gate-consent {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
}

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


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

.promo-code-wrapper h3 {
    font-size: 2rem;
    line-height: 2rem;
}

.promo-code-wrapper input {
    border: 3px solid var(--red) !important;
    font-weight: 600;
    font-size: 1.5rem;

    &::placeholder {
        color: var(--red);
        opacity: 0.5;
    }
}

.age-gate-button {
    color: var(--red);
    font-size: 1.2rem;
    font-weight: 900;
    min-width: 100px;
    padding: 3px 10px;
    border-radius: 10px;
    border: 2px solid var(--red);
    background: transparent;
    transition: 0.3s ease-in-out;

    &:hover {
        background: var(--red-50);
        box-shadow: 0 0 25px var(--pink-shadow);
    }
}

#age-gate-no {
    background: var(--red);
    color: #fff;

    &:hover {
        background: var(--amber);
        border-color: var(--amber);
    }
}

.gate-crowd {
    width: 100%;
    max-width: 600px;
    margin-top: 20px;
}



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

#banner .container {
    background: url('../images/doodle.webp') no-repeat center 30px;
    background-size: 100%;
    position: relative;
}

.banner-logo {
    width: min(90%, 250px);
    margin-bottom: 20px;
}

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



.crowd {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: -1;
    max-width: 1200px;
}

.hero-tagline {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    & img {
        margin: auto;
        max-width: 300px;
    }
}

.main-claim {
    & h1 {
        font-size: 4rem;
        margin-bottom: 0;
        line-height: 4rem;
        margin-top: 80px;
        margin-bottom: 20px;
    }
    
    & span {
        font-size: 7rem;
    }

    & h2 {
        font-size: 2.5rem;
    }
}

.bottles {
    position: absolute;
    bottom: -220px;
    right: 10%;
    max-width: 600px;
}


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

@media (max-width: 1920px) {
    .bottles {
        right: -80px;
        max-width: 500px;
    }
}

@media (max-width: 1200px) {
    .bottles {
        bottom: -180px;
        right: -150px;
        width: 400px;
    }
}

@media (max-width: 992px) {
    .crowd {
        top: 20%;
    }
}

@media (max-width: 768px) {
    .crowd {
        top: 15%;
    }

    .bottles {
        bottom: -180px;
        right: -120px;
        width: 350px;
    }

}

@media (max-width: 576px) {

    #banner {
        padding-top: 0;
    }

    #banner .container {
        margin-top: 0;
    }

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

    .crowd {
        top: 10%;
    }

    .hero-tagline img {
        max-width: 150px;
    }

    .main-claim {
        & h1 {
            font-size: 2.5rem;
            line-height: 2.5rem;
            margin-top: 40px;
        }
        
        & span {
            font-size: 5rem;
        }
    
        & h2 {
            font-size: 1.4rem;
            line-height: 1.5rem;
        }
    }

    .bottles {
        bottom: -80px;
        right: -110px;
        width: 250px;
        z-index: 0;
    }
}

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

#prizes {
    position: relative;
    z-index: 5;
    overflow: visible;
    padding-top: max(8%, 50px);
    padding-bottom: max(8%, 50px);

    & .container {
        z-index: 2;
    }

    & .section-title, .cta-row {
        z-index: 10;
    }
}

#banner, #rules {
    position: relative;
    z-index: 15;
}

.prizes-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 120%;
    height: 140%;

    z-index: 1;
    pointer-events: none;

    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
}
.prizes-wrapper {
    position: relative;
    border-radius: 40px;

    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(50px, 8vw, 100px);

    z-index: 10;
    isolation: isolate;
}

.prize-item {
    position: relative;
}

.prize-item:last-child {
    margin-bottom: 2px;
}


.prize-count {
    font-size: 4.5rem;
    line-height: 3rem;
    margin-bottom: 0;
}

.main-prize-count {
    font-size: 6rem;
}

.prize-line-1 {
    font-size: 2.2rem;
    line-height: 2rem;
    margin-bottom: 0;
}

.prize-image {
    position: absolute;
    bottom: 40px;
    right: -60px;
    width: 100%;
    max-width: 160px;
    z-index: -1;
}

#bilety {
    bottom: 80px;
    right: -30px;
    max-width: 140px;
}

#merch {
    bottom: 30px;
    right: -60px;
    max-width: 220px;
}


@media (max-width: 768px) {

    .prizes-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 130px;
    }

    #bilety {
        bottom: 80px;
        right: -5px;
        max-width: 120px;
    }

    #merch {
        bottom: 30px;
        right: -30px;
        max-width: 180px;
    }
    

}

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

#rules {
    position: relative;
}

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

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

.rule-item {
    position: relative;
}

.rule-numeral {
    position: absolute;
    top: 2rem;
    left: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    transform: translateY(-3rem);

    & span {
        font-size: 3.5rem;
        color: var(--red);
    }
}

.rule-text {
    padding-left: 3rem;
    & p {
        font-size: 1.5rem;
        line-height: 1.8rem;
        text-transform: uppercase;;
    }
}

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

}

@media (max-width: 576px) {
    .rule-items {
        max-width: 300px;
    }
}


/* ================================================ */
/* 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;
    color: var(--graphite);
    padding: 30px 5%;
    border-radius: 40px;
    /* box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1); */
    margin-top: 50px;
    margin-bottom: 20px;
    max-width: 100%;

    & h1 {
        font-size: 2.5rem;
        font-weight: 900;
        text-align: center;
        font-family: "plus-jakarta-sans", sans-serif;
        color: var(--graphite);
        text-transform: uppercase;
    }

    & h2 {
        text-align: center;
        font-family: "plus-jakarta-sans", sans-serif;
        width: 100%;
        font-size: 1.8rem;
    }

    & h3, h4, h5, h6, p {
        color: var(--graphite);
    }
}


/* =============================== */
/*  PAGE: THANKS SECTION MAIN
/* =============================== */

#thanks {

    & h1 {
        font-size: 4rem;
        -webkit-text-stroke: 3px #fff;
        paint-order: stroke fill;
    }

    & h2 {
        font-size: 3rem;
    }

    & p {
        font-size: 2rem;
        line-height: 2rem;
        text-transform: uppercase;
        font-weight: 900;
    }
}



/* SECTION MEDIA QUERIES   /////////////////////////////// */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

