/* latern-tv.online — second brand version (steel + amber) */

:root {
  --lt-ink: #111827;
  --lt-ink-soft: #1f2937;
  --lt-mist: #eef2f7;
  --lt-paper: #f8fafc;
  --lt-line: #cbd5e1;
  --lt-line-strong: #94a3b8;
  --lt-forest: #0369a1;
  --lt-forest-deep: #075985;
  --lt-copper: #ea580c;
  --lt-text: #1e293b;
  --lt-muted: #64748b;
  --lt-white: #ffffff;
  --lt-radius: 10px;
  --lt-radius-lg: 14px;
  --lt-ease: cubic-bezier(0.22, 1, 0.36, 1);

  --main-color: #0369a1;
  --main-color-hover: #075985;
  --main-color-tem: #1f2937;
  --medium-color: rgba(17, 24, 39, 0.08);
  --two-medium-color: rgba(17, 24, 39, 0.16);
  --bg-main-color: #eef2f7;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "IBM Plex Sans", Manrope, Circe, sans-serif;
  color: var(--lt-text);
  background:
    radial-gradient(1100px 560px at 8% -8%, rgba(3, 105, 161, 0.14), transparent 55%),
    radial-gradient(900px 480px at 100% 5%, rgba(234, 88, 12, 0.09), transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, var(--lt-mist) 42%, #e2e8f0 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(15, 28, 36, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 28, 36, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

a {
  color: var(--lt-forest);
  transition: color 0.2s var(--lt-ease);
}

a:hover {
  color: var(--lt-copper);
}

::selection {
  background: rgba(3, 105, 161, 0.25);
  color: var(--lt-ink);
}

h1, h2, h3, h4, h5 {
  font-family: "Outfit", Manrope, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--lt-ink);
}

button:not(.btn-vion):not(.header__seatch_submit):not([class*="fr"]):not([class*="jGrowl"]):not(.searchbox__btn):not([class*="fancybox"]):not([class*="slick-custom-arrow"]):not(.form__btn):not([id*="mceu"]),
.button,
.btn,
input[type="button"]:not(.form__btn),
input[type="reset"],
input[type="submit"] {
  background: var(--lt-forest);
  color: var(--lt-white);
  border: 1px solid var(--lt-forest-deep);
  border-radius: var(--lt-radius);
  font-family: "Outfit", Manrope, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s var(--lt-ease), border-color 0.2s var(--lt-ease), transform 0.2s var(--lt-ease);
}

button:not(.btn-vion):not(.header__seatch_submit):not([class*="fr"]):not([class*="plyr"]):not(.search-btn):not([class*="fancybox"]):not([class*="slick-custom-arrow"]):not(.form__btn):not([id*="mceu"]):hover,
.button:hover,
.btn:hover,
input[type="button"]:not(.form__btn):hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  background: var(--lt-forest-deep);
  color: var(--lt-white);
  transform: translateY(-1px);
}

img, table, iframe, video, frame, embed, object {
  border-radius: var(--lt-radius);
}

/* Layout shell */
.wrapper {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  background: transparent;
  overflow: visible;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 12px 32px;
  margin: 16px 16px 0;
  background: rgba(17, 24, 39, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(143, 166, 179, 0.35);
  border-radius: var(--lt-radius-lg);
  box-shadow: none;
  background-image: none;
  animation: lt-header-in 0.7s var(--lt-ease) both;
}

@keyframes lt-header-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 1220px) {
  .header {
    padding: 10px 20px;
    height: auto;
    margin: 12px 12px 0;
  }
}

@media screen and (max-width: 768px) {
  .header {
    padding: 8px 14px;
    height: auto;
    margin: 8px 8px 0;
  }
}

.header__logo {
  flex-shrink: 0;
}

.header__logo:hover {
  color: var(--lt-forest);
  opacity: 0.9;
}

.hedr_img {
  padding: 0;
  filter: none;
}

.header__menu > li > a {
  color: rgba(232, 238, 242, 0.92);
  font-family: "Outfit", Manrope, sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.header__menu > li:hover > a,
.header__menu > li > a:hover {
  color: #fdba74;
}

.header__menu a:before {
  display: none;
}

.header__menu-hidden {
  background: var(--lt-ink-soft);
  border: 1px solid rgba(143, 166, 179, 0.35);
  border-radius: var(--lt-radius);
  box-shadow: none;
  padding: 8px 0;
}

.header__menu-hidden::before {
  display: none;
}

.header__menu-hidden a {
  color: rgba(232, 238, 242, 0.92);
  padding: 8px 16px;
}

.header__menu-hidden a:hover {
  background: rgba(3, 105, 161, 0.25);
  color: #fdba74;
}

.header__btn-menu {
  color: rgba(232, 238, 242, 0.92);
}

.header .header__menu {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-start;
  gap: 8px 18px;
}

.header .header__authorization.d-flex.ai-center {
  position: static;
  right: auto;
  top: auto;
  transform: none;
  flex-shrink: 0;
  margin-left: 0;
}

.header-timer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  margin-left: 12px;
  margin-right: 8px;
  padding: 4px 10px;
  color: rgba(232, 238, 242, 0.92);
  text-decoration: none;
  flex: 0 0 auto;
  min-width: 102px;
  transition: color 0.2s var(--lt-ease);
}

.header-timer:hover {
  color: #fdba74;
}

.header-timer__label {
  font-family: "Outfit", Manrope, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  color: rgba(232, 238, 242, 0.7);
}

.header-timer:hover .header-timer__label {
  color: #fdba74;
}

.header-timer__units {
  display: flex;
  gap: 8px;
}

.header-timer__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 36px;
}

.header-timer__num {
  font-family: "Outfit", Manrope, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fdba74;
}

.header-timer__cap {
  font-size: 1rem;
  line-height: 1.2;
  color: rgba(232, 238, 242, 0.55);
  text-transform: lowercase;
}

.header-timer--done .header-timer__num {
  color: var(--lt-forest);
}

@media (max-width: 768px) {
  .header-timer {
    min-width: 0;
  }

  .header-timer__num {
    font-size: 1.6rem;
  }

  .header-timer__label {
    font-size: 1rem;
  }
}

@media (max-width: 520px) {
  .header .header__menu {
    display: none;
  }
}

/* Schedule page */
.schedule-page h1 {
  margin-top: 0;
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 24px 0;
  border: 1px solid var(--lt-line);
  border-radius: var(--lt-radius-lg);
  overflow: hidden;
  background: var(--lt-white);
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--lt-line);
  font-family: "Outfit", Manrope, sans-serif;
  transition: background 0.2s var(--lt-ease);
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-row__num {
  font-weight: 600;
  color: var(--lt-ink);
}

.schedule-row__date {
  color: var(--lt-muted);
  text-align: right;
}

.schedule-row.is-past {
  opacity: 0.55;
}

.schedule-row.is-past .schedule-row__num::after {
  content: " · вышла";
  font-weight: 500;
  color: var(--lt-forest);
  font-size: 0.9em;
}

.schedule-row.is-next {
  background: rgba(3, 105, 161, 0.08);
  border-left: 3px solid var(--lt-forest);
}

.schedule-row.is-next .schedule-row__num {
  color: var(--lt-forest);
}

.schedule-row.is-next .schedule-row__date {
  color: var(--lt-ink);
  font-weight: 600;
}

@media (max-width: 520px) {
  .schedule-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .schedule-row__date {
    text-align: left;
  }
}

/* Hero */
.swiper-container.slider-main {
  margin: 20px 16px 0;
  border: 1px solid var(--lt-ink-soft);
  border-radius: var(--lt-radius-lg);
  overflow: hidden;
  animation: lt-hero-in 0.9s var(--lt-ease) 0.1s both;
}

@keyframes lt-hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-slider {
  background: var(--lt-ink);
}

.main-slider_background-gradient,
.main-slider_background-gradient:after,
.main-slider_gradient {
  background: linear-gradient(
    105deg,
    rgba(15, 28, 36, 0.92) 0%,
    rgba(15, 28, 36, 0.55) 48%,
    rgba(3, 105, 161, 0.25) 100%
  ) !important;
}

.main-slider_content {
  color: var(--lt-white);
}

.main-slider_content h1 {
  color: var(--lt-white);
  font-family: "Outfit", Manrope, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-shadow: none;
}

.main-slider_parameters span {
  color: rgba(244, 247, 249, 0.85);
  border: 1px solid rgba(244, 247, 249, 0.22);
  border-radius: 2px;
  padding: 2px 8px;
  background: rgba(15, 28, 36, 0.35);
}

.main-slider_parameters .rating {
  background: var(--lt-forest);
  border-color: var(--lt-forest);
  color: var(--lt-white);
  font-weight: 700;
}

.main-slider_parameters .age {
  background: transparent;
  border-color: var(--lt-copper);
  color: #fdba74;
}

.main-slider_description,
.main-slider_directors {
  color: rgba(232, 238, 242, 0.9);
}

.main-slider_directors-title {
  color: var(--lt-copper);
}

/* Episode / catalog cards */
.sect.ignore-select.typ9 {
  margin: 28px 16px;
  padding: 24px;
  background: var(--lt-paper);
  border: 1px solid var(--lt-line);
  border-radius: var(--lt-radius-lg);
}

.tabs {
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--lt-line);
  padding-bottom: 12px;
}

.tab {
  background-color: transparent !important;
  color: var(--lt-muted) !important;
  border: 1px solid var(--lt-line) !important;
  border-radius: var(--lt-radius) !important;
  font-family: "Outfit", Manrope, sans-serif;
  font-weight: 600;
  text-transform: none;
}

.tab:hover {
  color: var(--lt-forest) !important;
  border-color: var(--lt-forest) !important;
  background: rgba(3, 105, 161, 0.06) !important;
}

.tab.active {
  background-color: var(--lt-forest) !important;
  border-color: var(--lt-forest-deep) !important;
  color: var(--lt-white) !important;
}

.movie-item-neud {
  background: var(--lt-white);
  border: 1px solid var(--lt-line);
  border-radius: var(--lt-radius-lg);
  padding: 10px;
  transition: border-color 0.25s var(--lt-ease), transform 0.25s var(--lt-ease);
  animation: lt-card-in 0.7s var(--lt-ease) both;
}

.movie-item-neud:hover {
  border-color: var(--lt-forest);
  transform: translateY(-4px);
}

@keyframes lt-card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.movie-img_lin {
  border-radius: var(--lt-radius);
  border: 1px solid var(--lt-line);
  overflow: hidden;
}

.movie-img_lin img {
  border-radius: 0;
}

.movie-title {
  color: var(--lt-ink) !important;
  font-family: "Outfit", Manrope, sans-serif;
  font-weight: 600;
  margin-top: 10px;
  display: block;
}

.movie-title:hover {
  color: var(--lt-forest) !important;
}

/* SEO text blocks */
.section-l9.swiper-container {
  margin: 0 16px 28px;
  padding: 28px 32px;
  background: var(--lt-paper);
  border: 1px solid var(--lt-line);
  border-left: 4px solid var(--lt-forest);
  border-radius: var(--lt-radius-lg);
  color: var(--lt-text);
}

.section-l9 h1,
.section-l9 h2,
.section-l9 h3,
.section-l9 h4,
.section-l9 h5,
.section-l9 h6 {
  color: var(--lt-ink);
  border-left: none;
  padding-left: 0;
  margin-top: 1.4em;
}

.section-l9 h2 {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--lt-line);
}

.section-l9 p,
.section-l9 li {
  color: var(--lt-muted);
  line-height: 1.7;
}

.section-l9 ul li::marker,
.section-l9 ol li::marker {
  color: var(--lt-forest);
}

.section-l9 blockquote {
  background: rgba(3, 105, 161, 0.06);
  border-left: 4px solid var(--lt-copper);
  color: var(--lt-text);
}

.section-l9 a {
  color: var(--lt-forest);
  border-bottom: 1px solid rgba(3, 105, 161, 0.35);
}

/* Episode page */
.pages-bg,
.inner-page,
.pmovie__grid1,
.content {
  color: var(--lt-text);
}

.pmovie__player.tabs-block {
  background: var(--lt-ink);
  border: 1px solid var(--lt-ink-soft);
  border-radius: var(--lt-radius-lg);
  overflow: hidden;
}

.tabs-block__select span {
  background: var(--lt-ink-soft);
  color: var(--lt-mist);
  border: 1px solid transparent;
  border-radius: var(--lt-radius);
}

.tabs-block__select span.active {
  background: var(--lt-forest);
  border-color: var(--lt-forest-deep);
  color: var(--lt-white);
}

.episode-btn {
  background: var(--lt-forest) !important;
  border: 1px solid var(--lt-forest-deep) !important;
  border-radius: var(--lt-radius) !important;
  color: var(--lt-white) !important;
  font-family: "Outfit", Manrope, sans-serif;
}

.episode-btn:hover {
  background: var(--lt-forest-deep) !important;
}

.episode-btnscri {
  opacity: 0.45;
  pointer-events: none;
}

.pmovie__complaint a {
  color: var(--lt-copper);
}

/* Footer */
.footer {
  margin: 0 16px 24px;
  padding: 28px 32px !important;
  background: var(--lt-ink) !important;
  box-shadow: none !important;
  border: 1px solid var(--lt-ink-soft);
  border-radius: var(--lt-radius-lg);
  color: rgba(232, 238, 242, 0.85);
}

.about,
.section--last,
.footer {
  margin-left: 16px;
  margin-right: 16px;
  padding-left: 32px;
  padding-right: 32px;
}

.footer__menu a {
  color: var(--lt-mist) !important;
  font-family: "Outfit", Manrope, sans-serif;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.footer__menu a:hover {
  color: #fdba74 !important;
  border-bottom-color: var(--lt-copper);
}

.footer__copyright {
  color: rgba(232, 238, 242, 0.55);
  font-size: 1.3rem;
  margin-top: 12px;
}

/* Tables in content */
table {
  color: var(--lt-text);
  background: var(--lt-white);
}

table,
th,
td {
  border: 1px solid var(--lt-line);
}

th {
  background: rgba(3, 105, 161, 0.08);
  color: var(--lt-ink);
}

/* Mobile menu panel if used */
.js-this-in-mobile-menu {
  color: inherit;
}

@media (max-width: 768px) {
  .sect.ignore-select.typ9,
  .section-l9.swiper-container {
    margin-left: 8px;
    margin-right: 8px;
    padding: 18px 16px;
  }

  .swiper-container.slider-main {
    margin-left: 8px;
    margin-right: 8px;
  }

  .footer {
    margin: 0 8px 16px;
    padding: 20px 16px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
