:root {
  color-scheme: light;
  --ink: #202124;
  --muted: #667085;
  --line: #e5e7eb;
  --paper: #fbfcff;
  --panel: #ffffff;
  --accent: #2f6fed;
  --accent-dark: #1f4fb2;
  --blue: #2f6fed;
  --green: #16a085;
  --sun: #f4b942;
  --shadow: 0 18px 42px rgba(32, 33, 36, 0.1);
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    "Times New Roman", serif;
  --font-ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 42%, #fbfcff 100%);
  color: var(--ink);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.main-nav,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: white;
  border-radius: 10px;
}

.main-nav {
  gap: 22px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--accent);
}

.subscribe-button,
.primary-link,
.search-box button {
  border: 0;
  background: var(--accent);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.subscribe-button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
}

.muted-action {
  background: #eef5ff;
  color: #315b9d;
}

.hero {
  display: grid;
  place-items: center;
  min-height: clamp(430px, 60vh, 600px);
  padding: 58px 5vw 36px;
  text-align: center;
}

.hero-copy {
  width: min(760px, 100%);
}

.section-kicker,
.tag {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
  color: #1a56db;
}

.hero-copy p:not(.section-kicker),
.lead-story p,
.news-card p,
.newsletter p,
.site-footer {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy p:not(.section-kicker) {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
  font-size: 1.08rem;
}

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

.search-box {
  display: grid;
  gap: 12px;
  max-width: 680px;
  margin: 32px auto 0;
  font-family: var(--font-ui);
  text-align: left;
}

.search-box label {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-box div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  background: var(--panel);
  border: 1px solid #d9e2f2;
  border-radius: 999px;
  box-shadow: 0 18px 46px rgba(47, 111, 237, 0.14);
  overflow: hidden;
}

.search-box input,
.search-box select,
.search-box button {
  min-height: 60px;
  border: 0;
  font: inherit;
}

.search-box input {
  min-width: 0;
  padding: 0 22px;
  background: transparent;
}

.search-box select {
  padding: 0 18px;
  background: #f8fbff;
  border-left: 1px solid #d9e2f2;
  color: #315b9d;
  font-weight: 800;
}

.search-box button {
  padding: 0 26px;
  cursor: pointer;
}

.search-counter {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.search-suggestions a {
  padding: 8px 12px;
  background: #eef5ff;
  border: 1px solid #dbe9ff;
  color: #315b9d;
  font-size: 0.92rem;
  font-weight: 700;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  font-weight: 800;
}

.secondary-link {
  border: 1px solid var(--line);
  background: var(--panel);
}

.lead-story {
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.lead-story img {
  aspect-ratio: 16 / 9;
  height: auto;
}

.lead-story-content {
  padding: 24px;
}

.lead-story h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.movie-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
}

.movie-meta div {
  padding: 14px;
  background: #f1eee7;
}

.movie-meta dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.movie-meta dd {
  margin: 0;
  font-weight: 800;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 38px;
  padding: 42px 5vw 56px;
}

.section-heading h2 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 2rem;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.news-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(32, 33, 36, 0.08);
}

.news-card-image {
  display: block;
  overflow: hidden;
}

.news-card img {
  aspect-ratio: 16 / 9;
  height: auto;
}

.news-card > div {
  padding: 18px;
}

.news-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.15;
}

.stars {
  color: var(--sun);
  font-size: 1.05rem;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(32, 33, 36, 0.08);
}

.mini-rating,
.rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-rating {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.mini-rating strong,
.rating-row strong {
  color: var(--ink);
}

.review-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.review-links a {
  padding: 7px 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 800;
}

.sidebar {
  align-self: start;
}

.popular-list {
  margin: 0 0 28px;
  padding: 0;
  counter-reset: story;
  list-style: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(32, 33, 36, 0.08);
  overflow: hidden;
}

.popular-list li {
  counter-increment: story;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 750;
}

.popular-list li:last-child {
  border-bottom: 0;
}

.popular-list li::before {
  content: counter(story);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}

.popular-list a {
  display: grid;
  gap: 4px;
}

.popular-list a span,
.popular-list small,
.latest-compact a span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.popular-list small {
  grid-column: 2;
}

.newsletter {
  border-radius: 18px;
  padding: 22px;
  background: #eefaf6;
  border: 1px solid #cbeee2;
  color: var(--ink);
}

.newsletter h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.newsletter p {
  color: #49625a;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 10px 0;
  border-top: 1px solid #cbeee2;
  font-weight: 800;
}

.latest-compact a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.home-containers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0 5vw 52px;
}

.home-container {
  display: grid;
  gap: 10px;
  min-height: 188px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(32, 33, 36, 0.08);
}

.home-container:hover {
  border-color: #9ec5ff;
  box-shadow: 0 14px 34px rgba(47, 111, 237, 0.12);
}

.home-container span {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-container strong {
  font-size: 1.28rem;
}

.home-container p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 5vw;
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  color: var(--accent-dark);
  font-weight: 800;
}

.platform-preview,
.list-placeholder,
.platform-page {
  padding: 0 5vw 56px;
}

.platform-preview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.platform-preview-grid a,
.platform-directory-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(32, 33, 36, 0.08);
}

.platform-preview-grid a {
  display: grid;
  min-height: 86px;
  place-items: center;
  padding: 16px;
  border-radius: 18px;
  color: var(--accent-dark);
  font-weight: 900;
  text-align: center;
}

.list-placeholder {
  padding-top: 6px;
}

.list-placeholder > div {
  max-width: 760px;
  padding: 24px;
  background: #f8fbff;
  border: 1px dashed #b9d4ff;
  border-radius: 18px;
}

.list-placeholder h2,
.platform-hero h1 {
  margin: 0;
  font-family: var(--font-display);
}

.list-placeholder p,
.platform-hero p,
.platform-directory-card p {
  color: var(--muted);
  line-height: 1.65;
}

.platform-hero {
  max-width: 820px;
  padding: 52px 0 30px;
}

.platform-hero h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
}

.platform-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.platform-directory-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-radius: 18px;
}

.platform-directory-card h2 {
  margin: 10px 0 6px;
  font-size: 1.5rem;
}

.platform-directory-card a {
  flex: 0 0 auto;
  padding: 10px 14px;
  background: #eef5ff;
  border: 1px solid #dbe9ff;
  border-radius: 999px;
  color: #315b9d;
  font-weight: 900;
}

.platform-logo {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--accent);
  border-radius: 12px;
  color: white;
  font-weight: 900;
}

.category-page {
  padding-bottom: 64px;
}

.category-hero {
  width: min(880px, 100%);
  padding: 52px 5vw 28px;
}

.category-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.92;
  color: var(--ink);
}

.director-hero h1 {
  font-size: clamp(2.1rem, 5.6vw, 4.62rem);
}

.category-hero p:not(.section-kicker) {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 5vw;
}

.category-grid a {
  display: grid;
  gap: 8px;
  min-height: 168px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(32, 33, 36, 0.08);
}

.category-grid a:hover {
  border-color: #9ec5ff;
  box-shadow: 0 14px 34px rgba(47, 111, 237, 0.12);
}

.category-grid span {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.category-grid strong {
  font-size: 1.35rem;
}

.category-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.filter-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 5vw 24px;
}

.movie-archive-filters {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.filter-field {
  display: grid;
  gap: 8px;
}

.filter-field label {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.filter-field select {
  min-height: 46px;
  width: 100%;
  padding: 0 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 800;
}

.category-movie-grid {
  padding: 0 5vw 34px;
}

.category-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 800;
}

.category-card-meta span {
  padding: 6px 9px;
  background: #f6f8fc;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.empty-filter {
  margin: 0 5vw 34px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
}

.legal-page {
  width: min(860px, 100%);
  padding: 52px 5vw 64px;
}

.legal-page h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.98;
}

.legal-page h2 {
  margin: 28px 0 8px;
  font-size: 1.35rem;
}

.legal-page p {
  color: var(--muted);
  line-height: 1.7;
}

.movie-page {
  padding-bottom: 56px;
}

.movie-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 4vw, 56px);
  align-items: start;
  padding: 52px 5vw 38px;
}

.movie-hero > div {
  display: grid;
  align-content: start;
  gap: clamp(20px, 2.2vw, 32px);
  padding-left: clamp(6px, 1vw, 16px);
}

.movie-hero img {
  aspect-ratio: 4 / 5;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.movie-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.96rem, 4.9vw, 4.34rem);
  line-height: 0.95;
  color: var(--ink);
}

.movie-hero .section-kicker,
.movie-hero .movie-meta {
  margin: 0;
}

.movie-hero p:not(.section-kicker) {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.rating-row {
  width: fit-content;
  margin: 0;
  padding: 10px 14px;
  background: #fff8e7;
  border: 1px solid #ffe2a8;
  border-radius: 999px;
  color: #805d16;
  font-weight: 800;
}

.rating-row .stars {
  font-size: 1.2rem;
}

.hero-platforms {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 16px;
  background: #eef5ff;
  border: 1px solid #bfd7ff;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(47, 111, 237, 0.12);
}

.hero-platforms strong {
  flex-basis: 100%;
  color: var(--ink);
  font-size: 1.02rem;
}

.hero-platforms a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: white;
  font-weight: 900;
}

.hero-platforms a:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.platform-badge {
  display: inline-grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  padding: 0 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 900;
}

.hero-ficha {
  margin-top: 0;
  padding: 16px;
  background: #f8fbff;
  border: 1px solid #dbe9ff;
  border-radius: 16px;
}

.hero-ficha strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.9rem;
}

.hero-ficha p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.hero-ficha span {
  color: var(--ink);
  font-weight: 900;
}

.movie-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 5vw;
}

.detail-card {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(32, 33, 36, 0.08);
}

.detail-card h2 {
  margin: 0 0 12px;
  font-size: 1.55rem;
}

.detail-card p {
  color: var(--muted);
  line-height: 1.65;
}

.detail-card a {
  color: var(--accent-dark);
  font-weight: 800;
}

.faq-card h3 {
  margin: 18px 0 6px;
  font-size: 1rem;
}

.faq-card h3:first-of-type {
  margin-top: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.related-grid a {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 14px;
  background: #f8fbff;
  border: 1px solid #dbe9ff;
  border-radius: 14px;
  color: var(--ink);
}

.related-grid a:hover {
  border-color: #9ec5ff;
  box-shadow: 0 10px 24px rgba(47, 111, 237, 0.1);
}

.related-grid span {
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.related-grid strong {
  line-height: 1.15;
}

.platform-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 8px 0 0;
  padding: 8px 12px;
  background: #eef5ff;
  border: 1px solid #dbe9ff;
  border-radius: 999px;
  color: #315b9d;
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
  }

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

  .movie-grid,
  .movie-hero,
  .movie-detail-grid,
  .related-grid,
  .category-grid,
  .home-containers,
  .platform-preview-grid,
  .platform-directory {
    grid-template-columns: 1fr;
  }

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

  .platform-directory-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 36px;
  }

  .content-grid {
    padding-top: 34px;
  }

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

  .movie-hero > div {
    padding-left: 0;
  }
}

@media (max-width: 620px) {
  .subscribe-button {
    display: none;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .news-card img {
    aspect-ratio: 16 / 10;
  }

  .search-box div {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 22px;
  }

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

  .search-box select {
    border-top: 1px solid #d9e2f2;
    border-left: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}
