/* ========================================================================
   FILE 2: COMPONENTS.CSS (Kartalar, Slayder, Paginatsiya, Modal, Reklama)
   ======================================================================== */

/* 1. USER PROFILE & DROPDOWN */
.login-wrapper { position: relative; z-index: 1001; }
.login-btn-link {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: #04140c; border: 0;
    padding: 10px 18px; border-radius: 30px;
    font-weight: 700; font-size: 14px; font-family: inherit; cursor: pointer;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.login-btn-link:hover { background: var(--accent-hover); color: #04140c; transform: translateY(-1px); }
.user-trigger { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; background-color: var(--bg-input); border: 1px solid var(--border); border-radius: 40px; cursor: pointer; transition: all 0.2s ease; }
.user-trigger:hover, .user-trigger[aria-expanded="true"] { border-color: var(--accent); background-color: var(--bg-hover); }
.user-avatar { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background-color: var(--bg-card); border: 2px solid var(--bg-body); }
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-name { font-weight: 600; font-size: 14px; color: var(--text-main); max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arrow-icon { font-size: 12px; color: var(--text-muted); }
.user-dropdown { position: absolute; top: calc(100% + 12px); right: 0; width: 260px; background-color: var(--bg-dropdown); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1); z-index: 9999; }
.user-dropdown.active { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-header { padding: 12px 16px; background-color: var(--bg-input); border-radius: 8px; margin-bottom: 8px; }
.dropdown-header b { display: block; font-size: 15px; color: var(--text-main); }
.dropdown-header span { font-size: 12px; color: var(--text-muted); }
.dropdown-list li a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; color: var(--text-muted); font-size: 14px; border-radius: 8px; transition: all 0.2s ease; text-decoration: none; }
.dropdown-list li a i { width: 20px; text-align: center; color: var(--accent); }
.dropdown-list li a:hover { background-color: var(--bg-hover); color: var(--text-main); }
.dropdown-list li a.logout-link i { color: var(--danger); }
.dropdown-list li a.logout-link:hover { background-color: rgba(229, 9, 20, 0.1); color: var(--danger); }
.pm-badge { margin-left: auto; min-width: 20px; padding: 1px 7px; border-radius: 999px; background: var(--accent); color: #04140c; font-size: 11px; font-weight: 800; text-align: center; }
.divider { height: 1px; background-color: var(--border); margin: 8px 0; }
@media (max-width: 992px) {
    .user-name { display: none; }
    .user-dropdown { right: -8px; width: 230px; }
    .login-btn-link { padding: 10px 12px; }
    .login-btn-link span { display: none; }
}

/* Auth modal + shared auth forms */
body.auth-modal-open { overflow: hidden; }
.auth-modal[hidden] { display: none !important; }
.auth-modal {
    position: fixed; inset: 0; z-index: 2147483600;
    display: flex; align-items: center; justify-content: center;
    padding: 20px 14px;
    pointer-events: auto !important;
}
.auth-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(4, 6, 10, 0.72);
    backdrop-filter: blur(10px);
}
.auth-modal__card, .auth-page__card {
    position: relative;
    width: 100%; max-width: 420px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 24px 22px;
    box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
.auth-modal__close {
    position: absolute; top: 12px; right: 12px;
    width: 36px; height: 36px; border: 0; border-radius: 50%;
    background: var(--bg-input); color: var(--text-main);
    font-size: 26px; line-height: 1; cursor: pointer;
}
.auth-brand {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-bottom: 14px;
}
.auth-brand .logo-circle { width: 34px; height: 34px; }
.auth-modal__card h2, .auth-page__title {
    margin: 0 0 6px; text-align: center;
    font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text-main);
}
.auth-lead { text-align: center; color: var(--text-muted); font-size: 14px; margin: 0 0 18px; line-height: 1.45; }
.auth-social { display: flex; flex-direction: column; gap: 10px; }
.auth-social__btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; border-radius: 12px; font-weight: 700; font-size: 15px;
    border: 1px solid rgba(255,255,255,.12); text-decoration: none;
}
.auth-social__btn--google { background: #fff; color: #1f2937; }
.auth-social__btn--google:hover { background: #f3f4f6; color: #111; }
.auth-social__btn--yandex { background: #1a1b20; color: #fff; border-color: rgba(252,63,29,.45); }
.auth-social__btn--yandex:hover { border-color: #fc3f1d; color: #fff; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--text-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-form, .auth-fields { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.auth-fields label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.auth-input {
    width: 100%; min-height: 48px; padding: 12px 14px;
    border-radius: 12px; border: 1px solid rgba(255,255,255,.1);
    background: var(--bg-input) !important; color: var(--text-main) !important;
    font: inherit;
}
.auth-input:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 3px var(--accent-glow); }
.auth-textarea { min-height: 110px; resize: vertical; }
.auth-submit {
    width: 100%; min-height: 50px; margin-top: 6px;
    border: 0; border-radius: 12px; cursor: pointer;
    background: var(--accent); color: #04140c;
    font: 800 16px/1 var(--font-ui);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.auth-submit:hover { background: var(--accent-hover); }
.auth-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 13px; color: var(--text-muted); }
.auth-links a { color: var(--text-main); }
.auth-links a:hover { color: var(--accent); }
.auth-links--center { justify-content: center; flex-wrap: wrap; }
.auth-check-row { display: flex; gap: 8px; }
.auth-check-btn {
    flex-shrink: 0; border: 1px solid var(--border); border-radius: 12px;
    background: var(--bg-input); color: var(--text-main); padding: 0 14px; cursor: pointer; font: 700 13px var(--font-ui);
}
.auth-check-result { min-height: 18px; font-size: 13px; margin-top: 6px; color: var(--accent); }
.auth-captcha { display: flex; gap: 10px; align-items: center; }
.auth-captcha__img img, .auth-captcha__img { border-radius: 8px; max-height: 48px; }
.auth-alert {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 12px 14px; margin-bottom: 14px; border-radius: 12px;
    background: rgba(0,230,118,.08); color: var(--text-main); font-size: 14px;
}
.auth-alert i { color: var(--accent); margin-top: 2px; }
.km-rules-actions {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px;
}
.km-btn {
    min-height: 48px; padding: 0 22px; border-radius: 12px; cursor: pointer;
    font: 800 15px var(--font-ui); border: 1px solid transparent;
}
.km-btn--primary { background: var(--accent); color: #04140c; border: 0; }
.km-btn--primary:hover { background: var(--accent-hover); }
.km-btn--ghost { background: transparent; color: var(--text-main); border-color: var(--border); }
.km-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
#dle-content:has(.km-rules-actions) {
    max-width: 720px; margin: 0 auto 40px; padding: 28px 24px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px;
}
#dle-content:has(.km-rules-actions) .page__title {
    font-family: var(--font-display); font-size: 22px; margin-bottom: 14px; color: var(--text-main);
}
.auth-page {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    display: flex;
    justify-content: center;
    padding: 10px 0 40px;
}
.auth-page__card { max-width: 460px; }
.auth-file { color: var(--text-muted); font-size: 13px; }
body.light-mode .auth-social__btn--google { border-color: #e5e7eb; }
body.light-mode .auth-social__btn--yandex { background: #111827; }
@media (max-width: 520px) {
    .auth-modal__card, .auth-page__card { padding: 22px 16px 18px; }
    .auth-check-row { flex-direction: column; }
}

/* 2. MOVIE CARDS (KINO KARTALARI) */
.movie-card { display: flex; flex-direction: column; background-color: var(--bg-card); border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-card); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; border: 1px solid transparent; text-decoration: none; height: auto; width: 100%; max-width: 100%; }
.movie-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.1); z-index: 2; }
.mc-poster { position: relative; width: 100%; padding-top: 150%; overflow: hidden; background: #1a1b20; }
.mc-poster::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, #1a1b20 8%, #2a2c33 18%, #1a1b20 33%);
  background-size: 200% 100%;
  animation: onetvShimmer 1.15s linear infinite;
  pointer-events: none;
  transition: opacity .35s ease;
}
.mc-poster.is-loaded::before { opacity: 0; }
.mc-poster img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.35s ease;
  opacity: 0;
  z-index: 2;
}
.mc-poster img.is-loaded,
.mc-poster.is-loaded img { opacity: 1; }
.movie-card:hover .mc-poster img { transform: scale(1.1); }
@keyframes onetvShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mc-poster::before,
  .fs-video-wrapper.is-shimmer::after,
  .fs-poster-box::before { animation: none !important; }
}
.mc-link {
  position: absolute;
  inset: 0;
  z-index: 8;
  text-indent: -9999px;
  overflow: hidden;
}

/* Badge stack — chap yuqori */
.mc-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
}
.mc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  max-width: 100%;
}
.mc-badge--new {
  display: none;
  background: linear-gradient(135deg, #00e676, #00c853);
  color: #04140a;
  box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7), 0 4px 14px rgba(0, 230, 118, 0.45);
  animation: mcNewPulse 1.6s ease-in-out infinite;
}
.movie-card.is-new .mc-badge--new {
  display: inline-flex;
}
@keyframes mcNewPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.55), 0 4px 14px rgba(0, 230, 118, 0.35);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 230, 118, 0), 0 6px 18px rgba(0, 230, 118, 0.55);
    filter: brightness(1.08);
  }
}
.mc-badge--ep {
  background: rgba(15, 16, 20, 0.82);
  color: #e5e7eb;
  text-transform: none;
  font-weight: 700;
  letter-spacing: 0;
}
.mc-badge--serial {
  margin-left: auto;
  background: rgba(0, 230, 118, 0.92);
  color: #04140a;
  box-shadow: 0 4px 12px rgba(0, 230, 118, 0.35);
}

/* IMDb — pastki chap */
.mc-imdb {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(245, 197, 24, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  line-height: 1;
}
.mc-imdb__label {
  font-size: 9px;
  font-weight: 900;
  color: #f5c518;
  letter-spacing: .04em;
}
.mc-imdb__val {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}

/* Kinopoisk — pastki o‘ng */
.mc-kp {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 102, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  line-height: 1;
}
.mc-kp__label {
  font-size: 9px;
  font-weight: 900;
  color: #ff6600;
  letter-spacing: .04em;
}
.mc-kp__val {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}

/* Legacy badges (history / related) */
.mc-badge.quality { background-color: var(--danger); position: absolute; top: 10px; left: 10px; z-index: 5; }
.mc-badge.episode { position: absolute; top: 10px; left: 10px; z-index: 5; background: rgba(15,16,20,.85); }
.mc-badge.serial-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  z-index: 5;
  background-color: var(--accent);
  color: #04140a;
  box-shadow: 0 4px 10px rgba(0, 230, 118, 0.35);
  display: flex;
  align-items: center;
  gap: 4px;
}
.mc-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; z-index: 3; pointer-events: none; }
.movie-card:hover .mc-overlay { opacity: 1; }
.mc-overlay i { font-size: 40px; color: var(--accent); }
.mc-info { padding: 12px; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between; min-width: 0; }
.mc-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 5px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 34px;
}
.mc-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.mc-meta > span:not(.mc-age):not(.mc-dot) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc-meta .text-over {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc-meta .mc-dot { flex-shrink: 0; opacity: .7; }
.mc-age {
  font-size: 10px;
  padding: 2px 5px;
  border: 1px solid var(--border);
  border-radius: 3px;
  flex-shrink: 0;
  margin-left: auto;
  white-space: nowrap;
}
.text-over {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
@media (max-width: 480px) { .mc-info { padding: 10px; } .mc-title { font-size: 12px; height: 32px; } }

/* 3. TOP FILMLAR — coverflow hero (center focus + side peeks) */
.top-films-section {
  margin: 4px 0 22px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.top-films-section > .section-title { display: none; }
.hero-spot {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.hero-spot__stage {
  position: relative;
  width: 100%;
  height: clamp(220px, 58vw, 360px);
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  isolation: isolate;
  perspective: 1200px;
}
@media (min-width: 768px) {
  .hero-spot__stage {
    height: clamp(300px, 38vw, 420px);
    border-radius: 20px;
  }
}

.hero-spot__track {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.hero-slide {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(86%, 720px);
  height: 100%;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transform: translateX(-50%) scale(0.82);
  transform-origin: center center;
  transition:
    transform .45s cubic-bezier(.22,.61,.36,1),
    opacity .4s ease,
    filter .4s ease,
    box-shadow .4s ease,
    visibility .4s;
  background: #0a0b0e;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.hero-slide.is-prev,
.hero-slide.is-next {
  opacity: .55;
  visibility: visible;
  pointer-events: none;
  z-index: 1;
  filter: saturate(.7) brightness(.72);
}
.hero-slide.is-prev {
  transform: translateX(calc(-50% - 58%)) scale(0.78);
}
.hero-slide.is-next {
  transform: translateX(calc(-50% + 58%)) scale(0.78);
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 3;
  filter: none;
  transform: translateX(-50%) scale(1);
  box-shadow:
    0 18px 48px rgba(0,0,0,.55),
    0 0 0 1px rgba(0,230,118,.18),
    0 0 40px rgba(0,230,118,.12);
}
@media (max-width: 640px) {
  .hero-slide { width: min(92%, 420px); border-radius: 16px; }
  .hero-slide.is-prev { transform: translateX(calc(-50% - 72%)) scale(0.76); }
  .hero-slide.is-next { transform: translateX(calc(-50% + 72%)) scale(0.76); }
}

.hero-slide__hit {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.hero-slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.04);
  transition: transform 7s ease-out;
  z-index: 0;
}
.hero-slide.is-active .hero-slide__bg { transform: scale(1.1); }

.hero-slide__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,9,12,.35) 0%, transparent 28%),
    linear-gradient(to top, rgba(8,9,12,.97) 0%, rgba(8,9,12,.72) 28%, rgba(8,9,12,.18) 52%, transparent 72%);
}

.hero-slide__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 12px 12px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  max-width: 100%;
  transform: translateY(8px);
  opacity: 0;
  transition: transform .45s ease, opacity .45s ease;
  pointer-events: none;
}
.hero-slide.is-active .hero-slide__content {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.hero-slide__content a,
.hero-slide__content .hero-slide__cta {
  pointer-events: auto;
  position: relative;
  z-index: 5;
}
@media (min-width: 640px) {
  .hero-slide__content { padding: 22px 24px 48px; gap: 10px; }
}

.hero-slide__chips {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
}
.hero-slide.is-active .hero-slide__chips { opacity: 1; }
.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  background: rgba(0,0,0,0.5);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-chip--top {
  background: var(--accent);
  color: #04140a;
  border-color: transparent;
}
.hero-chip--rate { color: #ffe082; }
.hero-chip--kp { color: #ff9a4d; }
.hero-chip--serial {
  background: rgba(0,230,118,.18);
  color: #b9ffd8;
  border-color: rgba(0,230,118,.35);
}

.hero-slide__genres {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
  font-size: 0; /* DLE " / " separator textini yashirish */
  line-height: 0;
}
.hero-slide__genres a,
.hero-slide__genres span {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  backdrop-filter: blur(6px);
}
.hero-slide__genres a:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 640px) {
  .hero-slide__bg { object-position: center 18%; }
  .hero-slide__veil {
    background:
      linear-gradient(180deg, rgba(8,9,12,.4) 0%, transparent 22%),
      linear-gradient(to top, rgba(8,9,12,.98) 0%, rgba(8,9,12,.78) 22%, rgba(8,9,12,.2) 42%, transparent 58%);
  }
  .hero-slide__chips { top: 8px; left: 8px; right: 8px; gap: 5px; }
  .hero-chip { padding: 3px 8px; font-size: 10px; }
  .hero-chip--quality,
  .hero-chip--rate { display: none; }
  .hero-slide__content { padding: 10px 12px 34px; gap: 5px; }
  .hero-slide__genres a:nth-child(n+3) { display: none; }
  .hero-slide__title {
    font-size: clamp(1.05rem, 5vw, 1.35rem);
    -webkit-line-clamp: 1;
  }
  .hero-year { min-width: 44px; padding: 7px 10px; font-size: 12px; }
  .hero-slide__cta { padding: 10px 14px; font-size: 12px; }
}

.hero-slide__title {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 4.2vw, 2.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow: 0 4px 20px rgba(0,0,0,.65);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-slide__meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}
.hero-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.hero-slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: #04140a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  box-shadow: 0 10px 24px var(--accent-glow);
  transition: transform .15s ease, background .2s ease;
}
.hero-slide__cta:hover,
.hero-slide__cta:focus-visible {
  background: #fff;
  transform: scale(1.04);
}

.hero-spot__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  background: rgba(10,11,14,0.62);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background .2s, color .2s, transform .15s;
}
.hero-spot__btn:hover,
.hero-spot__btn:focus-visible {
  background: var(--accent);
  color: #04140a;
  transform: translateY(-50%) scale(1.06);
}
.hero-spot__btn--prev { left: 6px; }
.hero-spot__btn--next { right: 6px; }
@media (min-width: 768px) {
  .hero-spot__btn { width: 46px; height: 46px; }
  .hero-spot__btn--prev { left: 14px; }
  .hero-spot__btn--next { right: 14px; }
}

.hero-spot__dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-spot__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: width .2s, background .2s;
}
.hero-spot__dot.is-active {
  width: 18px;
  background: var(--accent);
}

.hero-spot__progress {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 2px;
  z-index: 6;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
}
.hero-spot__progress > span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}
.hero-spot__progress.is-run > span {
  animation: hero-progress var(--hero-duration, 6s) linear forwards;
}
@keyframes hero-progress {
  from { width: 0%; }
  to { width: 100%; }
}

/* Home browse: years + genres */
.home-browse {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 8px 0 8px;
  width: 100%;
  min-width: 0;
}
.home-browse--years {
  margin: 40px 0 12px;
}
.home-browse__block { min-width: 0; }
.home-browse .section-title {
  margin-bottom: 12px;
  font-size: 1.05rem;
}
.home-years,
.home-genres {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}
.home-years::-webkit-scrollbar,
.home-genres::-webkit-scrollbar { display: none; }

.home-year-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 64px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #d1d5db;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s, transform .15s;
}
.home-year-chip.is-hot {
  border-color: rgba(0,230,118,.4);
  color: #fff;
  background: rgba(0,230,118,.1);
}
.home-year-chip:hover,
.home-year-chip:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,230,118,.12);
  transform: translateY(-1px);
}

.home-genre-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
}
.home-genre-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #fff;
  background:
    radial-gradient(120% 100% at 30% 20%, rgba(0,230,118,.22), transparent 55%),
    rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transition: border-color .2s, transform .15s, background .2s;
}
.home-genre-card__label {
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
  text-align: center;
  line-height: 1.2;
}
.home-genre-card:hover .home-genre-card__icon,
.home-genre-card:focus-visible .home-genre-card__icon {
  border-color: rgba(0,230,118,.45);
  transform: translateY(-2px);
  background:
    radial-gradient(120% 100% at 30% 20%, rgba(0,230,118,.35), transparent 55%),
    rgba(0,230,118,.08);
}
.home-genre-card:hover .home-genre-card__label { color: #fff; }

@media (min-width: 768px) {
  .home-year-chip { min-width: 72px; padding: 12px 16px; }
  .home-genre-card { width: 96px; }
  .home-genre-card__icon { width: 84px; height: 84px; font-size: 24px; border-radius: 18px; }
}

/* TV / large screens */
@media (min-width: 1600px) {
  .hero-spot__stage { height: 460px; }
  .hero-slide__cta { padding: 14px 22px; font-size: 15px; }
  .hero-spot__btn { width: 52px; height: 52px; font-size: 18px; }
}

/* 4. TREND STORIES (km-story) — professional ring carousel */
.stories-wrapper {
    margin-bottom: 28px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.stories-shell {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.stories-shell::before,
.stories-shell::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 18px;
    width: 56px;
    z-index: 2;
    pointer-events: none;
}
.stories-shell::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-body) 0%, transparent 100%);
}
.stories-shell::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-body) 0%, transparent 100%);
}
.stories-nav {
    position: absolute;
    top: 36px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: #04140a;
    background: var(--accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
    opacity: 0;
    transform: scale(.92);
    transition: opacity .2s ease, transform .2s ease;
}
.stories-shell:hover .stories-nav,
.stories-nav:focus-visible {
    opacity: 1;
    transform: scale(1);
}
.stories-nav:hover { filter: brightness(1.08); }
.stories-nav:disabled,
.stories-nav.is-hidden {
    opacity: 0 !important;
    pointer-events: none;
}
.stories-nav--prev { left: 8px; }
.stories-nav--next { right: 8px; }
.stories-nav i { font-size: 14px; pointer-events: none; }
.stories-rail {
    display: flex;
    gap: 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: none;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    padding: 8px 8px 16px;
    box-sizing: border-box;
    scrollbar-width: none;
}
.stories-rail::-webkit-scrollbar { display: none; }
@media (max-width: 992px) {
    .stories-nav,
    .stories-shell::before,
    .stories-shell::after { display: none !important; }
    .stories-rail { gap: 14px; padding: 6px 2px 14px; }
}

a.km-story {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 84px;
    min-width: 84px;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}
a.km-story:active { transform: scale(0.96); }

.km-story__ring {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    padding: 2.5px;
    background: conic-gradient(from 210deg, #00e676, #69f0ae, #00c853, #ff3366, #00e676);
    box-shadow: 0 6px 18px rgba(0, 230, 118, 0.18);
    transition: transform .2s ease, box-shadow .2s ease;
}
a.km-story:hover .km-story__ring,
a.km-story:focus-visible .km-story__ring {
    transform: scale(1.06);
    box-shadow: 0 8px 22px rgba(0, 230, 118, 0.35);
}
.km-story__img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-body);
    background: #111;
    display: block;
}
.km-story__title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}
a.km-story:hover .km-story__title { color: var(--text-main); }
a.km-story.is-seen .km-story__ring {
    background: #3a3d45;
    box-shadow: none;
}
a.km-story.is-seen .km-story__title { opacity: .7; }

/* Owl fallback if still used */
#optimized-history.owl-carousel .owl-stage { display: flex; align-items: flex-start; }
#optimized-history.owl-carousel .owl-stage-outer { padding: 4px 0 10px; }

/* Legacy aliases (safety) */
.story-item { display: none !important; }


/* 5. TAVSIYALAR UCHUN SCROLL (FAQAT ICHIDA YONGA — SAHIFANI KENGAYTIRMAYDI) */
.fs-bottom-sections,
.modern-fullstory,
.modern-generator,
.km-person {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
.related-rail {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-bottom: 28px;
  overflow: hidden;
}
.premium-scroll {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  gap: 12px !important;
  padding-bottom: 12px !important;
  align-items: stretch !important;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  touch-action: pan-x pan-y;
}
.premium-scroll::-webkit-scrollbar { height: 6px !important; display: block !important; }
.premium-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,0.02); border-radius: 10px; }
.premium-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }
.premium-scroll::-webkit-scrollbar-thumb:hover { background: var(--accent); }
.movie-card.related-card { display: flex !important; flex-direction: column !important; justify-content: flex-start !important; flex: 0 0 150px !important; width: 150px !important; max-width: 150px !important; height: auto !important; background: var(--bg-card) !important; border-radius: 12px !important; overflow: hidden !important; border: 1px solid rgba(255,255,255,0.05) !important; box-shadow: 0 5px 15px rgba(0,0,0,0.4) !important; }
.movie-card.related-card .mc-poster { width: 100% !important; aspect-ratio: 2 / 3 !important; position: relative !important; flex-shrink: 0 !important; background: #0a0a0a !important; padding-top: 0 !important; }
.movie-card.related-card .mc-poster img { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; }
.movie-card.related-card .mc-info { padding: 12px !important; display: flex !important; flex-direction: column !important; width: 100% !important; box-sizing: border-box !important; text-align: left !important; }
.movie-card.related-card .mc-title { font-family: var(--font-display) !important; font-size: 12px !important; font-weight: 600 !important; color: #fff !important; margin: 0 0 5px 0 !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; white-space: normal !important; line-height: 1.25 !important; letter-spacing: -0.02em !important; height: 32px !important; }
.drag-scroll { cursor: grab; } .drag-scroll.active { cursor: grabbing; }
@media (max-width: 768px) {
  .premium-scroll::-webkit-scrollbar { display: none !important; }
  .movie-card.related-card { flex: 0 0 120px !important; width: 120px !important; max-width: 120px !important; }
}

/* 6. ZAMONAVIY PAGINATSIYA (FIX: QISILIB QOLMASLIGI UCHUN ORDER 999) */
.modern-pagination, #bottom-nav { margin-top: 40px !important; margin-bottom: 20px !important; display: flex !important; flex-direction: column !important; align-items: center !important; gap: 20px !important; width: 100% !important; grid-column: 1 / -1 !important; box-sizing: border-box !important; padding: 0 10px !important; order: 999 !important; }
.nav-load-more { width: 100%; max-width: 400px; }
.nav-load-more a { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: rgba(255,255,255,0.05); color: #fff; padding: 16px; border-radius: 14px; font-weight: 700; font-size: 15px; border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; }
.nav-load-more a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.page-numbers-wrap { width: 100%; display: flex; justify-content: center; }
.page-numbers { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; background: rgba(0,0,0,0.4); padding: 10px 15px; border-radius: 25px; border: 1px solid rgba(255,255,255,0.05); max-width: 100%; box-sizing: border-box; }
.nav-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.page-numbers a, .page-numbers span { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; font-weight: 700; font-size: 14px; color: var(--text-muted); text-decoration: none; transition: 0.2s; }
.page-numbers a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav-items span { background: var(--accent); color: #fff; box-shadow: 0 0 15px var(--accent-glow); }
@media (max-width: 480px) { .page-numbers { padding: 8px 10px; gap: 5px; border-radius: 20px; } .page-numbers a, .page-numbers span { width: 32px !important; height: 32px !important; font-size: 13px !important; } .nav-items { gap: 4px; } }

/* 7. BANNERS & ADS */
.banner-place { width: 100%; min-height: 100px; background-color: var(--bg-card); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 30px; overflow: hidden; }
.ad-container { width: 100%; max-width: 900px; margin: 0 auto 40px auto; padding: 0 20px; box-sizing: border-box; }
.ad-placeholder { width: 100%; min-height: 100px; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.02), rgba(255,255,255,0.02) 10px, transparent 10px, transparent 20px); border: 2px dashed rgba(255,255,255,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 14px; font-weight: 500; transition: 0.3s; }
.ad-placeholder:hover { border-color: rgba(255,255,255,0.2); color: #fff; }

/* 8. QUICK GENRES */
.quick-genres-block { padding: 0 60px 40px 60px; }
.quick-genres { display: flex; flex-wrap: wrap; gap: 12px; }
.qg-tag { background: rgba(255,255,255,0.05); color: #fff; padding: 12px 20px; border-radius: 50px; font-size: 14px; font-weight: 600; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s ease; display: inline-flex; align-items: center; gap: 8px; }
.qg-tag:hover { background: rgba(255,255,255,0.15); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.5); border-color: rgba(255,255,255,0.2); }
@media (max-width: 992px) { .quick-genres-block { padding: 0 20px 30px 20px; } .qg-tag { padding: 10px 16px; font-size: 13px; } }

/* 9. MODAL PLAYER (history stories) */
.custom-modal {
  display: none; position: fixed; z-index: 2147483500; left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.92); backdrop-filter: blur(10px);
  align-items: center; justify-content: center; padding: 16px;
  pointer-events: none;
}
.custom-modal.is-open {
  display: flex !important;
  pointer-events: auto;
}
.custom-modal-content {
  position: relative; width: 100%; max-width: 420px;
  background: #0a0b0e; border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; padding: 14px 14px 16px;
  box-shadow: 0 0 40px var(--accent-glow); border: 1px solid #2a2c31;
}
.custom-progress-line {
  position: absolute; top: 0; left: 0; height: 3px;
  background: var(--accent); width: 0%; z-index: 10;
  box-shadow: 0 0 10px var(--accent);
}
.custom-modal-title {
  color: #fff; font-size: 15px; font-weight: 700;
  margin: 4px 36px 8px 4px; text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
.custom-close {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px;
  background: rgba(255,255,255,0.15); color: #fff; border: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  cursor: pointer; z-index: 20; transition: 0.2s; line-height: 1;
}
.custom-close:hover { background: rgba(255,255,255,0.35); transform: rotate(90deg); }
.custom-video-wrap { position: relative; margin-top: 4px; }
.custom-video {
  width: 100%; aspect-ratio: 9/16; max-height: min(70vh, 640px);
  object-fit: contain; border-radius: 12px; background: #000; display: block;
}
.custom-nav { position: absolute; inset: 0; display: flex; pointer-events: none; z-index: 2; }
.custom-nav__zone {
  flex: 1; pointer-events: auto; cursor: pointer;
  display: flex; align-items: center; background: transparent; border: 0; padding: 0; color: #fff;
}
.custom-nav__zone--prev { justify-content: flex-start; padding-left: 6px; }
.custom-nav__zone--next { justify-content: flex-end; padding-right: 6px; }
.custom-nav__chev {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.2);
  font-size: 22px; line-height: 1; opacity: .55;
  transition: opacity .2s, transform .15s, background .15s; pointer-events: none;
}
.custom-nav__zone:hover .custom-nav__chev,
.custom-nav__zone:focus-visible .custom-nav__chev {
  opacity: 1; background: rgba(0,0,0,.65); transform: scale(1.06);
}
.custom-nav-hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  z-index: 3; pointer-events: none;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: rgba(255,255,255,.75); background: rgba(0,0,0,.5);
  padding: 6px 10px; border-radius: 999px; white-space: nowrap;
  animation: km-nav-hint-fade 4s ease forwards;
}
@keyframes km-nav-hint-fade {
  0%, 60% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}
.custom-watch-btn {
  display: block; margin-top: 12px; text-align: center; padding: 13px;
  background: var(--accent); color: #04140a; border-radius: 12px;
  font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .4px;
  transition: .2s;
}
.custom-watch-btn:hover { background: #fff; transform: scale(1.02); }
@media (max-width: 520px) {
  .custom-modal { padding: 0; }
  .custom-modal-content {
    width: 100%; max-width: 100%; min-height: 100%; border-radius: 0; border: none;
    justify-content: center;
  }
  .custom-video { max-height: 78vh; }
  .custom-nav__chev { opacity: .7; width: 40px; height: 40px; }
  .custom-watch-btn { margin-bottom: calc(var(--bottom-nav-height) + 12px); }
}

.coll-hero {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  margin: 0 0 8px;
  padding: 28px 26px 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(0,230,118,.22), transparent 55%),
    radial-gradient(70% 90% at 100% 20%, rgba(0,230,118,.08), transparent 50%),
    var(--bg-card);
}
.coll-hero__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0 0 8px;
}
.coll-hero__text {
  max-width: 720px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.coll-card {
  display: block;
  position: relative;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  background: #121318;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.coll-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,230,118,.45);
  box-shadow: 0 18px 40px rgba(0,230,118,.16), 0 10px 28px rgba(0,0,0,.45);
}
.coll-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, #1a1c22 0%, #101218 60%, #0c1a14 100%);
}
.coll-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .55s ease, filter .35s ease;
}
.coll-card:hover .coll-card__media img {
  transform: scale(1.1);
  filter: saturate(1.15) brightness(1.05);
}
.coll-card__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,230,118,.7);
  font-size: 42px;
  background:
    radial-gradient(circle at 30% 20%, rgba(0,230,118,.18), transparent 45%),
    linear-gradient(160deg, #1b1d24, #101218);
}
.coll-card__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,9,12,.08) 18%, rgba(8,9,12,.55) 58%, rgba(8,9,12,.92) 100%);
  z-index: 1;
}
.coll-card__count {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(4,20,10,.78);
  border: 1px solid rgba(0,230,118,.35);
  color: #b9ffd8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  backdrop-filter: blur(8px);
}
.coll-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px 16px 16px;
}
.coll-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.coll-card__desc {
  margin: 0 0 10px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.coll-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  opacity: .9;
}
.coll-card__cta i {
  transition: transform .25s ease;
}
.coll-card:hover .coll-card__cta i {
  transform: translateX(4px);
}
.coll-block {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}
.coll-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: .2s;
}
.coll-chip:hover {
  border-color: rgba(0,230,118,.45);
  color: var(--accent);
}
@media (max-width: 768px) {
  .coll-hero { padding: 20px 16px; border-radius: 16px; }
  .coll-card__title { font-size: 16px; }
  .coll-card__body { padding: 16px 14px 14px; }
}