﻿/* =============================

   NAMESPACE WRAPPER

   ============================= */

.unlock-wrapper {
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
    text-rendering: optimizeLegibility;
}

    .unlock-wrapper * {
        box-sizing: border-box;
        font-family: 'Montserrat', sans-serif !important;
    }

    /* =============================

   TEXT WRAPPER

   ============================= */

    .unlock-wrapper .text-wrap {
        width: 100%;
        padding: 0 20px;
        text-align: center;
        text-transform: uppercase;
        line-height: 0.98;
    }

    /* =============================

   FULLSCREEN MODAL BACKDROP

   ============================= */

    .unlock-wrapper .unlock-modal {
        position: fixed;
        inset: 0;
        background: radial-gradient(ellipse at center, #2b2b2b 0%, #1d1d1d 45%, #141414 100%);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 99999;
    }

    /* =============================

   MODAL CONTENT

   ============================= */

    .unlock-wrapper .unlock-modal-content {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #fff;
        position: relative;
    }

    /* =============================

   CLOSE BUTTON

   ============================= */

    .unlock-wrapper .unlock-close {
        position: absolute;
        right: 28px;
        top: 22px;
        background: none;
        border: none;
        width: 20px;
        height: 20px;
        cursor: pointer;
        padding: 0;
    }

        .unlock-wrapper .unlock-close::before,
        .unlock-wrapper .unlock-close::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 18px;
            height: 2px;
            background: #fff;
            transform-origin: center;
        }

        .unlock-wrapper .unlock-close::before {
            transform: translate(-50%, -50%) rotate(45deg);
        }

        .unlock-wrapper .unlock-close::after {
            transform: translate(-50%, -50%) rotate(-45deg);
        }

    /* =============================

   TITLE TEXT (LOCKED THICKNESS)

   ============================= */

    .unlock-wrapper .unlock-text,
    .unlock-wrapper .your-text {
        font-size: 6.85rem;
        font-weight: 700;
        letter-spacing: 0.6px;
        /* ✅ production-safe thickness */

        text-shadow: 1px 0 0 currentColor, -1px 0 0 currentColor, 0 0.5px 0 currentColor, 0 -0.5px 0 currentColor;
    }

    .unlock-wrapper .unlock-text {
        color: #F5A623;
    }

    .unlock-wrapper .your-text {
        color: #fff;
        margin-left: 14px;
    }

    /* =============================

   GREATNESS (MATCHES TITLE)

   ============================= */

    .unlock-wrapper .greatness-text {
        display: block;
        margin-top: 16px;
        font-size: 8.95rem;
        font-weight: 700;
        color: #fff;
        letter-spacing: 0.9px;
        white-space: nowrap;
        text-shadow: 1.2px 0 0 currentColor, -1.2px 0 0 currentColor, 0 0.6px 0 currentColor, 0 -0.6px 0 currentColor;
    }

    /* =============================

   SUB LABEL

   ============================= */

    .unlock-wrapper .unlock-now {
        margin-top: 100px;
        font-size: 1.1rem;
        font-weight: 900;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
    }


    /* =============================

   DOUBLE DOWN ICON

   ============================= */

    .unlock-wrapper .double-down {
        position: relative;
        width: 36px;
        height: 36px;
        margin-top: 10px;
        animation: unlock-bounce 1.4s infinite;
    }

        .unlock-wrapper .double-down::before {
            content: "";
            position: absolute;
            left: 50%;
            width: 16px;
            height: 16px;
            border-bottom: 3px solid #fff;
            border-right: 3px solid #fff;
            transform: translateX(-50%) rotate(45deg);
        }

        .unlock-wrapper .double-down::before {
            top: 0;
        }

#arrowDown {
    margin-top: 10px;
    animation: unlock-bounce 1.4s infinite;
}

/* =============================

   ANIMATION

   ============================= */

@keyframes unlock-bounce {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

#unlockModal {
    display: none;
}

/* =============================

   RESPONSIVE (UNCHANGED)

   ============================= */

@media (max-width: 1024px) {

    .unlock-wrapper .unlock-text,
    .unlock-wrapper .your-text {
        font-size: 5.15rem;
    }

    .unlock-wrapper .greatness-text {
        font-size: 6.25rem;
    }
}

@media (max-width: 768px) {

    .unlock-wrapper .unlock-text,
    .unlock-wrapper .your-text {
        font-size: 3.75rem;
    }

    .unlock-wrapper .greatness-text {
        font-size: 4.45rem;
    }
}

@media (max-width: 480px) {

    .unlock-wrapper .unlock-text,
    .unlock-wrapper .your-text {
        font-size: 2.4rem;
        letter-spacing: 0;
    }

    .unlock-wrapper .greatness-text {
        font-size: 2.9rem;
        letter-spacing: 0.3px;
    }
}

/* =============================

   MOBILE (CLEAN & PRODUCTION MATCH)

   ============================= */

@media (max-width: 480px) {

    /* ✅ stop desktop vertical offset leaking to mobile */

    .unlock-wrapper .unlock-modal-content {
        transform: none;
        justify-content: center;
        padding-top: 16px;
    }

    /* ✅ headline sizing like betasite */

    .unlock-wrapper .unlock-text,
    .unlock-wrapper .your-text {
        font-size: 2.15rem;
        font-weight: 700;
        letter-spacing: 0.2px;
        line-height: 1.15;
        text-shadow: none;
        -webkit-font-smoothing: antialiased;
    }

    .unlock-wrapper .greatness-text {
        font-size: 2.6rem;
        margin-top: 6px;
        letter-spacing: 0.3px;
        line-height: 1.15;
        white-space: normal;
        text-shadow: none;
    }

    /* ✅ text container spacing */

    .unlock-wrapper .text-wrap {
        line-height: 1.1;
        padding: 0 14px;
    }

    /* ✅ UNLOCK NOW position — matches production */

    .unlock-wrapper .unlock-now {
        margin-top: 26px;
        font-size: 1rem;
        opacity: 0.85;
    }

    /* ✅ arrow spacing */

    .unlock-wrapper .double-down {
        margin-top: 10px;
        width: 28px;
        height: 28px;
    }
}

#unlock-your-greatness {
    text-align: center;
    width: 87%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto 0;
}

    #unlock-your-greatness svg {
        max-width: 90%;
        height: auto;
        display: block;
    }

.unlock-bottom-buttons {
    position: absolute;
    top: 70%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 1400px) {
    #unlock-your-greatness {
        width: 70%;
    }

    .unlock-bottom-buttons {
        top: 65%;
    }
}
