/* IPTV Firestick (iptvfirestick.net)
   Cool light-grey pages, deep graphite-violet (#1f1b2e) panels and a coral to
   amber flame accent (#ff5a36 / #ffb02e). Rubik headings, Work Sans text. */

:root {
  --bg: #f6f5f9;
  --white: #ffffff;
  --night: #1f1b2e;
  --night-2: #2d2742;
  --coral: #ff5a36;
  --coral-d: #e8431f;
  --gold: #ffb02e;
  --ink: #17141f;
  --txt: #46415a;
  --mute: #6f6985;
  --line: #e4e1ec;
  --ok: #0f7b4b;
  --no: #c0262d;
  --r: 14px;
  --box: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--txt); font: 400 17px/1.7 "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif; overflow-x: hidden; }
svg, img { max-width: 100%; }
a { color: var(--coral-d); font-weight: 500; }
a:hover { color: var(--night); }
h1, h2, h3 { font-family: Rubik, system-ui, sans-serif; color: var(--ink); margin: 0 0 0.5em; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 3vw + 1rem, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 1.6vw + 1rem, 2.25rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.fs-hide { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fs-skip { position: absolute; left: -9999px; }
.fs-skip:focus { left: 10px; top: 10px; z-index: 100; background: var(--coral); color: #fff; padding: 8px 12px; }

.fs-box { max-width: var(--box); margin: 0 auto; padding: 0 24px; }
.fs-slim { max-width: 820px; }

/* Header */
.fs-head { background: var(--night); position: sticky; top: 0; z-index: 60; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06); }
.fs-head-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 70px; }
.fs-logo { display: flex; }
.fs-nav { display: flex; align-items: center; gap: 24px; }
.fs-nav a { color: #e4e0f0; text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.fs-nav a:hover, .fs-nav a[aria-current="page"] { color: var(--gold); }
.fs-nav .fs-nav-buy { color: #fff; }
.fs-nav .fs-nav-buy:hover { color: #fff; }
.fs-menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.18); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.fs-menu-btn span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; }
@media (max-width: 1060px) {
  .fs-menu-btn { display: inline-flex; }
  .fs-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--night); flex-direction: column; align-items: stretch; gap: 0; padding: 6px 24px 22px; max-height: calc(100vh - 70px); overflow-y: auto; }
  .fs-nav.open { display: flex; }
  .fs-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 1.05rem; }
  .fs-nav .fs-nav-buy { margin-top: 16px; border: 0; justify-content: center; }
}

/* Buttons */
.fs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 10px; font: 700 0.96rem/1 Rubik, sans-serif; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s, filter 0.15s; }
.fs-btn:hover { transform: translateY(-1px); }
.fs-btn-hot { background: linear-gradient(90deg, var(--coral), #ff7a2e); color: #fff; box-shadow: 0 10px 24px -12px rgba(255, 90, 54, 0.9); }
.fs-btn-hot:hover { color: #fff; filter: brightness(1.06); }
.fs-btn-dark { background: var(--night); color: #fff; }
.fs-btn-dark:hover { color: #fff; background: var(--night-2); }
.fs-btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.fs-btn-ghost:hover { color: #fff; border-color: var(--gold); }
.fs-btn-lg { padding: 16px 28px; font-size: 1.02rem; }
.fs-btn-full { width: 100%; }

/* Hero */
.fs-top { background: radial-gradient(700px 420px at 90% 20%, rgba(255, 90, 54, 0.28), transparent 65%), radial-gradient(500px 360px at 0% 100%, rgba(255, 176, 46, 0.12), transparent 70%), var(--night); color: #d9d4e8; padding: 80px 0 72px; }
.fs-top h1 { color: #fff; }
.fs-top h1 mark { background: none; color: var(--gold); }
.fs-top-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 50px; align-items: center; }
.fs-top-solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.fs-top-lead { font-size: 1.15rem; color: #d9d4e8; max-width: 58ch; }
.fs-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.fs-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.fs-badges span { font-size: 0.85rem; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); color: #f1eef9; }
.fs-top-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 920px) { .fs-top-grid { grid-template-columns: minmax(0, 1fr); } .fs-top-art { max-width: 470px; } }
.fs-tag { display: inline-block; font: 700 0.78rem/1 Rubik, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-d); background: rgba(255, 90, 54, 0.1); padding: 7px 11px; border-radius: 6px; margin-bottom: 16px; }
.fs-top .fs-tag { color: var(--gold); background: rgba(255, 176, 46, 0.12); }

.fs-lead { padding: 54px 0 8px; }
.fs-lead p { font-size: 1.14rem; color: var(--mute); max-width: 62ch; }

/* Counters */
.fs-counters { background: var(--white); border-bottom: 1px solid var(--line); }
.fs-counters-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-top: 22px; padding-bottom: 22px; }
.fs-counters p { margin: 0; text-align: center; }
.fs-counters strong { display: block; font: 800 clamp(1.5rem, 1.4vw + 1rem, 2.1rem)/1.15 Rubik, sans-serif; background: linear-gradient(90deg, var(--coral), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fs-counters span { font-size: 0.88rem; color: var(--mute); }
@media (max-width: 720px) { .fs-counters-in { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; } .fs-counters { padding: 30px 0; } }

/* Ticker */
.fs-tick { background: var(--night); overflow: hidden; border-top: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 3px solid var(--coral); }
.fs-tick-track { display: flex; width: max-content; animation: fs-tick 55s linear infinite; }
.fs-tick:hover .fs-tick-track, .fs-tick:focus-within .fs-tick-track { animation-play-state: paused; }
.fs-tick-row { display: flex; list-style: none; margin: 0; padding: 0; }
.fs-tick-row li { flex-shrink: 0; }
.fs-tick-row a { display: flex; align-items: center; gap: 10px; padding: 15px 26px; color: #f1eef9; text-decoration: none; font-weight: 500; font-size: 0.95rem; white-space: nowrap; border-right: 1px solid rgba(255, 255, 255, 0.08); }
.fs-tick-row a:hover { color: var(--gold); }
.fs-tick-row b { font: 800 0.78rem/1 Rubik, sans-serif; letter-spacing: 0.06em; color: #fff; background: linear-gradient(90deg, var(--coral), #ff7a2e); padding: 6px 9px; border-radius: 6px; }
@keyframes fs-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .fs-tick-row a { padding: 13px 18px; font-size: 0.9rem; } .fs-tick-track { animation-duration: 40s; } }
@media (prefers-reduced-motion: reduce) { .fs-tick { overflow-x: auto; } }

/* Blocks */
.fs-block { padding: 78px 0; }
.fs-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fs-dark { background: var(--night); color: #d9d4e8; }
.fs-dark h2, .fs-dark h3 { color: #fff; }
.fs-title { max-width: 720px; margin-bottom: 38px; }
.fs-title p { font-size: 1.07rem; color: var(--mute); }
.fs-mid { text-align: center; margin-left: auto; margin-right: auto; }

/* Cards */
.fs-cards { display: grid; gap: 18px; }
.fs-c1 { grid-template-columns: minmax(0, 1fr); }
.fs-c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fs-c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fs-c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .fs-c3, .fs-c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .fs-c2, .fs-c3, .fs-c4 { grid-template-columns: minmax(0, 1fr); } }
.fs-cards > * { min-width: 0; }
.fs-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.fs-alt .fs-card { background: var(--bg); }
.fs-card p { margin: 0; font-size: 0.97rem; }
.fs-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--night); color: var(--gold); display: flex; align-items: center; justify-content: center; font: 800 0.78rem/1 Rubik, sans-serif; margin-bottom: 14px; }
.fs-card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 8px; transition: border-color 0.15s, transform 0.15s; }
.fs-card-link:hover { border-color: var(--coral); transform: translateY(-2px); color: inherit; }
.fs-card-link h2 { font-size: 1.2rem; font-weight: 700; margin: 0; }
.fs-more { margin-top: auto; color: var(--coral-d); font-weight: 600; font-size: 0.92rem; }

/* Plans */
.fs-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 1080px) { .fs-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fs-plans { grid-template-columns: minmax(0, 1fr); } }
.fs-plans > * { min-width: 0; }
.fs-plan { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px 20px 20px; }
.fs-plan-best { border: 2px solid var(--coral); box-shadow: 0 28px 56px -32px rgba(255, 90, 54, 0.6); }
.fs-plan-ribbon { position: absolute; top: -12px; right: 18px; background: linear-gradient(90deg, var(--coral), var(--gold)); color: #fff; font: 700 0.75rem/1 Rubik, sans-serif; padding: 7px 12px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.06em; }
.fs-plan-len { font: 700 1.1rem/1.2 Rubik, sans-serif; color: var(--ink); margin: 0 0 8px; }
.fs-plan-price { font: 800 2.45rem/1 Rubik, sans-serif; color: var(--ink); margin: 0 0 6px; letter-spacing: -0.02em; }
.fs-plan-sub { font-size: 0.9rem; color: var(--ok); font-weight: 600; margin-bottom: 14px; }
.fs-plan ul { list-style: none; margin: 0 0 16px; padding: 0; font-size: 0.93rem; }
.fs-plan li { padding: 5px 0 5px 22px; position: relative; }
.fs-plan li::before { content: ""; position: absolute; left: 0; top: 12px; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--coral), var(--gold)); }
.fs-dev-h { font: 700 0.76rem/1 Rubik, sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); margin: auto 0 8px; }
.fs-dev { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin-bottom: 14px; }
.fs-dev a { display: flex; flex-direction: column; align-items: center; text-decoration: none; padding: 7px 1px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--txt); font-size: 0.64rem; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1.25; }
.fs-dev a em { font: 800 1rem/1.1 Rubik, sans-serif; font-style: normal; color: var(--night); }
.fs-dev a:hover { border-color: var(--coral); background: #fff4f1; color: var(--txt); }

/* Tables */
.fs-table { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.fs-table table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.95rem; }
.fs-table th, .fs-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.fs-table th { background: var(--night); color: #fff; font: 600 0.85rem/1.3 Rubik, sans-serif; }
.fs-table tr:last-child td { border-bottom: 0; }
.fs-table td:first-child { color: var(--ink); }
.fs-table-prices td a { font-weight: 700; color: var(--coral-d); text-decoration: none; }
.fs-table-prices td a:hover { text-decoration: underline; }

/* Steps */
.fs-steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.fs-step { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.fs-step-n { flex-shrink: 0; font: 800 1.5rem/1 Rubik, sans-serif; color: var(--coral); }
.fs-step h3 { margin-bottom: 4px; }
.fs-step p { margin: 0; font-size: 0.96rem; }

/* FAQ */
.fs-faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.fs-faq summary { cursor: pointer; list-style: none; padding: 17px 50px 17px 20px; position: relative; font: 700 1.03rem/1.35 Rubik, sans-serif; color: var(--ink); }
.fs-faq summary::-webkit-details-marker { display: none; }
.fs-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--bg); color: var(--coral-d); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.fs-faq details[open] summary::after { content: "−"; background: var(--coral); color: #fff; }
.fs-faq details > div { padding: 0 20px 16px; }
.fs-faq details p { margin: 0; }

/* Strip CTA */
.fs-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 36px; padding: 44px; border-radius: 22px; background: radial-gradient(500px 260px at 100% 0%, rgba(255, 90, 54, 0.35), transparent 70%), var(--night); color: #d9d4e8; }
.fs-strip > div:first-child { flex: 1 1 360px; min-width: 0; }
.fs-strip h2 { color: #fff; margin-bottom: 6px; }
.fs-strip p { margin: 0; }
.fs-strip-act { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fs-strip-act > a:last-child { color: var(--gold); text-decoration: none; }

/* Answer / tips / reading */
.fs-answer { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--coral); border-radius: 12px; padding: 18px 22px; margin: 0 0 28px; }
.fs-answer > span { display: block; font: 700 0.75rem/1 Rubik, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-d); margin-bottom: 8px; }
.fs-answer p:last-child { margin: 0; }
.fs-tip { background: #fff7e8; border: 1px solid #ffe0a8; border-radius: 12px; padding: 16px 20px; margin: 20px 0; }
.fs-tip p:last-child { margin: 0; }
.fs-read h2 { margin-top: 1.7em; }
.fs-read li { margin-bottom: 6px; }
.fs-read .fs-table { margin: 18px 0 22px; }
.fs-byline { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.87rem; color: var(--mute); margin-bottom: 22px; }
.fs-contents { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 28px; }
.fs-contents strong { font-family: Rubik, sans-serif; color: var(--ink); }
.fs-contents ul { margin: 8px 0 0; padding-left: 1.1em; }
h2[id], section[id] { scroll-margin-top: 90px; }

/* Breadcrumb */
.fs-trail { padding-top: 18px; font-size: 0.86rem; color: var(--mute); }
.fs-trail a { color: var(--mute); }
.fs-trail b { font-weight: 400; margin: 0 4px; }

/* Forms */
.fs-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 46px; align-items: start; }
@media (max-width: 900px) { .fs-pair { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.fs-pair > * { min-width: 0; }
.fs-form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: 0 30px 60px -40px rgba(31, 27, 46, 0.5); }
.fs-field { margin: 0 0 15px; }
.fs-field label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-bottom: 6px; }
.fs-field label i { font-style: normal; font-weight: 400; color: var(--mute); }
.fs-field input, .fs-field select, .fs-field textarea { width: 100%; font: inherit; font-size: 0.97rem; padding: 12px 14px; border: 1px solid #d6d2e2; border-radius: 10px; background: var(--bg); color: var(--ink); }
.fs-field input:focus, .fs-field select:focus, .fs-field textarea:focus { outline: 0; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.18); background: #fff; }
.fs-field textarea { min-height: 130px; resize: vertical; }
.fs-field small { display: block; margin-top: 5px; color: var(--mute); font-size: 0.83rem; }
.fs-small { font-size: 0.84rem; color: var(--mute); margin: 12px 0 0; }
.fs-alert { display: none; padding: 13px 15px; border-radius: 10px; margin-bottom: 16px; font-size: 0.94rem; }
.fs-ok { background: #e9f8f0; color: var(--ok); border: 1px solid #b6e6cc; }
.fs-err { background: #fdecec; color: var(--no); border: 1px solid #f5c2c2; }
.fs-alert.visible { display: block; }

/* Footer */
.fs-foot { background: var(--night); color: #bdb6d2; padding: 60px 0 26px; margin-top: 20px; font-size: 0.94rem; }
.fs-foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 960px) { .fs-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fs-foot-about { grid-column: 1 / -1; } }
.fs-foot-grid > * { min-width: 0; }
.fs-foot-about p { margin: 14px 0 18px; max-width: 42ch; }
.fs-foot-title { font: 700 0.98rem/1.2 Rubik, sans-serif; color: #fff; margin: 0 0 12px; }
.fs-foot-grid div a:not(.fs-btn) { display: block; color: #ddd8ec; text-decoration: none; margin-bottom: 9px; font-weight: 400; }
.fs-foot-grid div a:not(.fs-btn):hover { color: var(--gold); }
.fs-foot-note { border-top: 1px solid rgba(255, 255, 255, 0.1); margin: 40px 0 0; padding-top: 18px; font-size: 0.82rem; }
.fs-foot-note a { color: var(--gold); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.45s ease, transform 0.45s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.fs-center { text-align: center; }
h1, h2, h3, p, li, td, th { overflow-wrap: break-word; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .fs-box { padding: 0 16px; }
  .fs-block { padding: 54px 0; }
  .fs-top { padding: 50px 0 48px; }
  h1 { font-size: clamp(1.9rem, 8.4vw, 2.35rem); }
  .fs-cta-row { flex-direction: column; }
  .fs-cta-row .fs-btn { width: 100%; }
  .fs-strip { padding: 32px 20px; }
  .fs-strip-act, .fs-strip-act .fs-btn { width: 100%; }
  .fs-form { padding: 20px; }
  .fs-trail { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
