*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-base: #0f0f0f;
  --bg-surface: #181818;
  --bg-card: #1f1f1f;
  --bg-card-hover: #272727;

  --accent: #e8b400;
  --accent-dim: rgba(232, 180, 0, 0.15);
  --accent-glow: rgba(232, 180, 0, 0.35);

  --red: #e50914;
  --red-dim: rgba(229, 9, 20, 0.18);

  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #606060;

  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.15);

  --card-radius: 10px;
  --row-gap: 36px;

  --font-head: "Montserrat", sans-serif;
  --font-body: "Poppins", sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body > header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.card-img-loading {
  background: linear-gradient(90deg, #1a1a2e 25%, #25253a 50%, #1a1a2e 75%);
  background-size: 200% 100%;
  animation: zplqw 1.4s infinite;
}

.hero-bg-loading {
  background: linear-gradient(90deg, #111120 25%, #1e1e30 50%, #111120 75%);
  background-size: 200% 100%;
  animation: zplqw 1.6s infinite;
  min-height: 100%;
  width: 100%;
  display: block;
}

@keyframes zplqw {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.media-card .card-visual {
  background: #1a1a2e;
}

/* ═══════════════════════════════════════════════════
   HERO SECTION  (.hero-section)
═══════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: #000;
  margin-bottom: 30px;
}

.hero-slides-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s var(--ease-out);
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.04);
  animation: heroZoom 9s var(--ease-out) forwards;
  transition: opacity 0.4s;
}

.hero-bg-loading {
  opacity: 0;
}

/* ── Logo wrap on the right ── */
.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 20px;
  top: 30%;
  transform: translateY(-50%);
  width: 180px;
  padding-bottom: 8px;
}

.hero-logo-img {
  width: 180px;
  height: auto;  
  max-height: 120px;
  object-fit: contain;
  display: block;
}


@keyframes heroZoom {
  from {
    transform: scale(1.09);
  }
  to {
    transform: scale(1.02);
  }
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(10, 10, 10, 0.96) 0%,
      rgba(10, 10, 10, 0.28) 40%,
      transparent 68%
    );
  pointer-events: none;
}

/* ── hero info ── */
.hero-info {
  position: absolute;
  bottom: 5%;  
  left: 0;
  right: 0;
  padding: 0 20px;
  max-width: 500px;
  z-index: 3;
  animation: heroInfoIn 0.75s var(--ease-out) both;
}

@keyframes heroInfoIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* badges */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 5px;
}

.hero-badge {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.5px 8px;
  border-radius: 3px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--accent-glow);
}

.hero-badge-type {
  background: var(--red-dim);
  color: #ff6b6b;
  border-color: rgba(229, 9, 20, 0.35);
}

/* title */
.hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.1;
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
  display: block;
  width: 100%;   
}

.hero-summary {
  font-size: 14px;
  color: rgb(197, 191, 180);
  line-height: 1.68;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.hero-score {
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
}

.hero-cert {
  border: 1px solid var(--text-muted);
  padding: 0px 5px;
  border-radius: 3px;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.hero-year,
.hero-dur,
.hero-lang,
.hero-cert {
  color: white;
}

/* action buttons */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-btn-watch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  font-size: 5px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  backdrop-filter: blur(8px);
  text-decoration: none;
  font-size: 11px;
  transition:
    background 0.2s,
    transform 0.2s var(--ease-out);
}

.hero-btn-watch:hover {
  background: rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

.trend-rank {
  font-family: var(--font-head);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.01em;
}

.trend-rank i {
  padding-right: 6px;
  vertical-align: middle;
}

.trend-dir.rising i {
  color: #4dff9a;
}

.trend-dir.hot i {
  color: #ff6b6b;
}

.trend-dir {
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.trend-dir.rising {
  background: rgba(0, 200, 100, 0.2);
  color: #4dff9a;
  border: 1px solid rgba(0, 200, 100, 0.35);
}

.trend-dir.hot {
  background: rgba(229, 9, 20, 0.2);
  color: #ff6b6b;
  border: 1px solid rgba(229, 9, 20, 0.35);
}

/* Favourite (hero) */
.hero-btn-fav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.2s var(--ease-out);
  cursor: pointer;
}

.herofav-btn:hover,
.herofav-btn.is-faved {
  background: var(--accent-dim);
  border-color: var(--accent-glow);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-indicators {
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.3s var(--ease-out),
    width 0.3s;
  padding: 0;
}

.hero-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
  transform: none;
}

.hero-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

/* ── hero loader ── */
.hero-loader {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
}

.loader-ring {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── hero nav arrows ── */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-hover);
  transition:
    background 0.2s,
    transform 0.2s;
}

.hero-prev {
  left: 2%;
}
.hero-next {
  right: 2%;
}

.hero-nav:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%) scale(1.1);
}


.hero-section,
.hero-section * {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

.hero-section { cursor: grab !important; }
.hero-section:active { cursor: grabbing !important; }


/* MAIN WRAPPER */

.rows-main,
#genre-rows-container {
  padding: 0px 10px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* ═══════════════════════════════════════════════════
   CONTENT ROWS
═══════════════════════════════════════════════════ */
.content-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: rowFadeIn 0.5s var(--ease-out) both;
}

#genre-rows-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 30px;
  animation: rowFadeIn 0.5s var(--ease-out) both;
}
.row-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 2px 9px;
  border-radius: 20px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-glow);
  white-space: nowrap;
}

.content-row:nth-child(1) {
  animation-delay: 0.05s;
}
.content-row:nth-child(2) {
  animation-delay: 0.1s;
}
.content-row:nth-child(3) {
  animation-delay: 0.15s;
}
.content-row:nth-child(4) {
  animation-delay: 0.2s;
}
.content-row:nth-child(5) {
  animation-delay: 0.25s;
}
.content-row:nth-child(6) {
  animation-delay: 0.3s;
}
.content-row:nth-child(7) {
  animation-delay: 0.35s;
}
.content-row:nth-child(8) {
  animation-delay: 0.4s;
}
.content-row:nth-child(9) {
  animation-delay: 0.45s;
}
.content-row:nth-child(10) {
  animation-delay: 0.5s;
}

@keyframes rowFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.row-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.row-title {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.row-icon {
  font-size: 1.1em;
}

/* ── cards wrapper (scroll buttons + track) ── */
.cards-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* scroll arrow buttons */
.scroll-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.2s var(--ease-out);
  z-index: 4;
}

.scroll-btn:hover {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: var(--accent-glow);
  transform: scale(1.1);
}

/* horizontal scroll track */
.cards-track {
  flex: 1;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-dim) transparent;
}

.cards-track::-webkit-scrollbar {
  height: 4px;
}
.cards-track::-webkit-scrollbar-track {
  background: transparent;
}
.cards-track::-webkit-scrollbar-thumb {
  background: var(--accent-dim);
  border-radius: 4px;
}

/* right fade hint */
.cards-wrapper::after {
  content: "";
  position: absolute;
  right: 42px; /* just inside the right scroll button */
  top: 0;
  bottom: 14px;
  width: 56px;
  background: linear-gradient(to left, var(--bg-base), transparent);
  pointer-events: none;
  z-index: 3;
}

/* ═══════════════════════════════════════════════════
   MEDIA CARD  — 16/9 landscape
═══════════════════════════════════════════════════ */
.media-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(200px, 22vw, 300px);
  border-radius: var(--card-radius);
  background: var(--bg-card);
  overflow: visible;
  scroll-snap-align: start;
  transition:
    transform 0.32s var(--ease-out),
    box-shadow 0.32s var(--ease-out);
  z-index: 1;
}

.media-card:hover {
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.65),
    0 0 0 1px var(--border-hover);
  z-index: 10;
}

/* clickable image area */
.card-link {
  display: block;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
  overflow: hidden;
  position: relative;
}

/* 16/9 ratio visual block */
.card-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-surface);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.45s var(--ease-out),
    opacity 0.3s;
}

/* loading state — img src is empty */
.card-img-loading {
  opacity: 0;
}

.media-card:hover .card-img {
  transform: scale(1.07);
}

/* bottom gradient */
.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 15, 15, 0.9) 0%,
    rgba(15, 15, 15, 0.18) 52%,
    transparent 100%
  );
  transition: opacity 0.3s;
}

.media-card:hover .card-img-overlay {
  opacity: 0.65;
}

/* ── rank badge ── */
.card-rank {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  background: var(--red);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(229, 9, 20, 0.5);
}
/* ── type badge ── */
.card-type-badge {
  position: absolute;
  top: 3px;
  right: 5px;
  z-index: 3;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}

/* ── logo space bottom-left (1:1) ── */
.card-logo-space {
  position: absolute;
  bottom: 3px;
  right: 5px;
  z-index: 4;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-logo-img[src=""] {
  display: none;
}

/* ── hover info panel (slides up from bottom of image) ── */
.card-hover-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 5px 0px;
  z-index: 5; 
   opacity: 0;
  transition:
    opacity 0.28s var(--ease-out),
    transform 0.28s var(--ease-out);
  pointer-events: none;
}

.media-card:hover .card-hover-panel {
  opacity: 1;
  transform: translateY(0);
}

.card-hover-genres {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-hover-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.card-score {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.card-year {
  font-size: 12px;
  color: white;
}

.card-hover-lang,
.card-hover-duration {
  font-size: 11px;
  color: rgb(141, 207, 209);
}

/* ── card footer ── */
.card-footer {
  padding: 3px 5px 5px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  background: var(--bg-card);
  border-radius: 0 0 var(--card-radius) var(--card-radius);
}

.card-title {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 78%;
  transition: color 0.2s;
}

.media-card:hover .card-title {
  color: var(--accent);
}

.card-footer-year {
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* FAVOURITE BUTTON */
.favourite-btn {
  position: absolute;
  top: 4px;
  left: 5px;
  z-index: 6;
  padding: 5px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  transition:
    opacity 0.25s,
    color 0.2s,
    background 0.2s,
    border-color 0.2s,
    transform 0.22s var(--ease-out);
}

.media-card:hover .favourite-btn {
  opacity: 1;
}

.favourite-btn:hover,
.favourite-btn.is-faved {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: var(--accent-glow);
  transform: scale(1.15);
}

/* ── card loading shimmer ── */
@keyframes shimmer {
  0% {
    background-position: -600px 0;
  }
  100% {
    background-position: 600px 0;
  }
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-surface) 25%,
    var(--bg-card) 50%,
    var(--bg-surface) 75%
  );
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: var(--card-radius);
}

@media (max-width: 299px) {
  body { font-size: 13px; }
  
  .hero-section { height: 180px; margin-bottom: 20px; }
  .hero-logo-wrap { width: 100px; right: 8px; top: 25%; }
  .hero-logo-img { width: 100px; max-height: 70px; }
  .hero-info { padding: 0 10px; max-width: 200px; bottom: 8%; }
  .hero-title { font-size: 12px; letter-spacing: 0.5px; margin-bottom: 4px; }
  .hero-badges { gap: 3px; margin-bottom: 3px; }
  .hero-badge { font-size: 8px; padding: 1px 5px; }
  .hero-meta { gap: 6px; font-size: 10px; }
  .hero-score { font-size: 12px; }
  .hero-cert { font-size: 9px; padding: 0 3px; }
  .hero-actions { gap: 6px; }
  .hero-btn-watch { padding: 5px 7px; font-size: 9px; gap: 5px; }
  .hero-btn-fav { padding: 0 7px; font-size: 10px; gap: 5px; }
  .hero-nav { width: 28px; height: 28px; font-size: 11px; }
  .hero-dot { width: 5px; height: 5px; }
  .hero-dot.active { width: 14px; }
  
  .rows-main, #genre-rows-container { padding: 0 6px; gap: 18px; }
  .content-row { gap: 6px; }
  .row-title { font-size: 0.85rem; gap: 5px; }
  .row-icon { font-size: 1em; }
  .row-tag { font-size: 8px; padding: 1px 6px; }
  
  .scroll-btn { width: 26px; height: 26px; font-size: 10px; }
  .cards-track { gap: 8px; }
  .media-card { width: 140px; }
  .card-rank { font-size: 9px; padding: 1px 5px; }
  .card-type-badge { font-size: 8px; padding: 1px 5px; }
  .card-logo-space { width: 20px; height: 20px; }
  .card-hover-panel { padding: 6px 4px 0; }
  .card-hover-genres { font-size: 9px; }
  .card-score, .card-year { font-size: 10px; }
  .card-hover-lang, .card-hover-duration { font-size: 9px; }
  .card-footer { padding: 2px 4px 4px; }
  .card-title { font-size: 8px; max-width: 70%; }
  .card-footer-year { font-size: 9px; }
  .favourite-btn { top: 3px; left: 3px; padding: 3px; font-size: 10px; }
}

/* ── Small mobile (300px - 350px) ── */
@media (max-width: 350px) {
  body { font-size: 14px; }
  
  .hero-section { height: 220px; margin-bottom: 22px; }
  .hero-logo-wrap { width: 120px; right: 10px; top: 28%; }
  .hero-logo-img { width: 120px; max-height: 85px; }
  .hero-info { padding: 0 12px; max-width: 260px; bottom: 6%; }
  .hero-title { font-size: 15px; letter-spacing: 0.8px; margin-bottom: 5px; }
  .hero-badges { gap: 4px; margin-bottom: 4px; }
  .hero-badge { font-size: 9px; padding: 1px 6px; }
  .hero-meta { gap: 8px; font-size: 11px; }
  .hero-score { font-size: 13px; }
  .hero-cert { font-size: 10px; padding: 0 4px; }
  .hero-actions { gap: 8px; }
  .hero-btn-watch { padding: 6px 8px; font-size: 10px; gap: 6px; }
  .hero-btn-fav { padding: 0 8px; font-size: 11px; gap: 6px; }
  .hero-nav { width: 32px; height: 32px; font-size: 12px; }
  .hero-dot { width: 6px; height: 6px; }
  .hero-dot.active { width: 16px; }
  
  .rows-main, #genre-rows-container { padding: 0 8px; gap: 20px; }
  .content-row { gap: 8px; }
  .row-title { font-size: 0.95rem; gap: 6px; }
  .row-icon { font-size: 1.05em; }
  .row-tag { font-size: 9px; padding: 2px 7px; }
  
  .scroll-btn { width: 30px; height: 30px; font-size: 12px; }
  .cards-track { gap: 10px; }
  .media-card { width: 160px; }
  .card-rank { font-size: 10px; padding: 1.5px 6px; }
  .card-type-badge { font-size: 9px; padding: 1.5px 6px; }
  .card-logo-space { width: 22px; height: 22px; }
  .card-hover-panel { padding: 8px 5px 0; }
  .card-hover-genres { font-size: 10px; }
  .card-score, .card-year { font-size: 11px; }
  .card-hover-lang, .card-hover-duration { font-size: 10px; }
  .card-footer { padding: 2px 5px 5px; }
  .card-title { font-size: 9px; max-width: 75%; }
  .card-footer-year { font-size: 10px; }
  .favourite-btn { top: 3px; left: 4px; padding: 4px; font-size: 12px; }
}

@media (max-width: 569px) {
.hero-summary{
  display: none;
}
}
@media (min-width: 570px) {
  body { font-size: 15.5px; }
  
  .hero-section { height: 380px; margin-bottom: 35px; }
  .hero-logo-wrap { width: 220px; right: 25px; top: 32%; }
  .hero-logo-img { width: 220px; max-height: 150px; }
  .hero-info { padding: 0 25px; max-width: 580px; bottom: 4%; }
  .hero-title { font-size: 32px; letter-spacing: 1.2px; margin-bottom: 10px; }
  .hero-summary { font-size: 15px; margin-bottom: 10px; }
  .hero-badges { gap: 7px; margin-bottom: 6px; }
  .hero-badge { font-size: 11px; padding: 2px 9px; }
  .hero-meta { gap: 12px; font-size: 14px; }
  .hero-score { font-size: 17px; }
  .hero-cert { font-size: 12px; padding: 1px 6px; }
  .hero-actions { gap: 14px; }
  .hero-btn-watch { padding: 10px 14px; font-size: 13px; gap: 10px; }
  .hero-btn-fav { padding: 0 14px; font-size: 15px; gap: 8px; }
  .hero-nav { width: 48px; height: 48px; font-size: 18px; }
  .hero-dot { width: 9px; height: 9px; }
  .hero-dot.active { width: 26px; }
  
  .rows-main, #genre-rows-container { padding: 0 15px; gap: 30px; }
  .content-row { gap: 12px; }
  .row-title { font-size: 1.15rem; gap: 10px; }
  .row-icon { font-size: 1.15em; }
  .row-tag { font-size: 12px; padding: 2px 10px; }
  
  .scroll-btn { width: 40px; height: 40px; font-size: 16px; }
  .cards-track { gap: 14px; padding-bottom: 12px; }
  .media-card { width: 240px; }
  .card-rank { font-size: 13px; padding: 2px 9px; }
  .card-type-badge { font-size: 11px; padding: 2px 8px; }
  .card-logo-space { width: 32px; height: 32px; }
  .card-hover-panel { padding: 12px 6px 0; }
  .card-hover-genres { font-size: 12px; }
  .card-score, .card-year { font-size: 13px; }
  .card-hover-lang, .card-hover-duration { font-size: 12px; }
  .card-footer { padding: 4px 6px 6px; }
  .card-title { font-size: 11px; max-width: 80%; }
  .card-footer-year { font-size: 12px; }
  .favourite-btn { top: 5px; left: 6px; padding: 6px; font-size: 16px; }
}

@media (min-width: 760px) {
  body { font-size: 16px; }
  
  .hero-section { height: 55vw; max-height: 520px; margin-bottom: 40px; }
  .hero-logo-wrap { width: 260px; right: 30px; top: 30%; }
  .hero-logo-img { width: 260px; max-height: 170px; }
  .hero-info { padding: 0 30px; max-width: 650px; bottom: 5%; }
  .hero-title { font-size: 38px; letter-spacing: 1.5px; margin-bottom: 12px; }
  .hero-summary { font-size: 16px; margin-bottom: 12px; }
  .hero-badges { gap: 8px; margin-bottom: 8px; }
  .hero-badge { font-size: 11.5px; padding: 2px 10px; }
  .hero-meta { gap: 14px; font-size: 14.5px; }
  .hero-score { font-size: 18px; }
  .hero-cert { font-size: 12.5px; padding: 1px 6px; }
  .hero-actions { gap: 16px; }
  .hero-btn-watch { padding: 11px 16px; font-size: 14px; gap: 11px; }
  .hero-btn-fav { padding: 0 16px; font-size: 16px; gap: 9px; }
  .hero-nav { width: 52px; height: 52px; font-size: 20px; }
  .hero-dot { width: 10px; height: 10px; }
  .hero-dot.active { width: 28px; }
  
  .rows-main, #genre-rows-container { padding: 0 20px; gap: 34px; }
  .content-row { gap: 14px; }
  .row-title { font-size: 1.25rem; gap: 11px; }
  .row-icon { font-size: 1.2em; }
  .row-tag { font-size: 12.5px; padding: 2px 11px; }
  
  .scroll-btn { width: 44px; height: 44px; font-size: 17px; }
  .cards-track { gap: 16px; padding-bottom: 14px; }
  .media-card { width: 260px; }
  .card-rank { font-size: 13.5px; padding: 2px 10px; }
  .card-type-badge { font-size: 11.5px; padding: 2px 9px; }
  .card-logo-space { width: 34px; height: 34px; }
  .card-hover-panel { padding: 14px 7px 0; }
  .card-hover-genres { font-size: 12.5px; }
  .card-score, .card-year { font-size: 13.5px; }
  .card-hover-lang, .card-hover-duration { font-size: 12.5px; }
  .card-footer { padding: 4px 7px 7px; }
  .card-title { font-size: 11.5px; max-width: 82%; }
  .card-footer-year { font-size: 12.5px; }
  .favourite-btn { top: 5px; left: 7px; padding: 7px; font-size: 17px; }
}

@media (min-width: 990px) {
  body { font-size: 16.5px; }
  
  .hero-section { height: 78vh; max-height: 700px; margin-bottom: 45px; }
  .hero-logo-wrap { width: 300px; right: 40px; top: 28%; }
  .hero-logo-img { width: 300px; max-height: 200px; }
  .hero-info { padding: 0 40px; max-width: 720px; bottom: 6%; }
  .hero-title { font-size: 44px; letter-spacing: 2px; margin-bottom: 14px; }
  .hero-summary { font-size: 17px; margin-bottom: 14px; }
  .hero-badges { gap: 9px; margin-bottom: 10px; }
  .hero-badge { font-size: 12px; padding: 2px 11px; }
  .hero-meta { gap: 16px; font-size: 15px; }
  .hero-score { font-size: 19px; }
  .hero-cert { font-size: 13px; padding: 1px 7px; }
  .hero-actions { gap: 18px; }
  .hero-btn-watch { padding: 12px 18px; font-size: 15px; gap: 12px; }
  .hero-btn-fav { padding: 0 18px; font-size: 17px; gap: 10px; }
  .hero-nav { width: 56px; height: 56px; font-size: 22px; }
  .hero-dot { width: 10px; height: 10px; }
  .hero-dot.active { width: 30px; }
  
  .rows-main, #genre-rows-container { padding: 0 25px; gap: 38px; }
  .content-row { gap: 16px; }
  .row-title { font-size: 1.35rem; gap: 12px; }
  .row-icon { font-size: 1.25em; }
  .row-tag { font-size: 13px; padding: 2px 12px; }
  
  .scroll-btn { width: 48px; height: 48px; font-size: 18px; }
  .cards-track { gap: 18px; padding-bottom: 16px; }
  .media-card { width: 280px; }
  .card-rank { font-size: 14px; padding: 2px 11px; }
  .card-type-badge { font-size: 12px; padding: 2px 10px; }
  .card-logo-space { width: 36px; height: 36px; }
  .card-hover-panel { padding: 16px 8px 0; }
  .card-hover-genres { font-size: 13px; }
  .card-score, .card-year { font-size: 14px; }
  .card-hover-lang, .card-hover-duration { font-size: 13px; }
  .card-footer { padding: 5px 8px 8px; }
  .card-title { font-size: 12px; max-width: 85%; }
  .card-footer-year { font-size: 13px; }
  .favourite-btn { top: 6px; left: 8px; padding: 8px; font-size: 18px; }
}

@media (min-width: 1200px) {
  body { font-size: 17px; }
  
  .hero-section { height: 80vh; max-height: 800px; margin-bottom: 50px; }
  .hero-logo-wrap { width: 340px; right: 50px; top: 26%; }
  .hero-logo-img { width: 340px; max-height: 220px; }
  .hero-info { padding: 0 50px; max-width: 800px; bottom: 7%; }
  .hero-title { font-size: 50px; letter-spacing: 2.5px; margin-bottom: 16px; }
  .hero-summary { font-size: 18px; margin-bottom: 16px; }
  .hero-badges { gap: 10px; margin-bottom: 12px; }
  .hero-badge { font-size: 12.5px; padding: 2px 12px; }
  .hero-meta { gap: 18px; font-size: 15.5px; }
  .hero-score { font-size: 20px; }
  .hero-cert { font-size: 13.5px; padding: 2px 8px; }
  .hero-actions { gap: 20px; }
  .hero-btn-watch { padding: 13px 20px; font-size: 16px; gap: 13px; }
  .hero-btn-fav { padding: 0 20px; font-size: 18px; gap: 11px; }
  .hero-nav { width: 60px; height: 60px; font-size: 24px; }
  .hero-dot { width: 11px; height: 11px; }
  .hero-dot.active { width: 32px; }
  
  .rows-main, #genre-rows-container { padding: 0 30px; gap: 42px; }
  .content-row { gap: 18px; }
  .row-title { font-size: 1.45rem; gap: 13px; }
  .row-icon { font-size: 1.3em; }
  .row-tag { font-size: 13.5px; padding: 2px 13px; }
  
  .scroll-btn { width: 52px; height: 52px; font-size: 19px; }
  .cards-track { gap: 20px; padding-bottom: 18px; }
  .media-card { width: 300px; }
  .card-rank { font-size: 14.5px; padding: 2px 12px; }
  .card-type-badge { font-size: 12.5px; padding: 2px 11px; }
  .card-logo-space { width: 38px; height: 38px; }
  .card-hover-panel { padding: 18px 9px 0; }
  .card-hover-genres { font-size: 13.5px; }
  .card-score, .card-year { font-size: 14.5px; }
  .card-hover-lang, .card-hover-duration { font-size: 13.5px; }
  .card-footer { padding: 5px 9px 9px; }
  .card-title { font-size: 12.5px; max-width: 87%; }
  .card-footer-year { font-size: 13.5px; }
  .favourite-btn { top: 6px; left: 9px; padding: 9px; font-size: 19px; }
}

@media (min-width: 1400px) {
  body { font-size: 17.5px; }
  
  .hero-section { height: 75vh; max-height: 850px; margin-bottom: 55px; }
  .hero-logo-wrap { width: 380px; right: 60px; top: 24%; }
  .hero-logo-img { width: 380px; max-height: 250px; }
  .hero-info { padding: 0 60px; max-width: 900px; bottom: 8%; }
  .hero-title { font-size: 56px; letter-spacing: 3px; margin-bottom: 18px; }
  .hero-summary { font-size: 19px; margin-bottom: 18px; }
  .hero-badges { gap: 11px; margin-bottom: 14px; }
  .hero-badge { font-size: 13px; padding: 2px 13px; }
  .hero-meta { gap: 20px; font-size: 16px; }
  .hero-score { font-size: 21px; }
  .hero-cert { font-size: 14px; padding: 2px 9px; }
  .hero-actions { gap: 22px; }
  .hero-btn-watch { padding: 14px 22px; font-size: 17px; gap: 14px; }
  .hero-btn-fav { padding: 0 22px; font-size: 19px; gap: 12px; }
  .hero-nav { width: 64px; height: 64px; font-size: 26px; }
  .hero-dot { width: 12px; height: 12px; }
  .hero-dot.active { width: 34px; }
  
  .rows-main, #genre-rows-container { padding: 0 35px; gap: 46px; }
  .content-row { gap: 20px; }
  .row-title { font-size: 1.55rem; gap: 14px; }
  .row-icon { font-size: 1.35em; }
  .row-tag { font-size: 14px; padding: 2px 14px; }
  
  .scroll-btn { width: 56px; height: 56px; font-size: 20px; }
  .cards-track { gap: 22px; padding-bottom: 20px; }
  .media-card { width: 320px; }
  .card-rank { font-size: 15px; padding: 2px 13px; }
  .card-type-badge { font-size: 13px; padding: 2px 12px; }
  .card-logo-space { width: 40px; height: 40px; }
  .card-hover-panel { padding: 20px 10px 0; }
  .card-hover-genres { font-size: 14px; }
  .card-score, .card-year { font-size: 15px; }
  .card-hover-lang, .card-hover-duration { font-size: 14px; }
  .card-footer { padding: 6px 10px 10px; }
  .card-title { font-size: 13px; max-width: 88%; }
  .card-footer-year { font-size: 14px; }
  .favourite-btn { top: 7px; left: 10px; padding: 10px; font-size: 20px; }
}

@media (min-width: 1600px) {
  body { font-size: 18px; }
  
  .hero-section { height: 78vh; max-height: 900px; margin-bottom: 60px; }
  .hero-logo-wrap { width: 420px; right: 70px; top: 22%; }
  .hero-logo-img { width: 420px; max-height: 280px; }
  .hero-info { padding: 0 70px; max-width: 1000px; bottom: 8%; }
  .hero-title { font-size: 62px; letter-spacing: 3.5px; margin-bottom: 20px; }
  .hero-summary { font-size: 20px; margin-bottom: 20px; }
  .hero-badges { gap: 12px; margin-bottom: 16px; }
  .hero-badge { font-size: 13.5px; padding: 2px 14px; }
  .hero-meta { gap: 22px; font-size: 16.5px; }
  .hero-score { font-size: 22px; }
  .hero-cert { font-size: 14.5px; padding: 2px 10px; }
  .hero-actions { gap: 24px; }
  .hero-btn-watch { padding: 15px 24px; font-size: 18px; gap: 15px; }
  .hero-btn-fav { padding: 0 24px; font-size: 20px; gap: 13px; }
  .hero-nav { width: 68px; height: 68px; font-size: 28px; }
  .hero-dot { width: 12px; height: 12px; }
  .hero-dot.active { width: 36px; }
  
  .rows-main, #genre-rows-container { padding: 0 40px; gap: 50px; }
  .content-row { gap: 22px; }
  .row-title { font-size: 1.65rem; gap: 15px; }
  .row-icon { font-size: 1.4em; }
  .row-tag { font-size: 14.5px; padding: 2px 15px; }
  
  .scroll-btn { width: 60px; height: 60px; font-size: 21px; }
  .cards-track { gap: 24px; padding-bottom: 22px; }
  .media-card { width: 340px; }
  .card-rank { font-size: 15.5px; padding: 2px 14px; }
  .card-type-badge { font-size: 13.5px; padding: 2px 13px; }
  .card-logo-space { width: 42px; height: 42px; }
  .card-hover-panel { padding: 22px 11px 0; }
  .card-hover-genres { font-size: 14.5px; }
  .card-score, .card-year { font-size: 15.5px; }
  .card-hover-lang, .card-hover-duration { font-size: 14.5px; }
  .card-footer { padding: 6px 11px 11px; }
  .card-title { font-size: 13.5px; max-width: 89%; }
  .card-footer-year { font-size: 14.5px; }
  .favourite-btn { top: 7px; left: 11px; padding: 11px; font-size: 21px; }
}

@media (min-width: 1900px) {
  body { font-size: 18.5px; }
  
  .hero-section { height: 80vh; max-height: 950px; margin-bottom: 65px; }
  .hero-logo-wrap { width: 460px; right: 80px; top: 20%; }
  .hero-logo-img { width: 460px; max-height: 300px; }
  .hero-info { padding: 0 80px; max-width: 1100px; bottom: 9%; }
  .hero-title { font-size: 68px; letter-spacing: 4px; margin-bottom: 22px; }
  .hero-summary { font-size: 21px; margin-bottom: 22px; }
  .hero-badges { gap: 13px; margin-bottom: 18px; }
  .hero-badge { font-size: 14px; padding: 2px 15px; }
  .hero-meta { gap: 24px; font-size: 17px; }
  .hero-score { font-size: 23px; }
  .hero-cert { font-size: 15px; padding: 2px 11px; }
  .hero-actions { gap: 26px; }
  .hero-btn-watch { padding: 16px 26px; font-size: 19px; gap: 16px; }
  .hero-btn-fav { padding: 0 26px; font-size: 21px; gap: 14px; }
  .hero-nav { width: 72px; height: 72px; font-size: 30px; }
  .hero-dot { width: 13px; height: 13px; }
  .hero-dot.active { width: 38px; }
  
  .rows-main, #genre-rows-container { padding: 0 45px; gap: 54px; }
  .content-row { gap: 24px; }
  .row-title { font-size: 1.75rem; gap: 16px; }
  .row-icon { font-size: 1.45em; }
  .row-tag { font-size: 15px; padding: 2px 16px; }
  
  .scroll-btn { width: 64px; height: 64px; font-size: 22px; }
  .cards-track { gap: 26px; padding-bottom: 24px; }
  .media-card { width: 360px; }
  .card-rank { font-size: 16px; padding: 2px 15px; }
  .card-type-badge { font-size: 14px; padding: 2px 14px; }
  .card-logo-space { width: 44px; height: 44px; }
  .card-hover-panel { padding: 24px 12px 0; }
  .card-hover-genres { font-size: 15px; }
  .card-score, .card-year { font-size: 16px; }
  .card-hover-lang, .card-hover-duration { font-size: 15px; }
  .card-footer { padding: 7px 12px 12px; }
  .card-title { font-size: 14px; max-width: 90%; }
  .card-footer-year { font-size: 15px; }
  .favourite-btn { top: 8px; left: 12px; padding: 12px; font-size: 22px; }
}

@media (min-width: 2500px) {
  body { font-size: 19px; }
  
  .hero-section { height: 86vh; max-height: 1100px; margin-bottom: 70px; }
  .hero-logo-wrap { width: 520px; right: 100px; top: 18%; }
  .hero-logo-img { width: 520px; max-height: 340px; }
  .hero-info { padding: 0 100px; max-width: 1300px; bottom: 10%; }
  .hero-title { font-size: 78px; letter-spacing: 4.5px; margin-bottom: 24px; }
  .hero-summary { font-size: 22px; margin-bottom: 24px; }
  .hero-badges { gap: 14px; margin-bottom: 20px; }
  .hero-badge { font-size: 14.5px; padding: 2px 16px; }
  .hero-meta { gap: 26px; font-size: 17.5px; }
  .hero-score { font-size: 24px; }
  .hero-cert { font-size: 15.5px; padding: 2px 12px; }
  .hero-actions { gap: 28px; }
  .hero-btn-watch { padding: 17px 28px; font-size: 20px; gap: 17px; }
  .hero-btn-fav { padding: 0 28px; font-size: 22px; gap: 15px; }
  .hero-nav { width: 76px; height: 76px; font-size: 32px; }
  .hero-dot { width: 14px; height: 14px; }
  .hero-dot.active { width: 40px; }
  
  .rows-main, #genre-rows-container { padding: 0 55px; gap: 58px; }
  .content-row { gap: 26px; }
  .row-title { font-size: 1.85rem; gap: 17px; }
  .row-icon { font-size: 1.5em; }
  .row-tag { font-size: 15.5px; padding: 2px 17px; }
  
  .scroll-btn { width: 68px; height: 68px; font-size: 23px; }
  .cards-track { gap: 28px; padding-bottom: 26px; }
  .media-card { width: 380px; }
  .card-rank { font-size: 16.5px; padding: 2px 16px; }
  .card-type-badge { font-size: 14.5px; padding: 2px 15px; }
  .card-logo-space { width: 46px; height: 46px; }
  .card-hover-panel { padding: 26px 13px 0; }
  .card-hover-genres { font-size: 15.5px; }
  .card-score, .card-year { font-size: 16.5px; }
  .card-hover-lang, .card-hover-duration { font-size: 15.5px; }
  .card-footer { padding: 7px 13px 13px; }
  .card-title { font-size: 14.5px; max-width: 91%; }
  .card-footer-year { font-size: 15.5px; }
  .favourite-btn { top: 8px; left: 13px; padding: 13px; font-size: 23px; }
}

@media (min-width: 3800px) {
  body { font-size: 20px; }
  
  .hero-section { height: 90vh; max-height: 1400px; margin-bottom: 80px; }
  .hero-logo-wrap { width: 600px; right: 120px; top: 15%; }
  .hero-logo-img { width: 600px; max-height: 400px; }
  .hero-info { padding: 0 120px; max-width: 1600px; bottom: 10%; }
  .hero-title { font-size: 92px; letter-spacing: 5px; margin-bottom: 28px; }
  .hero-summary { font-size: 24px; margin-bottom: 28px; }
  .hero-badges { gap: 16px; margin-bottom: 24px; }
  .hero-badge { font-size: 15px; padding: 2px 18px; }
  .hero-meta { gap: 30px; font-size: 18px; }
  .hero-score { font-size: 26px; }
  .hero-cert { font-size: 16px; padding: 2px 14px; }
  .hero-actions { gap: 32px; }
  .hero-btn-watch { padding: 18px 32px; font-size: 22px; gap: 18px; }
  .hero-btn-fav { padding: 0 32px; font-size: 24px; gap: 16px; }
  .hero-nav { width: 84px; height: 84px; font-size: 36px; }
  .hero-dot { width: 15px; height: 15px; }
  .hero-dot.active { width: 44px; }
  
  .rows-main, #genre-rows-container { padding: 0 70px; gap: 66px; }
  .content-row { gap: 30px; }
  .row-title { font-size: 2rem; gap: 18px; }
  .row-icon { font-size: 1.55em; }
  .row-tag { font-size: 16px; padding: 2px 18px; }
  
  .scroll-btn { width: 76px; height: 76px; font-size: 24px; }
  .cards-track { gap: 32px; padding-bottom: 28px; }
  .media-card { width: 420px; }
  .card-rank { font-size: 17px; padding: 2px 18px; }
  .card-type-badge { font-size: 15px; padding: 2px 16px; }
  .card-logo-space { width: 50px; height: 50px; }
  .card-hover-panel { padding: 30px 14px 0; }
  .card-hover-genres { font-size: 16px; }
  .card-score, .card-year { font-size: 17px; }
  .card-hover-lang, .card-hover-duration { font-size: 16px; }
  .card-footer { padding: 8px 14px 14px; }
  .card-title { font-size: 15px; max-width: 92%; }
  .card-footer-year { font-size: 16px; }
  .favourite-btn { top: 9px; left: 14px; padding: 14px; font-size: 24px; }
}