:root {
  color-scheme: dark;
  --bg: #050507;
  --bg-2: #140407;
  --red: #e60511;
  --red-soft: rgba(230, 5, 17, 0.28);
  --text: #fff7f7;
  --muted: rgba(255, 247, 247, 0.68);
  --card: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.14);
  --shadow: rgba(0, 0, 0, 0.45);
  font-family: ui-rounded, "Avenir Next", "SF Pro Rounded", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(230, 5, 17, 0.35), transparent 30rem),
    radial-gradient(circle at 82% 4%, rgba(255, 255, 255, 0.12), transparent 22rem),
    linear-gradient(135deg, #050507 0%, #130407 48%, #000 100%);
  color: var(--text);
}

a { color: inherit; }

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 12px 34px var(--shadow);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
}

.nav a:hover { border-color: var(--stroke); color: var(--text); background: var(--card); }

.language-select {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 8px 12px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.76fr);
  gap: 34px;
  align-items: center;
  padding: 66px 0 46px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(230, 5, 17, 0.46);
  border-radius: 999px;
  background: rgba(230, 5, 17, 0.12);
  color: #ffd9dc;
  font-size: 0.9rem;
  font-weight: 800;
}

h1 {
  max-width: 780px;
  margin: 22px 0 18px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.1vw, 1.35rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
}

.button.primary { background: var(--red); border-color: var(--red); color: white; }
.button.secondary { background: rgba(255,255,255,0.08); color: white; }

.phone {
  position: relative;
  min-height: 560px;
  border-radius: 48px;
  padding: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,0.22), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 34px 90px rgba(0,0,0,0.48);
  overflow: hidden;
}

.screen {
  height: 100%;
  min-height: 528px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 24% 14%, rgba(230,5,17,0.48), transparent 16rem),
    linear-gradient(155deg, #121216, #09090c 58%, #000);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 24px 18px;
  overflow: hidden;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.app-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.gear {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.section-label {
  color: rgba(255,255,255,0.62);
  font-weight: 900;
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin: 12px 0;
}

.shelf {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 12px;
  overflow: hidden;
}

.poster {
  min-height: 138px;
  border-radius: 26px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0.72)),
    radial-gradient(circle at 70% 20%, rgba(230,5,17,0.55), transparent 7rem),
    rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.poster strong { font-size: 1.32rem; line-height: 1.05; }
.poster span { color: rgba(255,255,255,0.68); margin-top: 7px; }

.channel-list { margin-top: 24px; display: grid; gap: 10px; }
.channel-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
}
.fake-logo { width: 42px; height: 28px; border-radius: 8px; background: rgba(255,255,255,0.18); display: grid; place-items: center; font-weight: 900; color: #fff; }
.row-title { font-weight: 900; }
.row-sub { color: rgba(255,255,255,0.62); font-size: 0.82rem; }
.pill { color: #aaffbd; background: rgba(46, 213, 115, 0.14); border: 1px solid rgba(46, 213, 115, 0.35); border-radius: 999px; padding: 5px 8px; font-size: 0.7rem; font-weight: 900; }

section { padding: 42px 0; }
.section-head { max-width: 720px; margin-bottom: 22px; }
h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 0.95; letter-spacing: -0.06em; }
.section-head p, .support-card p, .feature-card p, .notice p { color: var(--muted); line-height: 1.65; margin: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card, .support-card, .notice {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}
.feature-card .icon { color: #ffb6bc; font-size: 1.7rem; margin-bottom: 18px; }
.feature-card h3, .support-card h3 { margin: 0 0 10px; font-size: 1.1rem; }

.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.notice { border-color: rgba(230,5,17,0.38); background: rgba(230,5,17,0.10); }

.legal-page {
  max-width: 960px;
}

.legal-card {
  margin: 64px 0 42px;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid var(--stroke);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 0%, rgba(230, 5, 17, 0.22), transparent 20rem),
    rgba(255, 255, 255, 0.075);
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.32);
}

.legal-card h1 {
  max-width: none;
  margin-bottom: 16px;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}

.legal-card p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-updated {
  color: rgba(255, 247, 247, 0.52);
  font-weight: 800;
  margin: 0 0 26px;
}

footer { padding: 32px 0 48px; color: rgba(255,255,255,0.50); font-size: 0.92rem; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; }
  .phone { min-height: 520px; }
  .grid, .support-grid { grid-template-columns: 1fr; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .nav { justify-content: flex-start; }
  .legal-card { margin-top: 36px; border-radius: 28px; }
}
