*,*::before,*::after{box-sizing:border-box}
h1,h2,h3,h4,h5,p,ul{margin:0;padding:0}
ul{list-style:none}
a{text-decoration:none}
:root{--black:#282828;--green:#7BC343;--white:#EEEEEE;--gray:#BABABA;--gray-text:#5D5E64;--bg-color:var(--white);--text-color:var(--black)}
.dark-theme{--bg-color:#282828;--text-color:#EEEEEE;--gray-text:#BABABA}
body{min-height:100vh;margin:0;background-color:var(--bg-color);background-image:radial-gradient(ellipse at center,rgba(15,15,15,0) 20%,rgba(15,15,15,.7) 60%,#0F0F0F 100%),linear-gradient(to bottom,transparent 50%,#0F0F0F 95%),var(--dynamic-bg);background-repeat:no-repeat;background-position:top center;background-size:cover;background-attachment:fixed;font-family:"Montserrat",sans-serif;color:var(--text-color);transition:background-color .6s ease,color .6s ease}
body.no-scroll{overflow:hidden}
body.no-scroll .toggle{opacity:0;visibility:hidden;pointer-events:none}
.header{position:sticky;top:0;z-index:10000;width:100%}
.header__container{display:flex;justify-content:space-between;align-items:stretch;width:100%;max-width:1296px;min-height:64px;margin:100px auto 0;padding:16px;z-index:1000;background-color:var(--bg-color);border-bottom:1px solid var(--gray);transition:background-color .6s ease}
.header__logo-wrapper{display:flex;align-items:flex-start;flex-shrink:0;margin-right:20px}
.header__logo-icon{width:32px;height:32px;flex-shrink:0}
.header__main-name{margin-top:0;margin-left:10px;font-size:16px;font-weight:700;line-height:1.1;color:inherit;text-transform:uppercase;flex-shrink:0}
.sub-name{display:block;margin-top:2px;font-size:8px;font-weight:500}
.header__nav{display:flex;align-items:stretch;flex-grow:1}
.header__list{display:flex;flex-wrap:wrap;align-items:stretch;gap:16px;margin-left:20px}
.header__list-item{position:relative;display:flex;align-items:flex-start;justify-content:center;width:100px}
.header__list-link{position:relative;display:flex;align-items:flex-start;justify-content:center;gap:6px;font-size:13px;font-weight:600;line-height:1.2;color:inherit;text-align:center;white-space:normal;word-wrap:break-word;transition:color .3s ease}
.header__list-link:hover{color:var(--green)}
.header__controls{display:flex;align-items:center;gap:20px;z-index:105}
.toggle{position:relative;flex-shrink:0;width:72px;height:32px;margin-top:0;background-color:var(--white);border:1px solid var(--gray);border-radius:80px;cursor:pointer;transition:background-color .4s ease,opacity .2s ease,visibility .2s ease}
.toggle.active{background-color:#3399ff}
.circle{position:absolute;top:3px;left:3px;display:flex;align-items:center;justify-content:center;width:24px;height:24px;background-color:var(--green);border-radius:50%;transition:transform .4s cubic-bezier(.4,0,.2,1),background-color .4s ease}
.toggle.active .circle{transform:translateX(40px);background-color:var(--white)}
.circle .icon{width:18px;height:18px}
.circle .moon{display:none}
.circle .sun{display:block}
.toggle.active .circle .sun{display:none}
.toggle.active .circle .moon{display:block}
.arrow{display:inline-block;width:5px;height:5px;margin-top:4px;border-right:1.2px solid currentColor;border-bottom:1.2px solid currentColor;transform:rotate(45deg);flex-shrink:0;transition:transform .3s ease}
.header__list-item:hover .arrow{transform:rotate(-135deg)}

.dropdown-menu{position:absolute;top:100%;left:50%;z-index:100;width:250px;max-height:380px;padding:8px 0;overflow-x:hidden;overflow-y:auto;visibility:hidden;background-color:var(--bg-color);border:1px solid color-mix(in srgb,var(--gray) 30%,transparent);opacity:0;transform:translate(-50%,10px);transition:opacity .3s ease,transform .3s ease,visibility .3s,background-color .6s ease;scrollbar-width:thin;scrollbar-color:var(--green) transparent}
.dropdown-menu::-webkit-scrollbar{width:4px}
.dropdown-menu::-webkit-scrollbar-thumb{background-color:var(--green);border-radius:10px}
.dropdown-menu::-webkit-scrollbar-track{background:transparent}
@media (min-width:993px){
  .header__list-item.has-dropdown:hover .dropdown-menu{opacity:1;visibility:visible;transform:translate(-50%,0)}
  .header__list-item.has-dropdown::after{content:'';position:absolute;bottom:-15px;left:0;width:100%;height:15px}
}

.dropdown-item{border-bottom:1px solid var(--gray)}
.dropdown-item:last-child{border-bottom:none}
.dropdown-link{display:block;padding:12px 20px;font-size:14px;font-weight:500;color:var(--text-color);text-align:left;white-space:normal;transition:background-color .3s ease,color .3s ease}
.dropdown-link:hover{color:var(--green);background-color:rgba(123,195,67,.05)}
.burger{display:none;flex-direction:column;justify-content:space-between;width:32px;height:22px;padding:0;background:transparent;border:none;cursor:pointer;z-index:110}
.burger span{width:100%;height:3px;background-color:var(--text-color);transition:background-color .6s ease}

.hero__container{display:flex;flex-direction:column;width:100%;padding:0 16px;max-width:1296px;margin-inline:auto;background-color:var(--bg-color);transition:background-color .6s ease}
.hero__tittle{width:100%;max-width:1200px;margin-block:16px;font-size:21px;font-weight:700}
.hero__content{display:flex;flex-wrap:wrap;gap:20px;width:100%;margin-bottom:20px}
.hero__content #dle-content{display:contents}
.hero__poster{position:relative;flex-shrink:0;width:184px;height:272px;overflow:hidden}
.hero__poster-link{position:relative;display:block;width:100%;height:100%;color:var(--white)}
.hero__poster img,.hero__poster-img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1);transition:transform .3s ease}
.hero__poster-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(to top,rgba(0,0,0,.85) 0%,rgba(0,0,0,.2) 50%,rgba(0,0,0,0) 100%);transition:background .4s ease}
.hero__poster-year{position:absolute;top:4px;left:4px;z-index:2;padding:2px 7px;font-size:11px;font-weight:700;color:var(--white);background-color:var(--green);border-radius:2px}
.hero__poster-info{position:absolute;right:4px;bottom:4px;left:4px;z-index:2;display:flex;flex-direction:column;gap:8px}
.hero__poster-title{padding:0 4px;font-size:13px;font-weight:700;line-height:1.2;text-align:center;text-shadow:1px 1px 2px rgba(0,0,0,.8)}
.hero__poster-ratings{display:flex;justify-content:space-between;align-items:center}
.hero__poster-rating{padding:2px 7px;font-size:11px;font-weight:700;color:var(--white);border-radius:2px}
.hero__poster-rating.kp{background-color:#FF6600}
.hero__poster-rating.imdb{background-color:#FFCC00;color:#3F3200}
.hero__poster-play{position:absolute;top:50%;left:50%;z-index:2;width:0;height:0;border-top:14px solid transparent;border-bottom:14px solid transparent;border-left:22px solid var(--green);filter:drop-shadow(0px 0px 4px rgba(0,0,0,.5));opacity:0;transform:translate(-50%,-50%);transition:opacity .4s ease}
.hero__poster:hover .hero__poster-img{transform:scale(1.08)}
.hero__poster:hover .hero__poster-overlay{background:linear-gradient(to top,rgba(0,0,0,.95) 0%,rgba(0,0,0,.5) 100%)}
.hero__poster:hover .hero__poster-play{opacity:1}

.fullstory{display:flex;align-items:flex-start;width:100%;max-width:1296px;margin:20px auto}
.fullstory__poster{flex-shrink:0;width:184px;height:272px;margin-bottom:16px;overflow:hidden}
.fullstory__poster img{width:100%;height:100%;object-fit:cover;display:block}
.fullstory__content{flex-grow:1;display:flex;flex-direction:column;min-width:0}
.fullstory__title{color:var(--text-color);font-size:21px;font-weight:700;margin-bottom:20px;transition:color .6s ease}
.fullstory__subtitle{color:var(--text-color);font-size:18px;font-weight:700;transition:color .6s ease;margin-bottom:20px;margin-top:0}
.fullstory__shortstory{position:relative;color:var(--gray-text);font-size:16px;font-weight:500;line-height:18px;margin-bottom:0;max-height:72px;overflow:hidden;transition:max-height .3s ease-out,color .6s ease}
.fullstory__shortstory::after{content:'';position:absolute;bottom:0;left:0;width:100%;height:50px;background-color:var(--bg-color);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 100%);mask-image:linear-gradient(to bottom,transparent 0%,#000 100%);pointer-events:none;transition:background-color .6s ease,opacity .2s ease}
.fullstory__shortstory.is-expanded{max-height:1000px}
.fullstory__shortstory.is-expanded::after{opacity:0}
.fullstory__shortstory.no-fade::after{display:none}
.shortstory-wrapper{display:flex;flex-direction:column;margin-bottom:20px}
.shortstory-toggle-btn{display:inline-flex;align-items:center;gap:4px;margin-top:10px;padding:0;background:transparent;border:none;color:var(--text-color);font-family:inherit;font-size:16px;font-weight:600;cursor:pointer;transition:color .4s ease}
.shortstory-toggle-btn:hover,.shortstory-toggle-btn.active{color:var(--green)}
.shortstory-toggle-btn svg{width:16px;height:16px;transition:transform .3s ease}
.shortstory-toggle-btn.active svg{transform:rotate(-180deg)}
.fullstory__text{color:var(--gray-text);font-size:16px;font-weight:500;line-height:1.6;transition:color .6s ease}
.fullstory__text p{margin-bottom:16px}
.fullstory__text p:last-child{margin-bottom:0}
.fullstory__inline-img{display:block;width:100%;max-width:800px;aspect-ratio:16/9;object-fit:cover;object-position:center;margin:32px auto}
.fullstory__details{display:flex;width:100%;gap:20px}
.fullstory__details-col{flex:1;display:flex;flex-direction:column;gap:8px}
.fullstory__detail-item{display:block;line-height:18px}
.fullstory__detail-label{color:var(--text-color);font-size:16px;font-weight:600;margin-right:4px;transition:color .6s ease}
.fullstory__detail-value{color:var(--gray-text);font-size:16px;font-weight:500;transition:color .6s ease}
.fullstory__ratings{display:flex;align-items:center;gap:8px;margin-top:10px}
.fullstory__sidebar{flex-shrink:0;width:184px;margin-right:40px;position:sticky;top:84px;z-index:1}
.fullstory__rating{width:100%;background-color:var(--bg-color);padding:4px 10px 0 10px;transition:background-color .6s ease,border-color .6s ease}
.rating-buttons{display:flex;align-items:center;justify-content:space-between}
.rate-btn{background:transparent;border:none;color:var(--gray-text);cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;transition:color .3s ease,transform .2s ease}
.rate-btn svg{width:20px;height:20px}
.rate-btn:hover{transform:scale(1.15)}
.rate-btn.like-btn:hover{color:var(--green)}
.rate-btn.dislike-btn:hover{color:#E53935}
.rate-score{font-size:16px;font-weight:700;color:var(--text-color);transition:color .6s ease}

.fullstory__video-section{width:100%;margin-top:20px;clear:both}
.fullstory__player-section{width:100%;max-width:1296px;margin:20px auto}
.fullstory__player-tabs{display:flex;gap:12px;margin-bottom:20px;flex-wrap:wrap}
.player-btn{font-family:"Montserrat",sans-serif;background-color:var(--bg-color);color:var(--text-color);border:1px solid var(--gray);padding:10px 24px;font-size:14px;font-weight:600;cursor:pointer;border-radius:4px;transition:background-color .4s ease,color .4s ease,border-color .4s ease}
.player-btn:hover{border-color:var(--green);color:var(--green)}
.player-btn.active{background-color:var(--green);color:var(--white);border-color:var(--green)}
.fullstory__player-container{width:100%;background-color:#0F0F0F;overflow:hidden}
.player-content{display:none;width:100%}
.player-content.active{display:block;animation:fadeInPlayer .4s ease}
@keyframes fadeInPlayer{from{opacity:0}to{opacity:1}}
.player-iframe-wrapper{position:relative;width:100%;padding-top:56.25%;background:#000}
.player-iframe-wrapper iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:none}

.fullstory__faq{width:100%}
.fullstory__faq-title{font-size:18px;font-weight:700;color:var(--text-color);margin-bottom:20px;transition:color .6s ease}
.faq-wrapper{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}
.faq-item{background-color:transparent;border:1px solid var(--gray);border-radius:4px;overflow:hidden;transition:border-color .6s ease}
.faq-question{display:flex;justify-content:flex-start;align-items:center;width:100%;padding:16px 20px;background-color:var(--bg-color);color:var(--text-color);font-family:inherit;font-size:16px;font-weight:600;text-align:left;border:none;cursor:pointer;outline:none;transition:background-color .6s ease,color .3s ease}
.faq-question:hover{color:var(--green)}
.faq-arrow{display:inline-block;width:8px;height:8px;margin-left:auto;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);flex-shrink:0;transition:transform .4s ease,color .3s ease}
.faq-item.active .faq-arrow{transform:rotate(-135deg);color:var(--green)}
.faq-answer{display:grid;grid-template-rows:0fr;background-color:var(--bg-color);transition:grid-template-rows .4s ease,background-color .6s ease}
.faq-item.active .faq-answer{grid-template-rows:1fr}
.faq-answer-inner{overflow:hidden}
.faq-answer-content{padding:0 20px 16px 20px;color:var(--gray-text);font-size:14px;line-height:1.6;font-weight:500;transition:color .6s ease}

.footer__container{display:flex;align-items:flex-start;width:100%;max-width:1296px;min-height:96px;margin-inline:auto;padding:24px 16px;background-color:var(--bg-color);border-top:1px solid var(--gray);transition:background-color .6s ease}
.footer__inner{display:flex;align-items:center;width:100%}
.footer__logo-wrapper{display:flex;align-items:flex-start;flex-shrink:0;width:30%}
.footer__logo-icon{width:32px;height:32px;object-fit:contain;flex-shrink:0}
.footer__main-name{margin-left:10px;font-size:16px;font-weight:700;line-height:1.1;color:inherit;text-transform:uppercase;flex-shrink:0}
.footer__main-name .sub-name{display:block;margin-top:2px;font-size:8px;font-weight:500}
.footer__faq{width:65%;font-size:13px;font-weight:500}
.footer__link{color:var(--green)}

@media (max-width:992px){
  .burger{display:flex}
  .burger.active{position:fixed;top:24px;right:20px}
  .burger.active span:nth-child(1){transform:translateY(9.5px) rotate(45deg)}
  .burger.active span:nth-child(2){visibility:hidden;opacity:0}
  .burger.active span:nth-child(3){transform:translateY(-9.5px) rotate(-45deg)}
  .header__nav{position:fixed;top:0;right:0;z-index:100;display:block;width:100%;height:100vh;padding:100px 20px 40px;overflow-y:auto;background-color:var(--bg-color);transform:translateX(100%);transition:transform .4s ease,background-color .6s ease}
  .header__nav.active{transform:translateX(0)}
  .header__list{flex-direction:column;gap:0;margin-left:0}
  .header__list-item{display:block;width:100%;padding:0;border-bottom:1px solid var(--gray)}
  .header__list-link{justify-content:space-between;padding:18px 0;font-size:16px}
  .header__list-item.has-dropdown:hover .dropdown-menu{transform:none!important}
  .header__list-item:hover .arrow{transform:rotate(45deg)}
  .header__list-item.active .arrow{transform:rotate(-135deg)}
  .dropdown-menu{position:static;width:100%;max-height:0;padding:0;overflow:hidden;visibility:visible;background-color:transparent;border:none;opacity:1;transform:none!important;transition:max-height .4s ease}
  .header__list-item.active .dropdown-menu, .header__list-item.has-dropdown.active .dropdown-menu{max-height:500px;margin-top:10px;overflow-y:auto}
  .dropdown-item{border-bottom:none}
  .dropdown-link{padding:10px 15px;color:var(--text-color);opacity:.8}
  .footer__container{flex-direction:column;gap:24px}
  .footer__logo-wrapper{justify-content:flex-start;width:100%}
  .footer__faq{width:100%;font-size:12px;line-height:1.4}
}
@media (max-width:768px){
  .fullstory{flex-direction:column}
  .fullstory__poster{margin-right:0;margin-bottom:20px;align-self:center}
  .fullstory__details{flex-direction:column;gap:8px}
  .fullstory__related-section .hero__poster:nth-child(n+5){display:none}
}
@media (max-width:480px){
  .fullstory__player-tabs{gap:8px}
  .player-btn{flex:1;padding:10px 12px;font-size:13px}
  .fullstory__sidebar{position:static;width:100%;max-width:184px;margin:0 auto 20px auto}
  .hero__content{gap:10px}
  .hero__poster{flex:0 0 auto;width:calc(50% - 6px)}
  .hero__poster-img{width:100%;height:auto;aspect-ratio:2/3;object-fit:cover}
  .hero__poster-title{font-size:13px;line-height:1.2}
  .faq-question{padding:14px 16px;font-size:15px}
  .faq-answer-content{padding:0 16px 14px 16px}
}

.no-transition,.no-transition *{transition:none!important}
.static-container{max-width:1296px;margin:40px auto;padding:0 16px;background-color:var(--bg-color);color:var(--text-color);line-height:1.6;transition:background-color .6s ease}
.static-container .static-title{font-size:24px;font-weight:700;margin-bottom:24px;padding-bottom:12px;border-bottom:1px solid var(--gray)}
.static-container p{margin-bottom:18px}
[data-season="0"],[data-season=""],[data-season=" "]{display:none!important}


/* Основной контейнер контента таба */
.player-content {
    display: none; /* Скрыто по умолчанию */
    width: 100%;
    height: 480px; /* Фиксированная высота для всех плееров */
}

/* Когда таб активен — показываем его */
.player-content.active {
    display: block;
}

/* Настройка обертки и самого iframe внутри */
.player-iframe-wrapper {
    width: 100%;
    height: 100%;
}

.player-iframe-wrapper iframe {
    width: 100%;
    height: 480px;
    border: none;
    border-radius: 8px;
    background: #000; /* Черный фон пока грузится видео */
}

/* Стили для заглушки (Placeholder) */
.player-placeholder {
    width: 100%;
    height: 480px; /* Высота совпадает с плеером */
    background-color: var(--black); /* Основной темный цвет сайта */
    color: var(--gray); /* Серый текст */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
    border: 2px solid #333; /* Небольшая рамка для объема */
    box-sizing: border-box;
    padding: 20px;
}

/* Иконка в заглушке - используем акцентный зеленый цвет вашего сайта */
.player-placeholder svg {
    margin-bottom: 20px;
    color: var(--green); /* Зеленый из :root */
    width: 64px;
    height: 64px;
    opacity: 0.9;
}

/* Заголовок в заглушке */
.placeholder-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white); /* Светлый текст из палитры */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Текст описания в заглушке */
.placeholder-text {
    font-size: 15px;
    color: var(--gray-text);
    max-width: 400px;
    line-height: 1.5;
}