*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050810;
  color: #f5f5f5;
}

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

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top left, #402469 0, #050810 55%),
    radial-gradient(circle at bottom right, #1c2745 0, #050810 55%);
  opacity: 0.95;
}

.mf-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
  padding: 16px 4vw;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff3859;
}

.mf-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  margin-left: auto;
}

.mf-nav a {
  opacity: 0.8;
}

.mf-nav a:hover,
.mf-nav a.active {
  opacity: 1;
}

.search-box {
  margin-left: auto;
}

.search-box input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 36px 8px 12px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  min-width: 180px;
}

.theme-toggle {
  border-radius: 999px;
  border: none;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  border-radius: 999px;
  border: none;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.hero {
  padding: 80px 4vw 40px;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.3fr);
  gap: 32px;
}

.hero-main-title {
  font-size: clamp(2.4rem, 3.4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.hero-meta {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 0.95rem;
  opacity: 0.84;
  max-width: 520px;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.tagline {
  font-size: 0.8rem;
  opacity: 0.75;
}

.hero-right {
  justify-self: end;
}

.hero-poster {
  max-width: 320px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6);
  background: linear-gradient(145deg, #6524ff, #ff3859);
  aspect-ratio: 2 / 3;
  position: relative;
}

.hero-poster-inner {
  position: absolute;
  inset: 10px;
  border-radius: 20px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.9));
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-poster-chip {
  display: inline-flex;
  padding: 4px 10px;
  font-size: 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 10px;
}

.hero-poster-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-poster-meta {
  font-size: 0.75rem;
  opacity: 0.8;
}

main {
  padding: 0 4vw 60px;
}

.section {
  margin-top: 24px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.section-sub {
  font-size: 0.8rem;
  opacity: 0.7;
}

.page-breadcrumb {
  font-size: 0.78rem;
  opacity: 0.72;
  margin-bottom: 8px;
}

.page-breadcrumb a {
  color: #e50914;
}

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

.movie-card {
  background: rgba(5, 8, 16, 0.92);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.movie-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.65);
  background: rgba(12, 18, 32, 0.98);
}

.movie-card.favorite {
  border-color: #ffb74d;
}

.fav-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: none;
  font-size: 0.9rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  color: #f5f5f5;
  cursor: pointer;
  opacity: 0.9;
}

.fav-btn.active {
  background: #ffb74d;
  color: #1b1206;
}

.movie-poster {
  aspect-ratio: 2 / 3;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(145deg, #2c2f4f, #6b1fa7);
  position: relative;
  overflow: hidden;
}

.movie-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.movie-poster::after {
  content: "Meteorflix";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Quicksand", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #e50914;
  text-shadow:
    0 0 12px rgba(0, 0, 0, 0.9),
    0 4px 18px rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.movie-card:hover .movie-poster::before,
.movie-card:hover .movie-poster::after {
  opacity: 1;
}

.movie-body {
  padding: 8px 9px 10px;
}

.movie-title {
  font-size: 0.82rem;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-meta {
  font-size: 0.72rem;
  opacity: 0.7;
  display: flex;
  justify-content: space-between;
}

.btn {
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary {
  background: #ff3859;
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.mf-footer {
  padding: 20px 4vw 30px;
  font-size: 0.75rem;
  opacity: 0.65;
}

/* Light theme overrides */

body.theme-light {
  background: #f4f4f7;
  color: #111827;
}

body.theme-light .hero-bg {
  background:
    radial-gradient(circle at top left, #dbeafe 0, #f4f4f7 55%),
    radial-gradient(circle at bottom right, #e5e7eb 0, #f4f4f7 55%);
}

body.theme-light .mf-header {
  background: linear-gradient(to bottom, rgba(249, 250, 251, 0.94), rgba(249, 250, 251, 0.6));
}

body.theme-light .logo {
  color: #dc2626;
}

body.theme-light .search-box input {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.06);
  color: #111827;
}

body.theme-light .theme-toggle,
body.theme-light .nav-toggle {
  background: rgba(15, 23, 42, 0.04);
  color: #111827;
}

body.theme-light .movie-card {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.25);
}

body.theme-light .movie-card:hover {
  background: #f9fafb;
  box-shadow: 0 18px 35px rgba(148, 163, 184, 0.35);
}

body.theme-light .movie-poster {
  background-image: linear-gradient(145deg, #e5e7eb, #c4b5fd);
}

body.theme-light .mf-footer {
  opacity: 0.8;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.chip-filter {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  opacity: 0.8;
}

.chip-filter.active {
  background: #ff3859;
  border-color: #ff3859;
  opacity: 1;
}

/* Detail page */

.detail-page .mf-header {
  backdrop-filter: blur(14px);
  background: radial-gradient(circle at top left, rgba(18, 21, 36, 0.9), rgba(5, 8, 16, 0.92));
}

.detail-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image: var(
    --detail-backdrop,
    radial-gradient(circle at top left, #402469 0, #050810 55%)
  );
  background-size: cover;
  background-position: center top;
  filter: blur(18px) saturate(1.15);
  transform: scale(1.08);
  opacity: 0.75;
}

.detail-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      180deg,
      rgba(6, 8, 12, 0.1) 0%,
      rgba(6, 8, 12, 0.7) 40%,
      rgba(6, 8, 12, 0.98) 100%
    ),
    radial-gradient(circle at 15% 5%, rgba(229, 9, 20, 0.28), transparent 55%);
}

.detail-main {
  padding: 120px 4vw 60px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
  gap: 32px;
  margin-bottom: 30px;
}

.detail-poster {
  max-width: 320px;
  border-radius: 24px;
  background: linear-gradient(145deg, #6524ff, #ff3859);
  aspect-ratio: 2 / 3;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.85);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.detail-poster-inner {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.65) 65%,
    rgba(0, 0, 0, 0.9)
  );
  padding: 18px 16px;
}

.detail-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  background: rgba(8, 10, 14, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 18px;
}

.detail-title {
  font-size: clamp(2rem, 2.6vw, 2.4rem);
  font-weight: 800;
}

.detail-meta {
  font-size: 0.9rem;
  opacity: 0.8;
}

.detail-desc {
  font-size: 0.95rem;
  opacity: 0.86;
  max-width: 650px;
}

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

.tag {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.audience-rating-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
}

.audience-score-box {
  min-width: 64px;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 10px;
}

.audience-rating-main {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.audience-stars {
  display: flex;
  gap: 2px;
}

.audience-stars .star {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.35);
}

.audience-stars .star.filled {
  color: #ff2d2d;
}

.audience-votes {
  font-size: 0.78rem;
  opacity: 0.85;
}

.your-rating-badge {
  font-size: 0.78rem;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.your-rating-control {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.your-rating-label {
  font-size: 0.82rem;
  opacity: 0.88;
}

.your-stars {
  display: inline-flex;
  gap: 2px;
}

.your-star {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  padding: 0;
}

.your-star.active {
  color: #ff2d2d;
}

.detail-player-section {
  margin-top: 10px;
  background: rgba(8, 10, 14, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 14px;
}

.player-wrapper {
  margin-top: 10px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top, #212645, #050810);
}

.player-wrapper video {
  width: 100%;
  max-height: 60vh;
  display: block;
}

.detail-recommend {
  margin-top: 30px;
  background: rgba(8, 10, 14, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 14px;
}

.detail-episodes {
  margin: 10px 0 24px;
  background: rgba(8, 10, 14, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 14px;
}

.episodes-list {
  list-style: none;
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.episodes-list li {
  font-size: 0.8rem;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(5, 8, 16, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.episodes-list li:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 9, 20, 0.6);
}

.admin-box,
.admin-content {
  background: rgba(5, 8, 16, 0.9);
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.admin-form label {
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 6px 8px;
  color: #f9fafb;
  font-size: 0.85rem;
}

.admin-form textarea {
  resize: vertical;
}

.admin-form-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.admin-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

.admin-flags input {
  margin-right: 4px;
}

.admin-edit-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: #94a3b8;
}

.admin-content .movie-card {
  cursor: pointer;
}

.library-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.library-controls select {
  background: rgba(5, 8, 16, 0.96);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #f9fafb;
  padding: 6px 10px;
  font-size: 0.8rem;
}

body.theme-light .admin-box,
body.theme-light .admin-content {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.4);
}

body.theme-light .admin-form input,
body.theme-light .admin-form select,
body.theme-light .admin-form textarea {
  background: #f9fafb;
  color: #111827;
}

body.theme-light .library-controls select {
  background: #ffffff;
  color: #111827;
}

/* Responsive */

@media (max-width: 900px) {
  .mf-header {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .search-box {
    order: 3;
    width: 100%;
  }

  .search-box input {
    width: 100%;
  }

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

  .mf-nav {
    position: fixed;
    inset: 56px 0 auto 0;
    padding: 10px 4vw 12px;
    flex-direction: row;
    gap: 1.2rem;
    align-items: center;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.95));
    transform: translateY(-120%);
    transition: transform 0.18s ease;
  }

  body.nav-open .mf-nav {
    transform: translateY(0);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 70px;
  }

  .hero-right {
    justify-self: start;
  }

  .hero-poster {
    max-width: 220px;
  }

  .detail-main {
    padding-top: 70px;
  }

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

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

  .audience-rating-panel {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

/* Meteorflix portal homepage (IDLIX-inspired, sanitized) */

body.home {
  font-family: "Quicksand", system-ui, sans-serif;
  background: #0a0909;
  color: #f2f2f2;
}

body.home .hero-bg {
  display: none;
}

#dt_contenedor {
  background: #0a0909;
}

header.main {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

header.main .hbox,
#contenedor,
footer.main .fbox {
  width: min(1500px, 95vw);
  margin: 0 auto;
}

.fix-hidden {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
}

header.main .logo img {
  height: 48px;
  width: auto;
  display: block;
}

.head-main-nav {
  flex: 1;
}

.head-main-nav ul.main-header {
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: center;
}

.head-main-nav ul.main-header li a {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 8px;
  color: #f2f2f2;
  font-size: 0.9rem;
}

.head-main-nav ul.main-header li a:hover {
  background: rgba(229, 9, 20, 0.2);
  color: #e50914;
}

.headitems .search form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.headitems .search input {
  width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 9px 14px;
}

.search-button {
  border: none;
  border-radius: 999px;
  background: #e50914;
  color: #fff;
  padding: 8px 14px;
  cursor: pointer;
}

#contenedor {
  padding: 16px 0 26px;
}

.module .content.full_width_layout.full {
  width: 100%;
}

.module_home_ads .alert-box {
  margin: 0 0 16px;
  background: #1c1c1b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  line-height: 1.6;
  padding: 12px 14px;
  font-size: 0.88rem;
}

.kalongrow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.kalongcolumn img {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.module_home_ads .badge {
  display: inline-block;
  background: #e50914;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  margin-right: 8px;
}

.module .content > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin: 18px 0 12px;
  padding-bottom: 8px;
}

.module .content > header h2 {
  font-size: 1.1rem;
  border-left: 4px solid #e50914;
  padding-left: 9px;
}

.module .content > header .see-all {
  color: #e50914;
  font-size: 0.85rem;
}

.nav_items_module {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav_items_module .nav-btn {
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.82rem;
}

.nav_items_module .nav-btn:hover {
  border-color: #e50914;
  color: #e50914;
}

.items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}

.carousel-row {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding-bottom: 4px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

.carousel-row .item {
  flex: 0 0 min(180px, 42vw);
}

.items .item {
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

.movie-grid .item {
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

.items .item:hover,
.movie-grid .item:hover {
  transform: translateY(-6px);
  border-color: #e50914;
  background: #141414;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.9);
}

.item .poster {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.item .poster img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition:
    transform 0.18s ease,
    filter 0.18s ease;
}

.item .poster .rating,
.item .poster .quality,
.item .poster .featu {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 0.72rem;
}

.item .poster .quality,
.item .poster .featu {
  top: auto;
  bottom: 8px;
}

.item .poster .quality {
  background: #e50914;
}

.item .poster .see.play4 {
  position: absolute;
  inset: 0;
}
.item .poster .see.play4 {
  position: absolute;
  inset: 0;
  background-color: transparent;
  background-image: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition:
    opacity 0.18s ease,
    background-color 0.18s ease;
}

.items .item:hover .poster .see.play4,
.movie-grid .item:hover .poster .see.play4 {
  opacity: 1;
}

.item .poster .see.play4::before {
  content: "Meteorflix";
  font-family: "Quicksand", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #e50914;
  max-width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
  text-shadow:
    0 0 12px rgba(0, 0, 0, 0.9),
    0 4px 18px rgba(0, 0, 0, 0.9);
}

.items .item:hover .poster img,
.movie-grid .item:hover .poster img {
  transform: scale(1.03);
  filter: blur(1px) brightness(0.6);
}

.item .data {
  padding: 10px;
}

.item .data h3 {
  font-size: 0.85rem;
  line-height: 1.35;
  margin-bottom: 6px;
  min-height: 2.2em;
}

.item .data h3 a:hover {
  color: #e50914;
}

.item .data span {
  font-size: 0.76rem;
  opacity: 0.78;
}

.movie-grid .item .data h3 {
  font-size: 0.85rem;
  line-height: 1.35;
  margin-bottom: 6px;
  min-height: 2.2em;
}

.movie-grid .item .data span {
  font-size: 0.76rem;
  opacity: 0.78;
}

footer.main {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 20px;
  padding-top: 18px;
}

.fcmpbox .primary {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

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

.columenu .item h3 {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.columenu .menu,
.fmenu .menu {
  list-style: none;
  display: grid;
  gap: 4px;
}

.columenu .menu a,
.fmenu .menu a {
  font-size: 0.82rem;
  color: #ddd;
}

.columenu .menu a:hover,
.fmenu .menu a:hover {
  color: #e50914;
}

.fotlogo .logo {
  color: #e50914;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.fotlogo .text p {
  font-size: 0.82rem;
  opacity: 0.85;
  line-height: 1.55;
}

footer.main .copy {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
}

.fmenu .menu {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

@media (max-width: 980px) {
  .fix-hidden {
    flex-wrap: wrap;
  }

  .head-main-nav {
    order: 3;
    width: 100%;
  }

  .head-main-nav ul.main-header {
    flex-wrap: wrap;
  }

  .headitems .search input {
    width: 170px;
  }

  .items {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }

  .kalongrow {
    grid-template-columns: 1fr;
  }

  .fcmpbox .primary {
    grid-template-columns: 1fr;
  }

  .columenu {
    grid-template-columns: 1fr;
  }
}

