:root {
  --bg: #090909;
  --bg-soft: #121212;
  --surface: #1a1a1a;
  --text: #f5f5f5;
  --muted: #a2a2a2;
  --accent: #d7292f;
  --accent-hover: #b81f25;
  --radius: 14px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #191919, var(--bg));
  color: var(--text);
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  scroll-behavior: smooth;
}

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

.container {
  width: min(var(--container), 92vw);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: linear-gradient(180deg, #101010, #080808);
}

.section-full {
  min-height: 100vh;
}

.section-head {
  text-align: center;
  margin-bottom: 38px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 0;
}

.section-head p {
  color: var(--muted);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid #2a2a2a;
  background: rgba(9, 9, 9, 0.95);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  overflow: hidden;
}

.brand-icon.has-image {
  border-radius: 9px;
  background: transparent;
  border: 1px solid #3a3a3a;
}

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

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a:not(.btn) {
  color: #c2c2c2;
}

.nav-links a:not(.btn):hover {
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  background-image: url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?w=1920");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.94));
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-top: 100px;
  padding-bottom: 80px;
  text-align: left;
}

.hero-text {
  flex: 1 1 0;
  min-width: 0;
}

.hero-text .stats-grid {
  justify-content: flex-start;
}

.hero-text .hero-actions {
  justify-content: flex-start;
}

.hero-visual {
  flex: 0 0 auto;
  width: 230px;
  align-self: center;
}

.hero-phone-mockup {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.75), 0 0 0 2px rgba(255, 255, 255, 0.08);
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 9vw, 6rem);
}

.hero-subtitle {
  margin-top: 14px;
  font-size: clamp(1.25rem, 3vw, 2.2rem);
  color: #d7d7d7;
}

.hero-description {
  margin: 14px auto 30px;
  max-width: 760px;
  color: var(--muted);
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-bottom: 30px;
}

.stats-grid article {
  min-width: 120px;
}

.stats-grid strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--accent);
}

.stats-grid span {
  color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 20px;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  border: 1px solid #3b3b3b;
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-large {
  padding: 14px 30px;
  font-size: 1.04rem;
}

.carousel-section {
  padding-top: 40px;
  padding-bottom: 24px;
}

.carousel-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 14px;
}

.carousel,
.screenshot-wrap {
  position: relative;
}

.carousel-track,
.screenshot-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 6px 0;
}

.screenshot-track {
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.screenshot-track.is-dragging {
  cursor: grabbing;
}

.carousel-track::-webkit-scrollbar,
.screenshot-track::-webkit-scrollbar {
  display: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  cursor: pointer;
}

.carousel-btn.left {
  left: 0;
}

.carousel-btn.right {
  right: 0;
}

.movie-card {
  position: relative;
  min-width: 176px;
  width: 176px;
  border-radius: 12px;
  overflow: hidden;
  background: #1f1f1f;
}

.movie-card img {
  width: 100%;
  height: 264px;
  object-fit: cover;
  display: block;
}

.movie-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 9px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.92));
}

.movie-info h3 {
  margin: 0;
  font-size: 0.88rem;
}

.movie-score {
  margin-top: 6px;
  color: #f8d155;
  font-size: 0.82rem;
}

.skeleton {
  min-width: 176px;
  height: 264px;
  border-radius: 12px;
  background: linear-gradient(90deg, #222, #323232, #222);
  background-size: 200% 100%;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  from {
    background-position: 180% 0;
  }
  to {
    background-position: -20% 0;
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2a2a2a;
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card h3 {
  margin: 0 0 8px;
}

.feature-icon {
  font-size: 1.8rem;
  line-height: 1;
  color: #f04a4f;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.screenshot-phone {
  min-width: 228px;
  width: 228px;
  border-radius: 34px;
  border: 7px solid #2d2d2d;
  background: #111;
  padding: 10px;
  flex-shrink: 0;
}

.screenshot-phone img {
  width: 100%;
  border-radius: 24px;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  display: block;
  background: #0a0a0a;
}

.screenshot-phone p {
  text-align: center;
  color: var(--muted);
  margin-top: 8px;
}

.player-showcase {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.player-container {
  text-align: center;
  max-width: 100%;
}

.player-container h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text);
}

.player-frame {
  display: inline-block;
  border-radius: 34px;
  border: 7px solid #2d2d2d;
  background: #111;
  padding: 10px;
  max-width: 90vw;
}

.player-frame img {
  width: 100%;
  max-width: 640px;
  height: auto;
  border-radius: 24px;
  display: block;
}

.player-container > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.download-card {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid #432626;
  border-radius: 18px;
  padding: 34px 22px;
  background: linear-gradient(150deg, rgba(215, 41, 47, 0.15), rgba(0, 0, 0, 0.5));
}

.download-card h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.download-card p {
  color: #d6d6d6;
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.download-meta div {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  padding: 12px;
}

.download-meta small {
  display: block;
  color: #a8a8a8;
}

.download-meta strong {
  display: block;
  margin-top: 4px;
  font-size: 1.15rem;
}

.download-note {
  color: #959595;
  font-size: 0.9rem;
}

.faq-wrap {
  max-width: 920px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 16px;
  cursor: pointer;
}

.faq-answer {
  padding: 0 16px 16px;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.site-footer {
  border-top: 1px solid #242424;
  padding-top: 42px;
  background: #070707;
}

.footer-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
}

.footer-copy {
  padding: 24px 0 30px;
  text-align: center;
  color: #7d7d7d;
}

.tmdb-warning {
  position: fixed;
  right: 16px;
  bottom: 16px;
  max-width: 340px;
  background: #3e340c;
  color: #f4dc7f;
  border: 1px solid #7b6921;
  padding: 14px;
  border-radius: 10px;
  z-index: 150;
}

.hidden {
  display: none;
}

@media (max-width: 890px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    background: #0d0d0d;
    border-bottom: 1px solid #272727;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 4vw 18px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .btn {
    width: 100%;
  }

  .carousel-btn {
    display: none;
  }
}

@media (max-width: 640px) {
  .section-full {
    min-height: auto;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 0;
    padding-top: 92px;
    padding-bottom: 26px;
  }

  .hero-visual {
    display: none;
  }

  .hero-text .stats-grid {
    justify-content: center;
  }

  .hero-text .hero-actions {
    justify-content: center;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 2.8rem);
  }

  .hero-subtitle {
    margin-top: 8px;
    font-size: 1.15rem;
  }

  .hero-description {
    margin: 10px auto 16px;
    max-width: 340px;
    font-size: 0.94rem;
    line-height: 1.35;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
    width: 100%;
  }

  .stats-grid article {
    min-width: 0;
  }

  .stats-grid strong {
    font-size: clamp(1.35rem, 7vw, 2rem);
    line-height: 1;
  }

  .stats-grid span {
    font-size: 0.88rem;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-actions .btn-large {
    padding: 10px 20px;
    font-size: 0.98rem;
  }

  .carousel {
    overflow: hidden;
  }

  .carousel-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding: 0;
  }

  .carousel-track > *:nth-child(n + 4) {
    display: none;
  }

  .movie-card,
  .skeleton {
    min-width: 0;
    width: 100%;
    border-radius: 9px;
  }

  .movie-card img,
  .skeleton {
    height: 156px;
  }

  .movie-info {
    padding: 6px;
  }

  .movie-info h3 {
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .movie-score {
    margin-top: 3px;
    font-size: 0.68rem;
  }

  .carousel-section h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .screenshot-wrap {
    overflow: hidden;
  }

  .screenshot-track {
    gap: 12px;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .screenshot-track::-webkit-scrollbar {
    display: none;
  }

  .screenshot-phone {
    min-width: calc((100% - 12px) / 2);
    width: calc((100% - 12px) / 2);
    border: 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
  }

  .screenshot-phone img {
    border-radius: 10px;
    height: auto;
    max-height: none;
    object-fit: cover;
  }

  .screenshot-phone p {
    font-size: 0.72rem;
    margin-top: 2px;
  }

  .footer-grid {
    text-align: center;
    gap: 18px;
  }

  .footer-grid section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-grid ul {
    justify-items: center;
  }
}
