* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --cyan: #06b6d4;
  --blue: #3b82f6;
  --teal: #14b8a6;
  --green: #10b981;
  --red: #dc2626;
  --ink: #111827;
  --muted: #4b5563;
  --soft: #f8fafc;
  --line: #e5e7eb;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.gradient-text {
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 12px;
  padding: 0.75rem 1.35rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  color: #0f766e;
  border: 2px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.82);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-name {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 10px 20px rgba(6, 182, 212, 0.22);
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #0891b2;
  background: #ecfeff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: #f1f5f9;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #0f172a;
  border-radius: 999px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ecfeff 0%, #eff6ff 48%, #f0fdfa 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.65;
  background-image: linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px), linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 22px 22px;
}

.hero-container {
  position: relative;
  z-index: 1;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 0;
}

.hero-slides {
  position: relative;
  min-height: 480px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  gap: 52px;
  align-items: center;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 6px 12px;
  color: #0e7490;
  background: rgba(207, 250, 254, 0.86);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.07em;
  text-shadow: 3px 3px 6px rgba(15, 23, 42, 0.12);
}

.hero-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 720px;
  margin: 0;
  color: #4b5563;
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
}

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

.hero-poster {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 28px;
  background: #e2e8f0;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.hero-poster:hover img {
  transform: scale(1.06);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.1) 52%, rgba(15, 23, 42, 0));
}

.hero-poster-info {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  color: #ffffff;
}

.hero-poster-info strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero-poster-info small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}

.hero-control,
.hero-dot {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
}

.hero-control {
  width: 44px;
  height: 44px;
  color: #0f766e;
  font-size: 1.8rem;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  background: #cbd5e1;
}

.hero-dot.is-active {
  width: 30px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.stat-section,
.content-section {
  padding: 70px 0;
}

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

.stat-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.soft-bg {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.movie-card.compact .poster-frame {
  aspect-ratio: 16 / 10;
}

.poster-link,
.poster-frame {
  display: block;
}

.poster-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
}

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

.movie-card:hover .poster-frame img {
  transform: scale(1.06);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.62), transparent 56%);
}

.poster-meta,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 5px 10px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
}

.poster-meta {
  right: 12px;
  bottom: 12px;
  background: rgba(14, 116, 144, 0.92);
}

.rank-badge {
  left: 12px;
  top: 12px;
  background: rgba(220, 38, 38, 0.92);
}

.movie-body {
  padding: 18px;
}

.movie-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: #0891b2;
  font-size: 0.82rem;
  font-weight: 800;
}

.movie-kicker span,
.movie-kicker a {
  border-radius: 999px;
  padding: 3px 8px;
  background: #ecfeff;
}

.movie-body h2 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  line-height: 1.32;
}

.movie-body h2 a:hover,
.ranking-content h2 a:hover,
.category-samples a:hover,
.site-footer a:hover {
  color: #0891b2;
}

.movie-summary {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-tags,
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.movie-tags span,
.footer-tags span {
  border-radius: 999px;
  padding: 4px 8px;
  color: #475569;
  background: #f1f5f9;
  font-size: 0.78rem;
}

.category-grid,
.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.category-card,
.category-overview-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.category-card h3,
.category-overview-card h2 {
  margin: 12px 0 10px;
  font-size: 1.45rem;
}

.category-card p,
.category-overview-card p {
  margin: 0;
  color: var(--muted);
}

.category-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-size: 1.3rem;
  font-weight: 900;
}

.category-samples {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.category-samples a {
  color: #475569;
  font-size: 0.95rem;
}

.split-section {
  display: grid;
  gap: 28px;
}

.ranking-mini,
.ranking-list {
  display: grid;
  gap: 16px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 82px 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.ranking-cover {
  overflow: hidden;
  border-radius: 16px;
  background: #e2e8f0;
  aspect-ratio: 1 / 1;
}

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

.ranking-index {
  color: #0e7490;
  font-size: 1.5rem;
  font-weight: 900;
}

.ranking-content h2 {
  margin: 0 0 5px;
  font-size: 1.12rem;
}

.ranking-content p {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ranking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 0.84rem;
}

.ranking-meta span {
  border-radius: 999px;
  padding: 3px 8px;
  background: #f1f5f9;
}

.ranking-action {
  border-radius: 999px;
  padding: 8px 14px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  font-weight: 800;
  white-space: nowrap;
}

.section-more {
  margin-top: 28px;
  text-align: center;
}

.page-hero {
  padding: 76px 0;
  background: linear-gradient(135deg, #ecfeff, #eff6ff 48%, #f0fdfa);
  border-bottom: 1px solid #dbeafe;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.5rem, 6vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.category-pill,
.filter-chip {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 8px 13px;
  color: #475569;
  background: #ffffff;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.category-pill:hover,
.category-pill.active,
.filter-chip:hover,
.filter-chip.active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.catalog-toolbar {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.sticky-toolbar {
  position: sticky;
  top: 88px;
  z-index: 10;
}

.search-box {
  display: grid;
  gap: 8px;
  color: #334155;
  font-weight: 800;
}

.search-box input {
  width: 100%;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 13px 16px;
  color: var(--ink);
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.filter-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-grid {
  align-items: stretch;
}

.no-results {
  margin-top: 24px;
  border: 1px solid #bae6fd;
  border-radius: 20px;
  padding: 22px;
  color: #0e7490;
  background: #ecfeff;
  text-align: center;
  font-weight: 800;
}

.detail-top {
  padding: 34px 0 70px;
  background: radial-gradient(circle at top left, #ecfeff, transparent 32%), linear-gradient(135deg, #0f172a, #172554 55%, #0f766e);
  color: #ffffff;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.65fr);
  gap: 28px;
  align-items: start;
}

.player-panel,
.detail-card,
.detail-article,
.side-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.player-panel {
  padding: 16px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.12));
  transition: opacity 0.25s ease;
}

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

.play-circle {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 18px 36px rgba(6, 182, 212, 0.32);
  font-size: 1.7rem;
  padding-left: 4px;
}

.detail-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  color: #ffffff;
}

.detail-card img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: #1e293b;
}

.detail-card h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.detail-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.detail-meta,
.detail-tags {
  margin-top: 14px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-meta span {
  border-radius: 999px;
  padding: 5px 10px;
  color: #cffafe;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  font-weight: 800;
}

.detail-content-section {
  background: #ffffff;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
}

.detail-article,
.side-panel {
  border-color: var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.detail-article {
  padding: 28px;
}

.detail-article h2,
.side-panel h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

.detail-article p {
  margin: 0 0 24px;
  color: #334155;
  font-size: 1.05rem;
}

.detail-article p:last-child {
  margin-bottom: 0;
}

.side-panel {
  padding: 24px;
  height: fit-content;
}

.side-panel dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.side-panel div {
  display: grid;
  gap: 3px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
}

.side-panel dt {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 800;
}

.side-panel dd {
  margin: 0;
  color: #0f172a;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 28px;
  padding: 54px 0 36px;
}

.footer-brand {
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

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

.site-footer a {
  color: #475569;
}

.footer-bottom {
  border-top: 1px solid #cbd5e1;
  padding: 20px 0 30px;
  color: #64748b;
  font-size: 0.92rem;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-slide,
  .detail-layout,
  .detail-content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-slides {
    min-height: 830px;
  }

  .hero-poster,
  .hero-poster img {
    min-height: 360px;
  }

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

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

  .ranking-action {
    grid-column: 3;
    width: fit-content;
  }
}

@media (max-width: 760px) {
  .container-custom {
    width: min(100% - 24px, 1280px);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 82px;
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    padding: 12px 14px;
  }

  .hero-container {
    min-height: auto;
    padding: 46px 0;
  }

  .hero-slides {
    min-height: 770px;
  }

  .hero-slide {
    gap: 30px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-poster,
  .hero-poster img {
    min-height: 330px;
  }

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

  .stat-section,
  .content-section {
    padding: 48px 0;
  }

  .sticky-toolbar {
    position: static;
  }

  .ranking-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }

  .ranking-index {
    grid-row: 1;
    grid-column: 1;
    position: absolute;
    margin: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(14, 116, 144, 0.9);
    font-size: 0.9rem;
  }

  .ranking-cover {
    grid-row: span 2;
  }

  .ranking-action {
    grid-column: 2;
  }

  .detail-card {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .detail-card h1 {
    font-size: 1.7rem;
  }

  .detail-card img {
    height: 195px;
  }

  .footer-grid {
    padding-top: 42px;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1.3rem;
  }

  .hero-slides {
    min-height: 790px;
  }

  .hero-copy h1 {
    font-size: 2.7rem;
  }

  .hero-copy h2 {
    font-size: 1.8rem;
  }

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

  .detail-card img {
    height: auto;
  }
}
