* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #1f2937;
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 18%, #f9fafb 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

img,
video {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.nav-container {
  width: min(1280px, calc(100% - 32px));
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-mark {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.24);
  transition: transform 0.25s ease;
}

.site-logo:hover .logo-mark {
  transform: scale(1.08);
}

.logo-copy {
  display: grid;
  gap: 1px;
}

.logo-title {
  color: #1f2937;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
}

.logo-subtitle {
  color: #6b7280;
  font-size: 12px;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  color: #374151;
  font-weight: 700;
}

.desktop-nav > a,
.nav-menu > a {
  transition: color 0.2s ease;
}

.desktop-nav > a:hover,
.nav-menu:hover > a {
  color: #d97706;
}

.nav-menu {
  position: relative;
  padding: 28px 0;
}

.nav-dropdown {
  position: absolute;
  top: 72px;
  left: -20px;
  width: 220px;
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-menu:hover .nav-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  color: #4b5563;
}

.nav-dropdown a:hover {
  color: #d97706;
  background: #fffbeb;
}

.nav-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 300px;
}

.nav-search input,
.mobile-search input,
.search-hero-form input,
.catalog-search-box input,
.catalog-selects select {
  width: 100%;
  border: 1px solid #d1d5db;
  outline: none;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input {
  padding: 11px 72px 11px 18px;
}

.nav-search input:focus,
.mobile-search input:focus,
.search-hero-form input:focus,
.catalog-search-box input:focus,
.catalog-selects select:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

.nav-search button,
.mobile-search button,
.search-hero-form button {
  border: 0;
  color: #ffffff;
  background: #f59e0b;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-search button {
  position: absolute;
  right: 4px;
  padding: 8px 14px;
}

.nav-search button:hover,
.mobile-search button:hover,
.search-hero-form button:hover {
  background: #d97706;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #374151;
  font-size: 30px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  padding: 12px 16px 20px;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}

.mobile-panel.is-open {
  display: grid;
  gap: 10px;
}

.mobile-panel a {
  padding: 10px 0;
  color: #374151;
  font-weight: 700;
  border-bottom: 1px solid #f3f4f6;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.mobile-search input {
  padding: 11px 16px;
}

.mobile-search button {
  padding: 10px 16px;
}

.hero-carousel {
  position: relative;
  height: 600px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #b45309, #f59e0b, #f97316);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.28) 0 2px, transparent 2px), radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.2) 0 2px, transparent 2px);
  background-size: 54px 54px, 72px 72px;
}

.hero-carousel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(to top, #fffbeb, rgba(255, 251, 235, 0));
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.75s ease, transform 1.1s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 54px;
}

.hero-copy {
  max-width: 760px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.18));
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #92400e;
  background: #fef3c7;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.page-hero .eyebrow,
.detail-copy .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.hero-copy h2 {
  margin: 0 0 18px;
  color: #fef3c7;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.12;
  font-weight: 900;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 24px;
  color: #fff7ed;
  font-size: 18px;
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  padding: 7px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.tag-row span {
  padding: 5px 10px;
  color: #92400e;
  background: #fffbeb;
}

.tag-row-light span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
  color: #d97706;
  background: #ffffff;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
}

.primary-btn:hover {
  transform: translateY(-2px) scale(1.02);
  color: #b45309;
  background: #fffbeb;
}

.ghost-btn {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.46);
  background: rgba(180, 83, 9, 0.28);
  backdrop-filter: blur(6px);
}

.ghost-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  height: 440px;
  border-radius: 30px;
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.36);
  transform: rotate(2deg);
  transition: transform 0.28s ease;
}

.hero-poster:hover {
  transform: rotate(0deg) translateY(-6px);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  color: #ffffff;
  background: #f59e0b;
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.42);
  font-size: 28px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  font-size: 34px;
  cursor: pointer;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 5;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 34px;
  height: 8px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  color: transparent;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  width: 62px;
  background: #ffffff;
}

.stat-strip {
  position: relative;
  z-index: 2;
  margin-top: -34px;
}

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

.stat-card,
.movie-card,
.detail-article,
.detail-side,
.catalog-tools,
.category-card,
.category-showcase,
.ranking-row {
  border: 1px solid rgba(229, 231, 235, 0.82);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.stat-card {
  padding: 24px;
  border-radius: 24px;
  text-align: center;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.stat-card:hover,
.movie-card:hover,
.category-card:hover,
.ranking-row:hover,
.category-showcase:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.14);
}

.stat-card strong {
  display: block;
  color: #d97706;
  font-size: 28px;
  font-weight: 950;
}

.stat-card span {
  color: #6b7280;
  font-weight: 700;
}

.section-block {
  padding: 58px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  font-weight: 950;
}

.section-head a {
  flex: 0 0 auto;
  color: #d97706;
  font-weight: 900;
}

.compact-head {
  margin-bottom: 18px;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111827;
}

.movie-card-small .poster-link {
  aspect-ratio: 4 / 3;
}

.poster-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.1);
}

.poster-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
  transition: opacity 0.28s ease;
}

.movie-card:hover .poster-glow {
  opacity: 1;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  border-radius: 999px;
  color: #ffffff;
  background: #f59e0b;
  font-size: 22px;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.movie-card:hover .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.card-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: #f59e0b;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.movie-info {
  padding: 18px;
}

.movie-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
}

.movie-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.movie-info h3 {
  margin: 8px 0 7px;
  color: #1f2937;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
}

.movie-info h3 a:hover {
  color: #d97706;
}

.movie-info p {
  min-height: 46px;
  margin: 0 0 14px;
  color: #4b5563;
  font-size: 14px;
}

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

.category-card {
  min-height: 160px;
  padding: 24px;
  border-radius: 24px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-card span {
  display: block;
  margin-bottom: 10px;
  color: #1f2937;
  font-size: 24px;
  font-weight: 950;
}

.category-card em {
  color: #6b7280;
  font-style: normal;
}

.split-section {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 34px;
  align-items: start;
}

.ranking-list {
  display: grid;
  gap: 12px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 46px 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row img {
  width: 82px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}

.ranking-number {
  color: #d97706;
  font-size: 22px;
  font-weight: 950;
  text-align: center;
}

.ranking-copy {
  display: grid;
  min-width: 0;
}

.ranking-copy strong {
  overflow: hidden;
  color: #111827;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-copy em {
  overflow: hidden;
  color: #6b7280;
  font-size: 13px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-arrow {
  color: #d97706;
  font-weight: 900;
}

.page-hero {
  padding: 78px 0 82px;
  color: #ffffff;
  background: linear-gradient(135deg, #b45309, #f59e0b, #f97316);
}

.page-hero-small {
  padding: 46px 0 58px;
}

.page-hero h1 {
  max-width: 880px;
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: #fff7ed;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 24px;
}

.catalog-search-box {
  flex: 1 1 360px;
}

.catalog-search-box input {
  padding: 13px 18px;
}

.catalog-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.catalog-selects label {
  display: grid;
  gap: 6px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 900;
}

.catalog-selects select {
  min-width: 150px;
  padding: 12px 16px;
  border-radius: 16px;
}

.catalog-empty {
  display: none;
  padding: 42px;
  color: #6b7280;
  text-align: center;
  font-weight: 800;
}

.catalog-empty.is-visible {
  display: block;
}

.category-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.category-showcase {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 28px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-showcase:hover img {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.12));
}

.category-showcase-copy {
  position: absolute;
  inset: auto 22px 22px;
  color: #ffffff;
}

.category-showcase-copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
  font-weight: 950;
}

.category-showcase-copy em {
  color: #fef3c7;
  font-style: normal;
}

.rank-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ranking-page-layout {
  padding-top: 0;
}

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

.search-hero-form {
  display: flex;
  gap: 10px;
  max-width: 760px;
  margin-top: 28px;
}

.search-hero-form input {
  padding: 16px 20px;
  border-color: rgba(255, 255, 255, 0.6);
}

.search-hero-form button {
  min-width: 116px;
  padding: 0 22px;
  background: #1f2937;
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quick-tags button {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.92;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  padding: 44px 0 58px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 36px 86px rgba(0, 0, 0, 0.36);
}

.detail-poster img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.detail-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.detail-one-line {
  max-width: 820px;
  margin: 0 0 20px;
  color: #fff7ed;
  font-size: 20px;
}

.detail-meta {
  margin-bottom: 16px;
  color: #fef3c7;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.2);
}

.movie-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.18), rgba(2, 6, 23, 0.78));
  cursor: pointer;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.player-overlay.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.player-icon {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f59e0b;
  box-shadow: 0 18px 44px rgba(245, 158, 11, 0.42);
  font-size: 34px;
}

.player-title {
  max-width: min(800px, 82vw);
  overflow: hidden;
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-overlay em {
  color: #fef3c7;
  font-style: normal;
  font-weight: 900;
}

.detail-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.detail-article,
.detail-side {
  padding: 28px;
  border-radius: 24px;
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 14px;
  color: #1f2937;
  font-size: 26px;
  font-weight: 950;
}

.detail-article p {
  margin: 0 0 24px;
  color: #374151;
  font-size: 17px;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px 14px;
  margin: 0;
}

.detail-side dt {
  color: #6b7280;
  font-weight: 900;
}

.detail-side dd {
  margin: 0;
  color: #1f2937;
}

.detail-side a {
  color: #d97706;
  font-weight: 900;
}

.site-footer {
  margin-top: 40px;
  color: #d1d5db;
  background: #111827;
}

.footer-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr 0.75fr 1fr;
  gap: 34px;
  margin-bottom: 34px;
}

.footer-logo {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 950;
}

.footer-logo .logo-mark {
  width: 42px;
  height: 42px;
  font-size: 20px;
}

.site-footer p {
  margin: 0 0 14px;
  color: #9ca3af;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
}

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

.site-footer a:hover {
  color: #f59e0b;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-badges span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
  font-size: 12px;
  font-weight: 900;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #1f2937;
  color: #9ca3af;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .nav-search,
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-poster {
    display: none;
  }

  .split-section,
  .detail-main-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ranking-list-large {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .movie-grid,
  .rank-feature-grid,
  .category-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    max-width: 320px;
  }

  .catalog-tools {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container,
  .nav-container,
  .footer-inner {
    width: min(100% - 24px, 1280px);
  }

  .nav-container {
    height: 72px;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
  }

  .logo-title {
    font-size: 20px;
  }

  .logo-subtitle {
    display: none;
  }

  .hero-carousel {
    height: 620px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-arrow {
    display: none;
  }

  .movie-grid,
  .compact-grid,
  .category-grid,
  .category-showcase-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding: 40px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ranking-row {
    grid-template-columns: 38px 72px minmax(0, 1fr);
  }

  .ranking-arrow {
    display: none;
  }

  .search-hero-form {
    flex-direction: column;
  }

  .detail-hero-inner {
    padding: 28px 0 42px;
  }

  .detail-poster img {
    height: 360px;
  }

  .player-icon {
    width: 68px;
    height: 68px;
  }
}
