/* Yeah IPTV (yeah-iptv.pro)
   Bright and upbeat: white pages, electric cobalt (#2741ff) and sunshine
   yellow (#ffd23f), big rounded shapes. Unbounded display type, Mulish text. */

:root {
  --blue: #2741ff;
  --blue-d: #1a2ed6;
  --blue-xd: #101433;
  --sun: #ffd23f;
  --sun-d: #f5b800;
  --paper: #ffffff;
  --mist: #f2f4ff;
  --ink: #101433;
  --body: #3d4366;
  --soft: #6b7194;
  --edge: #e3e6f5;
  --good: #0a7d4f;
  --bad: #c32a2a;
  --round: 22px;
  --wide: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--body); font: 400 17px/1.72 Mulish, system-ui, -apple-system, "Segoe UI", sans-serif; overflow-x: hidden; }
svg, img { max-width: 100%; }
a { color: var(--blue); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--blue-d); }
h1, h2, h3 { font-family: Unbounded, system-ui, sans-serif; color: var(--ink); line-height: 1.15; margin: 0 0 0.55em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.95rem, 2.8vw + 1rem, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 1.5vw + 0.95rem, 2.1rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
strong { color: var(--ink); }
.yh-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.yh-skip { position: absolute; left: -9999px; }
.yh-skip:focus { left: 10px; top: 10px; z-index: 99; background: var(--sun); color: var(--ink); padding: 8px 12px; border-radius: 8px; }

.yh-wrap { max-width: var(--wide); margin: 0 auto; padding: 0 24px; }
.yh-narrow { max-width: 820px; }

/* Nav */
.yh-nav { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--edge); }
.yh-nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.yh-brand { display: flex; }
.yh-links { display: flex; align-items: center; gap: 4px; }
.yh-links a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.93rem; padding: 8px 14px; border-radius: 999px; }
.yh-links a:hover, .yh-links a[aria-current="page"] { background: var(--mist); color: var(--blue); }
.yh-links .yh-links-cta { display: none; }
.yh-nav-side { display: flex; align-items: center; gap: 10px; }
.yh-burger { display: none; font: 700 0.9rem/1 Mulish, sans-serif; color: var(--ink); background: var(--sun); border: 0; border-radius: 999px; padding: 12px 18px; cursor: pointer; }
@media (max-width: 1000px) {
  .yh-burger { display: inline-flex; }
  .yh-nav-side .yh-btn { display: none; }
  .yh-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: #fff; border-bottom: 1px solid var(--edge); padding: 12px 20px 22px; max-height: calc(100vh - 72px); overflow-y: auto; }
  .yh-links.open { display: flex; }
  .yh-links a { padding: 13px 14px; font-size: 1.04rem; }
  .yh-links .yh-links-cta { display: flex; margin-top: 10px; color: #fff; }
  .yh-links .yh-links-cta:hover { color: #fff; background: var(--blue-d); }
}

/* Buttons */
.yh-btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 8px; font: 800 0.96rem/1 Mulish, sans-serif; padding: 14px 24px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.yh-btn:hover { transform: translateY(-2px); }
.yh-btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 6px 0 var(--sun-d); }
.yh-btn-sun:hover { color: var(--ink); box-shadow: 0 8px 0 var(--sun-d); }
.yh-btn-blue { background: var(--blue); color: #fff; }
.yh-btn-blue:hover { color: #fff; background: var(--blue-d); }
.yh-btn-outline { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.yh-btn-outline:hover { color: var(--ink); background: #fff; border-color: #fff; }
.yh-btn-xl { padding: 18px 30px; font-size: 1.04rem; }
.yh-btn-block { width: 100%; }

/* Pills */
.yh-pill { display: inline-block; font: 700 0.76rem/1 Unbounded, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); background: var(--mist); padding: 9px 14px; border-radius: 999px; margin-bottom: 18px; }
.yh-pill-sun { color: var(--ink); background: var(--sun); }

/* Hero */
.yh-hero { position: relative; overflow: hidden; background: var(--blue); color: #e6e9ff; padding: 82px 0 78px; }
.yh-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -180px; border-radius: 50%; background: var(--sun); opacity: 0.16; }
.yh-hero::after { content: ""; position: absolute; width: 300px; height: 300px; left: -120px; bottom: -160px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, 0.07); }
.yh-hero h1 { color: #fff; }
.yh-hero h1 span { color: var(--sun); }
.yh-hero-row { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 50px; align-items: center; }
.yh-hero-solo { grid-template-columns: minmax(0, 1fr); max-width: 840px; }
.yh-hero-text { font-size: 1.15rem; color: #e6e9ff; max-width: 56ch; }
.yh-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 24px; }
.yh-actions-c { justify-content: center; align-items: center; }
.yh-ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; color: #fff; font-size: 0.94rem; }
.yh-ticks li::before { content: "✔"; color: var(--sun); margin-right: 8px; }
.yh-hero-visual svg { display: block; width: 100%; height: auto; }
@media (max-width: 920px) { .yh-hero-row { grid-template-columns: minmax(0, 1fr); } .yh-hero-visual { max-width: 460px; } }

.yh-intro { padding: 56px 0 6px; }
.yh-intro-text { font-size: 1.14rem; color: var(--soft); max-width: 62ch; }

/* Stats */
.yh-stats { background: var(--blue-xd); color: #c8cdf4; }
.yh-stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-top: 30px; padding-bottom: 30px; }
.yh-stats-row > div { text-align: center; }
.yh-stat-n { display: block; font: 800 clamp(1.35rem, 1.3vw + 1rem, 2rem)/1.2 Unbounded, sans-serif; color: var(--sun); }
.yh-stat-l { font-size: 0.88rem; }
@media (max-width: 720px) { .yh-stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; } .yh-stats { padding: 30px 0; } }

/* Parts */
.yh-part { padding: 80px 0; }
.yh-mist { background: var(--mist); }
.yh-deep { background: var(--blue-xd); color: #c8cdf4; }
.yh-deep h2, .yh-deep h3 { color: #fff; }
.yh-head { max-width: 720px; margin-bottom: 40px; }
.yh-head-c { margin-left: auto; margin-right: auto; text-align: center; }
.yh-head-text { font-size: 1.07rem; color: var(--soft); }

/* Boxes */
.yh-boxes { display: grid; gap: 18px; }
.yh-col1 { grid-template-columns: minmax(0, 1fr); }
.yh-col2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.yh-col3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.yh-col4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .yh-col3, .yh-col4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .yh-col2, .yh-col3, .yh-col4 { grid-template-columns: minmax(0, 1fr); } }
.yh-boxes > * { min-width: 0; }
.yh-box { background: var(--paper); border: 2px solid var(--edge); border-radius: var(--round); padding: 24px; }
.yh-mist .yh-box { border-color: transparent; }
.yh-box p { margin: 0; font-size: 0.97rem; }
.yh-box-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 50px; height: 50px; padding: 0 10px; border-radius: 16px; background: var(--sun); color: var(--ink); font: 800 0.74rem/1 Unbounded, sans-serif; margin-bottom: 14px; }
.yh-box-link { display: block; text-decoration: none; color: inherit; font-weight: 400; transition: border-color 0.15s, transform 0.15s; }
.yh-box-link:hover { border-color: var(--blue); transform: translateY(-3px); color: inherit; }
.yh-box-link h2 { font-size: 1.05rem; margin-bottom: 8px; }

/* Prices */
.yh-prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 1080px) { .yh-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .yh-prices { grid-template-columns: minmax(0, 1fr); } }
.yh-prices > * { min-width: 0; }
.yh-price { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--edge); border-radius: 26px; padding: 30px 20px 20px; }
.yh-price-hot { background: var(--blue); border-color: var(--blue); color: #e6e9ff; transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(39, 65, 255, 0.7); }
.yh-price-hot h3, .yh-price-hot .yh-price-big { color: #fff; }
.yh-price-flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); margin: 0; background: var(--sun); color: var(--ink); font: 800 0.72rem/1 Unbounded, sans-serif; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.yh-price h3 { font-size: 1rem; margin-bottom: 10px; }
.yh-price-big { font: 800 2.2rem/1 Unbounded, sans-serif; color: var(--ink); margin: 0 0 8px; letter-spacing: -0.02em; }
.yh-price-per { font-weight: 800; color: var(--good); font-size: 0.92rem; margin-bottom: 14px; }
.yh-price-hot .yh-price-per { color: var(--sun); }
.yh-price-list { list-style: none; padding: 0; margin: 0 0 16px; font-size: 0.93rem; }
.yh-price-list li { padding: 5px 0 5px 24px; position: relative; }
.yh-price-list li::before { content: "✔"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.yh-price-hot .yh-price-list li::before { color: var(--sun); }
.yh-scr-h { font: 700 0.7rem/1 Unbounded, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; margin: auto 0 8px; color: var(--soft); }
.yh-price-hot .yh-scr-h { color: #c8cdf4; }
.yh-scr { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin-bottom: 14px; }
.yh-scr a { display: flex; flex-direction: column; align-items: center; padding: 7px 1px; border-radius: 12px; background: var(--mist); color: var(--body); text-decoration: none; font-size: 0.64rem; font-weight: 600; line-height: 1.25; font-variant-numeric: tabular-nums; }
.yh-scr a strong { font: 800 0.98rem/1.15 Unbounded, sans-serif; color: var(--blue); }
.yh-scr a:hover { background: var(--sun); color: var(--ink); }
.yh-price-hot .yh-scr a { background: rgba(255, 255, 255, 0.12); color: #e6e9ff; }
.yh-price-hot .yh-scr a strong { color: var(--sun); }
.yh-price-hot .yh-scr a:hover { background: var(--sun); color: var(--ink); }
.yh-price-hot .yh-scr a:hover strong { color: var(--ink); }
.yh-price-more { display: block; text-align: center; margin-top: 12px; font-size: 0.86rem; }
.yh-price-hot .yh-price-more { color: #fff; }

/* Tables */
.yh-table { overflow-x: auto; border-radius: 18px; border: 2px solid var(--edge); background: var(--paper); }
.yh-table table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.95rem; }
.yh-table th, .yh-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--edge); vertical-align: top; }
.yh-table th { background: var(--mist); color: var(--ink); font: 700 0.8rem/1.3 Unbounded, sans-serif; }
.yh-table tr:last-child td { border-bottom: 0; }
.yh-table td:first-child { font-weight: 800; color: var(--ink); }
.yh-table-price td a { text-decoration: none; }
.yh-table-price td a:hover { text-decoration: underline; }

/* How it works */
.yh-how { list-style: none; counter-reset: h; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.yh-how li { counter-increment: h; position: relative; background: var(--paper); border: 2px solid var(--edge); border-radius: var(--round); padding: 26px 22px 22px; }
.yh-how li::before { content: counter(h); position: absolute; top: -16px; left: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font: 800 0.95rem/36px Unbounded, sans-serif; text-align: center; }
.yh-how h3 { margin: 4px 0 6px; }
.yh-how p { margin: 0; font-size: 0.96rem; }

/* FAQ */
.yh-qs { display: grid; gap: 12px; }
.yh-q { background: var(--paper); border: 2px solid var(--edge); border-radius: 18px; }
.yh-q[open] { border-color: var(--blue); }
.yh-q summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative; font-weight: 800; color: var(--ink); font-size: 1.04rem; }
.yh-q summary::-webkit-details-marker { display: none; }
.yh-q summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--sun); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.yh-q[open] summary::after { content: "–"; background: var(--blue); color: #fff; }
.yh-q p { margin: 0; padding: 0 22px 18px; }

/* Banner */
.yh-banner { text-align: center; background: var(--sun); border-radius: 32px; padding: 54px 30px; }
.yh-banner h2 { margin-bottom: 10px; }
.yh-banner p { max-width: 56ch; margin: 0 auto; color: var(--ink); }
.yh-banner .yh-btn-sun { background: var(--blue); color: #fff; box-shadow: 0 6px 0 var(--blue-xd); }
.yh-banner-link { color: var(--ink); }

/* Answer / hint / reading */
.yh-answer { background: var(--mist); border-radius: 18px; padding: 20px 24px; margin: 0 0 28px; border-left: 6px solid var(--blue); }
.yh-answer-label { font: 700 0.7rem/1 Unbounded, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.yh-answer p:last-child { margin: 0; }
.yh-hint { background: #fff8db; border: 2px solid #ffe88a; border-radius: 16px; padding: 16px 20px; margin: 20px 0; }
.yh-hint p:last-child { margin: 0; }
.yh-read h2 { margin-top: 1.7em; }
.yh-read li { margin-bottom: 6px; }
.yh-read .yh-table { margin: 18px 0 24px; }
.yh-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.87rem; color: var(--soft); margin-bottom: 22px; }
.yh-toc { background: var(--paper); border: 2px solid var(--edge); border-radius: 16px; padding: 16px 22px; margin-bottom: 28px; }
.yh-toc p { font: 700 0.8rem/1 Unbounded, sans-serif; margin-bottom: 10px; color: var(--ink); }
.yh-toc ol { margin: 0; padding-left: 1.2em; }
h2[id], section[id] { scroll-margin-top: 92px; }

/* Crumbs */
.yh-crumbs { padding-top: 18px; margin: 0; font-size: 0.86rem; color: var(--soft); }
.yh-crumbs a { color: var(--soft); font-weight: 600; }

/* Forms */
.yh-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 46px; align-items: start; }
@media (max-width: 900px) { .yh-duo { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.yh-duo > * { min-width: 0; }
.yh-form { background: var(--paper); border: 2px solid var(--edge); border-radius: 26px; padding: 30px; box-shadow: 0 30px 60px -45px rgba(16, 20, 51, 0.6); }
.yh-input { margin-bottom: 16px; }
.yh-input label { display: block; font-weight: 800; color: var(--ink); font-size: 0.9rem; margin-bottom: 6px; }
.yh-input input, .yh-input select, .yh-input textarea { width: 100%; font: inherit; font-size: 0.97rem; padding: 13px 15px; border: 2px solid var(--edge); border-radius: 14px; background: var(--mist); color: var(--ink); }
.yh-input input:focus, .yh-input select:focus, .yh-input textarea:focus { outline: 0; border-color: var(--blue); background: #fff; }
.yh-input textarea { min-height: 130px; resize: vertical; }
.yh-input small { display: block; margin-top: 5px; color: var(--soft); font-size: 0.83rem; }
.yh-form-note { font-size: 0.84rem; color: var(--soft); margin: 12px 0 0; }
.yh-msg { display: none; padding: 13px 16px; border-radius: 14px; margin: 0 0 16px; font-weight: 700; font-size: 0.94rem; }
.yh-msg-ok { background: #e3f7ee; color: var(--good); }
.yh-msg-bad { background: #fde8e8; color: var(--bad); }
.yh-msg.visible { display: block; }

/* Footer */
.yh-footer { background: var(--blue-xd); color: #b5bbe6; padding: 0 0 26px; margin-top: 30px; font-size: 0.94rem; }
.yh-footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; padding: 30px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.yh-footer-cta p { margin: 0; color: #e6e9ff; font-size: 1.04rem; }
.yh-footer-cta strong { color: var(--sun); }
.yh-footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 44px; }
@media (max-width: 960px) { .yh-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .yh-footer-brand { grid-column: 1 / -1; } }
.yh-footer-grid > * { min-width: 0; }
.yh-footer-brand p { margin: 14px 0 0; max-width: 40ch; }
.yh-fcol h2 { font: 700 0.86rem/1.2 Unbounded, sans-serif; color: #fff; margin: 0 0 14px; }
.yh-fcol ul { list-style: none; margin: 0; padding: 0; }
.yh-fcol li { margin-bottom: 9px; }
.yh-fcol a { color: #dfe3ff; text-decoration: none; font-weight: 600; }
.yh-fcol a:hover { color: var(--sun); }
.yh-footer-legal { margin: 40px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.83rem; }
.yh-footer-legal a { color: var(--sun); }

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

@media (max-width: 640px) {
  body { font-size: 16px; }
  .yh-wrap { padding: 0 16px; }
  .yh-part { padding: 56px 0; }
  .yh-hero { padding: 52px 0 50px; }
  h1 { font-size: clamp(1.7rem, 7.6vw, 2.15rem); }
  .yh-actions:not(.yh-actions-c) { flex-direction: column; }
  .yh-actions .yh-btn { width: 100%; }
  .yh-price-hot { transform: none; }
  .yh-banner { padding: 38px 20px; }
  .yh-form { padding: 22px; }
  .yh-crumbs { display: none; }
}

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