* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;

    font-family: Arial, Helvetica, sans-serif;

    color: white;

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(145, 55, 220, 0.30),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #10051f,
            #05030d 60%,
            #071329
        );
}


/* =========================================================
   REDEEM PAGE
========================================================= */

.redeem-page {
    min-height: 100vh;

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

    padding: 30px;
}


.redeem-card {
    width: 100%;
    max-width: 520px;

    padding: 50px 42px;

    text-align: center;

    border: 1px solid rgba(190, 105, 255, 0.45);
    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(45, 17, 70, 0.97),
            rgba(12, 7, 25, 0.98)
        );

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45),
        0 0 50px rgba(165, 70, 255, 0.16);
}


.redeem-duck {
    margin-bottom: 15px;

    font-size: 72px;
}


.eyebrow {
    margin: 0 0 10px;

    color: #d394ff;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 2px;
}


.redeem-card h1 {
    margin: 10px 0 14px;

    font-size: 42px;
    line-height: 1.05;
}


.redeem-description {
    max-width: 390px;

    margin: 0 auto 30px;

    color: #b9abc5;

    line-height: 1.6;
}


#redeemForm {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


#redeemCode {
    width: 100%;

    padding: 17px 18px;

    border: 1px solid rgba(180, 90, 255, 0.45);
    border-radius: 14px;

    outline: none;

    background: rgba(5, 3, 14, 0.8);

    color: white;

    text-align: center;

    font-size: 16px;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}


#redeemCode:focus {
    border-color: #c45cff;

    box-shadow:
        0 0 20px rgba(190, 70, 255, 0.25);
}


.redeem-button {
    width: 100%;

    padding: 16px;

    border: 0;
    border-radius: 14px;

    background:
        linear-gradient(
            90deg,
            #8732d4,
            #c34cff
        );

    color: white;

    font-size: 15px;
    font-weight: 900;

    cursor: pointer;
}


.redeem-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(190, 70, 255, 0.3);
}


.redeem-message {
    min-height: 24px;

    margin-top: 18px;

    font-weight: 800;
}


.redeem-back {
    display: inline-block;

    margin-top: 20px;

    color: #bba7ca;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
}


.redeem-back:hover {
    color: white;
}
/* =========================================================
   UNLOCK POPUP
========================================================= */

.unlock-popup {
    position: fixed;
    inset: 0;

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

    padding: 24px;

    background:
        rgba(5, 2, 12, 0.78);

    backdrop-filter: blur(8px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;

    z-index: 9999;
}

.unlock-popup.show {
    opacity: 1;
    visibility: visible;
}

.unlock-popup-card {
    position: relative;

    width: min(430px, 100%);

    padding: 46px 34px;

    overflow: hidden;

    text-align: center;

    border:
        1px solid
        rgba(210, 120, 255, 0.65);

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            #28103f,
            #100719
        );

    box-shadow:
        0 0 70px
        rgba(190, 80, 255, 0.30);

    transform:
        scale(0.75)
        translateY(30px);

    transition:
        transform 0.35s
        cubic-bezier(.2, 1.4, .4, 1);
}

.unlock-popup.show
.unlock-popup-card {
    transform:
        scale(1)
        translateY(0);
}

.unlock-popup-glow {
    position: absolute;

    width: 220px;
    height: 220px;

    top: -100px;
    left: 50%;

    transform:
        translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(220, 100, 255, 0.35),
            transparent 70%
        );

    pointer-events: none;
}

.unlock-popup-icon {
    position: relative;

    font-size: 72px;

    margin-bottom: 12px;

    animation:
        unlockBounce
        0.8s ease
        infinite alternate;
}

.unlock-popup-eyebrow {
    margin: 0 0 10px;

    color: #d58cff;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 2px;
}

.unlock-popup-card h2 {
    margin: 0;

    font-size: 38px;
}

.unlock-popup-card p {
    color: #c9b8d5;
}

.unlock-popup-card button {
    margin-top: 20px;

    width: 100%;

    padding: 15px;

    border: 0;
    border-radius: 14px;

    background:
        linear-gradient(
            90deg,
            #8d35dd,
            #c94cff
        );

    color: white;

    font-weight: 900;

    cursor: pointer;
}

@keyframes unlockBounce {
    from {
        transform:
            translateY(0)
            scale(1);
    }

    to {
        transform:
            translateY(-8px)
            scale(1.08);
    }
}