/* 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 {
    position: relative;
    color: #fff;
    width: min(90%, 500px);
    padding: 30px 5%;
    border-radius: 70px;

    & p {
        font-size: 0.8rem;
    }

    &:before {
        content: '';
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
        left: 50%;
        width: 100%;
        height: 500px;
        background: radial-gradient(50% 50% at 50% 50%, rgba(234, 77, 134, 0.30) 0%, rgba(234, 77, 134, 0.00) 100%);
        border-radius: 50%;
        z-index: -1;
    }
}

.gate-clan-logo {
    width: max(50%, 300px);
    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;
            -webkit-text-stroke: 3px #fff;
            paint-order: stroke fill;
        }
    
    }   
}

.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(--pink);
    padding: 2px 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
}

.promo-code-wrapper input {
    font-weight: 600;
}

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

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

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




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


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

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

.circle-text-wrap {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    margin: 0 auto;
  }
  
  .circle-text-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.arc-text {
    font-family: "pain-de-mie", sans-serif;
    font-weight: 900;
    text-transform: uppercase;

    /* Prevent the unanimated spacing flashing on load */
    letter-spacing: 0;
}

/* TOP TEXT */
.top-text {
    fill: #e25594;
    font-size: 2.5rem;

    animation: top-letter-spacing-bounce 1.2s
        cubic-bezier(0.22, 1, 0.36, 1)
        0.15s
        both;
}

/* BOTTOM TEXT */
.bottom-text {
    fill: #59a8e8;
    font-size: 3.8rem;

    stroke: #fff;
    stroke-width: 4px;
    paint-order: stroke fill;
    stroke-linejoin: round;

    animation: bottom-letter-spacing-bounce 1.3s
        cubic-bezier(0.22, 1, 0.86, 1)
        0.25s
        both;
}

@keyframes top-letter-spacing-bounce {
    0% {
        letter-spacing: -0.15rem;
        opacity: 0;
    }

    65% {
        letter-spacing: 0.32rem;
        opacity: 1;
    }

    82% {
        letter-spacing: 0.16rem;
    }

    100% {
        letter-spacing: 0.2rem;
        opacity: 1;
    }
}

@keyframes bottom-letter-spacing-bounce {
    0% {
        letter-spacing: -0.2rem;
        opacity: 0;
    }

    65% {
        letter-spacing: 0.7rem;
        opacity: 1;
    }

    82% {
        letter-spacing: 0.42rem;
    }

    100% {
        letter-spacing: 0.5rem;
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .top-text,
    .bottom-text {
        animation: none;
    }

    .top-text {
        letter-spacing: 0.2rem;
    }

    .bottom-text {
        letter-spacing: 0.5rem;
    }
}
#banner .cta-row {
    margin-top: -70px;
}

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

@media (max-width: 768px) {
    .top-text {
        transform: translateY(-40px);
    }
}

@media (max-width: 576px) {

    #home {
        padding-top: 50px;

       }
    
    .circle-text-wrap {
        top: 45%;
    }

    .top-text {
        font-size: 4rem;
    }

    .bottom-text {
        font-size: 5rem;
        letter-spacing: 0.7rem;
    }
    
    .hero-graphic img {
        min-width: 380px;
    }
}

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

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

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

    /* important */
    gap: clamp(35px, 8vw,50px);

    z-index: 10;
    isolation: isolate;
}

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

.prize-count {
    font-family: "pain-de-mie", sans-serif;
    font-size: 3.5rem;
    margin-bottom: 0;
}

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

.main-prize-amount {
    font-family: "pain-de-mie", sans-serif;
    font-size: 5rem;
    margin: auto;
    margin-bottom: 0;
}

.main-prize-description {
    font-family: "pain-de-mie", sans-serif;
    font-size: 2.5rem;
    margin: auto;
    margin-bottom: 0;
    -webkit-text-stroke: 10px #fff;
    paint-order: stroke fill;

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

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

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

/* =============================== */
/*  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-numeral {
    background-color: var(--pink);
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;

    & span {
        font-family: "pain-de-mie", sans-serif;
        color: #fff;
        font-size: 2rem;
    }
}

.rule-text p {
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 900;
}



/* ================================================ */
/* 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-family: "pain-de-mie", sans-serif;
        font-size: 2rem;
        text-transform: uppercase;
        font-weight: 900;
    }
}



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

}
