/* ─────────────────────────────────────────────────────
   Firestick / Android guide pages
───────────────────────────────────────────────────── */

.fs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
}

.fs-logo {
  max-width: 120px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 12px rgba(252,209,22,.3));
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--clr-muted-2);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  transition: color .15s;
}
.back-link:hover { color: var(--pan-yellow); }

/* ─── Guide hero ─── */
.firestick-guide {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

.guide-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 40px 16px 36px;
  text-align: center;
  overflow: hidden;
}

.guide-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(252,209,22,.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(0,151,57,.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(206,17,38,.1) 0%, transparent 60%);
  pointer-events: none;
}

.guide-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent, var(--pan-green) 25%, var(--pan-yellow) 50%, var(--pan-red) 75%, transparent);
  opacity: .5;
}

.guide-hero__icon {
  position: relative;
  font-size: 3.2rem;
  line-height: 1;
}

.guide-title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 3.8rem);
  letter-spacing: .08em;
  line-height: 1;
  color: #fff;
}

.firestick-page .guide-title { color: #ff6900; }
.android-page .guide-title   { color: #3ddc84; }

.guide-sub {
  position: relative;
  font-size: .9rem;
  color: var(--clr-muted-2);
}

.guide-flags {
  position: relative;
  font-size: 1.3rem;
  letter-spacing: 4px;
  opacity: .8;
}

/* ─── Steps ─── */
.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.step {
  display: flex;
  gap: 18px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color .2s, box-shadow .2s;
}

.step:hover {
  border-color: rgba(252,209,22,.3);
  box-shadow: 0 4px 24px rgba(0,0,0,.4), 0 0 0 1px rgba(252,209,22,.1);
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pan-green), #006b28);
  box-shadow: 0 0 14px rgba(0,151,57,.4);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.step:nth-child(3n+2) .step-number {
  background: linear-gradient(135deg, var(--pan-yellow), #c49010);
  box-shadow: 0 0 14px rgba(252,209,22,.4);
  color: #1a1200;
}

.step:nth-child(3n+3) .step-number {
  background: linear-gradient(135deg, var(--pan-red), #8b0d1a);
  box-shadow: 0 0 14px rgba(206,17,38,.4);
}

.step-body h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 6px;
}

.step-body p {
  color: var(--clr-muted-2);
  font-size: .9rem;
  line-height: 1.65;
}

.step-body p + p { margin-top: 6px; }
.step-body strong { color: var(--clr-text); }

/* ─── Code highlight (Firestick code) ─── */
.code-highlight {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 10vw, 3.6rem);
  letter-spacing: .2em;
  color: #fff;
  background: linear-gradient(135deg, rgba(252,209,22,.15), rgba(196,144,16,.08));
  border: 1px solid rgba(252,209,22,.4);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-align: center;
  margin: 12px 0 8px;
  text-shadow: 0 0 24px rgba(252,209,22,.5);
}

.code-note {
  font-size: .82rem;
  color: var(--clr-muted);
  font-style: italic;
}

/* ─── Android brand overrides (#3ddc84) ─── */
.android-page .step:hover { border-color: rgba(61,220,132,.3); box-shadow: 0 4px 24px rgba(0,0,0,.4), 0 0 0 1px rgba(61,220,132,.1); }

.android-page .step-number,
.android-page .step:nth-child(3n+2) .step-number,
.android-page .step:nth-child(3n+3) .step-number {
  background: linear-gradient(135deg, #3ddc84, #1fb868);
  box-shadow: 0 0 14px rgba(61,220,132,.4);
  color: #042014;
}

/* ─── Firestick brand overrides (Amazon orange #ff6900) ─── */
.firestick-page .step:hover { border-color: rgba(255,105,0,.3); box-shadow: 0 4px 24px rgba(0,0,0,.4), 0 0 0 1px rgba(255,105,0,.1); }

.firestick-page .step-number,
.firestick-page .step:nth-child(3n+2) .step-number,
.firestick-page .step:nth-child(3n+3) .step-number {
  background: linear-gradient(135deg, #ff6900, #cc5400);
  box-shadow: 0 0 14px rgba(255,105,0,.4);
  color: #fff;
}

/* ─── Android CTA row ─── */
.android-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
