/* Copyright (c) 2025-2026 Let's Automate. All rights reserved.
   Unauthorized copying, modification, or distribution is strictly prohibited. */

/*
 * Black Friday 2026: "the big-screen sale".
 *
 * The hero borrows the audience screen's called-number look (a giant glowing
 * figure with a "last called" rail), so the sale reads as Let's Go Games, not
 * a generic retail template. Loaded AFTER offers.css, scoped under .bf.
 *
 * Contrast: every label on a bright fill (yellow, pink, cyan) is --bf-ink,
 * never white. White text only sits on --bf-night, --bf-purple or --bf-red.
 */

.bf {
  --bf-night: #160a2e;
  --bf-purple: #3b1373;
  --bf-yellow: #ffe14d;
  --bf-pink: #ff2d8a;
  --bf-cyan: #22e4ff;
  --bf-red: #b3142b;
  --bf-ink: #0a0a12;
  --bf-soft: #d9cff0;
  --bf-display: 'Anton', 'Impact', sans-serif;
  --bf-body: 'Rajdhani', sans-serif;
  background: var(--bf-night);
  font-family: var(--bf-body);
  color: #fff;
  overflow-x: hidden;
}

.bf .bf-h2 {
  font-family: var(--bf-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  margin: 0 0 14px;
}

.bf .bf-lead {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--bf-soft);
}

/* ── Ticker ──────────────────────────────────────────────── */

.bf-ticker {
  margin-top: 70px; /* clears the fixed site nav */
  background: var(--bf-yellow);
  color: var(--bf-ink);
  overflow: hidden;
  white-space: nowrap;
  border-block: 3px solid var(--bf-ink);
}

.bf-ticker-track {
  display: inline-flex;
  animation: bf-ticker 40s linear infinite;
}

.bf-ticker-track span {
  font-family: var(--bf-display);
  font-size: 1.25rem;
  padding: 10px 26px;
  position: relative;
}

.bf-ticker-track span::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bf-pink);
  transform: translateY(-50%);
}

@keyframes bf-ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ── Hero ────────────────────────────────────────────────── */

.bf .bf-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 70px;
  text-align: left;
  overflow: visible;
}

.bf .bf-hero::before {
  content: none;
}

.bf-hero::after {
  /* the brick-wall glow of the audience screen, behind the whole hero */
  content: '';
  position: absolute;
  inset: 0 -50vw;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 60% at 75% 50%, rgba(255, 45, 138, 0.35), transparent 70%),
    radial-gradient(ellipse 40% 50% at 15% 90%, rgba(34, 228, 255, 0.2), transparent 70%),
    linear-gradient(180deg, #24104a 0%, var(--bf-night) 100%);
}

.bf-hero {
  position: relative;
  isolation: isolate;
}

.bf-state span {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--bf-cyan);
  color: var(--bf-ink);
}

.bf-state span[data-state='live'] {
  background: var(--bf-yellow);
}

.bf-state span[data-state='ended'] {
  background: var(--bf-soft);
}

/* .bf .offer-hero .bf-title beats offers.css `.offer-hero h1` (Orbitron). */
.bf .offer-hero .bf-title {
  font-family: var(--bf-display);
  text-transform: none;
  font-weight: 400;
  font-size: clamp(4rem, 13vw, 9.5rem);
  line-height: 0.88;
  margin: 18px 0 18px;
  color: #fff;
  text-shadow:
    5px 5px 0 var(--bf-pink),
    10px 10px 0 var(--bf-ink);
}

.bf-sub {
  font-size: 1.35rem;
  color: var(--bf-soft);
  margin: 0 0 6px;
  max-width: 520px;
}

.bf-dates {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--bf-yellow);
  margin: 0 0 26px;
}

.bf-clock-label {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 10px;
}

.bf .countdown {
  justify-content: flex-start;
  gap: 10px;
}

.bf .countdown-unit {
  min-width: 82px;
  background: var(--bf-ink);
  border: 3px solid var(--bf-yellow);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--bf-pink);
  padding: 10px 6px 6px;
  text-align: center;
}

.bf .countdown-num {
  font-family: var(--bf-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  color: var(--bf-yellow);
  line-height: 1;
}

.bf .countdown-word {
  color: #fff;
}

.bf-ctas {
  justify-content: flex-start;
  margin-top: 30px;
}

.bf .btn-offer {
  font-family: var(--bf-display);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  border-radius: 10px;
  background: var(--bf-yellow);
  color: var(--bf-ink);
  border: 3px solid var(--bf-ink);
  box-shadow: 5px 5px 0 var(--bf-pink);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
}

.bf .btn-offer:hover,
.bf .btn-offer:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--bf-pink);
}

.bf .btn-offer.ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
  box-shadow: none;
}

.bf .btn-offer[aria-disabled='true'] {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

/* The "screen": giant called figure plus last-called rail. */
.bf-screen {
  position: relative;
  border-radius: 28px;
  padding: 36px 30px 30px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 26px),
    linear-gradient(160deg, #3a1470 0%, #1a0b38 60%, #0d3a4a 100%);
  border: 3px solid var(--bf-cyan);
  box-shadow:
    0 0 0 6px var(--bf-ink),
    0 0 60px rgba(34, 228, 255, 0.35);
}

.bf-call {
  text-align: center;
  margin-bottom: 18px;
}

.bf-call-num {
  display: block;
  font-family: var(--bf-display);
  font-size: clamp(6rem, 16vw, 11rem);
  line-height: 0.95;
  color: #fffbe0;
  text-shadow:
    0 0 12px var(--bf-yellow),
    0 0 40px var(--bf-yellow),
    0 0 90px rgba(255, 225, 77, 0.6);
}

.bf-call-words {
  display: block;
  font-family: var(--bf-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--bf-yellow);
  margin-top: 6px;
}

.bf-rail {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(10, 10, 18, 0.55);
  border-radius: 14px;
  padding: 10px 14px;
  margin-top: 10px;
}

.bf-rail-ball {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-family: var(--bf-display);
  font-size: 1.45rem;
  color: var(--bf-ink);
  box-shadow: inset -6px -8px 0 rgba(0, 0, 0, 0.18);
}

.bf-rail-ball.pink {
  background: radial-gradient(circle at 35% 30%, #ff9cc8, var(--bf-pink) 60%);
}

.bf-rail-ball.cyan {
  background: radial-gradient(circle at 35% 30%, #b8f6ff, var(--bf-cyan) 60%);
  font-size: 2rem;
}

.bf-rail-text {
  font-weight: 700;
  font-size: 1.2rem;
}

/* ── Deals ───────────────────────────────────────────────── */

.bf-deals {
  padding: 80px 20px 40px;
  background: linear-gradient(180deg, var(--bf-night), #22104a);
}

.bf-deal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 34px;
  max-width: 1040px;
  margin: 0 auto;
}

.bf-deal {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  padding: 34px 28px 28px;
  color: var(--bf-ink);
  border: 4px solid var(--bf-ink);
  box-shadow: 10px 10px 0 var(--bf-ink);
}

.bf-deal--classic {
  background: linear-gradient(150deg, #ff6bab 0%, var(--bf-pink) 45%, #e0127a 100%);
}

.bf-deal--event {
  background: linear-gradient(150deg, #8ff2ff 0%, var(--bf-cyan) 45%, #10b7d6 100%);
}

.bf-sticker {
  position: absolute;
  top: -26px;
  right: -14px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--bf-yellow);
  border: 4px solid var(--bf-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(12deg);
  box-shadow: 4px 4px 0 var(--bf-ink);
}

.bf-sticker b {
  font-family: var(--bf-display);
  font-weight: 400;
  font-size: 2.3rem;
  line-height: 1;
}

.bf-sticker span {
  font-family: var(--bf-display);
  font-size: 1.1rem;
  line-height: 1;
}

.bf-deal-plan {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 4px;
}

.bf-deal h3 {
  font-family: var(--bf-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1;
  margin: 0 90px 8px 0;
}

.bf-deal-plus {
  display: inline-block;
  align-self: flex-start;
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--bf-ink);
  color: var(--bf-yellow);
  padding: 4px 12px;
  border-radius: 8px;
  margin: 0 0 20px;
}

.bf-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.bf-price .was {
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 3px;
}

.bf-price .now {
  font-family: var(--bf-display);
  font-size: clamp(3.6rem, 9vw, 4.8rem);
  line-height: 1;
}

.bf-price .unit {
  font-weight: 700;
  font-size: 1.05rem;
}

.bf-vat {
  font-weight: 700;
  font-size: 1.15rem;
  margin: 6px 0 2px;
}

.bf-then {
  font-size: 1.05rem;
  margin: 0 0 12px;
}

.bf-save {
  align-self: flex-start;
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--bf-yellow);
  border: 2px solid var(--bf-ink);
  border-radius: 999px;
  padding: 4px 14px;
  margin: 0 0 18px;
}

.bf-logos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}

.bf-logos img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 2px solid var(--bf-ink);
  background: var(--bf-ink);
}

.bf-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
}

.bf-list li {
  position: relative;
  padding: 5px 0 5px 28px;
}

.bf-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 12px;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--bf-ink);
  border-bottom: 3px solid var(--bf-ink);
  transform: rotate(-45deg);
}

.bf .bf-buy {
  width: 100%;
  font-size: 1.45rem;
  padding: 18px;
  background: var(--bf-ink);
  color: var(--bf-yellow);
  border-color: var(--bf-ink);
  box-shadow: 5px 5px 0 var(--bf-yellow);
}

.bf .bf-buy:hover,
.bf .bf-buy:focus-visible {
  box-shadow: 7px 7px 0 var(--bf-yellow);
}

.bf .bf-buy[aria-disabled='true'] {
  background: rgba(10, 10, 18, 0.7);
  color: #fff;
  box-shadow: none;
}

.bf-note {
  text-align: center;
  color: var(--bf-soft);
  font-size: 0.98rem;
  margin: 34px auto 0;
  max-width: 640px;
}

/* ── Colour bands ────────────────────────────────────────── */

.bf-band {
  padding: 80px 20px;
}

.bf-band--yellow {
  background: var(--bf-yellow);
  color: var(--bf-ink);
}

.bf-band--yellow .bf-lead {
  color: var(--bf-ink);
}

.bf-tv {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  border: 10px solid var(--bf-ink);
  box-shadow: 12px 12px 0 var(--bf-pink);
  background: #000;
}

.bf-tv iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.bf-band--xmas {
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.16) 0 3px, transparent 4px),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.16) 0 3px, transparent 4px),
    radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.16) 0 3px, transparent 4px),
    radial-gradient(circle at 65% 75%, rgba(255, 255, 255, 0.16) 0 3px, transparent 4px),
    linear-gradient(160deg, #c81d36, var(--bf-red));
  background-size:
    90px 90px,
    120px 120px,
    100px 100px,
    140px 140px,
    auto;
}

.bf-band--xmas .bf-lead {
  color: #fff;
}

.bf-pack {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.bf-pack li {
  font-family: var(--bf-display);
  font-size: 1.45rem;
  text-align: center;
  background: #fff;
  color: var(--bf-red);
  border-radius: 16px;
  padding: 22px 12px;
  border: 3px solid var(--bf-ink);
  box-shadow: 6px 6px 0 #146b3a;
}

.bf-band--pink {
  background: var(--bf-pink);
  color: var(--bf-ink);
  text-align: center;
}

.bf-cta-clock {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 24px;
}

.bf-cta-clock strong {
  font-family: var(--bf-display);
  font-weight: 400;
  font-size: 2rem;
  background: var(--bf-ink);
  color: var(--bf-yellow);
  padding: 2px 14px;
  border-radius: 8px;
  margin: 0 8px;
  font-variant-numeric: tabular-nums;
}

.bf .bf-buy-dark {
  background: var(--bf-ink);
  color: var(--bf-yellow);
  box-shadow: 5px 5px 0 var(--bf-yellow);
}

.bf .bf-buy-light {
  background: #fff;
  color: var(--bf-ink);
  box-shadow: 5px 5px 0 var(--bf-ink);
}

/* ── Plain sections ──────────────────────────────────────── */

.bf-section {
  padding: 80px 20px;
}

.bf-section--dark {
  background: #0f0722;
}

.bf-section--tight {
  padding-top: 40px;
}

.bf-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.bf-step {
  background: var(--bf-purple);
  border-radius: 20px;
  padding: 16px 16px 24px;
  border: 3px solid var(--bf-cyan);
}

.bf-step img {
  width: 100%;
  height: auto; /* the HTML height attribute would otherwise beat aspect-ratio */
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin-bottom: 16px;
  background: var(--bf-ink);
}

.bf-step img.bf-step-icon {
  object-fit: contain;
  padding: 10px;
}

.bf-step h3 {
  font-family: var(--bf-display);
  font-weight: 400;
  font-size: 1.7rem;
  margin: 0 0 6px;
}

.bf-step p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--bf-soft);
}

.bf-games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
}

.bf-game {
  margin: 0;
  text-align: center;
}

.bf-game img {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0 auto 12px;
  filter: drop-shadow(0 10px 24px rgba(255, 45, 138, 0.35));
}

.bf-game figcaption {
  font-size: 1.05rem;
  color: var(--bf-soft);
}

.bf-game strong {
  display: block;
  font-family: var(--bf-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 4px;
}

.bf-why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
}

.bf-why-item {
  border-radius: 18px;
  padding: 24px;
  border: 3px solid var(--bf-ink);
}

.bf-why-item h3 {
  font-family: var(--bf-display);
  font-weight: 400;
  font-size: 1.6rem;
  margin: 0 0 8px;
}

.bf-why-item p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.bf-why-item.pink {
  background: var(--bf-pink);
  color: var(--bf-ink);
}
.bf-why-item.yellow {
  background: var(--bf-yellow);
  color: var(--bf-ink);
}
.bf-why-item.cyan {
  background: var(--bf-cyan);
  color: var(--bf-ink);
}
.bf-why-item.purple {
  background: var(--bf-purple);
  color: #fff;
  border-color: var(--bf-cyan);
}

.bf-why-item a {
  color: inherit;
  font-weight: 700;
}

.bf-chips {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 980px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.bf-chips li {
  font-weight: 700;
  font-size: 1.15rem;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--bf-purple);
  border: 2px solid var(--bf-yellow);
}

.bf-chips li:nth-child(3n + 2) {
  border-color: var(--bf-pink);
}
.bf-chips li:nth-child(3n) {
  border-color: var(--bf-cyan);
}

/* FAQ and terms keep offers.css, on the night background. */
.bf .offer-section {
  padding: 70px 20px;
}

.bf .offer-section h2 {
  font-family: var(--bf-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
}

.bf .offer-terms h2 {
  font-size: 1.5rem;
}

.bf .offer-faq summary {
  font-size: 1.25rem;
}

.bf .offer-faq details p {
  color: var(--bf-soft);
}

.bf .offer-sticky {
  background: var(--bf-yellow);
  border-top: 3px solid var(--bf-ink);
}

/* ── Responsive and motion ───────────────────────────────── */

@media (max-width: 900px) {
  .bf .bf-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
  }
  .bf-sub {
    margin-inline: auto;
  }
  .bf .countdown,
  .bf-ctas {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .bf-ticker {
    margin-top: 62px;
  }
  .bf .countdown-unit {
    min-width: 66px;
  }
  .bf-deal {
    padding: 30px 20px 22px;
    box-shadow: 6px 6px 0 var(--bf-ink);
  }
  .bf-sticker {
    width: 92px;
    height: 92px;
    right: -6px;
  }
  .bf-sticker b {
    font-size: 1.9rem;
  }
  .bf-deal h3 {
    margin-right: 70px;
  }
  .bf-band,
  .bf-section {
    padding: 60px 16px;
  }
  .bf-games {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .bf-game img {
    max-width: 140px;
  }
  .bf-game figcaption {
    font-size: 0.98rem;
  }
  .bf-tv {
    border-width: 6px;
    box-shadow: 6px 6px 0 var(--bf-pink);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bf-ticker-track {
    animation: none;
  }
  .bf .btn-offer {
    transition: none;
  }
}
