/* LogicByte offers & pricing (sale bar, offer spotlight, countdown, plan cards).
   Used on the public site and the learner dashboard. Prefix: lbo-.
   Palette: ink #0e1b3d · night #0a1230 · blue #2457e6 · marigold #ffa43a · mint #12a877 · rose #e5484d */
:root {
  --o-ink: #0e1b3d; --o-night: #0a1230; --o-blue: #2457e6; --o-gold: #ffa43a; --o-gold-2: #ffc46b;
  --o-mint: #12a877; --o-rose: #e5484d; --o-line: #e1e7f1; --o-muted: #5d6882; --o-paper: #f6f8fc;
  --o-display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --o-mono: "JetBrains Mono", ui-monospace, monospace;
}
.lbo-ico { width: 1.1em; height: 1.1em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lbo-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Countdown ---------- */
.lb-countdown { display: inline-flex; gap: 6px; align-items: stretch; font-variant-numeric: tabular-nums; }
.lb-cd-unit { display: grid; justify-items: center; }
.lb-cd-unit b { font: 700 1em/1 var(--o-mono); }
.lb-cd-unit small { font-size: .62em; text-transform: lowercase; opacity: .75; margin-top: 3px; }
.lb-countdown.is-big { gap: 8px; font-size: 26px; }
.lb-countdown.is-big .lb-cd-unit { min-width: 62px; padding: 10px 6px 8px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.lb-countdown.is-big .lb-cd-unit small { font-size: 11px; color: #c9d3ec; opacity: 1; }
.lb-countdown.is-bar { font-size: 14px; gap: 4px; }
.lb-countdown.is-bar .lb-cd-unit { grid-auto-flow: column; align-items: baseline; gap: 1px; padding: 3px 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); }
.lb-countdown.is-bar .lb-cd-unit small { font-size: 11px; margin: 0; }
.lb-countdown.is-inline { font-size: 13px; gap: 3px; }
.lb-countdown.is-inline .lb-cd-unit { grid-auto-flow: column; align-items: baseline; gap: 1px; }
.lb-countdown.is-inline .lb-cd-unit small { font-size: 11px; margin: 0 2px 0 0; }

/* ---------- Top sale bar (public pages) ---------- */
.lbo-bar { position: relative; z-index: 60; overflow: hidden; background: var(--o-night); color: #e7ecfa; font: 500 14px "DM Sans", system-ui, sans-serif; }
.lbo-bar::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 164, 58, .16) 45%, transparent 60%); background-size: 250% 100%; animation: lbo-sweep 5s linear infinite; pointer-events: none; }
.lbo-bar-inner { position: relative; width: min(1200px, calc(100% - 32px)); margin: 0 auto; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 6px 0; }
.lbo-bar strong { color: var(--o-gold); font-family: var(--o-display); font-weight: 800; letter-spacing: -.01em; }
.lbo-bar-text b { color: #fff; }
.lbo-bar-ends { color: #aeb9d6; font-size: 13px; }
.lbo-bar-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--o-rose); box-shadow: 0 0 0 0 rgba(229, 72, 77, .7); animation: lbo-pulse 1.6s infinite; }
.lbo-bar-cta { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--o-gold); color: var(--o-night); font-weight: 800; text-decoration: none; font-size: 13px; }
.lbo-bar-cta:hover { background: var(--o-gold-2); }
.lbo-bar.is-ended { display: none; }

/* ---------- Offer spotlight ---------- */
.lbo-spot { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 26px 30px; border-radius: 24px; background: var(--o-night); color: #cfd8ef; box-shadow: 0 24px 60px rgba(10, 18, 48, .28); }
.lbo-spot::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg at 50% 50%, rgba(36, 87, 230, .0), rgba(36, 87, 230, .35), rgba(255, 164, 58, .25), rgba(36, 87, 230, .0) 60%); animation: lbo-spin 14s linear infinite; }
.lbo-spot::after { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: 23px; background: radial-gradient(120% 140% at 0% 0%, #17245a 0%, var(--o-night) 55%); }
.lbo-spot-ticket { position: relative; display: grid; place-items: center; width: 150px; height: 150px; border-radius: 22px; background: linear-gradient(150deg, var(--o-gold-2), var(--o-gold) 55%, #f08a1c); color: var(--o-night); transform: rotate(-6deg); box-shadow: 0 16px 32px rgba(255, 164, 58, .35); animation: lbo-wiggle 4.5s ease-in-out infinite; }
.lbo-spot-ticket::before, .lbo-spot-ticket::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: #121d4a; }
.lbo-spot-ticket::before { left: -11px; } .lbo-spot-ticket::after { right: -11px; }
.lbo-spot-pct { font: 800 64px/0.9 var(--o-display); letter-spacing: -.04em; }
.lbo-spot-pct sup { font-size: .45em; vertical-align: top; margin-left: 2px; }
.lbo-spot-off { margin-top: -26px; font: 800 15px var(--o-display); letter-spacing: .3em; padding-left: .3em; border-top: 2px dashed rgba(10, 18, 48, .35); padding-top: 6px; }
.lbo-spot-kicker { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 8px; color: var(--o-gold); font-weight: 700; font-size: 14px; }
.lbo-spot .lbo-spot-copy h2 { margin: 0; color: #fff; font: 800 clamp(26px, 3.2vw, 40px)/1.05 var(--o-display); letter-spacing: -.03em; }
.lbo-spot-copy p:last-child { margin: 10px 0 0; max-width: 46ch; line-height: 1.6; }
.lbo-spot-timer { display: grid; justify-items: center; gap: 12px; }
.lbo-spot-timer > p { margin: 0; color: #aeb9d6; font-size: 13px; font-weight: 600; }
.lbo-spot-ended { display: none; grid-column: 1 / -1; margin: 0; font-weight: 700; color: #fff; }
.lbo-spot.is-ended > :not(.lbo-spot-ended) { display: none; }
.lbo-spot.is-ended .lbo-spot-ended { display: block; }
.lbo-spot.is-welcome .lbo-spot-ticket { background: linear-gradient(150deg, #7ee0b8, var(--o-mint)); box-shadow: 0 16px 32px rgba(18, 168, 119, .32); }
.lbo-spot.is-dash { padding: 22px 26px; gap: 22px; }
.lbo-spot.is-dash .lbo-spot-ticket { width: 112px; height: 112px; }
.lbo-spot.is-dash .lbo-spot-pct { font-size: 48px; }
.lbo-spot.is-dash .lbo-spot-off { margin-top: -18px; font-size: 12px; }
.lbo-spot.is-dash .lbo-spot-copy h2 { font-size: clamp(22px, 2.4vw, 30px); }
.lbo-spot.is-dash .lb-countdown.is-big { font-size: 22px; }
.lbo-spot.is-dash .lb-countdown.is-big .lb-cd-unit { min-width: 52px; padding: 8px 4px 6px; }

/* ---------- Buttons ---------- */
.lbo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 13px; border: 1.5px solid transparent; font: 800 15px "DM Sans", system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s, border-color .18s, color .18s; }
.lbo-btn .lbo-ico { transition: transform .18s; }
.lbo-btn:hover .lbo-ico { transform: translateX(3px); }
.lbo-btn-hot { position: relative; overflow: hidden; background: var(--o-gold); color: var(--o-night); box-shadow: 0 10px 24px rgba(255, 164, 58, .35); }
.lbo-btn-hot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); animation: lbo-shine 3.6s ease-in-out infinite; }
.lbo-btn-hot:hover { background: var(--o-gold-2); transform: translateY(-1px); }
.lbo-btn-line { background: #fff; color: var(--o-ink); border-color: #cdd7ea; }
.lbo-btn-line:hover { border-color: var(--o-blue); color: var(--o-blue); }
.lbo-btn:focus-visible, .lbo-bar-cta:focus-visible { outline: 3px solid #8fb0ff; outline-offset: 2px; }

/* ---------- Pricing ---------- */
.lbo-pricing { color: var(--o-ink); font-family: "DM Sans", system-ui, sans-serif; }
.lbo-pricing-head { text-align: center; max-width: 640px; margin: 0 auto 22px; }
.lbo-pricing .lbo-pricing-head h2 { margin: 0; font: 800 clamp(28px, 3.4vw, 42px)/1.08 var(--o-display); letter-spacing: -.03em; }
.lbo-pricing-head p { margin: 12px 0 0; color: var(--o-muted); line-height: 1.6; }
.lbo-applied { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px; width: fit-content; max-width: 100%; margin: 0 auto 26px; padding: 10px 16px; border-radius: 14px; background: #fff7ec; border: 1px solid #ffd9a8; color: #7a4300; font-size: 14px; }
.lbo-applied .lbo-ico { color: #e27b00; }
.lbo-applied-ends { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.lbo-applied.is-ended { display: none; }
.lbo-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.lbo-cards.is-1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.lbo-cards.is-2 { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
.lbo-cards.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lbo-card { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--o-line); box-shadow: 0 10px 30px rgba(14, 27, 61, .06); transition: transform .25s, box-shadow .25s; }
.lbo-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(14, 27, 61, .12); }
.lbo-pricing .lbo-card h3 { margin: 0; font: 800 23px/1.15 var(--o-display); letter-spacing: -.02em; }
.lbo-for { margin: 8px 0 0; color: var(--o-muted); font-size: 14px; line-height: 1.5; min-height: 42px; }
.lbo-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 20px 0 6px; }
.lbo-price strong { font: 800 46px/1 var(--o-display); letter-spacing: -.04em; }
.lbo-was { color: #8b95ab; text-decoration: line-through; text-decoration-color: var(--o-rose); text-decoration-thickness: 2px; font-weight: 700; font-size: 18px; }
.lbo-off { align-self: center; padding: 4px 8px; border-radius: 8px; background: #ffe9ea; color: #b4232a; font-weight: 800; font-size: 13px; }
.lbo-validity { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--o-ink); font-weight: 700; font-size: 14px; }
.lbo-validity .lbo-ico { color: var(--o-blue); }
.lbo-save { margin: 12px 0 0; padding: 8px 12px; border-radius: 10px; background: #e7f8f1; color: #0b7a56; font-weight: 700; font-size: 13px; line-height: 1.4; }
.lbo-cert { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: #6a4a00; font-weight: 700; font-size: 13px; }
.lbo-cert .lbo-ico { color: #e09000; width: 1.3em; height: 1.3em; }
.lbo-card ul { list-style: none; margin: 16px 0 22px; padding: 16px 0 0; border-top: 1px solid var(--o-line); display: grid; gap: 11px; flex: 1; align-content: start; }
.lbo-card li { display: flex; gap: 9px; color: #34405c; font-size: 14.5px; line-height: 1.45; }
.lbo-card li .lbo-ico { color: var(--o-mint); margin-top: 2px; }
.lbo-card .lbo-btn { width: 100%; }
.lbo-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--o-ink); color: #fff; font-weight: 800; font-size: 12.5px; white-space: nowrap; box-shadow: 0 6px 16px rgba(14, 27, 61, .25); }
.lbo-badge .lbo-ico { color: var(--o-gold); }
.lbo-card.is-featured { border: 2px solid transparent; background: linear-gradient(170deg, #fff 0%, #f3f6ff 100%) padding-box, linear-gradient(120deg, var(--o-blue), var(--o-gold), var(--o-blue), var(--o-gold)) border-box; background-size: 100% 100%, 300% 100%; animation: lbo-border 6s linear infinite; transform: translateY(-10px); box-shadow: 0 26px 60px rgba(36, 87, 230, .22); z-index: 1; }
.lbo-card.is-featured:hover { transform: translateY(-14px); }
.lbo-card.is-featured .lbo-badge { background: var(--o-gold); color: var(--o-night); }
.lbo-card.is-featured .lbo-badge .lbo-ico { color: var(--o-night); }
.lbo-starter { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; margin-top: 26px; padding: 20px 24px; border-radius: 18px; background: #fff; border: 1.5px dashed #b9c6e2; }
.lbo-starter-price { display: grid; justify-items: center; min-width: 96px; padding: 10px 12px; border-radius: 14px; background: var(--o-paper); }
.lbo-starter-price strong { font: 800 30px/1 var(--o-display); }
.lbo-starter-price small { color: var(--o-muted); font-weight: 700; margin-top: 4px; }
.lbo-starter-price .lbo-was { font-size: 14px; }
.lbo-pricing .lbo-starter h3 { margin: 0; font: 800 19px var(--o-display); }
.lbo-starter p { margin: 6px 0 0; color: var(--o-muted); font-size: 14px; line-height: 1.55; }
.lbo-trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 26px 0 0; padding: 0; color: var(--o-muted); font-size: 13.5px; }
.lbo-trust li { display: inline-flex; align-items: center; gap: 7px; }
.lbo-trust .lbo-ico { color: var(--o-blue); }
.lbo-trust a { color: var(--o-blue); font-weight: 700; }

/* On dark sections */
.lbo-on-dark .lbo-pricing-head h2 { color: #fff; }

/* ---------- Motion ---------- */
@keyframes lbo-sweep { from { background-position: 150% 0; } to { background-position: -100% 0; } }
@keyframes lbo-pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .6); } 70% { box-shadow: 0 0 0 9px rgba(229, 72, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); } }
@keyframes lbo-spin { to { transform: rotate(360deg); } }
@keyframes lbo-wiggle { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(-2deg) translateY(-4px); } }
@keyframes lbo-shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@keyframes lbo-border { from { background-position: 0 0, 0 0; } to { background-position: 0 0, 150% 0; } }
@media (prefers-reduced-motion: reduce) {
  .lbo-bar::before, .lbo-bar-dot, .lbo-spot::before, .lbo-spot-ticket, .lbo-btn-hot::after, .lbo-card.is-featured { animation: none !important; }
  .lbo-card, .lbo-btn, .lbo-btn .lbo-ico { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .lbo-cards.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lbo-spot { grid-template-columns: auto minmax(0, 1fr); }
  .lbo-spot-timer { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; justify-items: start; }
  .lbo-spot-timer > p { display: none; }
}
@media (max-width: 900px) {
  .lbo-cards, .lbo-cards.is-2, .lbo-cards.is-4 { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin: 0 auto; }
  .lbo-card.is-featured { transform: none; order: -1; }
  .lbo-card.is-featured:hover { transform: translateY(-4px); }
  .lbo-for { min-height: 0; }
  .lbo-starter { grid-template-columns: auto minmax(0, 1fr); }
  .lbo-starter .lbo-btn { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .lbo-bar-inner { gap: 6px 10px; font-size: 13px; }
  .lbo-bar-ends, .lbo-bar-text { display: none; }
  .lbo-spot { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px 18px; text-align: left; }
  .lbo-spot-ticket { position: absolute; top: 16px; right: 14px; width: 84px; height: 84px; border-radius: 16px; }
  .lbo-spot-pct { font-size: 36px; }
  .lbo-spot-off { margin-top: -12px; font-size: 10px; }
  .lbo-spot-ticket::before, .lbo-spot-ticket::after { width: 14px; height: 14px; margin-top: -7px; }
  .lbo-spot-ticket::before { left: -7px; } .lbo-spot-ticket::after { right: -7px; }
  .lbo-spot-copy { padding-right: 92px; }
  .lbo-spot .lbo-spot-copy h2 { font-size: 26px; }
  .lbo-spot.is-dash .lbo-spot-ticket { width: 76px; height: 76px; }
  .lbo-spot.is-dash .lbo-spot-pct { font-size: 32px; }
  .lbo-spot-timer { grid-auto-flow: row; justify-items: stretch; }
  .lbo-spot-timer .lb-countdown { justify-content: space-between; }
  .lb-countdown.is-big { font-size: 22px; gap: 6px; }
  .lb-countdown.is-big .lb-cd-unit { min-width: 0; flex: 1; }
  .lbo-spot.is-dash .lb-countdown.is-big .lb-cd-unit { min-width: 0; }
  .lbo-spot-timer .lbo-btn { width: 100%; }
  .lbo-starter { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .lbo-starter-price { justify-items: start; grid-auto-flow: column; align-items: baseline; gap: 8px; width: fit-content; }
  .lbo-price strong { font-size: 40px; }
}

/* =====================================================================
   Sale themes (.theme-<key> on .lbo-bar, .lbo-spot and .lbo-applied).
   Chosen in Admin → Offers. Each theme changes colours, the ticket shape
   and an animated decoration layer (.lbo-fx, decorative only).
   ===================================================================== */
.lbo-spot > :not(.lbo-fx) { z-index: 1; }
.lbo-fx { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; pointer-events: none; --fall: 340px; --rise: 280px; }
.lbo-bar .lbo-fx { --fall: 70px; --rise: 60px; }
.lbo-bar-glyph { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: rgba(255, 255, 255, .14); }
.lbo-bar-glyph .lbo-ico { width: 15px; height: 15px; }

/* Shared particle motions */
.lbo-fx-snow i, .lbo-fx-pct i { position: absolute; top: -24px; left: var(--x); animation: lbo-fall var(--t) linear infinite; animation-delay: var(--d); }
.lbo-fx-snow i { width: calc(7px * var(--s)); height: calc(7px * var(--s)); border-radius: 50%; background: #fff; opacity: .85; filter: blur(.3px); }
@keyframes lbo-fall { to { transform: translate(24px, var(--fall)) rotate(200deg); } }
.lbo-fx-embers i { position: absolute; bottom: -8px; left: var(--x); width: calc(4px * var(--s)); height: calc(4px * var(--s)); border-radius: 50%; background: #ffc14d; box-shadow: 0 0 8px 2px rgba(255, 176, 46, .8); animation: lbo-rise var(--t) linear infinite; animation-delay: var(--d); }
@keyframes lbo-rise { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(-18px, calc(var(--rise) * -1)); opacity: 0; } }
.lbo-fx-twinkle i, .lbo-fx-dots i { position: absolute; left: var(--x); top: var(--y); border-radius: 50%; }
.lbo-fx-twinkle i { width: 3px; height: 3px; background: #fff; box-shadow: 0 0 6px #fff; transform: scale(var(--s)); animation: lbo-twinkle 2.6s ease-in-out infinite; animation-delay: var(--d); }
@keyframes lbo-twinkle { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }

/* ---------- Classic: unchanged navy and marigold ---------- */

/* ---------- Black Friday: black, neon yellow, hang tag ---------- */
.lbo-spot.theme-black_friday::before { background: conic-gradient(from 0deg, transparent, rgba(245, 255, 59, .4), rgba(255, 51, 85, .35), transparent 60%); }
.lbo-spot.theme-black_friday::after { background: #060606; }
.lbo-spot.theme-black_friday { color: #c9c9c9; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.lbo-fx-stripes { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(245, 255, 59, .05) 22px 44px); }
.lbo-fx-pct i { font: 800 calc(30px * var(--s)) var(--o-display); font-style: normal; color: rgba(245, 255, 59, .16); }
.theme-black_friday .lbo-spot-ticket { background: #f5ff3b; color: #000; border-radius: 10px 26px 26px 10px; transform: rotate(-10deg); transform-origin: 20px 22px; animation: lbo-swing 3.2s ease-in-out infinite; box-shadow: 0 16px 34px rgba(245, 255, 59, .25); }
.theme-black_friday .lbo-spot-ticket::before { left: 14px; top: 16px; width: 14px; height: 14px; margin: 0; background: #060606; box-shadow: 0 0 0 3px rgba(0, 0, 0, .15); }
.theme-black_friday .lbo-spot-ticket::after { display: none; }
.theme-black_friday .lbo-spot-off { border-top-color: rgba(0, 0, 0, .4); }
.theme-black_friday .lbo-spot-kicker { color: #f5ff3b; }
.lbo-spot.theme-black_friday .lbo-spot-copy h2 { text-transform: uppercase; letter-spacing: -.01em; }
.theme-black_friday .lb-countdown.is-big .lb-cd-unit { background: #121212; border-color: #2c2c2c; color: #f5ff3b; }
.theme-black_friday .lbo-btn-hot, .lbo-bar.theme-black_friday .lbo-bar-cta { background: #f5ff3b; color: #000; box-shadow: 0 10px 24px rgba(245, 255, 59, .25); }
.theme-black_friday .lbo-btn-hot:hover, .lbo-bar.theme-black_friday .lbo-bar-cta:hover { background: #fff; }
.lbo-bar.theme-black_friday { background: #000; }
.lbo-bar.theme-black_friday strong { color: #f5ff3b; text-transform: uppercase; }
.lbo-bar.theme-black_friday .lbo-bar-glyph { background: #f5ff3b; color: #000; }

/* ---------- Christmas: pine green, red gift box, snow, fairy lights ---------- */
.lbo-spot.theme-christmas::before { background: conic-gradient(from 0deg, transparent, rgba(226, 59, 59, .45), rgba(255, 211, 107, .3), transparent 60%); }
.lbo-spot.theme-christmas::after { background: radial-gradient(120% 140% at 0% 0%, #1d6149 0%, #0b2c21 60%); }
.lbo-spot.theme-christmas { color: #d6ebe2; }
.lbo-fx-lights { position: absolute; left: 0; right: 0; top: -14px; height: 34px; border-bottom: 2px solid rgba(255, 255, 255, .25); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.lbo-fx-lights b { position: absolute; left: var(--x); bottom: -11px; width: 8px; height: 12px; border-radius: 50% 50% 45% 45%; background: #ff4d4d; box-shadow: 0 0 10px 2px currentColor; color: #ff4d4d; animation: lbo-blink 1.6s steps(2) infinite; animation-delay: var(--d); }
.lbo-fx-lights b:nth-child(4n+2) { background: #ffd36b; color: #ffd36b; }
.lbo-fx-lights b:nth-child(4n+3) { background: #5ee08f; color: #5ee08f; }
.lbo-fx-lights b:nth-child(4n+4) { background: #6fb6ff; color: #6fb6ff; }
@keyframes lbo-blink { 50% { opacity: .35; box-shadow: none; } }
.theme-christmas .lbo-spot-ticket { background: linear-gradient(150deg, #ff5f5f, #c81e2b); color: #fff; border-radius: 14px; transform: rotate(-4deg); box-shadow: 0 16px 32px rgba(200, 30, 43, .4); }
.theme-christmas .lbo-spot-ticket > span { position: relative; z-index: 1; text-shadow: 0 2px 0 rgba(120, 0, 10, .35); }
.theme-christmas .lbo-spot-ticket::before { left: 50%; top: 0; bottom: 0; width: 16px; height: auto; margin: 0 0 0 -8px; border-radius: 0; background: linear-gradient(90deg, #e8b54a, #ffe08a, #e8b54a); opacity: .9; }
.theme-christmas .lbo-spot-ticket::after { left: 0; right: 0; top: 50%; width: auto; height: 16px; margin: -8px 0 0; border-radius: 0; background: linear-gradient(#e8b54a, #ffe08a, #e8b54a); opacity: .9; }
.theme-christmas .lbo-spot-off { border-top-color: rgba(255, 255, 255, .5); }
.theme-christmas .lbo-spot-kicker { color: #ffd36b; }
.theme-christmas .lbo-btn-hot, .lbo-bar.theme-christmas .lbo-bar-cta { background: #e23b3b; color: #fff; box-shadow: 0 10px 24px rgba(226, 59, 59, .4); }
.theme-christmas .lbo-btn-hot:hover, .lbo-bar.theme-christmas .lbo-bar-cta:hover { background: #c81e2b; }
.lbo-bar.theme-christmas { background: linear-gradient(90deg, #0b2c21, #145a40 50%, #0b2c21); }
.lbo-bar.theme-christmas strong { color: #ffd36b; }
.lbo-bar .lbo-fx-lights, .lbo-bar .lbo-fx-kite, .lbo-bar .lbo-fx-diya { display: none; }
.lbo-bar.theme-christmas .lbo-bar-glyph { background: #e23b3b; color: #fff; }

/* ---------- New Year: midnight violet, gold medallion, fireworks ---------- */
.lbo-spot.theme-new_year::before { background: conic-gradient(from 0deg, transparent, rgba(255, 211, 107, .45), rgba(255, 92, 180, .3), transparent 60%); }
.lbo-spot.theme-new_year::after { background: radial-gradient(120% 140% at 0% 0%, #34217a 0%, #120a30 60%); }
.lbo-spot.theme-new_year { color: #dcd5f5; }
.lbo-fx-burst { position: absolute; left: var(--x); top: var(--y); width: 5px; height: 5px; border-radius: 50%; color: #ffd36b; animation: lbo-burst 3.6s ease-out infinite; animation-delay: var(--d);
  box-shadow: 0 -44px 0 0 #ffd36b, 31px -31px 0 0 #ff7ac6, 44px 0 0 0 #7fe8ff, 31px 31px 0 0 #ffd36b, 0 44px 0 0 #ff7ac6, -31px 31px 0 0 #7fe8ff, -44px 0 0 0 #ffd36b, -31px -31px 0 0 #ff7ac6,
              0 -24px 0 -1px #fff, 24px 0 0 -1px #fff, 0 24px 0 -1px #fff, -24px 0 0 -1px #fff; }
.lbo-fx-burst:nth-child(2) { color: #7fe8ff; }
@keyframes lbo-burst { 0% { transform: scale(.05); opacity: 0; } 8% { opacity: 1; } 60% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.2) translateY(10px); opacity: 0; } }
.theme-new_year .lbo-spot-ticket { border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff6d1, #ffd36b 42%, #d6951c); color: #24124f; transform: none; outline: 2px dashed rgba(255, 211, 107, .7); outline-offset: 7px; box-shadow: 0 0 40px rgba(255, 211, 107, .45); animation: lbo-float 4s ease-in-out infinite; }
.theme-new_year .lbo-spot-ticket::before, .theme-new_year .lbo-spot-ticket::after { display: none; }
.theme-new_year .lbo-spot-off { border-top-color: rgba(36, 18, 79, .35); }
@keyframes lbo-swing { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(-5deg); } }
@keyframes lbo-float { 50% { transform: translateY(-6px); } }
.theme-new_year .lbo-spot-kicker { color: #ffd36b; }
.theme-new_year .lbo-btn-hot, .lbo-bar.theme-new_year .lbo-bar-cta { background: linear-gradient(135deg, #ffe39a, #ffc23d); color: #24124f; box-shadow: 0 10px 24px rgba(255, 194, 61, .35); }
.lbo-bar.theme-new_year { background: linear-gradient(90deg, #120a30, #2c1a68 50%, #120a30); }
.lbo-bar.theme-new_year strong { color: #ffd36b; }
.lbo-bar.theme-new_year .lbo-bar-glyph { background: #ffd36b; color: #24124f; }

/* ---------- Diwali: deep maroon, saffron, rangoli, diyas ---------- */
.lbo-spot.theme-diwali::before { background: conic-gradient(from 0deg, transparent, rgba(255, 176, 46, .5), rgba(232, 40, 120, .35), transparent 60%); }
.lbo-spot.theme-diwali::after { background: radial-gradient(120% 140% at 0% 0%, #7d1d4e 0%, #2b0820 62%); }
.lbo-spot.theme-diwali { color: #f3d9e2; }
.lbo-fx-rangoli { position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(circle, rgba(255, 196, 80, .55) 1.4px, transparent 1.8px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(70% 120% at 100% 50%, #000, transparent 70%); mask-image: radial-gradient(70% 120% at 100% 50%, #000, transparent 70%); }
.lbo-fx-diya { position: absolute; left: var(--x); bottom: -3px; width: 34px; transform: translateX(-50%); }
.lbo-fx-diya svg { display: block; width: 100%; overflow: visible; }
.lbo-fx-diya .d-bowl { fill: #c8611a; }
.lbo-fx-diya .d-flame { fill: #ffd36b; transform-origin: 20px 13px; filter: drop-shadow(0 0 6px #ffb02e); animation: lbo-flame 1.1s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes lbo-flame { from { transform: scale(.9, 1) rotate(-4deg); } to { transform: scale(1.08, 1.18) rotate(4deg); } }
.theme-diwali .lbo-spot-ticket { background: linear-gradient(150deg, #ffc94d, #ff8a1f 55%, #e0306f); color: #2b0820; border-radius: 26px; transform: rotate(-4deg); outline: 2px dotted #ffd36b; outline-offset: 6px; box-shadow: 0 16px 36px rgba(255, 138, 31, .4); }
.theme-diwali .lbo-spot-ticket::before, .theme-diwali .lbo-spot-ticket::after { background: #3d0b2b; }
.theme-diwali .lbo-spot-off { border-top-color: rgba(43, 8, 32, .4); }
.theme-diwali .lbo-spot-kicker { color: #ffc94d; }
.theme-diwali .lbo-btn-hot, .lbo-bar.theme-diwali .lbo-bar-cta { background: #ffb02e; color: #2b0820; box-shadow: 0 10px 24px rgba(255, 176, 46, .4); }
.lbo-bar.theme-diwali { background: linear-gradient(90deg, #2b0820, #6a1742 50%, #2b0820); }
.lbo-bar.theme-diwali strong { color: #ffc94d; }
.lbo-bar.theme-diwali .lbo-bar-glyph { background: #ffb02e; color: #2b0820; }

/* ---------- Holi: light, paint splashes, blob ticket ---------- */
.lbo-spot.theme-holi::before { display: none; }
.lbo-spot.theme-holi::after { background: #fffdf9; }
.lbo-spot.theme-holi { color: #4a3b5c; box-shadow: 0 24px 60px rgba(120, 60, 140, .18); border: 1px solid #f3e6f2; }
.lbo-fx-blob { position: absolute; left: var(--x); top: var(--y); width: 300px; height: 300px; border-radius: 50%; background: var(--c); filter: blur(46px); opacity: .32; animation: lbo-drift 12s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
@keyframes lbo-drift { to { transform: translate(40px, 24px) scale(1.15); } }
.lbo-fx-dots i { width: calc(9px * var(--s)); height: calc(9px * var(--s)); background: #ff3d8b; opacity: .55; animation: lbo-pop 4s ease-in-out infinite; animation-delay: var(--d); }
.lbo-fx-dots i:nth-child(4n+2) { background: #ffd23f; } .lbo-fx-dots i:nth-child(4n+3) { background: #2ec4b6; } .lbo-fx-dots i:nth-child(4n+4) { background: #7b5cff; }
@keyframes lbo-pop { 0%, 100% { transform: scale(.4); } 50% { transform: scale(1.2); } }
.theme-holi .lbo-spot-ticket { background: linear-gradient(135deg, #ff3d8b, #ff8a3d 70%, #ffd23f); color: #fff; border-radius: 42% 58% 55% 45% / 50% 40% 60% 50%; transform: none; box-shadow: 0 16px 34px rgba(255, 61, 139, .35); animation: lbo-morph 7s ease-in-out infinite; }
.theme-holi .lbo-spot-ticket::before, .theme-holi .lbo-spot-ticket::after { display: none; }
.theme-holi .lbo-spot-off { border-top-color: rgba(255, 255, 255, .6); }
@keyframes lbo-morph { 50% { border-radius: 58% 42% 45% 55% / 40% 60% 40% 60%; } }
.lbo-spot.theme-holi .lbo-spot-copy h2 { color: #1d1030; }
.theme-holi .lbo-spot-kicker { color: #d1206b; }
.theme-holi .lbo-spot-timer > p, .theme-holi .lbo-spot-ended { color: #6b5a7a; }
.theme-holi .lb-countdown.is-big .lb-cd-unit, .theme-independence .lb-countdown.is-big .lb-cd-unit { background: rgba(255, 255, 255, .8); border-color: rgba(29, 16, 48, .12); color: #1d1030; }
.theme-holi .lb-countdown.is-big .lb-cd-unit small, .theme-independence .lb-countdown.is-big .lb-cd-unit small { color: #6b5a7a; }
.theme-holi .lbo-btn-hot, .lbo-bar.theme-holi .lbo-bar-cta { background: #ff3d8b; color: #fff; box-shadow: 0 10px 24px rgba(255, 61, 139, .35); }
.theme-holi .lbo-btn-hot:hover, .lbo-bar.theme-holi .lbo-bar-cta:hover { background: #e0246f; }
.lbo-bar.theme-holi { background: linear-gradient(90deg, #ff3d8b, #ff8a3d 35%, #7b5cff 70%, #2ec4b6); color: #fff; }
.lbo-bar.theme-holi::before { display: none; }
.lbo-bar.theme-holi strong, .lbo-bar.theme-holi .lbo-bar-ends { color: #fff; }
.lbo-bar.theme-holi .lbo-bar-cta { background: #fff; color: #c8125e; }
.lbo-bar.theme-holi .lbo-fx-dots i { background: #fff !important; opacity: .35; }

/* ---------- Summer: sea blue, sun ticket, waves ---------- */
.lbo-spot.theme-summer::before { display: none; }
.lbo-spot.theme-summer::after { background: linear-gradient(165deg, #12a3c9 0%, #0a7ea4 45%, #07567a 100%); }
.lbo-spot.theme-summer { color: #dff5fc; }
.lbo-fx-sun { position: absolute; right: -120px; top: -140px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 236, 140, .75) 0 20%, rgba(255, 210, 63, .2) 21% 36%, transparent 37%); }
.lbo-fx-sun::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 230, 128, .22) 0 6deg, transparent 6deg 18deg); -webkit-mask-image: radial-gradient(circle, transparent 40%, #000 42%, transparent 72%); mask-image: radial-gradient(circle, transparent 40%, #000 42%, transparent 72%); animation: lbo-spin 30s linear infinite; }
.lbo-fx-wave { position: absolute; left: 0; bottom: 0; width: 200%; height: 34px; fill: rgba(255, 255, 255, .14); animation: lbo-wave 9s linear infinite; }
.lbo-fx-wave.is-back { height: 46px; fill: rgba(255, 255, 255, .07); animation-duration: 15s; animation-direction: reverse; }
@keyframes lbo-wave { to { transform: translateX(-50%); } }
.theme-summer .lbo-spot-ticket { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6c2, #ffd23f 45%, #ffa600); color: #07567a; transform: none; box-shadow: 0 0 0 10px rgba(255, 210, 63, .18), 0 0 0 22px rgba(255, 210, 63, .08), 0 16px 34px rgba(255, 166, 0, .35); animation: lbo-float 5s ease-in-out infinite; }
.theme-summer .lbo-spot-ticket::before, .theme-summer .lbo-spot-ticket::after { display: none; }
.theme-summer .lbo-spot-off { border-top-color: rgba(7, 86, 122, .35); }
.theme-summer .lbo-spot-kicker { color: #ffe680; }
.theme-summer .lb-countdown.is-big .lb-cd-unit { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .28); }
.theme-summer .lbo-btn-hot, .lbo-bar.theme-summer .lbo-bar-cta { background: #ffd23f; color: #07567a; box-shadow: 0 10px 24px rgba(255, 210, 63, .4); }
.lbo-bar.theme-summer { background: linear-gradient(90deg, #07567a, #0a7ea4 50%, #12a3c9); }
.lbo-bar.theme-summer .lbo-fx-sun { display: none; }
.lbo-bar.theme-summer strong { color: #ffe680; }
.lbo-bar.theme-summer .lbo-bar-glyph { background: #ffd23f; color: #07567a; }

/* ---------- Independence / Republic Day: light, tricolour bands, kites ---------- */
.lbo-spot.theme-independence::before { display: none; }
.lbo-spot.theme-independence::after { background: linear-gradient(180deg, #fff6ec 0%, #ffffff 50%, #f0faee 100%); }
.lbo-spot.theme-independence { color: #3c4a66; box-shadow: 0 24px 60px rgba(13, 40, 90, .14); border: 1px solid #ece7dd; }
.lbo-fx-tricolour { position: absolute; inset: 0; background: linear-gradient(#ff9933, #ff9933) top / 100% 7px no-repeat, linear-gradient(#138808, #138808) bottom / 100% 7px no-repeat; }
.lbo-fx-kite { position: absolute; left: var(--x); top: var(--y); width: 30px; color: var(--c); transform-origin: 50% 0; animation: lbo-sway 4.5s ease-in-out infinite alternate; animation-delay: var(--d); opacity: .8; }
.lbo-fx-kite svg { display: block; width: 100%; overflow: visible; }
.lbo-fx-kite svg path { fill: currentColor; }
.lbo-fx-kite svg .k-line { fill: none; stroke: #8a8f9c; stroke-width: 1.2; }
@keyframes lbo-sway { from { transform: rotate(-10deg); } to { transform: rotate(10deg) translateY(-10px); } }
.theme-independence .lbo-spot-ticket { background: #1d3c9e; color: #fff; border-radius: 20px; transform: rotate(-4deg); border-top: 8px solid #ff9933; border-bottom: 8px solid #138808; box-shadow: 0 16px 32px rgba(29, 60, 158, .3); }
.theme-independence .lbo-spot-ticket::before, .theme-independence .lbo-spot-ticket::after { background: #fff; }
.theme-independence .lbo-spot-off { border-top-color: rgba(255, 255, 255, .45); }
.lbo-spot.theme-independence .lbo-spot-copy h2 { color: #0b1f4d; }
.theme-independence .lbo-spot-kicker { color: #d26b00; }
.theme-independence .lbo-spot-timer > p, .theme-independence .lbo-spot-ended { color: #5d6882; }
.theme-independence .lbo-btn-hot, .lbo-bar.theme-independence .lbo-bar-cta { background: #138808; color: #fff; box-shadow: 0 10px 24px rgba(19, 136, 8, .3); }
.theme-independence .lbo-btn-hot:hover, .lbo-bar.theme-independence .lbo-bar-cta:hover { background: #0e6b06; }
.lbo-bar.theme-independence { background: linear-gradient(90deg, #ffb066, #fff 50%, #8fd68a); color: #0b1f4d; }
.lbo-bar.theme-independence::before, .lbo-bar.theme-independence .lbo-fx-tricolour { display: none; }
.lbo-bar.theme-independence strong, .lbo-bar.theme-independence .lbo-bar-text b { color: #0b1f4d; }
.lbo-bar.theme-independence .lbo-bar-ends { color: #3c4a66; }
.lbo-bar.theme-independence .lbo-bar-glyph { background: #1d3c9e; color: #fff; }
.lbo-bar.theme-independence .lb-countdown.is-bar .lb-cd-unit { background: rgba(11, 31, 77, .08); }

/* ---------- "Offer applied" pill above plan cards ---------- */
.lbo-applied.theme-black_friday { background: #0d0d0d; border-color: #333; color: #f5ff3b; } .lbo-applied.theme-black_friday .lbo-ico { color: #f5ff3b; }
.lbo-applied.theme-christmas { background: #fff1f1; border-color: #f5c2c2; color: #8a1c1c; } .lbo-applied.theme-christmas .lbo-ico { color: #e23b3b; }
.lbo-applied.theme-new_year { background: #f5f0ff; border-color: #dccfff; color: #3b2a8a; } .lbo-applied.theme-new_year .lbo-ico { color: #b8860b; }
.lbo-applied.theme-diwali { background: #fff3e4; border-color: #ffd59e; color: #7a2e00; } .lbo-applied.theme-diwali .lbo-ico { color: #e0761a; }
.lbo-applied.theme-holi { background: #fff0f7; border-color: #ffc2dc; color: #9c1450; } .lbo-applied.theme-holi .lbo-ico { color: #ff3d8b; }
.lbo-applied.theme-summer { background: #e9f8fd; border-color: #a9dff0; color: #075a78; } .lbo-applied.theme-summer .lbo-ico { color: #e0a800; }
.lbo-applied.theme-independence { background: linear-gradient(90deg, #fff4e8, #fff, #effaed); border-color: #e6dccb; color: #0b1f4d; } .lbo-applied.theme-independence .lbo-ico { color: #138808; }

@media (max-width: 640px) {
  .lbo-fx-sun { right: -110px; top: -120px; }
  .lbo-fx-kite { display: none; }
  .theme-new_year .lbo-spot-ticket { outline-offset: 4px; }
  .theme-diwali .lbo-spot-ticket { outline-offset: 3px; }
  .theme-christmas .lbo-spot-ticket::before { width: 10px; margin-left: -5px; }
  .theme-christmas .lbo-spot-ticket::after { height: 10px; margin-top: -5px; }
  .theme-black_friday .lbo-spot-ticket::before { left: 9px; top: 10px; width: 9px; height: 9px; }
  .lbo-fx-diya { width: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .lbo-fx *, .lbo-fx *::before, .lbo-spot[class*="theme-"] .lbo-spot-ticket { animation: none !important; }
  .lbo-fx-snow i, .lbo-fx-pct i { top: var(--y); }
  .lbo-fx-embers i { bottom: auto; top: var(--y); }
  .lbo-fx-burst { opacity: .6; }
}
