.bls-shell,
.bls-shell * {
    box-sizing: border-box;
}

.bls-shell {
    --bls-blue: #69d8ff;
    --bls-blue-strong: #20bfff;
    --bls-black: #05070a;
    --bls-panel: rgba(12, 18, 25, 0.94);
    position: relative;
    isolation: isolate;
    width: min(100%, 760px);
    margin: 0 auto;
    padding: clamp(26px, 5vw, 56px);
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(105,216,255,.09), transparent 42%),
        radial-gradient(circle at 50% 0%, rgba(32,191,255,.14), transparent 42%),
        var(--bls-black);
    border: 1px solid rgba(105,216,255,.34);
    border-radius: 28px;
    box-shadow: 0 26px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);
    font-family: Inter, Arial, sans-serif;
    text-align: center;
}

.bls-glow {
    position: absolute;
    z-index: -1;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    background: rgba(32,191,255,.17);
    filter: blur(65px);
    pointer-events: none;
}
.bls-glow-one { top: -110px; left: -90px; }
.bls-glow-two { right: -120px; bottom: -120px; }

.bls-kicker {
    display: inline-flex;
    padding: 7px 12px;
    color: var(--bls-blue);
    border: 1px solid rgba(105,216,255,.34);
    border-radius: 999px;
    background: rgba(105,216,255,.06);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.bls-header h2 {
    margin: 18px 0 10px;
    color: #fff;
    font-size: clamp(32px, 7vw, 62px);
    line-height: .98;
    letter-spacing: -.055em;
    text-shadow: 0 0 34px rgba(105,216,255,.22);
}

.bls-header p {
    max-width: 590px;
    margin: 0 auto;
    color: rgba(255,255,255,.68);
    font-size: clamp(14px, 2vw, 17px);
    line-height: 1.65;
}

.bls-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin: 28px auto 20px;
    max-width: 620px;
}

.bls-form input,
.bls-form button,
.bls-shop-button,
.bls-copy {
    min-height: 52px;
    border-radius: 12px;
    font: inherit;
}

.bls-form input {
    width: 100%;
    padding: 0 16px;
    color: #fff;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.14);
    outline: none;
    letter-spacing: .04em;
}

.bls-form input:focus {
    border-color: var(--bls-blue);
    box-shadow: 0 0 0 3px rgba(105,216,255,.12);
}

.bls-form button,
.bls-shop-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    color: #021016;
    background: linear-gradient(135deg, #8ee6ff, var(--bls-blue-strong));
    border: 0;
    box-shadow: 0 10px 32px rgba(32,191,255,.24);
    font-weight: 900;
    letter-spacing: .045em;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.bls-form button:hover,
.bls-shop-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(32,191,255,.34);
}

.bls-form button:disabled { opacity: .55; cursor: wait; }

.bls-status {
    min-height: 24px;
    margin-bottom: 10px;
    color: #ffb8b8;
    font-size: 13px;
}

.bls-card-wrap {
    position: relative;
    width: min(100%, 560px);
    aspect-ratio: 1.85 / 1;
    margin: 8px auto 22px;
    overflow: hidden;
    border: 1px solid rgba(105,216,255,.42);
    border-radius: 22px;
    background: #071018;
    box-shadow: 0 22px 60px rgba(0,0,0,.43), inset 0 0 40px rgba(105,216,255,.05);
}

.bls-card-wrap.is-locked {
    opacity: .55;
    filter: grayscale(.45);
}

.bls-prize,
.bls-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.bls-prize {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background:
        linear-gradient(145deg, rgba(105,216,255,.13), transparent 45%),
        repeating-linear-gradient(125deg, rgba(255,255,255,.025) 0 1px, transparent 1px 10px),
        #071018;
}

.bls-winner-label {
    color: var(--bls-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .23em;
}

.bls-prize-label {
    margin: 8px 0 16px;
    color: #fff;
    font-size: clamp(25px, 6vw, 44px);
    line-height: 1.05;
    text-shadow: 0 0 28px rgba(105,216,255,.32);
}

.bls-code-row {
    display: flex;
    align-items: stretch;
    max-width: 380px;
    width: 100%;
}

.bls-code {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 11px 12px;
    overflow: hidden;
    color: #fff;
    background: rgba(255,255,255,.07);
    border: 1px dashed rgba(255,255,255,.26);
    border-radius: 10px 0 0 10px;
    font-size: clamp(14px, 3vw, 20px);
    letter-spacing: .12em;
    text-overflow: ellipsis;
}

.bls-copy {
    min-height: 44px;
    padding: 0 14px;
    color: #021016;
    background: var(--bls-blue);
    border: 0;
    border-radius: 0 10px 10px 0;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.bls-expiry {
    margin-top: 10px;
    color: rgba(255,255,255,.56);
}

.bls-canvas {
    z-index: 2;
    display: block;
    cursor: crosshair;
    touch-action: none;
    transition: opacity .35s ease;
}

.bls-card-wrap.is-revealed .bls-canvas {
    opacity: 0;
    pointer-events: none;
}

.bls-shop-button {
    width: min(100%, 560px);
    margin: 0 auto;
    text-decoration: none;
}

.bls-fine-print {
    margin-top: 18px;
    color: rgba(255,255,255,.42);
    font-size: 11px;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .bls-shell { padding: 24px 16px; border-radius: 20px; }
    .bls-form { grid-template-columns: 1fr; }
    .bls-form button { width: 100%; }
    .bls-card-wrap { aspect-ratio: 1.45 / 1; border-radius: 16px; }
    .bls-prize { padding: 14px; }
    .bls-code-row { max-width: 300px; }
}
