/* === Pixel Art UI -- Twitter Video Downloader (landing page) ===
   Loaded after base.css, which supplies the tokens, the reset, the focus
   ring and the shared pixel chrome (status bar, nav, windows, buttons,
   footer, hero primitives, entrance animations). Only landing-page styles
   and landing-page overrides of shared rules live here. */

/* --- Shared-chrome overrides for this page --- */
.nav-logo {
  font-size: 14px;
  letter-spacing: 0;
  gap: 8px;
}

.win-btn {
  width: 10px;
  height: 10px;
  cursor: pointer;
}

/* --- Shared section layout --- */
.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: '//';
  color: var(--black);
  opacity: 0.3;
}

.section-title {
  font-family: var(--font-pixel);
  font-size: clamp(19px, 2.5vw, 29px);
  font-weight: var(--heading-weight);
  letter-spacing: -0.5px;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 16px;
}

.section-title .accent {
  color: var(--blue);
}

.section-sub {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.5;
  margin-bottom: 48px;
}

/* --- HERO --- */
.hero {
  position: relative;
  z-index: 1;
  padding: 130px 0 80px;
  border-bottom: var(--border);
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.hero-eyebrow {
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(21px, 3vw, 36px);
  line-height: 1.3;
}

.hero-sub {
  font-size: 15px;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* --- Chrome Web Store "Featured" badge ---
   No star rating here on purpose: Google's review-snippet rules forbid
   marking up ratings taken from another site, and a hand-typed number goes
   stale. The badge is a fact about the listing and links to it. */
.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--black);
  text-decoration: none;
  background: var(--gold-soft);
  border: 1px solid var(--line);
  padding: 7px 10px;
}

.featured-badge:hover {
  border-color: var(--yellow);
}

.featured-icon {
  image-rendering: pixelated;
  flex-shrink: 0;
}

/* --- Hero chips --- */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 12px;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 6px 10px;
  cursor: default;
  transition: none;
}

.chip:hover {
  background: var(--blue-soft);
  border-color: var(--blue);
}

.chip-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}

.chip-dot--red {
  background: var(--red);
}
.chip-dot--blue {
  background: var(--blue);
}
.chip-dot--black {
  background: var(--black);
}
.chip-dot--yellow {
  background: var(--yellow);
}
.chip-dot--green {
  background: var(--green);
}

/* --- Hero window mockup --- */
.hero-window {
  border: var(--border);
  box-shadow: 4px 4px 0 var(--line);
  background: var(--white);
}

/* --- Fake tweet card --- */
.tweet-card {
  border: 1px solid var(--line);
  padding: 14px;
  background: var(--white);
  margin-bottom: 14px;
}

.tweet-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.tweet-avatar {
  width: 24px;
  height: 24px;
  background: var(--blue);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  padding: 3px;
  gap: 1px;
  flex-shrink: 0;
}

.tweet-avatar span {
  background: rgba(255, 255, 255, 0.4);
}
.tweet-avatar span:nth-child(2),
.tweet-avatar span:nth-child(4),
.tweet-avatar span:nth-child(6) {
  background: rgba(255, 255, 255, 0.9);
}

.tweet-user {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 11px;
  color: var(--black);
}

.tweet-user span {
  color: var(--text-faint);
  display: block;
  margin-top: 2px;
}

.tweet-body {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.4;
}

.tweet-video {
  background: var(--black);
  border: 1px solid var(--line);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.tweet-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 0px,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 8px
  );
}

.play-btn {
  width: 32px;
  height: 32px;
  background: var(--red);
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 12px;
  border-color: transparent transparent transparent var(--white);
  margin-left: 2px;
}

/* --- Save indicator inside mockup --- */
.save-indicator {
  border: 1px solid var(--line);
  padding: 12px;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  gap: 10px;
}

.save-icon {
  width: 28px;
  height: 28px;
  background: var(--blue-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 19px;
}

.save-text {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 11px;
  color: var(--black);
  line-height: 2;
}

.save-text span {
  display: block;
  color: var(--green);
  margin-top: 2px;
}

.save-btn {
  margin-left: auto;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 11px;
  border: 1px solid var(--blue);
  box-shadow: 2px 2px 0 var(--blue-soft);
  padding: 7px 10px;
  cursor: pointer;
  transition: none;
  white-space: nowrap;
}

.save-btn:hover {
  background: var(--black);
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--line);
}

/* --- FEATURES --- */
.features {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  border-bottom: var(--border);
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: var(--border);
}

.feature-card {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  background: var(--white);
  transition: none;
}

.feature-card:last-child {
  border-right: none;
}
.feature-card.border-top {
  border-top: 1px solid var(--line);
}

/* Same affordance as the extension's popup rows: a quiet ground tint, plus
   the sidebar's blue edge marker. */
.feature-card:hover {
  background: var(--bg);
  box-shadow: inset 2px 0 0 var(--blue);
}

.feature-card:hover .feature-title {
  color: var(--blue);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

/* Per-card tile colours. :hover above re-paints them, so these stay plain
   background/border-color pairs. */
.feature-icon--blue {
  background: var(--blue);
  border-color: var(--blue);
}
.feature-icon--red {
  background: var(--red);
  border-color: var(--red);
}
.feature-icon--yellow {
  background: var(--yellow);
  border-color: var(--black);
}
.feature-icon--black {
  background: var(--black);
  border-color: var(--black);
}
.feature-icon--green {
  background: var(--green);
  border-color: var(--green);
}
.feature-icon--gray {
  background: var(--gray);
  border-color: var(--black);
}

.feature-title {
  font-family: var(--font-pixel);
  font-weight: var(--heading-weight);
  font-size: 14px;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.45;
}

.feature-desc {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- HOW IT WORKS --- */
.how {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  border-bottom: var(--border);
}

.how-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}

.how-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.how-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.how-step:last-child {
  border-bottom: none;
}

.how-num {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 15px;
  color: var(--blue);
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
  padding-top: 3px;
}

.how-title {
  font-family: var(--font-pixel);
  font-weight: var(--heading-weight);
  font-size: 14px;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.45;
}

.how-desc {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.how-desc strong {
  color: var(--black);
}

.inline-link {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-style: dashed;
}

/* --- Terminal block --- */
.terminal {
  border: var(--border);
  box-shadow: 4px 4px 0 var(--line);
  background: var(--black);
}

.term-bar {
  background: var(--gray);
  border-bottom: 1px solid var(--line);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.term-dot {
  width: 8px;
  height: 8px;
  border: 1px solid var(--black);
  background: var(--yellow);
}

.term-dot.red {
  background: var(--red);
}
.term-dot.green {
  background: var(--green);
}

.term-label {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 11px;
  margin-left: auto;
  color: var(--black);
  opacity: 0.6;
}

.term-body {
  padding: 20px 16px;
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 12px;
  line-height: 2;
  color: var(--screen-text);
}

.term-line {
  display: block;
}
.term-line .prompt {
  color: var(--red);
}
.term-line .cmd {
  color: var(--white);
}
.term-line .out {
  color: var(--green);
}
.term-line .comment {
  color: var(--text-soft);
}

.cursor {
  display: inline-block;
  width: 7px;
  height: 12px;
  background: var(--white);
  vertical-align: middle;
  animation: blink 0.8s step-end infinite;
}

/* --- FAQ --- */
.faq {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  border-bottom: var(--border);
  background: var(--white);
}

.faq-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}

.faq-mascot {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-mascot svg {
  image-rendering: pixelated;
}

.faq-mascot-row {
  display: flex;
  gap: 2px;
}

.px-cell {
  width: 8px;
  height: 8px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.faq-item:last-child {
  border-bottom: none;
}
.faq-item[open] {
  background: var(--bg);
  box-shadow: inset 2px 0 0 var(--blue);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 12px;
  color: var(--black);
  cursor: pointer;
  list-style: none;
  user-select: none;
  line-height: 1.45;
}

.faq-q::-webkit-details-marker {
  display: none;
}
.faq-q::marker {
  display: none;
}
.faq-q:hover {
  background: var(--bg);
  color: var(--blue);
}

.faq-arrow {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: none;
  margin-top: -4px;
}

details[open] .faq-arrow {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq-a {
  padding: 12px 18px 16px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px dashed var(--line);
}

.faq-a strong {
  color: var(--black);
}

/* --- Bottom CTA --- */
.bottom-cta {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  border-bottom: var(--border);
}

.cta-inner {
  text-align: center;
  max-width: 640px !important;
}

.pixel-deco {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
}

.px {
  width: 8px;
  height: 8px;
  background: var(--red);
}
.px.blue {
  background: var(--blue);
}
.px.black {
  background: var(--black);
}
.px.sm {
  width: 4px;
  height: 4px;
}

.cta-window {
  border: var(--border);
  box-shadow: 6px 6px 0 var(--line);
  display: inline-block;
  width: 100%;
  max-width: 480px;
  background: var(--white);
}

.cta-titlebar {
  background: var(--bg);
  border-bottom: var(--border);
  padding: 7px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cta-wintitle {
  font-family: var(--font-pixel);
  font-weight: var(--heading-weight);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--black);
}

.cta-body {
  padding: 32px 28px;
}

.cta-title {
  font-family: var(--font-pixel);
  font-size: clamp(16px, 2vw, 23px);
  font-weight: var(--heading-weight);
  letter-spacing: -0.5px;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 12px;
}

.cta-sub {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 28px;
  letter-spacing: 1px;
}

.cta-store-note {
  margin-top: 14px;
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 11px;
  color: var(--text-note);
}

/* --- Footer (page-level bits on top of base.css) --- */
.footer-right {
  margin-left: auto;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-window {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card:nth-child(2) {
    border-right: none;
  }
  .feature-card:nth-child(3) {
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
  .feature-card:nth-child(4) {
    border-top: 1px solid var(--line);
    border-right: none;
  }
  .feature-card:nth-child(n + 3).border-top {
    border-top: 1px solid var(--line);
  }

  .how-layout {
    grid-template-columns: 1fr;
  }
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 110px 0 60px;
  }
  /* Logo + CTA are wider than a 400px phone at desktop sizes; shrink both
     rather than hide either. */
  .nav-inner {
    padding: 0 16px;
    gap: 8px;
  }
  .nav-logo {
    font-size: 12px;
    gap: 6px;
    min-width: 0;
  }
  .nav-cta {
    font-size: 12px;
    padding: 8px 10px;
  }
  .hero-inner > * {
    min-width: 0;
  }
  .status-bar {
    font-size: 11px;
    gap: 8px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .feature-card:last-child {
    border-bottom: none;
  }
  .feature-card.border-top {
    border-top: 1px solid var(--line);
  }

  .btn-primary.large {
    font-size: 8px;
    padding: 12px 18px;
  }
}

/* --- Address bar in hero window --- */
.win-addressbar {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 11px;
  color: var(--black);
}

.win-addr-icon {
  color: var(--black);
  opacity: 0.4;
  font-size: 11px;
}

.win-addr-url {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--black);
  padding: 3px 6px;
  font-size: 11px;
}

.win-addr-x {
  color: var(--blue);
  font-weight: bold;
}

.win-addr-lock {
  color: var(--green);
  font-size: 12px;
}

/* --- X logo avatar --- */
.tweet-avatar-x {
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Rocket scene inside tweet video --- */
.rocket-scene {
  position: absolute;
  inset: 0;
  background: var(--black);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.star-dot {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--white);
}

.rocket {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
  animation: rocketLaunch 5s linear infinite;
}

@keyframes rocketLaunch {
  0% {
    transform: translateY(0px);
    opacity: 1;
  }
  /* hold on pad */
  20% {
    transform: translateY(0px);
    opacity: 1;
  }
  /* ignition shudder */
  22% {
    transform: translateY(2px);
    opacity: 1;
  }
  24% {
    transform: translateY(-2px);
    opacity: 1;
  }
  26% {
    transform: translateY(1px);
    opacity: 1;
  }
  /* lift off */
  28% {
    transform: translateY(0px);
    opacity: 1;
  }
  /* accelerate upward */
  55% {
    transform: translateY(-160px);
    opacity: 1;
  }
  /* exit top of scene */
  65% {
    transform: translateY(-300px);
    opacity: 0;
  }
  /* jump back below scene (invisible) */
  65.01% {
    transform: translateY(120px);
    opacity: 0;
  }
  /* hold below */
  80% {
    transform: translateY(120px);
    opacity: 0;
  }
  /* new rocket fades in at pad */
  88% {
    transform: translateY(0px);
    opacity: 0;
  }
  90% {
    transform: translateY(0px);
    opacity: 1;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

.rocket-nose {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid var(--white);
}

.rocket-body {
  width: 12px;
  height: 22px;
  background: var(--white);
  border-left: 2px solid var(--black);
  border-right: 2px solid var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
  gap: 3px;
}

.rocket-window {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border: 1px solid var(--black);
  border-radius: 0;
}

.rocket-stripe {
  width: 100%;
  height: 2px;
  background: var(--red);
}

.rocket-bottom {
  display: flex;
  align-items: flex-end;
}

.rocket-fin-l,
.rocket-fin-r {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 0;
}

.rocket-fin-l {
  border-right: 6px solid var(--gray);
}

.rocket-fin-r {
  border-left: 6px solid var(--gray);
}

.rocket-engine {
  width: 12px;
  height: 6px;
  background: var(--gray);
  border: 2px solid var(--black);
  border-top: none;
}

.rocket-flame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: flicker 0.3s step-end infinite;
}

@keyframes flicker {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.flame-inner {
  width: 6px;
  height: 10px;
  background: var(--yellow);
  border-bottom: 4px solid var(--red);
}

.smoke {
  position: absolute;
  bottom: 8px;
  width: 14px;
  height: 10px;
  background: var(--text-faint);
  border: 1px solid var(--text-soft);
  opacity: 0.6;
}

.smoke-l {
  left: calc(50% - 20px);
}
.smoke-r {
  right: calc(50% - 20px);
}

/* --- Pixel TV --- */
.pixel-tv {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tv-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 340px;
}

.tv-top-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 0;
}

.tv-antenna {
  width: 4px;
  height: 40px;
  background: var(--black);
  position: relative;
}

.tv-antenna-l {
  transform: rotate(-15deg);
  transform-origin: bottom center;
}
.tv-antenna-r {
  transform: rotate(15deg);
  transform-origin: bottom center;
}

.tv-frame {
  width: 100%;
  background: var(--black);
  border: 4px solid var(--black);
  box-shadow: 4px 4px 0 var(--line);
  display: flex;
  gap: 0;
}

.tv-screen {
  flex: 1;
  background: var(--black);
  border: 3px solid var(--dark-2);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}

.tv-screen-inner {
  position: absolute;
  inset: 0;
  background: var(--screen-dark);
}

.tv-star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--white);
}

.tv-rocket {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: tvRocketFloat 1.8s step-end infinite;
}

.tv-rkt-nose {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 8px solid var(--white);
}

.tv-rkt-body {
  width: 10px;
  height: 16px;
  background: var(--white);
}

.tv-rkt-flame {
  width: 6px;
  height: 8px;
  background: var(--yellow);
  border-bottom: 3px solid var(--red);
  animation: flicker 0.25s step-end infinite;
}

.tv-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.2) 3px,
    rgba(0, 0, 0, 0.2) 4px
  );
  pointer-events: none;
}

.tv-controls {
  width: 52px;
  background: var(--dark-1);
  border-left: 2px solid var(--dark-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 0;
}

.tv-knob {
  width: 14px;
  height: 14px;
  background: var(--text-muted);
  border: 2px solid var(--text-faint);
  border-radius: 0;
}

.tv-knob:hover {
  background: var(--blue);
  cursor: pointer;
}

.tv-led {
  width: 6px;
  height: 6px;
  background: var(--red);
  border: 1px solid var(--black);
  animation: blink 2s step-end infinite;
}

.tv-stand-top {
  width: 60%;
  height: 8px;
  background: var(--black);
  border: 2px solid var(--black);
}

.tv-stand-legs {
  display: flex;
  gap: 48px;
}

.tv-leg {
  width: 10px;
  height: 16px;
  background: var(--black);
}

/* --- Bird trail scenery (How It Works) --- */
.bird-trail {
  position: relative;
  height: 90px;
  max-width: 300px;
  margin-top: 0;
}

.bird-scene {
  position: relative;
  width: 100%;
  height: 90px;
  overflow: hidden;
}

.bird-walk {
  animation: birdHop 7.2s step-end infinite;
  position: absolute;
  bottom: 10px;
  left: 0;
  z-index: 3;
  image-rendering: pixelated;
}

/* 3 short hops right, pause, multi-waypoint arc back */
@keyframes birdHop {
  0% {
    transform: translateX(0px) scaleX(1) translateY(0px);
  }
  /* hop 1 peak */
  5% {
    transform: translateX(0px) scaleX(1) translateY(-16px);
  }
  /* hop 1 land */
  12% {
    transform: translateX(67px) scaleX(1) translateY(0px);
  }
  /* hop 2 peak */
  17% {
    transform: translateX(67px) scaleX(1) translateY(-16px);
  }
  /* hop 2 land */
  24% {
    transform: translateX(134px) scaleX(1) translateY(0px);
  }
  /* hop 3 peak */
  29% {
    transform: translateX(134px) scaleX(1) translateY(-16px);
  }
  /* hop 3 land */
  36% {
    transform: translateX(200px) scaleX(1) translateY(0px);
  }
  /* pause facing right */
  44% {
    transform: translateX(200px) scaleX(1) translateY(0px);
  }
  /* flip */
  44.01% {
    transform: translateX(200px) scaleX(-1) translateY(0px);
  }
  /* return arc: waypoint 1 - lift off */
  48% {
    transform: translateX(175px) scaleX(-1) translateY(-14px);
  }
  /* return arc: waypoint 2 - apex */
  52% {
    transform: translateX(140px) scaleX(-1) translateY(-28px);
  }
  /* return arc: waypoint 3 - past apex, slight touch */
  56% {
    transform: translateX(100px) scaleX(-1) translateY(-20px);
  }
  /* return arc: waypoint 4 - second peak */
  60% {
    transform: translateX(60px) scaleX(-1) translateY(-14px);
  }
  /* return arc: waypoint 5 - descend */
  64% {
    transform: translateX(25px) scaleX(-1) translateY(-6px);
  }
  /* land at 0 */
  68% {
    transform: translateX(0px) scaleX(-1) translateY(0px);
  }
  /* pause facing left */
  88% {
    transform: translateX(0px) scaleX(-1) translateY(0px);
  }
  /* flip back */
  88.01% {
    transform: translateX(0px) scaleX(1) translateY(0px);
  }
  100% {
    transform: translateX(0px) scaleX(1) translateY(0px);
  }
}

/* grass cluster */
.grass-blade {
  position: absolute;
  bottom: 10px;
  transform-origin: bottom center;
}

.grass-blade svg {
  display: block;
  image-rendering: pixelated;
}

@keyframes grassSway1 {
  0%,
  100% {
    transform: rotate(0deg);
  }
  40% {
    transform: rotate(6deg);
  }
  70% {
    transform: rotate(-4deg);
  }
}
@keyframes grassSway2 {
  0%,
  100% {
    transform: rotate(0deg);
  }
  30% {
    transform: rotate(-5deg);
  }
  65% {
    transform: rotate(4deg);
  }
}
@keyframes grassSway3 {
  0%,
  100% {
    transform: rotate(2deg);
  }
  50% {
    transform: rotate(-6deg);
  }
}

/* grass cluster grouped near left side */
.grass-blade:nth-child(2) {
  animation: grassSway1 2.4s ease-in-out infinite;
  left: 60px;
}
.grass-blade:nth-child(3) {
  animation: grassSway2 3.1s ease-in-out infinite;
  left: 72px;
}
.grass-blade:nth-child(4) {
  animation: grassSway3 2.7s ease-in-out infinite 0.3s;
  left: 82px;
}
.grass-blade:nth-child(5) {
  animation: grassSway1 2.9s ease-in-out infinite 0.5s;
  left: 92px;
}
.grass-blade:nth-child(6) {
  animation: grassSway2 2.2s ease-in-out infinite 0.1s;
  left: 102px;
}
.grass-blade:nth-child(7) {
  animation: grassSway3 3.4s ease-in-out infinite 0.7s;
  left: 112px;
}
.grass-blade:nth-child(8) {
  animation: grassSway1 2.6s ease-in-out infinite 0.9s;
  left: 122px;
}

/* pixel rock */
.pixel-rock {
  position: absolute;
  bottom: 10px;
  image-rendering: pixelated;
  z-index: 2;
}

/* --- FAQ bird perch: zigzag layout --- */
.faq-bird-perch {
  display: block;
  position: relative;
  margin-top: 8px;
  width: 164px;
  pointer-events: none;
}

.faq-easter-bird {
  position: absolute;
  animation: birdPop 0.15s step-end both;
  width: 72px;
  height: 72px;
  padding: 4px 0;
}

@keyframes birdPop {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === tv rocket float (small TV decorative rocket) === */
@keyframes tvRocketFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-4px);
  }
}

/* hero-window pixel pop on hover */
.hero-window:hover {
  box-shadow: 6px 6px 0 var(--line);
}

/* === Smoke puffs sync with launch === */
@keyframes smokePuff {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  /* puffs when rocket lifts off */
  26% {
    transform: scale(1);
    opacity: 0.6;
  }
  28% {
    transform: scale(1.5);
    opacity: 0.9;
  }
  35% {
    transform: scale(2.2);
    opacity: 0.7;
  }
  50% {
    transform: scale(3);
    opacity: 0.3;
  }
  65% {
    transform: scale(3.5);
    opacity: 0;
  }
  66% {
    transform: scale(1);
    opacity: 0;
  }
  89% {
    transform: scale(1);
    opacity: 0;
  }
  90% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
}

.smoke {
  animation: smokePuff 5s step-end infinite;
}

.smoke-l {
  animation-delay: 0s;
}
.smoke-r {
  animation-delay: 0.1s;
}
