:root {
  --bg: #050507;
  --bg-elev: #0b0b10;
  --text: #f7f7fb;
  --muted: #9a9aab;
  --line: rgba(255, 255, 255, 0.1);
  --orange: #ff5a1f;
  --pink: #ff3d7a;
  --cyan: #5ce1ff;
  --card: #101018;
  --glass: rgba(12, 12, 18, 0.72);
  --font: "Instrument Sans", "Instrument Fallback", system-ui, sans-serif;
  --display: "Syne", "Syne Fallback", "Instrument Sans", sans-serif;
  --header: 88px;
  --max: 1400px;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --page-pad-x: clamp(14px, 3vw, 36px);
  --touch: 44px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Instant language switch without rewriting DOM text */
.lang-en {
  display: none;
}

html[lang="en"] .lang-de {
  display: none;
}

html[lang="en"] .lang-en {
  display: inline;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}

body.modal-open {
  overflow: hidden;
  touch-action: none;
}

@media (hover: none) {
  a,
  button,
  .poster,
  .channel-item,
  .filter,
  .plan {
    -webkit-tap-highlight-color: transparent;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
a,
input,
textarea,
select,
.poster,
.channel-item,
.filter {
  touch-action: manipulation;
}

.fx-grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 75%);
  opacity: 0.35;
}

.fx-glow {
  pointer-events: none;
  position: fixed;
  inset: -20% -10% auto;
  height: 70vh;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 90, 31, 0.32), transparent 42%),
    radial-gradient(ellipse at 85% 0%, rgba(255, 61, 122, 0.22), transparent 38%),
    radial-gradient(ellipse at 60% 40%, rgba(92, 225, 255, 0.08), transparent 40%);
  animation: glowShift 14s ease-in-out infinite alternate;
}

@keyframes glowShift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-2%, 3%, 0) scale(1.05);
  }
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: calc(var(--header) + var(--safe-top));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(12px + var(--safe-top)) clamp(12px, 2.5vw, 28px) 0;
  pointer-events: none;
}

.header-inner {
  pointer-events: auto;
  width: min(1200px, 100%);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 10px 0 12px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 12, 0.42);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.header.solid .header-inner {
  background: rgba(10, 10, 16, 0.82);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 90, 31, 0.05) inset;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 4px 6px 4px 2px;
  border-radius: 14px;
  transition: background 0.2s;
}

.logo:hover {
  background: rgba(255, 255, 255, 0.04);
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 10px 28px rgba(255, 61, 90, 0.38);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo:hover .logo-mark {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 14px 36px rgba(217, 22, 138, 0.42);
}

.logo-mark img,
.logo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

@font-face {
  font-family: "Syne Fallback";
  src: local("Arial Black"), local("Arial");
  size-adjust: 84%;
  ascent-override: 92%;
  descent-override: 20%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Instrument Fallback";
  src: local("Helvetica Neue"), local("Arial");
  size-adjust: 100%;
  ascent-override: 95%;
  descent-override: 20%;
  line-gap-override: 0%;
}

.logo-word {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 17px;
  line-height: 1.1;
  white-space: nowrap;
  font-synthesis: none;
}

.desk-nav {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.desk-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.nav-icon {
  display: inline-grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
  opacity: 0.85;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.desk-nav a.is-active .nav-icon,
.desk-nav a:hover .nav-icon {
  opacity: 1;
  color: #ffb199;
}

.desk-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.desk-nav a.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 90, 31, 0.28), rgba(255, 61, 122, 0.22));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  gap: 2px;
}

.lang-btn {
  min-width: 36px;
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

html[lang="en"] .lang-btn[data-lang="en"],
html[lang="de"] .lang-btn[data-lang="de"],
html:not([lang="en"]) .lang-btn[data-lang="de"] {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 90, 31, 0.85), rgba(255, 61, 122, 0.85));
  box-shadow: 0 6px 16px rgba(255, 90, 31, 0.3);
}

html[lang="en"] .lang-btn[data-lang="de"] {
  color: inherit;
  background: transparent;
  box-shadow: none;
}

.header .btn-sm {
  padding: 0.58rem 1.05rem;
  box-shadow: 0 10px 28px rgba(255, 90, 31, 0.32);
}

.burger {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.burger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 90, 31, 0.4);
  transform: translateY(-1px);
}

.burger span {
  display: block;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s, width 0.25s;
}

.burger:hover span:nth-child(2) {
  width: 12px;
  margin-left: 2px;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  padding: calc(96px + var(--safe-top)) max(28px, var(--safe-right)) calc(40px + var(--safe-bottom)) max(28px, var(--safe-left));
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255, 90, 31, 0.18), transparent 40%),
    radial-gradient(ellipse at 10% 30%, rgba(255, 61, 122, 0.12), transparent 35%),
    rgba(4, 4, 8, 0.97);
  backdrop-filter: blur(20px);
}

.drawer[hidden] {
  display: none;
}

.drawer a,
.drawer .btn {
  font-family: var(--display);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  width: fit-content;
}

.drawer a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.2rem 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.2s, filter 0.2s;
}

.drawer .nav-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #ffb199;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  flex: 0 0 auto;
}

.drawer a:hover {
  transform: translateX(6px);
  filter: brightness(1.15);
}

.drawer .btn {
  font-size: 1rem;
  margin-top: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange) 0%, #ff4d55 48%, var(--pink) 100%);
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

.drawer-x {
  position: absolute;
  top: calc(20px + var(--safe-top));
  right: max(20px, var(--safe-right));
  width: var(--touch);
  height: var(--touch);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s, border-color 0.2s;
}

.drawer-x:hover {
  background: rgba(255, 90, 31, 0.15);
  border-color: rgba(255, 90, 31, 0.4);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.2rem;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-sm {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 1rem 1.35rem;
  border-radius: 16px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, #ff4d55 48%, var(--pink) 100%);
  color: #fff;
  box-shadow: 0 14px 36px rgba(255, 90, 31, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 20px 48px rgba(255, 90, 31, 0.48);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

/* Hero with poster wall */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: calc(var(--header) + var(--safe-top) + 24px) var(--page-pad-x) calc(56px + var(--safe-bottom));
  z-index: 1;
  overflow: hidden;
}

.poster-wall {
  position: absolute;
  inset: -8% -4% auto;
  height: 78%;
  display: grid;
  grid-template-columns: repeat(8, minmax(120px, 1fr));
  gap: 12px;
  transform: rotate(-8deg) scale(1.15);
  z-index: -2;
  opacity: 0.9;
}

.poster-wall img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  animation: floatCard 8s ease-in-out infinite;
}

.poster-wall img:nth-child(odd) {
  animation-delay: -2s;
}

.poster-wall img:nth-child(3n) {
  transform: translateY(28px);
  animation-delay: -4s;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 3, 3, 0.1) 0%, rgba(3, 3, 3, 0.35) 45%, #030303 82%),
    linear-gradient(90deg, rgba(3, 3, 3, 0.55), transparent 60%);
}

.hero-content {
  width: min(100%, 820px);
  position: relative;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.chip-live {
  border-color: rgba(255, 77, 0, 0.45);
  background: rgba(255, 77, 0, 0.14);
}

.chip-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.5);
  animation: pulse 1.5s infinite;
}

.hero h1 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero h1 .grad {
  display: block;
  background: linear-gradient(110deg, #fff 10%, #ffb199 40%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content > p {
  margin: 0 0 26px;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Marquee */
.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 8px 0 20px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 55s linear infinite;
}

.marquee-track img {
  width: 120px;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

/* Catalog rows */
.catalog {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 10px 0 20px;
}

.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  width: 100%;
  padding: 12px var(--page-pad-x) 14px;
  margin: 0;
  scrollbar-width: none;
  position: relative;
  z-index: 1;
  background: transparent;
  border-bottom: none;
  box-sizing: border-box;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filter {
  flex: 0 0 auto;
  min-height: var(--touch);
  padding: 0.65rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  scroll-snap-align: start;
}

.filter.is-on,
.filter:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

.row {
  margin-bottom: 28px;
}

.row-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 0 clamp(14px, 3vw, 36px) 12px;
}

.row-head h2 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  letter-spacing: -0.03em;
}

.row-icon {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255, 90, 31, 0.22), rgba(255, 61, 122, 0.12));
  border: 1px solid rgba(255, 90, 31, 0.28);
  color: #ffb199;
  flex: 0 0 auto;
}

.row-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.row-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  padding: 4px var(--page-pad-x) 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.poster {
  flex: 0 0 clamp(150px, 16vw, 210px);
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.poster-live {
  flex-basis: clamp(220px, 24vw, 300px);
}

.poster-live .poster-img {
  aspect-ratio: 16 / 9;
}

@media (hover: hover) and (pointer: fine) {
  .poster:hover {
    transform: translateY(-8px) scale(1.03);
    z-index: 2;
  }
}

.poster-img {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  background: #151515;
}

.poster-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
  background: #1a1a22;
}

@media (hover: hover) and (pointer: fine) {
  .poster:hover .poster-img img {
    transform: scale(1.08);
  }
}

.poster-img::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  pointer-events: none;
  z-index: 1;
}

.poster-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 0.28rem 0.5rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.poster-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 77, 0, 0.92);
  opacity: 0;
  transform: scale(0.85);
  transition: 0.2s;
  z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
  .poster:hover .poster-play {
    opacity: 1;
    transform: scale(1);
  }
}

.poster h3 {
  margin: 10px 0 2px;
  font-size: 0.98rem;
  font-weight: 700;
}

.poster p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Cinema band + shared section width */
.cinema-band,
.plans,
.trust {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 20px clamp(14px, 3vw, 36px) 48px;
}

.cinema-band {
  min-height: 380px;
  display: grid;
  align-items: center;
}

.cinema-band-bg,
.cinema-band-veil,
.cinema-band-content {
  grid-area: 1 / 1;
}

.cinema-band-bg {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  height: 100%;
  min-height: 380px;
  border-radius: 28px;
  overflow: hidden;
  opacity: 0.55;
}

.cinema-band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.cinema-band-veil {
  border-radius: 28px;
  background:
    linear-gradient(105deg, rgba(5, 5, 8, 0.94) 0%, rgba(5, 5, 8, 0.78) 42%, rgba(5, 5, 8, 0.45) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 90, 31, 0.22), transparent 45%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cinema-band-content {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 5vw, 56px);
  max-width: 620px;
}

.cinema-band-content h2 {
  margin: 14px 0 12px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.cinema-band-content > p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 38ch;
  line-height: 1.55;
  font-size: 1.05rem;
}

.cinema-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Plans */
.plans-head {
  text-align: center;
  margin-bottom: 22px;
}

.plans-head h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.04em;
}

.plans-head p {
  margin: 0;
  color: var(--muted);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.plan {
  position: relative;
  padding: 28px 22px 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.015) 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}

.plan::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.plan:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.plan-hot {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 90, 31, 0.28), transparent 60%),
    linear-gradient(165deg, rgba(255, 90, 31, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-color: rgba(255, 90, 31, 0.45);
  box-shadow: 0 22px 55px rgba(255, 90, 31, 0.12);
}

.plan-hot::before {
  background: linear-gradient(90deg, transparent, var(--orange), var(--pink), transparent);
}

.plan-elite {
  background:
    radial-gradient(ellipse 70% 45% at 80% 0%, rgba(92, 225, 255, 0.12), transparent 55%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  border-color: rgba(92, 225, 255, 0.28);
}

.plan-elite::before {
  background: linear-gradient(90deg, transparent, rgba(92, 225, 255, 0.7), transparent);
}

.plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  z-index: 1;
}

.plan-badge-elite {
  background: linear-gradient(135deg, #3ec4ff, #7b8cff);
  color: #061018;
}

.plan-top {
  display: grid;
  gap: 6px;
  padding-right: 64px;
  min-height: 52px;
}

.plan h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.plan-tag {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.84rem;
  line-height: 1.35;
}

.price {
  margin: 0;
  color: var(--muted);
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price strong {
  color: #fff;
  font-size: 2.15rem;
  font-family: var(--display);
  letter-spacing: -0.04em;
  font-weight: 800;
}

.plan-feats {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  flex: 1;
}

.plan-feat {
  display: grid;
  grid-template-columns: 28px 1fr 18px;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid transparent;
  font-size: 0.84rem;
  line-height: 1.25;
}

.plan-feat.is-on {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 90, 31, 0.06);
  border-color: rgba(255, 90, 31, 0.1);
}

.plan-feat.is-off {
  color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.015);
}

.plan-feat-icon,
.plan-feat-mark {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
}

.plan-feat-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.55);
}

.plan-feat.is-on .plan-feat-icon {
  background: rgba(255, 90, 31, 0.14);
  color: #ff9a6a;
}

.plan-feat.is-off .plan-feat-icon {
  color: rgba(255, 255, 255, 0.22);
}

.plan-feat-icon svg,
.plan-feat-mark svg {
  width: 15px;
  height: 15px;
  display: block;
}

.plan-feat.is-on .plan-feat-mark {
  color: #3dde8c;
}

.plan-feat.is-off .plan-feat-mark {
  color: rgba(255, 255, 255, 0.22);
}

.plan-feat-text {
  min-width: 0;
  font-weight: 600;
}

.plan-feat.is-off .plan-feat-text {
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.18);
  font-weight: 500;
}

.plan .btn {
  width: 100%;
  margin-top: 4px;
}

/* Trust */
.trust-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 77, 0, 0.18), transparent 40%),
    #0c0c10;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-inner h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.04em;
}

.trust-inner p {
  margin: 0 0 14px;
  color: var(--muted);
}

.mail {
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 77, 0, 0.6);
}

.trust-meta {
  display: grid;
  gap: 14px;
  min-width: min(240px, 100%);
}

.trust-meta div {
  display: grid;
  gap: 2px;
}

.trust-meta span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 36px var(--page-pad-x) calc(40px + var(--safe-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #6d6d78;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
}

.footer-row {
  width: min(100%, var(--max));
  margin: 0 auto 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover {
  color: #fff;
}

.footer > p {
  width: min(100%, var(--max));
  margin: 0 auto;
  font-size: 0.85rem;
}

/* Modal form */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: max(16px, var(--safe-top)) max(16px, var(--safe-right)) max(16px, var(--safe-bottom)) max(16px, var(--safe-left));
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.modal-panel {
  position: relative;
  width: min(100%, 560px);
  max-height: min(92svh, 860px);
  max-height: min(92dvh, 860px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 90, 31, 0.22), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(255, 61, 122, 0.1), transparent 45%),
    linear-gradient(165deg, #14141c, #0a0a10);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  padding: 30px 26px 26px;
  animation: pop 0.28s ease;
}

.modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: var(--touch);
  height: var(--touch);
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.modal-view {
  display: none;
}

.modal-view.is-active {
  display: block;
}

.modal-head h2 {
  margin: 10px 0 8px;
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.modal-head > p {
  margin: 0 0 14px;
  color: var(--muted);
}

.selected-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 77, 0, 0.3);
  background: rgba(255, 77, 0, 0.08);
  margin-bottom: 18px;
  font-size: 0.92rem;
}

.selected-title span {
  color: var(--muted);
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-size: 16px; /* prevents iOS zoom on focus */
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(255, 77, 0, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.15);
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: #ff4d6d;
  box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.14);
}

.field-error {
  display: block;
  margin-top: 6px;
  color: #ff8aa0;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}

.field-error[hidden] {
  display: none;
}

.form-note {
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.success {
  text-align: center;
  padding: 18px 8px 8px;
}

.success-ring {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 77, 0, 0.12);
  border: 1px solid rgba(255, 77, 0, 0.35);
}

.success-ring svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-ring circle {
  stroke: rgba(255, 77, 0, 0.25);
}

.success-ring path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw 0.55s 0.15s forwards ease;
}

.success h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.success p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.55;
}

/* Inner pages */
.page-hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--header) + var(--safe-top) + 48px) var(--page-pad-x) 34px;
  width: min(100%, var(--max));
  margin: 0 auto;
}

body[data-page="live"] .page-hero {
  width: min(100%, var(--max));
  padding-bottom: 20px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: calc(var(--header) + 18px) clamp(14px, 3vw, 36px) auto;
  height: 120px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 90, 31, 0.16), rgba(255, 61, 122, 0.08) 50%, transparent),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  z-index: -1;
  pointer-events: none;
}

.page-hero h1 {
  margin: 12px 0 12px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.5vw, 3.9rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.72));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
  font-size: 1.08rem;
  line-height: 1.55;
}

.page-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 clamp(14px, 3vw, 36px) 10px;
  position: relative;
  z-index: 1;
}

.result-count {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.catalog-grid {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 14px var(--page-pad-x) calc(70px + var(--safe-bottom));
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(168px, 100%), 1fr));
  gap: 22px 16px;
}

.catalog-grid .poster {
  flex: none;
  width: 100%;
}

.catalog-grid .poster-img {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.live-grid {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 4px clamp(14px, 3vw, 36px) 72px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.row--live {
  margin-bottom: 28px;
}

.row-track--live {
  align-items: stretch;
  scroll-snap-type: x mandatory;
}

.row-track--live .channel-item {
  flex: 0 0 min(420px, 86vw);
  width: min(420px, 86vw);
  scroll-snap-align: start;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  transform: none;
}

.row-track--live .channel-item:hover {
  transform: translateY(-2px);
}

.row-track--live .channel-cta {
  display: none;
}

.row-track--live .channel-logo {
  width: 64px;
  height: 38px;
}

@media (min-width: 700px) {
  .row-track--live .channel-item {
    flex-basis: 380px;
    width: 380px;
    grid-template-columns: 76px minmax(0, 1fr) auto auto;
    gap: 14px;
  }

  .row-track--live .channel-cta {
    display: inline;
  }

  .row-track--live .channel-logo {
    width: 76px;
    height: 44px;
  }
}

@media (min-width: 900px) {
  .live-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
  }
}

.channel-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

@media (hover: hover) and (pointer: fine) {
  .channel-item:hover {
    background: rgba(255, 90, 31, 0.09);
    border-color: rgba(255, 90, 31, 0.3);
    transform: translateX(3px);
  }
}

.channel-item:active {
  background: rgba(255, 90, 31, 0.09);
  border-color: rgba(255, 90, 31, 0.3);
}

.channel-logo {
  display: grid;
  place-items: center;
  width: 76px;
  height: 44px;
  border-radius: 10px;
  background: #141418;
  overflow: hidden;
  overflow: hidden;
  flex: 0 0 auto;
}

.channel-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.channel-meta {
  min-width: 0;
}

.channel-meta h3 {
  margin: 0 0 3px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-meta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.82rem;
}

.channel-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 61, 122, 0.12);
  border: 1px solid rgba(255, 61, 122, 0.3);
  color: #ffb0c8;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.channel-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3d7a;
  box-shadow: 0 0 0 0 rgba(255, 61, 122, 0.55);
  animation: pulse 1.5s infinite;
}

.channel-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.channel-item:hover .channel-cta {
  color: #fff;
}

@media (max-width: 520px) {
  .channel-item {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 11px 12px;
    min-height: 64px;
  }

  .channel-logo {
    width: 64px;
    height: 38px;
  }

  .channel-cta {
    display: none;
  }
}

.contact-page {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  margin: 0 auto;
  padding: calc(var(--header) + var(--safe-top) + 48px) var(--page-pad-x) calc(80px + var(--safe-bottom));
  min-height: calc(100svh - 180px);
  min-height: calc(100dvh - 180px);
  display: grid;
  align-content: center;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(255, 90, 31, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(255, 61, 122, 0.1), transparent 50%),
    linear-gradient(165deg, #14141c 0%, #09090d 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%);
  pointer-events: none;
}

.contact-panel-top {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  padding: clamp(28px, 4.5vw, 44px) clamp(24px, 4vw, 40px) clamp(24px, 3.5vw, 32px);
}

.contact-panel-copy .chip {
  margin-bottom: 14px;
}

.contact-panel-copy h1 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 16ch;
}

.contact-panel-copy > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  max-width: 48ch;
  line-height: 1.55;
  font-size: 1.02rem;
}

.contact-panel-action {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.contact-cta-btn {
  min-width: min(100%, 260px);
  justify-content: center;
  box-shadow: 0 14px 40px rgba(255, 61, 122, 0.28);
}

.contact-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.contact-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.contact-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.14);
  flex: 0 0 auto;
}

.contact-panel-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
}

.meta-item {
  display: grid;
  gap: 4px;
  padding: 22px 20px;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s;
  min-width: 0;
}

.meta-item:last-child {
  border-right: none;
}

.meta-item:hover {
  background: rgba(255, 90, 31, 0.07);
}

.meta-item small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meta-item strong {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  word-break: break-word;
}

.meta-item span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.84rem;
  line-height: 1.35;
}

.meta-item .meta-note {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.78rem;
}

a.meta-item:hover strong {
  color: #ffb08a;
}

@media (max-width: 700px) {
  .contact-panel-meta {
    grid-template-columns: 1fr 1fr;
  }

  .meta-item:nth-child(2n) {
    border-right: none;
  }

  .meta-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 560px) {
  .contact-cta-btn {
    width: 100%;
  }

  .contact-panel-copy h1 {
    max-width: none;
  }

  .contact-panel-meta {
    grid-template-columns: 1fr;
  }

  .meta-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .meta-item:last-child {
    border-bottom: none;
  }
}

.plans-page .plans {
  padding-top: 8px;
}

/* Legal */
.legal-page {
  width: min(780px, 100%);
  margin: 0 auto;
  padding: calc(var(--header) + var(--safe-top) + 40px) max(20px, var(--page-pad-x)) calc(90px + var(--safe-bottom));
  position: relative;
  z-index: 1;
}

.legal-page h1 {
  font-family: var(--display);
  letter-spacing: -0.045em;
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 8px;
}

.legal-page h2 {
  margin-top: 28px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.legal-page p,
.legal-page li {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 0.9rem;
}

.legal-back:hover {
  border-color: rgba(255, 90, 31, 0.45);
  color: #fff;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(255, 59, 59, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 59, 0);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ===== Responsive: desktop / tablet / mobile ===== */

@media (min-width: 1200px) {
  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 26px 18px;
  }
}

@media (min-width: 960px) {
  .desk-nav {
    display: flex;
  }

  .burger {
    display: none;
  }
}

@media (max-width: 959px) {
  :root {
    --header: 78px;
  }

  .header .btn-sm {
    display: none;
  }

  .header-inner {
    height: 58px;
    padding-right: 8px;
    border-radius: 18px;
  }

  .cinema-band-bg {
    grid-template-columns: repeat(5, 1fr);
  }

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

  .field-row {
    grid-template-columns: 1fr;
  }

  .poster-wall {
    grid-template-columns: repeat(6, minmax(100px, 1fr));
    opacity: 0.75;
  }

  .page-hero {
    padding-top: calc(var(--header) + var(--safe-top) + 36px);
    padding-bottom: 24px;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 7vw, 3.2rem);
  }

  .page-hero p {
    font-size: 1rem;
  }

  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 18px 12px;
  }

  .drawer a,
  .drawer .btn {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }
}

@media (max-width: 720px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .trust-inner {
    flex-direction: column;
    gap: 20px;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .live-grid {
    gap: 8px;
  }
}

@media (max-width: 640px) {
  :root {
    --page-pad-x: 14px;
    --header: 74px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header) + var(--safe-top) + 18px);
    padding-bottom: calc(32px + var(--safe-bottom));
  }

  .hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: var(--touch);
  }

  .poster {
    flex-basis: 142px;
  }

  .poster-live {
    flex-basis: min(78vw, 280px);
  }

  .poster h3 {
    font-size: 0.9rem;
  }

  .poster p {
    font-size: 0.78rem;
  }

  .poster-play {
    width: 40px;
    height: 40px;
  }

  .row-track .poster-play {
    opacity: 0.9;
    transform: scale(1);
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
    padding-bottom: calc(56px + var(--safe-bottom));
  }

  .catalog-grid .poster-play {
    opacity: 0;
  }

  .catalog-grid .poster:active .poster-play {
    opacity: 1;
    transform: scale(1);
  }

  .poster-wall {
    grid-template-columns: repeat(4, 1fr);
    height: 52%;
    transform: rotate(-6deg) scale(1.2);
  }

  .marquee-track img {
    width: 96px;
  }

  .filters {
    gap: 6px;
    padding-top: 8px;
  }

  .filter {
    padding: 0.55rem 0.9rem;
    font-size: 0.9rem;
  }

  .modal-panel {
    width: 100%;
    max-height: min(94dvh, 100%);
    border-radius: 22px;
    padding: 24px 16px 18px;
  }

  .modal-head h2 {
    font-size: 1.4rem;
    padding-right: 36px;
  }

  .btn,
  .btn-lg {
    min-height: var(--touch);
  }

  .page-tools {
    padding-bottom: 6px;
  }

  .channel-item {
    min-height: var(--touch);
  }

  .legal-page h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }
}

@media (max-width: 420px) {
  .logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .logo-word {
    font-size: 14px;
    max-width: 38vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .lang-btn {
    min-width: 32px;
    padding: 0.38rem 0.55rem;
  }

  .burger {
    width: 40px;
    height: 40px;
  }

  .hero-badges .chip {
    font-size: 0.72rem;
    padding: 0.35rem 0.65rem;
  }

  .catalog-grid {
    gap: 14px 8px;
  }

  .channel-meta h3 {
    font-size: 0.92rem;
  }

  .channel-meta p {
    font-size: 0.76rem;
  }

  .drawer {
    padding-left: max(18px, var(--safe-left));
    padding-right: max(18px, var(--safe-right));
  }
}

@media (max-width: 360px) {
  .logo-word {
    display: none;
  }

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

  .poster {
    flex-basis: 132px;
  }
}

/* Landscape phones */
@media (max-height: 480px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header) + var(--safe-top) + 12px);
    padding-bottom: 24px;
  }

  .poster-wall {
    height: 70%;
    opacity: 0.55;
  }

  .modal-panel {
    max-height: 92dvh;
  }

  .drawer {
    padding-top: calc(72px + var(--safe-top));
  }
}

/* Large desktop polish */
@media (min-width: 1400px) {
  .hero-content {
    width: min(100%, 880px);
  }

  .desk-nav a {
    padding: 0.6rem 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee-track,
  .poster-wall img,
  .chip-live i,
  .channel-live i,
  .fx-glow {
    animation: none !important;
  }

  .poster,
  .btn,
  .channel-item {
    transition: none !important;
  }
}
