/* RIYAPLAY landing — v2 */
:root {
  --bg: #070a16;
  --bg-2: #0c1020;
  --card: #111730;
  --line: rgba(255,255,255,.1);
  --text: #f6f7fb;
  --muted: #aab1c6;
  --pink: #ed1688;
  --pink-2: #b70b67;
  --cyan: #18d9ed;
  --container: 1200px;
  --radius: 18px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 85% 0%, rgba(237,22,136,.14), transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 55%, rgba(80,50,160,.12), transparent 70%),
    linear-gradient(180deg, #080b18, #0a0e1d 60%, #070a16);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* Reveal animation (only when JS is available) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Buttons */
.button {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 14px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; white-space: nowrap;
}
.button:hover { transform: translateY(-2px); }
.button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.button--primary { color: #fff; background: linear-gradient(110deg, #f21c93, #bb0c6b); box-shadow: 0 10px 28px rgba(237,22,136,.28); }
.button--primary:hover { box-shadow: 0 14px 36px rgba(237,22,136,.42); }
.button--ghost { color: #fff; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.button--ghost:hover { background: rgba(255,255,255,.13); }
.button--lg { min-height: 56px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.button--telegram { margin-top: 26px; color: #effdff; background: rgba(24,217,237,.08); border-color: rgba(24,217,237,.6); }
.button--telegram:hover { background: rgba(24,217,237,.16); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7,10,22,.78); border-bottom: 1px solid rgba(255,255,255,.07); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { width: 150px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); margin-left: auto; }
.nav-link { position: relative; color: #c9ccdb; font-size: 14px; font-weight: 600; padding: 8px 0; transition: color .2s; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--pink); border-radius: 2px; transition: width .25s; }
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { min-height: 40px; padding: 0 18px; font-size: 13px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.language-switch { display: flex; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.lang-btn { background: none; border: 0; border-radius: 7px; padding: 6px 11px; font-size: 12px; font-weight: 700; color: #aeb3c6; cursor: pointer; }
.lang-btn.active { background: var(--pink); color: #fff; }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(40px, 6vw, 84px) clamp(48px, 7vw, 96px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-posters { position: absolute; inset: -10% -5% auto -5%; height: 120%; display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; transform: rotate(-8deg) scale(1.15); opacity: .3; filter: saturate(.9); }
.hero-posters img { width: 100%; height: 100%; max-height: 360px; object-fit: cover; border-radius: 12px; }
.hero-posters img:nth-child(even) { transform: translateY(40px); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 28% 45%, rgba(7,10,22,.55), rgba(7,10,22,.96) 72%), linear-gradient(180deg, rgba(7,10,22,.35), var(--bg) 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(24px, 4vw, 56px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 99px; background: rgba(237,22,136,.12); border: 1px solid rgba(237,22,136,.35); color: #ff8ccb; font-size: 12px; font-weight: 700; letter-spacing: .04em; margin-bottom: 22px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(237,22,136,.25); }
.hero-copy h1 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.06; letter-spacing: -.04em; font-weight: 800; }
.hero-copy h1 em { font-style: normal; background: linear-gradient(100deg, #ff4fb0, #ed1688 45%, #ff7a59); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-description { margin-top: 22px; max-width: 520px; color: #c9cddc; font-size: clamp(16px, 1.5vw, 19px); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-platforms li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #d7dae6; font-size: 13px; font-weight: 600; }
.hero-platforms svg { width: 17px; height: 17px; }

.hero-stage { position: relative; padding: 0 0 26px; }
.tv-frame { position: relative; }
.tv-screen { position: relative; border-radius: 12px; padding: 7px; background: linear-gradient(145deg, #3a4156, #0a0d1a 40%, #1a1f33); border: 1px solid rgba(255,255,255,.25); box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 60px rgba(237,22,136,.2); overflow: hidden; }
.tv-screen img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; }
.tv-screen::after { content: ""; position: absolute; inset: 7px; border-radius: 6px; background: linear-gradient(115deg, rgba(255,255,255,.1), transparent 40%); pointer-events: none; }
.tv-stand { width: 26%; height: 14px; margin: 0 auto; background: linear-gradient(#2a3045, #10131f); border-radius: 0 0 14px 14px; }
.phone { position: absolute; width: 27%; min-width: 120px; aspect-ratio: 9/18; border-radius: 26px; padding: 6px; background: linear-gradient(150deg, #dfe2ea, #4b5166 18%, #080a14 40%); border: 1px solid rgba(255,255,255,.4); box-shadow: 0 25px 55px rgba(0,0,0,.65), 0 0 40px rgba(237,22,136,.22); }
.phone--hero { right: -2%; bottom: -6px; z-index: 2; }
.phone-notch { position: absolute; top: 11px; left: 50%; width: 30%; height: 7px; border-radius: 6px; background: #05060c; transform: translateX(-50%); z-index: 2; }
.phone-ui { height: 100%; border-radius: 21px; overflow: hidden; padding: 22px 8px 8px; background: linear-gradient(180deg, #0a0c1c, #101534); display: flex; flex-direction: column; gap: 7px; }
.app-top { display: flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.app-top img { width: 16px; height: 16px; border-radius: 4px; }
.app-tabs { display: flex; gap: 8px; font-size: 7.5px; font-style: normal; color: #8f95ab; }
.app-tabs b { color: #fff; border-bottom: 2px solid var(--pink); padding-bottom: 2px; }
.app-tabs i { font-style: normal; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; flex: 1; align-content: start; }
.app-grid img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 5px; }

/* Partners */
.partners { padding-block: 40px 52px; border-block: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.02); }
.partners-title { text-align: center; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 26px; }
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.partner { display: grid; place-items: center; height: 80px; padding: 12px 22px; border-radius: 14px; background: linear-gradient(180deg, #ffffff, #eef0f6); box-shadow: 0 8px 22px rgba(0,0,0,.28); transition: transform .25s ease, box-shadow .25s ease; }
.partner:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.38); }
.partner img { max-height: 40px; max-width: 100%; width: auto; object-fit: contain; }
.partner-fallback { color: #1b2033; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }

/* Section headings */
.section-heading { max-width: 700px; margin-bottom: 40px; }
.section-heading--center { text-align: center; margin-inline: auto; }
.kicker { color: #ff7ac0; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.section-heading h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -.035em; font-weight: 800; }
.lead { margin-top: 14px; color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); }

/* Catalog rail */
.catalog { padding-bottom: clamp(40px, 6vw, 80px); }
.rail-wrap { position: relative; }
.rail-controls { position: absolute; left: 50%; top: -64px; transform: translateX(-50%); display: flex; justify-content: flex-end; gap: 8px; pointer-events: none; }
.rail-btn { pointer-events: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s, border-color .2s; }
.rail-btn:hover { background: var(--pink); border-color: var(--pink); }
.poster-rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(24px, calc((100% - var(--container)) / 2)) 28px; scroll-padding-inline: max(24px, calc((100% - var(--container)) / 2)); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.poster-rail::-webkit-scrollbar { display: none; }
.poster-rail li { flex: 0 0 clamp(150px, 16vw, 200px); scroll-snap-align: start; }
.poster-rail li[hidden] { display: none; }
.poster-rail img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 16px 34px rgba(0,0,0,.45); transition: transform .3s ease, box-shadow .3s ease; }
.poster-rail li:hover img { transform: translateY(-8px) scale(1.02); box-shadow: 0 24px 46px rgba(0,0,0,.55), 0 0 0 2px rgba(237,22,136,.6); }
.category-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.category-chips li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 99px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); font-weight: 700; font-size: 14px; }
.category-chips svg { width: 20px; height: 20px; fill: none; stroke: var(--pink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Devices */
.devices { background: linear-gradient(180deg, transparent, rgba(255,255,255,.025) 20%, rgba(255,255,255,.025) 80%, transparent); }
.device-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 72px); padding: clamp(24px, 4vw, 52px); margin-top: 24px; border-radius: 28px; border: 1px solid rgba(255,255,255,.1); background: radial-gradient(ellipse at 0% 0%, rgba(237,22,136,.14), transparent 55%), linear-gradient(145deg, rgba(24,30,58,.9), rgba(11,15,32,.95)); overflow: hidden; }
.device-card--reverse { background: radial-gradient(ellipse at 100% 0%, rgba(24,217,237,.1), transparent 55%), linear-gradient(145deg, rgba(24,30,58,.9), rgba(11,15,32,.95)); }
.kicker--pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 99px; background: rgba(255,255,255,.07); color: #fff; letter-spacing: .06em; }
.kicker--pill svg { width: 17px; height: 17px; fill: none; stroke: var(--pink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.device-copy h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -.03em; margin-bottom: 20px; }
.check-list { display: grid; gap: 12px; margin-bottom: 28px; }
.check-list li { position: relative; padding-left: 32px; color: #d5d8e5; font-size: 15px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(237,22,136,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5db0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-button { min-height: 58px; display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 14px; min-width: 176px; border-radius: 13px; background: #05070f; border: 1px solid rgba(255,255,255,.5); transition: transform .2s, border-color .2s, background .2s; }
.store-button:hover { transform: translateY(-2px); border-color: var(--pink); }
.store-button > svg { width: 28px; height: 28px; flex: 0 0 28px; color: #fff; }
.store-button span { display: grid; line-height: 1.15; }
.store-button small { color: #aab1c6; font-size: 10px; }
.store-button strong { font-size: 16px; font-weight: 700; }

.device-visual { position: relative; display: grid; place-items: center; min-height: 340px; }
.device-visual--mobile .phone--lg { position: relative; }
.phone--lg { width: min(250px, 62%); z-index: 2; }
.device-visual--mobile .phone--back { position: absolute; width: min(210px, 52%); right: 6%; top: 8%; opacity: .75; transform: rotate(9deg); }
.device-visual--mobile .phone--lg { transform: translateX(-14%) rotate(-3deg); }
.phone-ui--cta { align-items: center; justify-content: center; text-align: center; gap: 14px; background: linear-gradient(160deg, #2a1d45, #14224a); }
.cta-logo { width: 80%; }
.fake-btn { display: block; width: 86%; height: 30px; border-radius: 9px; background: linear-gradient(110deg, #f01a91, #b90b69); }
.tv-glow { position: absolute; inset: 12% 6%; z-index: -1; background: rgba(24,217,237,.16); filter: blur(70px); }
.device-visual--tv .tv-frame { width: 100%; }

.tv-platforms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.platform-card { min-height: 74px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.2); background: rgba(8,11,24,.55); transition: transform .2s, border-color .2s, background .2s; }
a.platform-card:hover { transform: translateY(-3px); border-color: rgba(237,22,136,.7); background: rgba(237,22,136,.09); }
.platform-card--soon { border-style: dashed; opacity: .8; }
.platform-logo { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; font-weight: 800; font-size: 14px; }
.platform-logo svg { width: 24px; height: 24px; }
.platform-copy { display: flex; flex-direction: column; min-width: 0; }
.platform-copy strong { font-size: 14px; line-height: 1.3; }
.platform-copy small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.platform-arrow { margin-left: auto; color: var(--pink); font-size: 18px; }
.soon-pill { margin-left: auto; padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.1); color: #d5d8e3; font-size: 10px; font-weight: 700; white-space: nowrap; }
.is-unconfigured { opacity: .6; cursor: not-allowed; }

/* Benefits */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit-card { padding: 28px 24px; border-radius: 20px; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(155deg, rgba(28,34,62,.85), rgba(13,17,34,.9)); transition: transform .25s, border-color .25s; }
.benefit-card:hover { transform: translateY(-5px); border-color: rgba(237,22,136,.45); }
.benefit-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 14px; background: rgba(237,22,136,.14); color: var(--pink); }
.benefit-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.benefit-card h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -.01em; }
.benefit-card p { color: var(--muted); font-size: 14px; }

/* Steps */
.steps { padding-top: 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step-card { position: relative; padding: 30px 26px; border-radius: 20px; border: 1px solid rgba(255,255,255,.1); background: rgba(19,24,46,.7); }
.step-card:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); z-index: 2; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-2); border: 1px solid rgba(255,255,255,.18); color: var(--pink); font-size: 14px; }
.step-number { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; background: linear-gradient(135deg, #f21c93, #b90b69); font-weight: 800; font-size: 18px; box-shadow: 0 8px 22px rgba(237,22,136,.3); }
.step-card h3 { font-size: 19px; margin-bottom: 6px; }
.step-card p { color: var(--muted); font-size: 14px; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq .section-heading { margin-bottom: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: 16px; border: 1px solid rgba(255,255,255,.1); background: rgba(19,24,46,.7); transition: border-color .2s; }
.faq-item[open] { border-color: rgba(237,22,136,.5); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: 0 0 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--pink); font-size: 20px; line-height: 1; transition: transform .25s; }
.faq-item[open] summary::after { content: "–"; background: var(--pink); color: #fff; }
.faq-item p { padding: 0 22px 22px; color: var(--muted); font-size: 15px; }

/* Download */
.download { padding-top: 0; }
.download-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 24px; padding: clamp(28px, 5vw, 60px); border-radius: 32px; border: 1px solid rgba(237,22,136,.55); background: radial-gradient(ellipse at 90% 0%, rgba(237,22,136,.3), transparent 50%), linear-gradient(120deg, #3a0f33, #17173a 55%, #0f1530); box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.download-fan { position: relative; height: 280px; }
.download-fan img { position: absolute; bottom: 0; width: 44%; aspect-ratio: 2/3; object-fit: cover; border-radius: 16px; border: 2px solid rgba(255,255,255,.18); box-shadow: 0 20px 40px rgba(0,0,0,.55); }
.download-fan img:nth-child(1) { left: 2%; transform: rotate(-9deg); }
.download-fan img:nth-child(2) { left: 28%; z-index: 2; transform: translateY(-14px); }
.download-fan img:nth-child(3) { right: 2%; transform: rotate(9deg); }
.download-logo { width: 150px; margin-bottom: 18px; }
.download-copy h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -.035em; font-weight: 800; }
.download-copy p { margin: 12px 0 26px; color: #d4cfe0; max-width: 520px; font-size: 16px; }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,.08); background: rgba(5,7,15,.6); }
.footer-main { display: flex; align-items: center; gap: 32px; padding-block: 34px; }
.footer-brand { width: 140px; flex: 0 0 auto; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; margin-inline: auto; }
.footer-links a { color: #99a0b6; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-support { display: inline-flex; align-items: center; gap: 10px; color: #dfe3ee; font-size: 14px; font-weight: 600; white-space: nowrap; }
.footer-telegram { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--cyan); border-radius: 50%; color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 18px; border-top: 1px solid rgba(255,255,255,.07); color: #7f869c; font-size: 12px; }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: none; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; background: rgba(14,18,38,.94); border: 1px solid rgba(237,22,136,.5); box-shadow: 0 16px 40px rgba(0,0,0,.55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transform: translateY(140%); transition: transform .35s ease; }
.sticky-cta.show { transform: none; }
.sticky-cta img { width: 40px; height: 40px; border-radius: 10px; }
.sticky-copy { display: grid; line-height: 1.2; min-width: 0; }
.sticky-copy strong { font-size: 14px; }
.sticky-copy small { color: var(--muted); font-size: 12px; }
.sticky-cta .button { margin-left: auto; min-height: 42px; padding: 0 18px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 640px; }
  .hero-stage { max-width: 640px; margin-inline: auto; width: 100%; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .device-card { grid-template-columns: 1fr; }
  .device-card--reverse .device-visual { order: -1; }
  .device-visual { min-height: 300px; }
  .faq-layout { grid-template-columns: 1fr; }
  .download-panel { grid-template-columns: 1fr; }
  .download-fan { height: 230px; max-width: 420px; margin-inline: auto; width: 100%; }
}
@media (max-width: 820px) {
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 11px; cursor: pointer; }
  .menu-toggle span { height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-toggle.open span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 22px; background: #070a16; border-bottom: 1px solid rgba(255,255,255,.1); }
  .main-nav.open { display: flex; }
  .nav-link { padding: 15px 4px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 16px; min-height: 50px; }
  .header-actions { margin-left: auto; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -17px; transform: translateX(-50%); }
  .rail-controls { display: none; }
  .sticky-cta { display: flex; }
}
@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .container { width: calc(100% - 32px); }
  .brand { width: 124px; }
  .hero { padding-top: 28px; }
  .hero-buttons .button { width: 100%; }
  .hero-description { font-size: 16px; }
  .phone { min-width: 96px; border-radius: 20px; padding: 4px; }
  .phone-ui { border-radius: 16px; padding: 16px 5px 5px; gap: 4px; }
  .phone-notch { top: 7px; height: 5px; }
  .app-top { font-size: 7px; }
  .app-tabs { font-size: 6px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card { padding: 22px 20px; }
  .tv-platforms { grid-template-columns: 1fr; }
  .store-button { flex: 1 1 calc(50% - 6px); min-width: 0; padding-right: 12px; }
  .store-button strong { font-size: 14px; }
  .device-card { padding: 22px 18px; border-radius: 22px; }
  .device-visual { min-height: 260px; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { justify-content: flex-start; margin: 0; }
  .site-footer { padding-bottom: 76px; }
  .partner { height: 66px; }
  .faq-item summary { padding: 17px 16px; font-size: 15px; }
  .faq-item p { padding: 0 16px 18px; font-size: 14px; }
}
@media (max-width: 380px) {
  .store-button { flex-basis: 100%; }
  .language-switch .lang-btn { padding: 6px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Logos keep their aspect ratio even though width/height attributes are set */
.footer-brand img, .download-logo, .cta-logo, .brand img { height: auto; }
.download-copy .store-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 440px; }
.download-copy .store-button { min-width: 0; }

/* Partner tiles: per-logo tuning */
.partner img { max-height: 44px; }
.partner--tall img { max-height: 48px; }
.partner--dark { background: linear-gradient(180deg, #1a1f36, #0e1224); border: 1px solid rgba(255,255,255,.14); }
.partner--dark .partner-fallback { color: #fff; }

/* Catalog tabs */
.catalog-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 99px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: #d7dae6; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.tab:hover { border-color: rgba(237,22,136,.6); }
.tab.active { background: var(--pink); border-color: var(--pink); color: #fff; }
.tab svg { width: 18px; height: 18px; fill: none; stroke: var(--pink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) { .catalog-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; } .catalog-tabs::-webkit-scrollbar { display: none; } .tab { flex: 0 0 auto; } }

/* TV channels grid */
.channel-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.channel-grid[hidden], .rail-wrap[hidden] { display: none; }
.channel-grid li { background: #fff; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 10px 28px rgba(0,0,0,.3); transition: transform .2s; }
.channel-grid li:hover { transform: translateY(-3px); }
.channel-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .channel-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (max-width: 520px) { .channel-grid { grid-template-columns: repeat(2, 1fr); } .channel-grid li { border-radius: 12px; } }
.tab.active svg { stroke: #fff; }
