/* Black Friday 2026 campaign: site bar + landing page 3D offer scene.
   No WebGL, no external libraries; motion is disabled when requested. */
.tdv-bf-bar {
  position: relative;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 44px 8px 18px;
  background:
    radial-gradient(700px 120px at 18% 0%, rgba(38,198,165,.18), transparent 70%),
    linear-gradient(90deg, #082d2b 0%, #0b3b35 52%, #182d22 100%);
  border-bottom: 1px solid rgba(245,213,138,.45);
  color: #eafffb;
  font: 600 12px/1.4 var(--font-sans);
  text-align: center;
}
.tdv-bf-bar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  color: #eafffb;
  text-decoration: none;
}
.tdv-bf-bar-link:hover { color: #fff; }
.tdv-bf-eyebrow {
  color: #f5d58a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tdv-bf-copy { font-weight: 700; }
.tdv-bf-bar code {
  padding: 2px 6px;
  border: 1px solid rgba(245,213,138,.5);
  border-radius: 4px;
  background: rgba(0,0,0,.24);
  color: #fff4c9;
  font: 800 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .03em;
}
.tdv-bf-mobile { display: none; align-items: center; gap: 5px; white-space: nowrap; }
.tdv-bf-cta { color: #f5d58a; font-weight: 800; white-space: nowrap; }
.tdv-bf-ends { color: #b9d4cb; font-size: 10px; white-space: nowrap; }
.tdv-bf-sep { color: rgba(234,255,251,.35); }
.tdv-bf-dismiss {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #d9fff8;
  font: 18px/1 sans-serif;
  cursor: pointer;
}
.tdv-bf-dismiss:hover { background: rgba(255,255,255,.16); }
@media (max-width: 760px) {
  .tdv-bf-bar { padding: 7px 38px 7px 10px; font-size: 11px; }
  .tdv-bf-long, .tdv-bf-copy, .tdv-bf-ends, .tdv-bf-sep { display: none; }
  .tdv-bf-mobile { display: inline-flex; }
  .tdv-bf-bar-link { gap: 5px; }
}

/* ── Campaign landing ─────────────────────────────────────────────── */
.bf-page {
  background:
    radial-gradient(900px 420px at 80% 8%, rgba(245,213,138,.09), transparent 65%),
    radial-gradient(820px 460px at 8% 22%, rgba(38,198,165,.10), transparent 65%),
    #06090d;
  color: #edf4ff;
}
.bf-shell { max-width: 1160px; margin: 0 auto; padding: 42px 22px 80px; }
.bf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f5d58a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.bf-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #26c6a5;
  box-shadow: 0 0 0 4px rgba(38,198,165,.12);
}
.bf-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 38px;
  align-items: center;
  padding: 24px 0 44px;
}
.bf-title {
  font-size: clamp(44px, 6.6vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
  margin: 15px 0 22px;
  font-weight: 850;
}
.bf-title .bf-gold { color: #f5d58a; }
.bf-lead { max-width: 610px; color: #b7c7d8; font-size: 17px; line-height: 1.6; }
.bf-offer {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 14px;
}
.bf-code-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px dashed rgba(245,213,138,.6);
  border-radius: 10px;
  background: rgba(245,213,138,.06);
}
.bf-code-card small {
  display: block;
  color: #9fb4c8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.bf-code-card code {
  color: #fff4c9;
  font: 800 15px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .04em;
}
.bf-copy-code {
  border: 1px solid rgba(245,213,138,.36);
  border-radius: 6px;
  background: rgba(0,0,0,.25);
  color: #f5d58a;
  font: 700 10px/1 var(--font-sans);
  padding: 7px 9px;
  cursor: pointer;
}
.bf-cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 18px 0 12px; }
.bf-cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 9px;
  background: #f5d58a;
  color: #161307;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}
.bf-cta:hover { background: #ffe7a9; text-decoration: none; }
.bf-cta.secondary {
  background: transparent;
  border: 1px solid rgba(38,198,165,.34);
  color: #b9f6df;
}
.bf-terms { color: #8298ad; font-size: 11px; line-height: 1.6; max-width: 610px; }
.bf-countdown {
  margin-top: 14px;
  color: #d9fff8;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.bf-countdown strong { color: #f5d58a; }

/* 3D scene */
.bf-stage {
  position: relative;
  min-height: 430px;
  perspective: 1100px;
  perspective-origin: 55% 40%;
  isolation: isolate;
}
.bf-stage::before {
  content: "";
  position: absolute;
  inset: 9% 4% 4% 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(38,198,165,.16), transparent 64%);
  filter: blur(12px);
  transform: translateZ(-120px);
}
.bf-stage-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(5deg) rotateY(-13deg);
}
.bf-orbit {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 330px;
  height: 330px;
  margin: -165px 0 0 -165px;
  border: 1px solid rgba(38,198,165,.18);
  border-radius: 50%;
  transform: rotateX(72deg) rotateZ(-10deg);
  box-shadow: 0 0 40px rgba(38,198,165,.06) inset;
}
.bf-orbit.two {
  width: 230px;
  height: 230px;
  margin: -115px 0 0 -115px;
  border-color: rgba(245,213,138,.20);
  transform: rotateX(64deg) rotateZ(25deg) translateZ(18px);
}
.bf-terminal {
  position: absolute;
  left: 6%;
  top: 16%;
  width: min(350px, 88%);
  padding: 14px;
  border: 1px solid rgba(38,198,165,.30);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(18,38,40,.96), rgba(7,18,24,.97));
  box-shadow: 0 34px 70px rgba(0,0,0,.58), 0 0 0 1px rgba(255,255,255,.035) inset;
  transform: translateZ(42px) rotateY(7deg) rotateX(2deg);
  animation: bf-float-a 8s ease-in-out infinite;
}
.bf-terminal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.bf-terminal-head strong { color: #e8fff8; font-size: 12px; letter-spacing: .08em; }
.bf-terminal-head span { color: #85a99f; font-size: 9px; }
.bf-ticker { display: flex; align-items: baseline; gap: 9px; margin-bottom: 5px; }
.bf-ticker strong { color: #f4fffc; font: 800 25px/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.04em; }
.bf-ticker span { color: #26c6a5; font-size: 11px; font-weight: 800; }
.bf-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 104px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 12px;
}
.bf-bars i {
  display: block;
  flex: 1;
  min-width: 4px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, rgba(38,198,165,.85), rgba(38,198,165,.15));
}
.bf-bars i.down { background: linear-gradient(180deg, rgba(240,88,122,.76), rgba(240,88,122,.12)); }
.bf-bars i:nth-child(1) { height: 42%; } .bf-bars i:nth-child(2) { height: 59%; }
.bf-bars i:nth-child(3) { height: 48%; } .bf-bars i:nth-child(4) { height: 73%; }
.bf-bars i:nth-child(5) { height: 62%; } .bf-bars i:nth-child(6) { height: 82%; }
.bf-bars i:nth-child(7) { height: 69%; } .bf-bars i:nth-child(8) { height: 91%; }
.bf-bars i:nth-child(9) { height: 84%; } .bf-bars i:nth-child(10) { height: 100%; }
.bf-badge {
  position: absolute;
  right: 0;
  top: 5%;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 26%, #fff2b7 0%, #f5d58a 26%, #caa24d 66%, #765b1d 100%);
  color: #211a08;
  box-shadow: 0 22px 42px rgba(0,0,0,.5), 0 0 0 8px rgba(245,213,138,.08), 0 0 0 1px rgba(255,247,205,.3) inset;
  transform: translateZ(95px) rotateY(-15deg) rotateX(8deg);
  animation: bf-float-b 7s ease-in-out infinite;
}
.bf-badge strong { display: block; font: 900 34px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.06em; }
.bf-badge small { display: block; max-width: 78px; margin: 4px auto 0; font: 800 8px/1.15 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.bf-float-card {
  position: absolute;
  right: 5%;
  bottom: 7%;
  width: 186px;
  padding: 12px;
  border: 1px solid rgba(245,213,138,.32);
  border-radius: 11px;
  background: linear-gradient(160deg, rgba(28,31,23,.94), rgba(8,16,17,.97));
  box-shadow: 0 22px 40px rgba(0,0,0,.5);
  transform: translateZ(62px) rotateY(-9deg) rotateX(4deg);
  animation: bf-float-c 9s ease-in-out infinite;
}
.bf-float-card span { display: block; color: #91a99f; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.bf-float-card strong { display: block; margin-top: 5px; color: #f5d58a; font-size: 16px; }
.bf-float-card p { margin: 4px 0 0; color: #c9d8d0; font-size: 10px; line-height: 1.45; }
@keyframes bf-float-a { 0%,100% { transform: translateZ(42px) rotateY(7deg) rotateX(2deg) translateY(0); } 50% { transform: translateZ(42px) rotateY(7deg) rotateX(2deg) translateY(-9px); } }
@keyframes bf-float-b { 0%,100% { transform: translateZ(95px) rotateY(-15deg) rotateX(8deg) translateY(0); } 50% { transform: translateZ(95px) rotateY(-15deg) rotateX(8deg) translateY(-12px); } }
@keyframes bf-float-c { 0%,100% { transform: translateZ(62px) rotateY(-9deg) rotateX(4deg) translateY(0); } 50% { transform: translateZ(62px) rotateY(-9deg) rotateX(4deg) translateY(7px); } }
@media (prefers-reduced-motion: reduce) {
  .bf-terminal, .bf-badge, .bf-float-card { animation: none; }
}
@media (max-width: 900px) {
  .bf-hero { grid-template-columns: 1fr; gap: 10px; }
  .bf-stage { min-height: 390px; max-width: 520px; width: 100%; margin: 0 auto; }
  .bf-terminal { left: 6%; top: 15%; }
  .bf-badge { right: 2%; top: 2%; }
}
@media (max-width: 520px) {
  .bf-shell { padding: 28px 15px 60px; }
  .bf-title { font-size: clamp(40px, 13vw, 58px); }
  .bf-lead { font-size: 15px; }
  .bf-stage { min-height: 330px; }
  .bf-terminal { left: 1%; top: 11%; width: 88%; }
  .bf-badge { width: 98px; height: 98px; }
  .bf-badge strong { font-size: 26px; }
  .bf-float-card { width: 158px; right: 0; bottom: 3%; }
}
.bf-section { margin-top: 44px; }
.bf-section h2 { font-size: clamp(25px, 3.4vw, 38px); letter-spacing: -.035em; margin: 0 0 12px; }
.bf-section p { color: #aebfd0; max-width: 760px; line-height: 1.65; }
.bf-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.bf-fact { padding: 16px; border: 1px solid rgba(255,255,255,.09); border-radius: 11px; background: rgba(255,255,255,.025); }
.bf-fact strong { display: block; color: #f5d58a; font-size: 19px; margin-bottom: 4px; }
.bf-fact span { color: #9fb4c6; font-size: 11px; line-height: 1.5; }
.bf-shot {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 20px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.bf-faq { margin-top: 18px; border-top: 1px solid rgba(255,255,255,.09); }
.bf-faq details { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.bf-faq summary { cursor: pointer; color: #e6f1f8; font-weight: 700; }
.bf-faq p { margin: 7px 0 0; color: #9fb4c6; font-size: 13px; }
.bf-fineprint { color: #7f95a9; font-size: 11px; line-height: 1.65; margin-top: 26px; max-width: 820px; }

/* The 3D scene projects past its grid column; clip only the campaign page so
   the page never gets a horizontal scrollbar while the stage stays visible. */
html.bf-root, body.bf-page { overflow-x: clip; }
.bf-stage { max-width: 100%; }
@media (max-width: 520px) {
  .bf-float-card { display: none; }
  .bf-terminal { left: 0; width: 92%; }
  .bf-badge { right: 0; top: 0; }
}

/* Match the campaign page to Tidava's interface type instead of the browser's
   default serif, and keep the mobile badge to one clean number. */
.bf-page { font-family: var(--font-sans); }
.bf-title, .bf-section h2 { font-family: var(--font-sans); }
@media (max-width: 520px) {
  .bf-badge small { display: none; }
}

.bf-countdown { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
