:root {
  color-scheme: dark;
  --accent: #fd4c61;
  --accent-soft: rgba(253, 76, 97, 0.16);
  --background: #08090b;
  --surface: #15161a;
  --surface-raised: #1c1d22;
  --text: #f5f5f7;
  --secondary: #a1a1aa;
  --line: rgba(255, 255, 255, 0.11);
  --page: min(1120px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  line-height: 1.5;
}

button, a { font: inherit; }
a { color: inherit; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 11, 0.82);
  backdrop-filter: blur(24px) saturate(1.35);
}

.nav-inner {
  width: var(--page);
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links, .language-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-links a, .language-switcher button, .language-select {
  min-height: 36px;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  color: var(--secondary);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}

.nav-links a:hover, .language-switcher button:hover, .language-switcher button.selected, .language-select:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.language-select {
  min-width: 118px;
  border: 1px solid var(--line);
  appearance: auto;
}

.hero {
  position: relative;
  min-height: min(820px, 92vh);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #101115;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: var(--page);
  margin: 0 auto;
  padding: 88px 0 72px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(64px, 11vw, 144px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 28px 0 0;
  color: #d7d7dc;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.25;
}

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

.primary-link, .secondary-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 650;
}

.primary-link { background: var(--accent); color: white; }
.secondary-link { background: rgba(255, 255, 255, 0.1); }

.hero-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-phone {
  position: absolute;
  right: max(4vw, calc((100vw - 1120px) / 2));
  bottom: 20px;
  width: min(350px, 31vw);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 42px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 120px rgba(0,0,0,.55);
  transform: rotate(2deg);
}

.hero-phone > img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-screen {
  height: 100%;
  border-radius: 48px;
  overflow: hidden;
  background: #33252d;
  padding: 42px 26px 28px;
}

.status-line { display: flex; justify-content: space-between; font-size: 12px; font-weight: 650; }
.grabber { width: 62px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.55); margin: 16px auto 32px; }

.album-art {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(145deg, #fd4c61, #5d284a 52%, #152f4c);
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
}

.album-mark { text-align: center; }
.album-frequency { font-size: clamp(42px, 5vw, 74px); font-weight: 200; line-height: .95; }
.album-station { margin-top: 18px; font-size: 19px; font-weight: 700; }
.album-country { margin-top: 30px; color: rgba(255,255,255,.65); font-size: 13px; }

.track-block { margin-top: 32px; }
.track-title { font-size: 24px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-artist { color: rgba(255,255,255,.65); font-size: 18px; }
.track-station { color: rgba(255,255,255,.42); font-size: 14px; margin-top: 4px; }
.live-line { display: flex; align-items: center; gap: 12px; margin: 32px 0; color: rgba(255,255,255,.82); font-size: 12px; font-weight: 700; }
.live-line::before, .live-line::after { content: ""; height: 4px; flex: 1; border-radius: 2px; background: rgba(255,255,255,.28); }
.transport { display: flex; justify-content: space-around; align-items: center; font-size: 34px; }
.play-symbol { font-size: 54px; }

.section {
  width: var(--page);
  margin: 0 auto;
  padding: 88px 0;
}

.section-kicker {
  color: var(--accent);
  font-size: 14px;
  font-weight: 750;
  text-transform: uppercase;
}

.section h2 {
  max-width: 840px;
  margin: 10px 0 18px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.03;
  letter-spacing: 0;
}

.section-lead {
  max-width: 720px;
  margin: 0;
  color: var(--secondary);
  font-size: 20px;
}

.showcase-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.screen-card {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.screen {
  aspect-ratio: .47;
  padding: 24px 20px;
  overflow: hidden;
  background: #17181d;
}

.real-showcase { grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; }
.screenshot-card img { display: block; width: 100%; height: auto; background: #000; }
.screen-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.screen-title { font-size: 27px; font-weight: 750; }
.round-action { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #26272c; }
.mini-album { width: 100%; aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(140deg, #ff6b75, #633750 56%, #223149); }
.mini-frequency { font-size: 50px; font-weight: 200; }
.mini-station { font-weight: 700; margin-top: 10px; }
.screen-track { margin-top: 22px; }
.screen-track strong { display: block; font-size: 20px; }
.screen-track span { color: var(--secondary); }
.screen-controls { margin-top: 22px; display: flex; align-items: center; justify-content: space-around; font-size: 28px; }
.screen-controls .main { font-size: 44px; }
.fake-slider { height: 4px; margin-top: 24px; border-radius: 2px; background: linear-gradient(90deg, white 38%, rgba(255,255,255,.25) 38%); }

.tuner-screen { padding-top: 44px; }
.band-picker { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 8px; background: #27282e; }
.band-picker span { padding: 8px; text-align: center; color: var(--secondary); }
.band-picker .active { border-radius: 6px; color: var(--text); background: #595a62; }
.tuner-number { margin: 30px 0 18px; text-align: center; font-size: 58px; font-weight: 200; }
.tuner-number small { font-size: 16px; color: var(--secondary); }
.ruler { position: relative; height: 72px; margin-inline: -20px; background: repeating-linear-gradient(90deg, transparent 0 12px, rgba(255,255,255,.22) 12px 13px); }
.ruler::after { content: ""; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 2px; background: var(--accent); }
.station-list { margin-top: 22px; border-radius: 8px; background: #222329; overflow: hidden; }
.station-row { padding: 15px; border-bottom: 1px solid var(--line); }
.station-row:last-child { border-bottom: 0; }
.station-row strong { display: block; font-size: 15px; }
.station-row span { color: var(--secondary); font-size: 13px; }

.lyrics-screen { display: flex; flex-direction: column; }
.lyrics-meta { display: flex; align-items: center; gap: 10px; }
.lyrics-thumb { width: 44px; height: 44px; border-radius: 6px; background: linear-gradient(145deg, #fd4c61, #51394b); }
.lyrics-meta strong, .lyrics-meta span { display: block; }
.lyrics-meta span { color: var(--secondary); font-size: 13px; }
.lyrics-lines { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.lyrics-lines p { margin: 0; color: rgba(255,255,255,.25); font-size: 20px; font-weight: 650; }
.lyrics-lines .current { color: white; font-size: 28px; line-height: 1.15; }
.page-dots { text-align: center; color: rgba(255,255,255,.4); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.feature {
  min-height: 180px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature h3 { margin: 0 0 8px; font-size: 22px; }
.feature p { margin: 0; color: var(--secondary); }

.notice { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; color: var(--secondary); }
.notice a { color: var(--text); }

.legal-hero { padding: 84px 0 34px; }
.legal-hero h1 { margin: 0; font-size: clamp(44px, 7vw, 76px); line-height: 1; }
.legal-hero p { max-width: 720px; color: var(--secondary); font-size: 20px; }
.legal-stack { display: grid; gap: 12px; padding-bottom: 88px; }
.legal-card { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.legal-card h2 { margin: 0 0 8px; font-size: 22px; }
.legal-card p { margin: 0; color: var(--secondary); }
.legal-card ul { margin: 8px 0 0; padding-left: 22px; color: var(--secondary); }
.legal-card li + li { margin-top: 7px; }
.legal-card a { color: var(--accent); }

.footer { border-top: 1px solid var(--line); }
.footer-inner { width: var(--page); margin: 0 auto; padding: 28px 0 40px; color: var(--secondary); display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.footer a { color: var(--text); text-decoration: none; }
.language-panel[hidden] { display: none; }

@media (max-width: 820px) {
  .nav-inner { min-height: 58px; align-items: flex-start; padding: 10px 0; }
  .nav-actions { align-items: flex-end; flex-direction: column-reverse; gap: 4px; }
  .nav-links a { padding: 6px 7px; font-size: 13px; }
  .language-switcher button, .language-select { min-height: 32px; padding: 4px 8px; font-size: 13px; }
  .hero { min-height: 0; }
  .hero-copy { padding: 56px 0 20px; }
  .hero-copy h1 { font-size: clamp(60px, 20vw, 94px); }
  .hero-copy p { max-width: 92%; font-size: 20px; }
  .hero-stage { position: relative; height: 660px; }
  .hero-phone {
    width: min(290px, calc(100vw - 64px));
    right: auto;
    left: 50%;
    top: 24px;
    bottom: auto;
    opacity: .88;
    transform: translateX(-50%);
  }
  .showcase-grid { grid-template-columns: 1fr; }
  .screen-card { width: min(100%, 320px); margin-inline: auto; }
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  :root { --page: calc(100% - 28px); }
  .brand span { display: none; }
  .nav-actions { gap: 2px; }
  .nav-links { gap: 0; }
  .nav-links a { padding-inline: 6px; }
  .section { padding: 68px 0; }
  .legal-hero { padding-top: 64px; }
}

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