/* ============================================================
   POPUPS PAGE
   ============================================================ */


/* ============================================================
   HERO
   ============================================================ */

.popup-hero {
    position: relative;

    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;
}


.popup-hero-background {
    position: absolute;
    inset: 0;

    z-index: 0;
}


.popup-hero-background img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    animation: popupHeroFade 0.45s ease-out both;
}


.popup-hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.90) 0%,
            rgba(0, 0, 0, 0.60) 50%,
            rgba(0, 0, 0, 0.25) 100%
        );
}


.popup-hero-content {
    position: relative;

    z-index: 2;

    width: min(1100px, 90%);

    margin-left: 5vw;

    padding-top: 70px;

    animation: popupContentFade 0.4s ease-out 0.1s both;
}


.popup-hero-content h1 {
    font-size: clamp(4.5rem, 10vw, 10rem);

    line-height: 0.79;

    letter-spacing: -0.065em;

    font-weight: 900;

    text-transform: uppercase;
}


.popup-hero-description {
    max-width: 520px;

    margin-top: 35px;

    font-size: clamp(1.05rem, 1.6vw, 1.4rem);

    line-height: 1.5;

    color: rgba(255, 255, 255, 0.82);
}


@keyframes popupHeroFade {

    from {
        opacity: 0;
        transform: scale(1.04);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


@keyframes popupContentFade {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ============================================================
   EVENT LIST
   ============================================================ */

.popup-events {
    padding: 120px 8vw;

    background: #080808;
}


.popup-events-heading {
    max-width: 900px;

    margin-bottom: 90px;
}


.popup-events-heading h2 {
    font-size: clamp(5rem, 11vw, 11rem);

    line-height: 0.78;

    letter-spacing: -0.07em;

    font-weight: 900;
}


.popup-events-heading > p:last-child {
    max-width: 600px;

    margin-top: 40px;

    font-size: clamp(1.1rem, 1.5vw, 1.35rem);

    line-height: 1.6;

    color: rgba(255, 255, 255, 0.7);
}


.event-list {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}


.event-row {
    display: grid;

    grid-template-columns:
        0.7fr
        1.2fr
        1.5fr
        0.8fr;

    gap: 30px;

    align-items: center;

    min-height: 150px;

    padding: 30px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}


.event-label {
    display: block;

    margin-bottom: 12px;

    font-size: 0.6rem;

    font-weight: 900;

    letter-spacing: 0.2em;

    color: rgba(255, 255, 255, 0.4);
}


.event-field strong {
    font-size: clamp(1rem, 1.5vw, 1.35rem);

    letter-spacing: 0.03em;
}


.event-ticket {
    text-align: right;
}


.event-status {
    display: inline-block;

    padding: 12px 16px;

    border: 1px solid rgba(255, 255, 255, 0.35);

    font-size: 0.65rem;

    font-weight: 900;

    letter-spacing: 0.15em;
}


.event-row-muted {
    color: rgba(255, 255, 255, 0.45);
}


/* ============================================================
   TICKETS
   ============================================================ */

.popup-tickets {
    min-height: 100vh;

    padding: 120px 8vw;

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

    background: #111;
}


.ticket-layout {
    display: grid;

    grid-template-columns: 1.2fr 1fr;

    gap: 8vw;

    align-items: end;
}


.ticket-layout h2 {
    font-size: clamp(4.5rem, 9vw, 9rem);

    line-height: 0.8;

    letter-spacing: -0.06em;

    font-weight: 900;
}


.ticket-copy {
    max-width: 550px;

    font-size: clamp(1.05rem, 1.5vw, 1.35rem);

    line-height: 1.6;
}


.ticket-copy p + p {
    margin-top: 25px;
}


.ticket-placeholder {
    display: inline-block;

    margin-top: 40px;

    padding: 16px 26px;

    border: 2px solid rgba(255, 255, 255, 0.3);

    color: rgba(255, 255, 255, 0.45);

    font-size: 0.75rem;

    font-weight: 900;

    letter-spacing: 0.15em;
}


/* ============================================================
   COMMUNITY CTA
   ============================================================ */

.popup-community {
    min-height: 90vh;

    padding: 120px 8vw;

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

    background: #080808;
}


.popup-community h2 {
    font-size: clamp(4.5rem, 9vw, 9rem);

    line-height: 0.8;

    letter-spacing: -0.06em;

    font-weight: 900;
}


.popup-community > p:not(.section-label) {
    max-width: 600px;

    margin-top: 40px;

    font-size: 1.2rem;

    line-height: 1.6;

    color: rgba(255, 255, 255, 0.7);
}


.popup-community .button {
    align-self: flex-start;

    margin-top: 35px;
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .popup-hero-background img,
    .popup-hero-content {
        animation: none;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 750px) {

    .popup-hero-content {
        width: auto;

        margin-left: 20px;
        margin-right: 20px;
    }


    .popup-hero-content h1 {
        font-size: clamp(3.4rem, 15vw, 5.5rem);
        line-height: 0.82;
        letter-spacing: -0.07em;
    }


    .popup-hero-overlay {
        background:
            linear-gradient(
                0deg,
                rgba(0, 0, 0, 0.90) 0%,
                rgba(0, 0, 0, 0.30) 100%
            );
    }

    .popup-hero-description {
        max-width: 90%;
        font-size: 1.05rem;
    }


    .popup-events,
    .popup-tickets,
    .popup-community {
        padding: 100px 25px;
    }


    .event-row {
        grid-template-columns: 1fr 1fr;

        gap: 30px 20px;

        padding: 35px 0;
    }


    .event-ticket {
        text-align: left;
    }


    .ticket-layout {
        display: block;
    }


    .ticket-copy {
        margin-top: 70px;
    }

}


@media (max-width: 500px) {

    .event-row {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 400px) {
    
    .popup-hero-content h1 {
        font-size: 14vw;
    }
}