/* Black Week: the ticker along the bottom of the public pages, and the popup.
   Self-contained, so it looks the same on the landing pages, the guides and
   the app. Loaded only while the offer runs. */

.bw-stripe {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147483000;
    display: block; height: 46px; overflow: hidden; direction: ltr;
    background: #000; color: #fff; text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, .28);
    box-shadow: 0 -10px 30px -14px rgba(0, 0, 0, .55);
    font: 800 15px/46px "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    letter-spacing: .2em; white-space: nowrap;
}
/* Two identical halves side by side; sliding one half's width loops without a seam. */
.bw-track { display: flex; width: max-content; animation: bw-run 60s linear infinite; }
.bw-run { display: flex; flex: none; min-width: 100vw; justify-content: space-around; }
.bw-word, .bw-pct { flex: none; padding: 0 16px; }
.bw-pct {
    background: linear-gradient(100deg, #FF5B1F, #FF3D9A 55%, #13C2E3);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bw-stripe:hover .bw-track { animation-play-state: paused; }
@keyframes bw-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* The page ends above the ticker, so its last lines are never under it. */
body:has(> .bw-stripe) { padding-bottom: 46px; }

.bw-pop[hidden] { display: none; }
.bw-pop {
    position: fixed; inset: 0; z-index: 2147483001;
    display: flex; align-items: center; justify-content: center; padding: 20px;
    background: rgba(0, 0, 0, .62);
    animation: bw-fade .25s ease-out;
}
.bw-card {
    position: relative; width: 100%; max-width: 420px;
    padding: 34px 30px 26px; border-radius: 26px; text-align: center;
    background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 40px 90px -30px rgba(255, 61, 154, .55);
    font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    animation: bw-rise .3s ease-out;
}
.bw-x {
    position: absolute; top: 12px; right: 14px; width: 34px; height: 34px;
    border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(255, 255, 255, .1); color: #fff; font-size: 20px; line-height: 1;
}
[dir="rtl"] .bw-x { right: auto; left: 14px; }
.bw-x:hover { background: rgba(255, 255, 255, .2); }
.bw-eyebrow {
    margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
}
.bw-big {
    margin: 6px 0 0; font-size: 104px; font-weight: 800; line-height: 1; letter-spacing: -.05em;
    background: linear-gradient(100deg, #FF5B1F, #FF3D9A 55%, #13C2E3);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bw-card h2 { margin: 8px 0 0; font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.bw-text { margin: 10px auto 0; max-width: 320px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .75); }
.bw-cta {
    display: block; margin-top: 22px; padding: 14px 18px; border-radius: 999px;
    background: #fff; color: #000; font-size: 16px; font-weight: 700; text-decoration: none;
}
.bw-cta:hover { background: #FF3D9A; color: #fff; }
.bw-later {
    margin-top: 10px; padding: 8px; border: 0; background: none; cursor: pointer;
    color: rgba(255, 255, 255, .6); font-size: 14px; font-family: inherit;
}
.bw-later:hover { color: #fff; }
@keyframes bw-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bw-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 600px) {
    .bw-stripe { height: 40px; font-size: 13px; line-height: 40px; }
    .bw-word, .bw-pct { padding: 0 12px; }
    body:has(> .bw-stripe) { padding-bottom: 40px; }
    .bw-big { font-size: 84px; }
}
@media (prefers-reduced-motion: reduce) {
    .bw-track, .bw-pop, .bw-card { animation: none; }
}
@media print { .bw-stripe, .bw-pop { display: none !important; } }
@media print { body:has(> .bw-stripe) { padding-bottom: 0; } }
