/* ==========================================================================
   NetShort homepage — rebuilt stylesheet
   Values (sizes, spacing, breakpoints, 3D transforms) were measured from the
   reference page with a headless browser and are reproduced here:
     - fluid root font scale: 12px -> 16px across 480/640/768/1024/1280
     - fixed 480px coverflow stage, 310x410 cards, perspective 1100px
     - poster rows: 6-up >=1800, 4-up >=1024, 3-up >=768, 3.3-up below
     - mobile hero: full-bleed coverflow with title / HOT badge / play button
   ========================================================================== */

/* ---------- fonts ---------- */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- responsive root scale (matches the reference) ---------- */
html {
  font-size: 12px;
  -webkit-text-size-adjust: 100%;
}
@media (min-width: 640px) {
  html {
    font-size: 13px;
  }
}
@media (min-width: 768px) {
  html {
    font-size: 14px;
  }
}
@media (min-width: 1024px) {
  html {
    font-size: 15px;
  }
}
@media (min-width: 1280px) {
  html {
    font-size: 16px;
  }
}

/* ---------- tokens ---------- */
:root {
  --canvas: #151314;
  --panel: #272727;
  --panel-mobile: #141213;
  --panel-line: #262525;
  --field: #2a2a2a;
  --accent: #f5315e;
  --accent-2: #fe4f30;
  --text-dim: rgba(255, 255, 255, 0.68);
  --text-dimmer: rgba(255, 255, 255, 0.3);
  --header-h: 4.25rem;
  --scrollbar: #464546;
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: #fff;
  font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-size: inherit;
  font-weight: 400;
}
h2 {
  font-weight: 600;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
input {
  font: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar);
  border-radius: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar) transparent;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   page shell
   ========================================================================== */
.page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 100vw;
  background: var(--canvas);
}
.page-bg {
  display: none;
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.page-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}
.header-shell {
  flex-shrink: 0;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 999;
}
.content {
  position: relative;
  z-index: 1;
  flex: 1;
  overflow-x: hidden;
}

/* ==========================================================================
   header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  min-height: var(--header-h);
  color: #fff;
  z-index: 999;
  border: none;
  background: linear-gradient(180deg, #151314 0%, rgba(21, 19, 20, 0.8) 70%, rgba(21, 19, 20, 0) 100%);
  transition: min-height 0.3s ease-in-out, background 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out;
  -webkit-font-smoothing: antialiased;
  backface-visibility: hidden;
}
.site-header.is-scrolled {
  background: rgba(21, 19, 20, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.type-area {
  width: 80vw;
  margin: 0 auto;
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 1280px) {
  .type-area {
    padding-left: 64px;
    padding-right: 64px;
  }
}
@media (max-width: 767px) {
  .type-area {
    width: calc(100vw - 2rem);
    padding: 0.75rem 1rem;
  }
}
.left-section {
  display: flex;
  align-items: center;
  min-width: 0;
  width: 100%;
  justify-content: space-between;
  font-weight: 600;
}
@media (min-width: 768px) {
  .left-section {
    width: auto;
    flex: none;
    justify-content: flex-start;
  }
}
.logo-wrapper {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 1rem;
}
@media (min-width: 768px) {
  .logo-wrapper {
    gap: 0;
  }
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle img {
  width: 1.5rem;
  height: 1.5rem;
}
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}
.logo-img {
  width: 120px;
  height: 1.75rem;
  min-width: 3rem;
  object-fit: contain;
  border-radius: 0.5rem;
  cursor: pointer;
}
.nav-bar {
  display: none;
  align-items: center;
  min-width: 0;
}
@media (min-width: 768px) {
  .nav-bar {
    display: flex;
    gap: 0.5rem;
    margin-left: 0.5rem;
  }
}
@media (min-width: 1024px) {
  .nav-bar {
    gap: 1.5rem;
  }
}
@media (min-width: 1280px) {
  .nav-bar {
    gap: 2.5rem;
    margin-left: 4rem;
  }
}
@media (min-width: 1536px) {
  .nav-bar {
    gap: 3.5rem;
  }
}
.nav-list-item {
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-list-item:hover,
.nav-list-item.is-current {
  color: var(--accent);
}
.nav-list-item:hover {
  transform: scale(1.15);
}
.nav-list-item.is-current {
  transform: scale(1.05);
}
.nav-text {
  text-align: center;
  min-width: 4rem;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5rem;
}
@media (min-width: 1461px) {
  .nav-text {
    font-size: 1.125rem;
  }
}
@media (min-width: 1536px) {
  .nav-text {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}
.right-section {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  margin-left: auto;
}
@media (min-width: 1280px) {
  .right-section {
    gap: 1rem;
  }
}
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  margin-left: 0.5rem;
}
@media (min-width: 1024px) {
  .search-container {
    margin-left: 2rem;
  }
}
@media (min-width: 1280px) {
  .search-container {
    margin-left: 3rem;
  }
}
.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  height: 2.75rem;
  border-radius: 1.875rem;
  background: var(--field);
  width: 14rem;
}
@media (min-width: 768px) and (max-width: 1279px) {
  .search-input-wrapper {
    width: 10rem;
  }
}
@media (min-width: 1280px) {
  .search-input-wrapper {
    width: 17rem;
  }
}
.search-icon-button {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  z-index: 1;
  transition: color 0.15s ease;
}
.search-icon-button:hover {
  color: #fff;
}
.search-input {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 1.875rem;
  background: transparent;
  color: #fff;
  font-size: 0.875rem;
  padding: 0 1.25rem 0 2.5rem;
  outline: none;
}
.search-input::placeholder {
  color: #c0b9c0;
}
.search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  cursor: pointer;
}
.search-popover {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.5rem;
  width: 22rem;
  max-width: 92vw;
  background: #282828;
  border-radius: 0.75rem;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.45);
  padding: 0.5rem;
  z-index: 1002;
  max-height: 22rem;
  overflow-y: auto;
}
.search-popover[hidden] {
  display: none;
}
.search-hit {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
}
.search-hit:hover,
.search-hit.is-active {
  background: rgba(255, 255, 255, 0.08);
}
.search-hit img {
  width: 2.5rem;
  height: 3.3rem;
  object-fit: cover;
  border-radius: 4px;
  flex: none;
}
.search-hit-text {
  min-width: 0;
}
.search-hit-title {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-hit-meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}
.search-empty {
  padding: 1rem 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}
.language-wrapper {
  display: none;
  position: relative;
}
@media (min-width: 768px) {
  .language-wrapper {
    display: block;
  }
}
.language-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  padding: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #fff;
  transition: color 0.15s ease;
}
.language-button:hover {
  color: var(--accent);
}
.language-label {
  max-width: 5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.language-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.5rem;
  width: 9rem;
  z-index: 1002;
  background: #282828;
  border-radius: 0.5rem;
  padding: 0.25rem 0;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
}
.language-menu[hidden] {
  display: none;
}
.language-menu a {
  display: block;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-dim);
  transition: color 0.15s ease;
}
.language-menu a:hover,
.language-menu a.is-current {
  color: var(--accent);
}
.user-profile-wrapper {
  margin-left: 0.5rem;
}
.avatar-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem;
  border: 0;
  background: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.avatar-button:hover {
  background: rgba(255, 255, 255, 0.1);
}
.avatar-ring {
  position: relative;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 50%;
}
.avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* ==========================================================================
   desktop hero — 3D coverflow
   ========================================================================== */
.hero-desktop {
  display: none;
  position: relative;
}
@media (min-width: 768px) {
  .hero-desktop {
    display: block;
  }
}
.ultra-light-carousel {
  position: relative;
  width: 100%;
  margin-top: 6.625rem;
  padding-bottom: 100px;
  user-select: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  width: 100%;
  padding: 0 0.5rem;
}
@media (min-width: 768px) {
  .hero-inner {
    width: 90%;
  }
}
@media (min-width: 1280px) {
  .hero-inner {
    width: 70%;
  }
}
.hero-stage {
  position: relative;
  width: 100%;
  height: 480px;
  padding-bottom: 1.5rem;
  perspective: 1100px;
  perspective-origin: 50% 50%;
  touch-action: pan-y;
}
.hero-slide {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 310px;
  height: 410px;
  z-index: 5;
  opacity: 0;
  transform-style: preserve-3d;
  transform-origin: center center;
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1), opacity 380ms ease;
  pointer-events: none;
}
.hero-slide.is-near,
.hero-slide.is-active {
  pointer-events: auto;
}
.hero-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  cursor: pointer;
  backface-visibility: hidden;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.8);
}
.hero-slide.is-active .hero-card {
  cursor: default;
}
.hero-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.8);
}
.hero-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 420ms ease;
}
.hero-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 10;
  overflow: hidden;
  height: 210px;
}
.hero-info-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(2px);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  transform: translateY(calc(100% + 16px));
  opacity: 0;
  transition: transform 460ms cubic-bezier(0.16, 1, 0.3, 1), opacity 240ms ease-out;
}
.hero-card:hover .hero-info-panel,
.hero-card:focus-within .hero-info-panel,
.hero-card.is-open .hero-info-panel {
  transform: translateY(0);
  opacity: 1;
}
.hero-info-title {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-info-desc {
  margin-top: 5px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-info-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.btn-hero-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 30px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  background: linear-gradient(90deg, #f5315e 0%, #fe4f30 100%);
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.btn-hero-play:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.btn-hero-play img {
  width: 12px;
  height: 12px;
}
.btn-hero-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.btn-hero-share img {
  width: 20px;
  height: 20px;
}
.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 12px;
  padding: 0 0.5rem;
  text-align: left;
}
.hero-caption span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  line-height: 1.375;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}
.hero-controls {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.hero-arrow {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero-arrow:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.26);
}
.hero-arrow:active {
  transform: scale(0.95);
}
.hero-arrow img {
  height: 28px;
  width: auto;
}
.hero-arrow.prev img {
  transform: rotate(180deg);
  margin-right: 6px;
}
.hero-arrow.next img {
  margin-left: 6px;
}
.hero-circle {
  pointer-events: none;
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  height: 116px;
  width: 1390px;
  max-width: none;
}

/* ==========================================================================
   mobile hero — full-bleed coverflow
   ========================================================================== */
.mobile-hero {
  position: relative;
  padding-top: 1rem;
  padding-bottom: 1.5rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .mobile-hero {
    display: none;
  }
}
.mh-viewport {
  position: relative;
  width: 100%;
  height: calc(100vw * 1.3);
  perspective: 1200px;
  overflow: visible;
  touch-action: pan-y;
}
.mh-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}
.mh-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mh-shadow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.mh-shadow.is-right {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}
.mh-shadow.is-left {
  background-image: linear-gradient(270deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}
.mh-mask {
  pointer-events: none;
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  z-index: 2;
  filter: blur(1.75rem);
  background-image: linear-gradient(to right, #131313 2%, #131313 10%, transparent 10%, transparent 100%),
    linear-gradient(to left, #131313 0%, #131313 9%, transparent 10%, transparent 100%),
    linear-gradient(to bottom, #131313 5%, #131313 10%, transparent 15%, transparent 100%),
    linear-gradient(to top, #131313 10%, #131313 20%, transparent 30%, transparent 100%);
  background-size: 100% 100%;
}
.mh-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  color: #fff;
}
.mh-title {
  margin-top: 0.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1rem;
}
.mh-title a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mh-hot {
  width: 2.375rem;
  height: 0.75rem;
  flex: none;
}
.mh-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 2.25rem;
  margin-top: 1rem;
  border: 0;
  border-radius: 2.75rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.mh-play img {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.625rem;
}
.mh-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 0 0.5rem;
  min-height: 1.5rem;
}
.mh-dot {
  width: 0.375rem;
  height: 0.1875rem;
  padding: 0;
  border: 0;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.mh-dot.is-active {
  width: 2rem;
  background: #fff;
}

/* ==========================================================================
   poster rows
   ========================================================================== */
.video-list-section {
  position: relative;
  padding-bottom: 2.5rem;
  margin-top: 1rem;
}
@media (min-width: 640px) {
  .video-list-section {
    margin-top: 0;
  }
}
@media (min-width: 768px) {
  .video-list-section {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 1280px) {
  .video-list-section {
    width: 70%;
  }
}
@media (max-width: 767px) {
  .video-list-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.list-block {
  margin-bottom: 2.5rem;
}
.list-head {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 1.875rem;
  line-height: 1.2;
}
@media (max-width: 767px) {
  .list-head {
    padding-left: 5vw;
  }
}
.carousel-wrapper {
  position: relative;
  width: 100%;
}
.carousel-track-container {
  position: relative;
  width: 100%;
  min-height: 260px;
  overflow: hidden;
}
@media (min-width: 641px) {
  .carousel-track-container {
    min-height: 280px;
  }
}
@media (min-width: 768px) {
  .carousel-track-container {
    min-height: 380px;
  }
}
@media (min-width: 1281px) {
  .carousel-track-container {
    min-height: 420px;
  }
}
.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.carousel-item {
  flex-shrink: 0;
  width: 25%;
  padding: 0 6px;
  margin-right: 0;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .carousel-item {
    width: 33.3333%;
  }
}
@media (min-width: 1024px) {
  .carousel-item {
    width: 25%;
  }
}
@media (min-width: 1470px) {
  .carousel-item {
    width: 20%;
  }
}
@media (min-width: 1840px) {
  .carousel-item {
    width: 16.6667%;
  }
}
.carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.625rem;
  height: 2.625rem;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.carousel-btn:hover {
  background: #e11d48;
}
.carousel-btn[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}
.carousel-btn svg {
  width: 1rem;
  height: 1rem;
}
.carousel-btn-prev {
  left: -1.3125rem;
}
.carousel-btn-next {
  right: -1.3125rem;
}

/* poster card */
.list-item {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0.375rem;
  cursor: pointer;
}
.image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 6px;
}
.list-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.2s ease;
}
.carousel-item:hover .list-item-img {
  transform: scale(1.2);
}
.carousel-item:hover .list-item-info {
  visibility: visible;
}
.list-item-info {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  visibility: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0), #000);
}
.item-actions {
  display: flex;
  width: 100%;
  color: #fff;
}
.btn-play {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.75rem;
  font-size: 0.75rem;
  border: 0;
  border-radius: 0.375rem;
  background: #f43f5e;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-play:hover {
  background: #e11d48;
}
.btn-play img {
  width: 1rem;
  height: 1rem;
  margin-right: 0.25rem;
}
.btn-share {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 1.75rem;
  margin-left: 0.5rem;
  border: 0;
  border-radius: 0.375rem;
  background: #404040;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-share:hover {
  background: #525252;
}
.btn-share img {
  width: 1rem;
  height: 1rem;
}
@media (min-width: 1536px) {
  .btn-play,
  .btn-share {
    height: 2.25rem;
  }
}
.list-item-content {
  margin-top: 0.5rem;
}
.list-item-info-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
}
.list-item-name-link:hover {
  color: var(--accent);
}
.list-item-tags {
  margin: 0.5rem 0;
  font-size: 0.75rem;
  line-height: 1rem;
  color: #a3a3a3;
  word-break: break-word;
}
.list-item-tags a {
  color: inherit;
  transition: color 0.15s ease;
}
.list-item-tags a:hover {
  color: var(--accent);
}

/* mobile poster row: 3.3 cards per screen, fixed 160px posters */
@media (max-width: 767px) {
  .carousel-track-container {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .carousel-track-container::-webkit-scrollbar {
    display: none;
  }
  .carousel-track {
    transition: none;
  }
  .carousel-item {
    width: 30.303%;
    padding: 0;
    margin-right: 0.75rem;
    scroll-snap-align: start;
  }
  .carousel-item .list-item {
    height: 160px;
  }
  .carousel-item .image-container {
    height: 100%;
    aspect-ratio: auto;
  }
  .carousel-item .list-item-info {
    display: none;
  }
  .carousel-btn {
    display: none;
  }
}

/* ==========================================================================
   footer
   ========================================================================== */
.site-footer {
  max-width: 100vw;
  padding: 1.25rem 0 3rem;
  background: var(--panel-mobile);
  border-top: 1px solid var(--panel-line);
  color: var(--text-dim);
}
@media (min-width: 768px) {
  .site-footer {
    padding-top: 2rem;
    padding-bottom: 1.25rem;
    background: var(--panel);
  }
}
.footer-desktop {
  display: none;
}
@media (min-width: 768px) {
  .footer-desktop {
    display: block;
  }
  .footer-mobile {
    display: none;
  }
}
.footer-grid {
  width: 80vw;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  line-height: 2.25rem;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1280px) {
  .footer-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.footer-title {
  margin-bottom: 0.5rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.75rem;
}
.footer-links li {
  margin-bottom: 0.5rem;
  line-height: 1.5rem;
}
.footer-links a,
.footer-links button {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text-dimmer);
  cursor: pointer;
  transition: color 0.2s ease;
}
.footer-links a:hover,
.footer-links button:hover {
  color: rgba(255, 255, 255, 0.6);
}
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.social-row a {
  position: relative;
  display: inline-block;
  width: 2rem;
  height: 2rem;
  margin-top: 0.5rem;
  border-radius: 50%;
}
.social-row img {
  position: absolute;
  top: 0;
  left: 0;
  width: 2rem;
  height: 2rem;
}
.social-row .hover-icon {
  display: none;
}
.social-row a:hover .base-icon {
  display: none;
}
.social-row a:hover .hover-icon {
  display: block;
}
.footer-col-tall {
  min-height: 15rem;
  line-height: 1.25rem;
}
.qr-panel {
  width: 7.875rem;
  height: 7.875rem;
  margin-top: 0.5rem;
  padding: 0.375rem;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-panel img {
  width: 100%;
  height: 100%;
}
.footer-bottom {
  width: 80vw;
  margin: 1.5rem auto 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.875rem;
}
.footer-bottom p {
  color: var(--text-dimmer);
}
@media (max-width: 767px) {
  .footer-bottom {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* mobile footer accordion */
.footer-mobile {
  width: calc(100vw - 2rem);
  margin: 0 auto;
}
.m-acc {
  margin-bottom: 1rem;
}
.m-acc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.3125rem;
  cursor: pointer;
  user-select: none;
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
}
@media (min-width: 481px) {
  .m-acc-header {
    font-size: 0.875rem;
  }
}
.m-acc-icon img {
  width: 0.75rem;
  opacity: 0.6;
  transition: transform 0.3s ease;
}
.m-acc.is-open .m-acc-icon img {
  transform: rotate(180deg);
}
.m-acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}
.m-acc-body {
  padding: 0.5rem 0 0;
  font-size: 0.875rem;
}
.m-acc-body li {
  padding: 0.5rem 0;
}
.m-acc-body a,
.m-acc-body button {
  border: 0;
  background: none;
  padding: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}
.m-acc-body a:hover,
.m-acc-body button:hover {
  color: rgba(255, 255, 255, 0.8);
}
.m-download {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0.5rem;
}
.m-download-title {
  font-size: 0.875rem;
  color: #fff;
  margin-bottom: 0.75rem;
}
.m-bottom {
  margin-top: 1.5rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.m-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.m-socials img {
  width: 2rem;
  height: 2rem;
}
.m-copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

/* fixed bottom layer (kept from the reference markup) */
.floating-layer {
  position: fixed;
  bottom: 1rem;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
}
.floating-layer > * {
  pointer-events: auto;
}

/* ==========================================================================
   mobile drawer
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: 17rem;
  max-width: 85vw;
  background: #1c1a1b;
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 1.25rem;
  overflow-y: auto;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}
.mobile-drawer.is-open {
  transform: translateX(0);
}
.mobile-drawer .logo-img {
  margin-bottom: 1.5rem;
}
.drawer-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.drawer-link:hover {
  color: var(--accent);
}
.drawer-sub {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}
.drawer-langs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  margin-top: 0.5rem;
}
.drawer-langs a {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-dim);
}
.drawer-langs a:hover {
  color: var(--accent);
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   toast + skeletons
   ========================================================================== */
.toast {
  position: fixed;
  top: 10%;
  left: 50%;
  z-index: 1300;
  padding: 0.5rem 1.25rem;
  border-radius: 0.625rem;
  background: rgba(245, 49, 94, 0.92);
  color: #fff;
  font-size: 0.875rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px) scale(0.96);
  transition: opacity 260ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1), visibility 360ms ease;
}
.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}
.is-loading {
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%) 0 0 / 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
}
@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   cookie consent card + mobile app banner
   Values measured from the reference page (desktop 442x208 bottom-right,
   mobile 235x352 with stacked buttons, banner 54px tall above the fold).
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cookie-card {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 442px;
  height: 208px;
  z-index: 2800;
  animation: fadeInUp 0.45s ease both;
}
.cookie-card.is-hidden {
  display: none;
}
.cookie-card-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border-radius: 12px;
  background: #272727;
  color: #fff;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.54);
}
.cookie-close {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
  padding: 0;
  border: 0;
  background: none;
  line-height: 0;
  cursor: pointer;
}
.cookie-close img {
  width: 40px;
  height: 40px;
}
.cookie-close-mobile {
  display: none;
}
.cookie-title {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
  white-space: nowrap;
}
.cookie-desc {
  width: 394px;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
}
.cookie-link {
  font-size: 10px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-link:hover {
  color: #fff;
}
.cookie-actions {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
}
.cookie-btn {
  width: 118px;
  height: 36px;
  border-radius: 90px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.cookie-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}
.cookie-btn.is-primary {
  border: 0;
  background: #f5315e;
}
.cookie-btn.is-primary:hover {
  background: #e11d48;
}
@media (max-width: 767px) {
  .cookie-card {
    right: 13px;
    bottom: 22px;
    width: 235px;
    height: auto;
    min-height: 352px;
  }
  .cookie-card-inner {
    padding: 40px 15px 20px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.54), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  }
  .cookie-close-desktop {
    display: none;
  }
  .cookie-close-mobile {
    display: block;
  }
  .cookie-title {
    font-size: 14px;
    line-height: 1.2;
    white-space: normal;
    font-weight: 600;
  }
  .cookie-desc {
    width: auto;
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
  }
  .cookie-link {
    font-size: 10px;
  }
  .cookie-actions {
    flex-direction: column;
    gap: 8px;
    padding-top: 20px;
  }
  .cookie-btn {
    width: 100%;
    height: 36px;
    border-radius: 999px;
    font-size: 14px;
  }
}
.app-banner {
  padding: 0.25rem 0.5rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
@media (min-width: 768px) {
  .app-banner {
    display: none;
  }
}
.app-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  color: #151314;
}
.app-banner-inner img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  flex: none;
}
.app-banner-text {
  flex: 1;
  font-size: 0.75rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.app-banner-cta {
  flex: none;
  width: 4.5rem;
  height: 2.167rem;
  line-height: 2.167rem;
  text-align: center;
  border-radius: 0.375rem;
  background: #f5315e;
  color: #fff;
}
@media (min-width: 768px) {
  .app-banner-cta {
    width: 3.375rem;
    height: 1.625rem;
    line-height: 1.625rem;
  }
}
