/* ==========================================================================
   Black Friday "Spin & Win" page
   Tokens (--bf-*) live in black-friday.css (loaded site-wide).
   ========================================================================== */

.bf {
    position: relative;
    overflow: hidden;
    padding: 48px 0 88px;
    color: var(--white);
    background:
        radial-gradient(60% 45% at 50% 38%, rgba(var(--bf-gold-rgb), 0.18), transparent 70%),
        radial-gradient(80% 60% at 50% 0%, var(--bf-night-3), transparent 70%),
        linear-gradient(180deg, var(--bf-night-2) 0%, var(--bf-night) 55%, var(--bf-ink) 100%);
}

.bf__container {
    position: relative;
    z-index: 1;
    max-width: 960px;
}

/* ---------- Decorative coins ---------- */

.bf__backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.bf-coin {
    position: absolute;
    width: 56px;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, var(--bf-gold-light) 0 18%, transparent 19%),
        radial-gradient(circle, var(--bf-gold) 0 55%, var(--bf-gold-deep) 56% 70%, var(--bf-gold) 71%);
    box-shadow: 0 0 30px rgba(var(--bf-gold-rgb), 0.45);
    opacity: 0.85;
    animation: bf-float 7s ease-in-out infinite;
}

.bf-coin--1 { top: 22%; left: 6%; transform: rotate(-20deg) scaleX(0.7); }
.bf-coin--2 { top: 38%; right: 7%; width: 42px; animation-delay: -2s; transform: rotate(25deg) scaleX(0.6); }
.bf-coin--3 { top: 68%; left: 10%; width: 34px; animation-delay: -4s; opacity: 0.55; filter: blur(2px); }
.bf-coin--4 { top: 74%; right: 12%; width: 70px; animation-delay: -1s; opacity: 0.5; filter: blur(3px); }

@keyframes bf-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -18px; }
}

/* ---------- Hero ---------- */

.bf-hero {
    text-align: center;
}

.bf-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid rgba(var(--bf-gold-rgb), 0.45);
    background: rgba(var(--bf-night-rgb), 0.6);
    color: var(--bf-gold-light);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.bf-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bf-gold);
    box-shadow: 0 0 0 0 rgba(var(--bf-gold-rgb), 0.7);
    animation: bf-dot 1.8s ease-out infinite;
}

@keyframes bf-dot {
    to { box-shadow: 0 0 0 10px rgba(var(--bf-gold-rgb), 0); }
}

.bf-hero__title {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.12em;
    margin: 0;
    font-family: var(--bf-display);
    font-size: clamp(56px, 13vw, 124px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    transform: skewX(-8deg);
}

.bf-hero__word {
    background: linear-gradient(180deg, var(--white) 30%, var(--medium-gray) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 6px 0 rgba(var(--bf-night-rgb), 0.9)) drop-shadow(0 0 24px rgba(var(--bf-white-rgb), 0.15));
}

.bf-hero__word--gold {
    background-image: linear-gradient(180deg, var(--bf-gold-light) 10%, var(--bf-gold) 50%, var(--bf-gold-deep) 100%);
    filter: drop-shadow(0 6px 0 rgba(var(--bf-night-rgb), 0.9)) drop-shadow(0 0 28px rgba(var(--bf-gold-rgb), 0.45));
}

.bf-hero__amp {
    font-size: 0.55em;
    color: var(--bf-gold);
}

.bf-hero__subtitle {
    margin: 18px auto 0;
    max-width: 36ch;
    font-size: clamp(17px, 2.4vw, 21px);
    line-height: 1.45;
    color: rgba(var(--bf-white-rgb), 0.86);
}

.bf-hero__subtitle strong {
    color: var(--bf-gold);
}

/* ---------- Toolbar chips ---------- */

.bf-toolbar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 22px 0 8px;
}

.bf-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(var(--bf-gold-rgb), 0.5);
    background: rgba(var(--bf-night-rgb), 0.55);
    color: var(--bf-gold-light);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.bf-chip:hover,
.bf-chip:focus-visible {
    background: var(--bf-gold);
    color: var(--bf-ink);
    outline: none;
}

/* ---------- Stage + wheel ---------- */

.bf-stage {
    position: relative;
    margin: 0 auto;
    max-width: 540px;
}

.bf-wheel {
    position: relative;
    width: min(100%, 520px);
    margin: 0 auto;
    aspect-ratio: 424 / 434;
}

.bf-wheel__svg,
.bf-wheel__svg svg {
    display: block;
    width: 100%;
    height: 100%;
}

.bf-wheel__svg svg {
    overflow: visible;
    filter: drop-shadow(0 18px 40px rgba(var(--bf-shadow-rgb), 0.55));
}

/* Gradient stops */
.bf-stop-gold-light { stop-color: var(--bf-gold-light); }
.bf-stop-gold { stop-color: var(--bf-gold); }
.bf-stop-gold-deep { stop-color: var(--bf-gold-deep); }
.bf-stop-night { stop-color: var(--bf-night); }
.bf-stop-night-3 { stop-color: var(--bf-night-3); }

.bf-ring-glow {
    fill: none;
    stroke: rgba(var(--bf-gold-rgb), 0.28);
    stroke-width: 10;
}

.bf-ring {
    fill: none;
    stroke: url(#bfRingGrad);
    stroke-width: 30;
}

.bf-disc-edge {
    fill: none;
    stroke: var(--bf-night);
    stroke-width: 3;
}

.bf-hub {
    fill: url(#bfHubGrad);
    stroke: var(--bf-gold);
    stroke-width: 4;
}

/* Slices */
.bf-seg__slice {
    stroke: rgba(var(--bf-night-rgb), 0.55);
    stroke-width: 1.5;
}

.bf-seg--score .bf-seg__slice { fill: url(#bfGoldGrad); }
.bf-seg--enquiry .bf-seg__slice { fill: var(--white); }
.bf-seg--bonus .bf-seg__slice { fill: var(--bf-night-3); }

.bf-seg text {
    text-anchor: middle;
    dominant-baseline: middle;
}

.bf-seg__top {
    font-family: var(--bf-display);
    font-size: 23px;
    letter-spacing: 0.5px;
}

.bf-seg__sub {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.bf-seg--score text,
.bf-seg--enquiry text { fill: var(--bf-ink); }
.bf-seg--enquiry .bf-seg__top { fill: var(--primary); }
.bf-seg--bonus text { fill: var(--bf-gold-light); }

.bf-seg__icon-stroke {
    fill: none;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bf-seg--score .bf-seg__icon-stroke { stroke: var(--bf-ink); }
.bf-seg--enquiry .bf-seg__icon-stroke { stroke: var(--primary); }
.bf-seg--bonus .bf-seg__icon-stroke { stroke: var(--bf-gold); }
.bf-seg__icon-fill { fill: var(--bf-ink); }

/* Bulbs */
.bf-bulb {
    fill: var(--bf-gold-light);
    animation: bf-bulb 1.4s steps(1) infinite;
}

.bf-bulb--odd { animation-delay: -0.7s; }

@keyframes bf-bulb {
    0% { fill: var(--white); filter: drop-shadow(0 0 4px var(--bf-gold-light)); }
    50% { fill: var(--bf-gold-deep); filter: none; }
}

.bf-wheel.is-spinning .bf-bulb { animation-duration: 0.3s; }
.bf-wheel.is-spinning .bf-bulb--odd { animation-delay: -0.15s; }
.bf-wheel.is-bonus .bf-bulb,
.bf-wheel.is-won .bf-bulb { animation: bf-bulb-flash 0.35s steps(1) infinite; }

@keyframes bf-bulb-flash {
    0% { fill: var(--white); filter: drop-shadow(0 0 6px var(--white)); }
    50% { fill: var(--bf-gold); filter: none; }
}

.bf-wheel.is-bonus .bf-wheel__svg { animation: bf-shake 0.5s ease; }

@keyframes bf-shake {
    20% { transform: translateX(-6px) rotate(-1deg); }
    40% { transform: translateX(6px) rotate(1deg); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(3px); }
}

/* Pointer */
.bf-pointer {
    fill: url(#bfGoldGrad);
    stroke: var(--bf-night);
    stroke-width: 2.5;
    transform-box: fill-box;
    transform-origin: 50% 0;
    filter: drop-shadow(0 4px 6px rgba(var(--bf-shadow-rgb), 0.5));
}

.bf-pointer__gem {
    fill: var(--primary);
    stroke: var(--white);
    stroke-width: 2;
}

/* GO button — centred on the hub (0,0 in a -212..212 / -222..212 viewBox) */
.bf-wheel__go {
    position: absolute;
    left: 50%;
    top: calc(222 / 434 * 100%);
    width: 23%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border: 4px solid var(--bf-gold);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--bf-night-3), var(--bf-ink) 75%);
    color: var(--white);
    font-family: var(--bf-display);
    font-size: clamp(22px, 6vw, 34px);
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow:
        0 0 0 6px rgba(var(--bf-night-rgb), 0.85),
        0 0 30px rgba(var(--bf-gold-rgb), 0.6),
        inset 0 -6px 12px rgba(var(--bf-shadow-rgb), 0.45);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.bf-wheel__go:not(:disabled) {
    animation: bf-go-pulse 1.8s ease-in-out infinite;
}

.bf-wheel__go:hover:not(:disabled) {
    transform: translate(-50%, -50%) scale(1.06);
}

.bf-wheel__go:active:not(:disabled) {
    transform: translate(-50%, -50%) scale(0.94);
}

.bf-wheel__go:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 4px;
}

.bf-wheel__go:disabled {
    cursor: default;
    color: rgba(var(--bf-white-rgb), 0.55);
}

.bf-wheel.is-spinning .bf-wheel__go-label { opacity: 0.4; }

@keyframes bf-go-pulse {
    0%, 100% { box-shadow: 0 0 0 6px rgba(var(--bf-night-rgb), 0.85), 0 0 22px rgba(var(--bf-gold-rgb), 0.5), inset 0 -6px 12px rgba(var(--bf-shadow-rgb), 0.45); }
    50% { box-shadow: 0 0 0 6px rgba(var(--bf-night-rgb), 0.85), 0 0 44px rgba(var(--bf-gold-rgb), 0.9), inset 0 -6px 12px rgba(var(--bf-shadow-rgb), 0.45); }
}

/* Locked (before launch) */
.bf[data-phase="upcoming"] .bf-wheel__svg,
.bf[data-phase="awareness"] .bf-wheel__svg,
.bf[data-phase="ended"] .bf-wheel__svg {
    filter: saturate(0.6) brightness(0.55);
}

.bf[data-phase="upcoming"] .bf-wheel__go,
.bf[data-phase="awareness"] .bf-wheel__go,
.bf[data-phase="ended"] .bf-wheel__go {
    display: none;
}

.bf-wheel__lock {
    position: absolute;
    left: 50%;
    top: calc(222 / 434 * 100%);
    transform: translate(-50%, -50%);
    width: min(86%, 360px);
    padding: 22px 18px;
    border-radius: 22px;
    border: 1px solid rgba(var(--bf-gold-rgb), 0.5);
    background: rgba(var(--bf-night-rgb), 0.82);
    backdrop-filter: blur(6px);
    text-align: center;
    box-shadow: 0 20px 50px rgba(var(--bf-shadow-rgb), 0.5);
}

.bf-wheel__lock-title {
    margin: 0 0 12px;
    color: var(--bf-gold-light);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.bf-countdown {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.bf-countdown > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 64px;
    padding: 8px 6px;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--bf-night-3), var(--bf-night));
    border: 1px solid rgba(var(--bf-gold-rgb), 0.35);
}

.bf-countdown span {
    font-family: var(--bf-display);
    font-size: 28px;
    line-height: 1.1;
    color: var(--white);
    font-variant-numeric: tabular-nums;
}

.bf-countdown small {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(var(--bf-white-rgb), 0.65);
}

/* Podium + spins pill */
.bf-podium {
    width: 70%;
    height: 34px;
    margin: -14px auto 0;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(var(--bf-gold-rgb), 0.45), transparent);
    filter: blur(4px);
}

.bf-spins {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 6px auto 0;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1.5px solid rgba(var(--bf-gold-rgb), 0.6);
    background: rgba(var(--bf-night-rgb), 0.75);
    font-size: 17px;
    font-weight: 600;
    text-align: center;
}

.bf-spins__count {
    font-family: var(--bf-display);
    font-size: 22px;
    color: var(--bf-gold);
}

.bf-spins--bonus {
    background: linear-gradient(90deg, var(--bf-gold-deep), var(--bf-gold));
    border-color: var(--bf-gold-light);
    color: var(--bf-ink);
}

.bf-spins--bonus .bf-spins__count { color: var(--bf-ink); }

.bf-spins--pop { animation: bf-pop 0.5s cubic-bezier(0.2, 1.6, 0.4, 1); }

@keyframes bf-pop {
    0% { transform: scale(0.6); }
    100% { transform: scale(1); }
}

.bf-live-timer {
    margin: 12px 0 0;
    text-align: center;
    font-size: 14px;
    color: rgba(var(--bf-white-rgb), 0.7);
}

.bf-live-timer span {
    color: var(--bf-gold-light);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.bf-ended {
    margin: 18px auto 0;
    max-width: 420px;
    text-align: center;
}

.bf-ended h2 {
    font-family: var(--bf-display);
    color: var(--white);
}

.bf-ended p { color: rgba(var(--bf-white-rgb), 0.8); }

/* ---------- Result view (returning winner) ---------- */

.bf-stage__result {
    max-width: 460px;
    margin: 12px auto 0;
    padding: 32px 24px;
    border-radius: 28px;
    border: 1px solid rgba(var(--bf-gold-rgb), 0.45);
    background: linear-gradient(180deg, rgba(var(--bf-gold-rgb), 0.08), rgba(var(--bf-night-rgb), 0.9));
    box-shadow: 0 30px 70px rgba(var(--bf-shadow-rgb), 0.45), 0 0 60px rgba(var(--bf-gold-rgb), 0.15);
    animation: bf-rise 0.5s ease both;
}

@keyframes bf-rise {
    from { opacity: 0; transform: translateY(16px); }
}

/* ---------- Prize card (dialog + result) ---------- */

.bf-prize {
    text-align: center;
}

.bf-prize__eyebrow {
    margin: 0 0 14px;
    color: var(--bf-gold);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.bf-prize__visual {
    position: relative;
    width: 148px;
    aspect-ratio: 1;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--bf-gold-rgb), 0.35), transparent 70%);
}

.bf-prize__visual::before {
    content: '';
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    background: repeating-conic-gradient(rgba(var(--bf-gold-rgb), 0.22) 0 10deg, transparent 10deg 20deg);
    mask: radial-gradient(circle, transparent 40%, var(--black) 41%, transparent 72%);
    -webkit-mask: radial-gradient(circle, transparent 40%, var(--black) 41%, transparent 72%);
    animation: bf-rays 14s linear infinite;
}

@keyframes bf-rays {
    to { transform: rotate(360deg); }
}

.bf-prize__visual img {
    position: relative;
    width: 116px;
    height: 116px;
    object-fit: contain;
    border-radius: 20px;
    background: var(--white);
    padding: 10px;
    box-shadow: 0 12px 30px rgba(var(--bf-shadow-rgb), 0.4);
}

.bf-prize__name {
    margin: 0 0 8px;
    color: var(--white);
    font-family: var(--bf-display);
    font-size: clamp(22px, 5vw, 28px);
    line-height: 1.2;
}

.bf-prize__desc {
    margin: 10px auto 22px;
    max-width: 34ch;
    color: rgba(var(--bf-white-rgb), 0.8);
    font-size: 16px;
    line-height: 1.5;
}

.bf-prize__desc strong { color: var(--white); }

.bf-prize__actions {
    display: grid;
    gap: 12px;
}

.bf-prize__alt {
    margin: 4px 0 0;
    font-size: 14px;
    color: rgba(var(--bf-white-rgb), 0.72);
}

.bf-prize__alt a {
    color: var(--bf-gold-light);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bf-prize__fine {
    margin: 18px 0 0;
    font-size: 12px;
    color: rgba(var(--bf-white-rgb), 0.55);
}

.bf-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0;
}

.bf-price s {
    color: rgba(var(--bf-white-rgb), 0.55);
    font-size: 0.95em;
}

.bf-price strong {
    font-family: var(--bf-display);
    color: var(--bf-gold);
    letter-spacing: 0.5px;
}

.bf-price--lg {
    justify-content: center;
    font-size: 20px;
}

.bf-price--lg strong { font-size: 30px; }

/* Claimed: animated check */
.bf-check {
    width: 84px;
    height: 84px;
    margin: 0 auto 16px;
}

.bf-check svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bf-check circle {
    stroke: var(--bf-gold);
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
    animation: bf-draw 0.6s ease forwards;
}

.bf-check path {
    stroke: var(--white);
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: bf-draw 0.4s 0.5s ease forwards;
}

@keyframes bf-draw {
    to { stroke-dashoffset: 0; }
}

/* Coupon chip */
.bf-coupon {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0 0 14px;
    padding: 12px 16px;
    border: 2px dashed var(--bf-gold);
    border-radius: 14px;
    background: rgba(var(--bf-gold-rgb), 0.08);
    color: var(--white);
    cursor: pointer;
    transition: background 0.2s ease;
}

.bf-coupon:hover,
.bf-coupon:focus-visible {
    background: rgba(var(--bf-gold-rgb), 0.18);
    outline: none;
}

.bf-coupon__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(var(--bf-white-rgb), 0.6);
}

.bf-coupon__code {
    white-space: nowrap;
    min-width: 0;
    flex: 1;
    text-align: left;
    font-family: var(--bf-display);
    font-size: clamp(16px, 4.4vw, 20px);
    letter-spacing: 1px;
    color: var(--bf-gold-light);
}

.bf-coupon__copy {
    font-size: 13px;
    font-weight: 700;
    color: var(--bf-gold);
    white-space: nowrap;
}

.bf-coupon.is-copied { border-style: solid; }

/* Share-to-unlock free round (inside the discount card) */
.bf-bonus-round:empty { display: none; }

.bf-bonus-round {
    margin-top: 20px;
    padding: 18px 16px;
    border: 1px solid rgba(var(--bf-gold-rgb), 0.35);
    border-radius: 16px;
    background: rgba(var(--bf-gold-rgb), 0.06);
}

.bf-bonus-round__title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
}

.bf-bonus-round__title strong { color: var(--bf-gold-light); }

/* The free prize card when shown inside the discount card */
.bf-bonus-round .bf-prize__visual { width: 104px; margin-bottom: 12px; }
.bf-bonus-round .bf-prize__visual img { width: 92px; height: 92px; }
.bf-bonus-round .bf-prize__name { font-size: 22px; }

/* Share */
.bf-share {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(var(--bf-white-rgb), 0.12);
}

.bf-share__title {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(var(--bf-white-rgb), 0.8);
}

.bf-share__row {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.bf-share__btn {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(var(--bf-white-rgb), 0.2);
    border-radius: 50%;
    background: rgba(var(--bf-white-rgb), 0.06);
    color: var(--white);
    font-size: 17px;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.bf-share__btn[hidden] { display: none; }

.bf-share__btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.bf-share__btn:hover,
.bf-share__btn:focus-visible {
    transform: translateY(-2px);
    background: var(--bf-gold);
    color: var(--bf-ink);
    outline: none;
}

.bf-share__btn--whatsapp {
    background: var(--success);
    border-color: var(--success);
}

/* ---------- Buttons ---------- */

.bf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.bf-btn--block { width: 100%; }

.bf-btn--primary {
    background: linear-gradient(180deg, var(--bf-gold-light) 0%, var(--bf-gold) 45%, var(--bf-gold-deep) 100%);
    color: var(--bf-ink);
    box-shadow: 0 6px 0 var(--bf-gold-deep), 0 12px 30px rgba(var(--bf-gold-rgb), 0.35);
}

.bf-btn--primary:hover,
.bf-btn--primary:focus-visible {
    color: var(--bf-ink);
    transform: translateY(-2px);
    filter: brightness(1.05);
    outline: none;
    box-shadow: 0 8px 0 var(--bf-gold-deep), 0 16px 36px rgba(var(--bf-gold-rgb), 0.45);
}

.bf-btn--primary:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 var(--bf-gold-deep), 0 6px 16px rgba(var(--bf-gold-rgb), 0.3);
}

.bf-btn:disabled {
    cursor: progress;
    filter: saturate(0.6);
    transform: none;
}

.bf-btn i { font-size: 0.95em; }

.bf-spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(var(--bf-night-rgb), 0.3);
    border-top-color: var(--bf-ink);
    border-radius: 50%;
    animation: bf-rays 0.8s linear infinite;
}

/* ---------- Prizes + steps ---------- */

.bf-section-title {
    margin: 64px 0 22px;
    text-align: center;
    color: var(--white);
    font-family: var(--bf-display);
    font-size: clamp(24px, 4vw, 32px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bf-prizes__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.bf-prize-card {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(var(--bf-gold-rgb), 0.3);
    background: linear-gradient(135deg, rgba(var(--bf-gold-rgb), 0.08), rgba(var(--bf-night-rgb), 0.7));
}

.bf-prize-card__img {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    object-fit: contain;
    padding: 8px;
    border-radius: 16px;
    background: var(--white);
}

.bf-prize-card h3 {
    margin: 0 0 6px;
    color: var(--white);
    font-size: 18px;
}

.bf-prize-card p {
    margin: 0 0 8px;
    color: rgba(var(--bf-white-rgb), 0.75);
    font-size: 15px;
    line-height: 1.45;
}

.bf-prize-card .bf-prize-card__tags { margin: 0 0 8px; }

.bf-tag {
    display: inline-block;
    padding: 2px 10px;
    border: 1px solid rgba(var(--bf-white-rgb), 0.3);
    border-radius: 999px;
    color: rgba(var(--bf-white-rgb), 0.85);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bf-tag--new {
    border-color: var(--bf-gold);
    background: var(--bf-gold);
    color: var(--bf-ink);
}

/* "...and lots more" spans the row */
.bf-prize-card--more { grid-column: 1 / -1; }

.bf-prize-card__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    border-radius: 16px;
    background: rgba(var(--bf-gold-rgb), 0.15);
    color: var(--bf-gold);
    font-size: 40px;
}

.bf-steps__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: bf-step;
}

.bf-steps__list li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 24px 16px;
    border-radius: 20px;
    background: rgba(var(--bf-white-rgb), 0.04);
    border: 1px solid rgba(var(--bf-white-rgb), 0.1);
    text-align: center;
    counter-increment: bf-step;
}

.bf-steps__list li::before {
    content: counter(bf-step);
    position: absolute;
    top: 12px;
    left: 16px;
    font-family: var(--bf-display);
    color: rgba(var(--bf-gold-rgb), 0.4);
    font-size: 22px;
}

.bf-steps__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 6px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--bf-gold-light), var(--bf-gold-deep));
    color: var(--bf-ink);
    font-size: 20px;
}

.bf-steps__list strong {
    color: var(--white);
    font-size: 18px;
}

.bf-steps__list span:last-child {
    color: rgba(var(--bf-white-rgb), 0.72);
    font-size: 15px;
    line-height: 1.45;
}

/* ---------- Dialogs ---------- */

.bf-dialog {
    position: fixed;
    width: min(440px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    padding: 40px 26px 28px;
    border: 1px solid rgba(var(--bf-gold-rgb), 0.5);
    border-radius: 28px;
    background:
        radial-gradient(90% 50% at 50% 0%, rgba(var(--bf-gold-rgb), 0.2), transparent 70%),
        linear-gradient(180deg, var(--bf-night-2), var(--bf-night));
    color: var(--white);
    box-shadow: 0 40px 100px rgba(var(--bf-shadow-rgb), 0.6);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.bf-dialog[open] {
    animation: bf-dialog-in 0.45s cubic-bezier(0.2, 1.3, 0.4, 1);
}

.bf-dialog::backdrop {
    background: rgba(var(--bf-night-rgb), 0.78);
    backdrop-filter: blur(5px);
}

@keyframes bf-dialog-in {
    from { opacity: 0; transform: translateY(24px) scale(0.92); }
}

.bf-dialog__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(var(--bf-white-rgb), 0.08);
    color: var(--white);
    cursor: pointer;
}

.bf-dialog__close:hover,
.bf-dialog__close:focus-visible {
    background: rgba(var(--bf-white-rgb), 0.2);
    outline: none;
}

.bf-dialog__title {
    margin: 0 0 16px;
    color: var(--white);
    font-family: var(--bf-display);
    font-size: 26px;
    text-align: center;
}

.bf-dialog__confetti {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bf-rules {
    margin: 0 0 24px;
    padding-left: 20px;
    color: rgba(var(--bf-white-rgb), 0.85);
    font-size: 15px;
    line-height: 1.55;
}

.bf-rules li + li { margin-top: 8px; }
.bf-rules strong { color: var(--bf-gold-light); }

/* Bonus dialog */
.bf-dialog--bonus { text-align: center; }

.bf-bonus__burst {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--bf-gold-light), var(--bf-gold-deep));
    color: var(--bf-ink);
    font-size: 34px;
    box-shadow: 0 0 0 10px rgba(var(--bf-gold-rgb), 0.15), 0 0 50px rgba(var(--bf-gold-rgb), 0.6);
    animation: bf-spin-once 1s cubic-bezier(0.3, 1.4, 0.5, 1);
}

@keyframes bf-spin-once {
    from { transform: rotate(-360deg) scale(0.4); }
}

.bf-bonus__title {
    font-size: 36px;
    text-transform: uppercase;
    background: linear-gradient(180deg, var(--bf-gold-light), var(--bf-gold-deep));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bf-bonus__text {
    margin: 0 0 24px;
    color: rgba(var(--bf-white-rgb), 0.85);
    font-size: 17px;
    line-height: 1.5;
}

.bf-bonus__text strong { color: var(--bf-gold); }

/* ---------- Responsive ---------- */

@media (max-width: 767.98px) {
    .bf-prizes__grid,
    .bf-steps__list {
        grid-template-columns: 1fr;
    }

    .bf-steps__list li {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        text-align: left;
        column-gap: 14px;
        padding: 16px 18px;
    }

    .bf-steps__list li::before { display: none; }
    .bf-steps__icon { margin: 0; width: 44px; height: 44px; font-size: 17px; }
    .bf-steps__list span:last-child { flex-basis: 100%; padding-left: 58px; margin-top: -14px; }
}

@media (max-width: 575.98px) {
    .bf { padding: 28px 0 64px; }
    .bf-hero__eyebrow { font-size: 11px; letter-spacing: 1px; }
    .bf-coin--1, .bf-coin--2 { width: 32px; }
    .bf-coin--4 { display: none; }
    .bf-section-title { margin-top: 48px; }
    .bf-prize-card { padding: 16px; }
    .bf-prize-card__img,
    .bf-prize-card__icon { width: 72px; height: 72px; }
    .bf-countdown > div { min-width: 54px; }
    .bf-countdown span { font-size: 22px; }

    /* Dialogs become bottom sheets on phones */
    .bf-dialog {
        width: 100%;
        max-width: 100%;
        margin: auto 0 0;
        border-radius: 28px 28px 0 0;
        border-bottom: 0;
        padding: 36px 20px calc(24px + env(safe-area-inset-bottom));
    }

    .bf-dialog[open] { animation: bf-sheet-in 0.4s cubic-bezier(0.2, 1, 0.3, 1); }

    @keyframes bf-sheet-in {
        from { transform: translateY(100%); }
    }
}

@media (prefers-reduced-motion: reduce) {
    .bf-coin,
    .bf-hero__dot,
    .bf-bulb,
    .bf-wheel__go:not(:disabled),
    .bf-prize__visual::before,
    .bf-bonus__burst,
    .bf-dialog[open],
    .bf-stage__result {
        animation: none !important;
    }
}
