@charset "utf-8";
/* CSS Document */
   :root {
            --primary-color: #2c3e50;
            --secondary-color: #f8f8f8;
            --accent-color: #3498db;
            --menu-bg: #417A51;
            --menu-border: #B7AA80;
        }
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #5692B7;
            background-color: #1E1F23;
            line-height: 1.6;
        }


iframe { 
    border-color: #1E1A1F; 
        }

a {
  text-decoration: none;
}

.translation-tabs {
  display: flex;
  margin: 10px 10px;   
  flex-wrap: wrap;
  gap: 2px;    
  max-width: 100%;
  overflow-x: auto;   
            
}
.translation-tabs button {
  padding: 10px 25px;
  background: #5C5461;
  border: none; 
  cursor: pointer;
  font-size: 16px;
  outline: none;
  transition: background 0.2s;
}
.translation-tabs > div {
  cursor: pointer;
  background: #5C5461;
  margin-right: 2px;
}
.translation-tabs >  .active {
  background: #983740;
    color: #DCC192; 
}

.translation-tabs > div {
  margin-right: 2px;
}


.translation-tabs > .active button {
  background: #983740; 
    color: #DCC192;
}
.translation-tabs button:focus {
  box-shadow: 0 0 0 2px #99c;
}

  .tabs {
  display: flex;
  margin: 10px 10px;
   
    flex-wrap: wrap; /* Разрешаем перенос на новую строку */
    gap: 2px; /* Отступ между табами */
    
    max-width: 100%; /* Ограничиваем ширину */
    overflow-x: auto;  /* Для скролла */         
            
}
.tabs > div {
  cursor: pointer;
  background: #5C5461;
  margin-right: 2px;
}
.tabs > div.active {
  background: #983740;
  font-weight: bold; 
}

.tabs > div {
  margin-right: 2px;
}
 
.tabs button {
  padding: 10px 25px;
  background: #5C5461;
  border: none; 
  cursor: pointer;
  font-size: 16px;
  outline: none;
  transition: background 0.2s;
}
.tabs > div.active button {
  background: #983740; 
    color: #DCC192;
}
.tabs button:focus {
  box-shadow: 0 0 0 2px #99c;
}
.video-player-container {
    border: 1px solid #FFAB59;  
    overflow: hidden;  
    margin: 20px 0;
}

        .page-wrapper {
            width: 100%;
            min-width: 320px;
            max-width: 1270px;
            margin: 0 auto;
            position: relative;
            z-index: 200;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            background-color: white;
            box-shadow: 0 0 15px rgba(0,0,0,0.1);
        }


 .player, .player-hood {
  width: 100%;
  margin: 0;
  padding: 0;
}
 
.ifr {
  width: 100%;
  height: 400px; /* Можно изменить или сделать адаптивным */
  display: block;
  border: none;
}


.movies-section {
  background: #1E1A1F;
  border-radius: 8px;
  padding: 15px;
  margin: 30px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border: 1px solid #3A2A35;
}

.section-header h2 {
  color: #FFAB59;
  font-size: 28px;
  text-align: center;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
}

.movies-category {
  margin-bottom: 40px;
}

.movies-category:last-child {
  margin-bottom: 0;
}

.movies-category h3 {
  color: #B7AA80;
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #3A2A35;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.movie-card {
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 5px;
  overflow: hidden;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.movie-poster {
  width: 100%;
  height: 0;
  padding-bottom: 100%; /* Квадратное соотношение */
  background-size: cover;
  background-position: center;
  border-radius: 5px;
  border: 1px solid #3A2A35;
}

.movie-info {
  padding: 10px 5px;
  text-align: center;
}

.movie-title {
  color: #F4EDFF;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-year {
  color: #B7AA80;
  font-size: 12px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .movies-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
  
  .movies-category h3 {
    font-size: 18px;
  }
  
  .movie-title {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .movies-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
  }
  
  .pixar-movies-section {
    padding: 15px;
  }
}


        header { 
            background-color: #000;
            padding:  10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            color: white;
    border: 1px solid #B7AA80;
        }
        
        .logo { 
    text-transform: uppercase;
            font-size: 22px;  
            color: white; 
    text-decoration: none; 
    display: inline-block; /* Для правильного отображения */
}


/* Контейнер */
.seasons-container {
    background: #1E1A1F;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Заголовок */
.seasons-header {
    color: #FFAB59;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Сетка сезонов */
.seasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

/* Карточка сезона */
.season-card {
    background: #321E2A;
    color: #EEE;
    padding: 12px 15px;
    text-align: center;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid #3A2A35;
}

/* Активный сезон */
.season-card.active {
    background: #FFAB59;
    color: #321E2A;
    font-weight: 600;
    border-color: #E89C4B;
}

/* Ховер-эффект */
.season-link:hover .season-card {
    background: #3A2A35;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .seasons-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .season-card {
        padding: 10px 10px;
        font-size: 14px;
    }
}


.uff{
    font-size: 14px;
    margin-bottom: 20px;
    padding: 8px 15px;
    background-color: #1E1F23;
    border-radius: 4px;
    border: 1px solid #A0A0A0;
}
.uff h1 {
    color: #A0A0A0;
    display: inline;
    margin: 0; 
    font-size: inherit;font-weight:400;  
}
.uff .yel {
    color: #FFAB59; 
    text-decoration: none; 
    transition: color 0.3s;
}

.uff .yel:hover {
    color: #FFD700; /* Более яркий желтый при наведении */
    text-decoration: underline;
}
.uff a {
    color: #417A51;
    text-decoration: none;
    transition: color 0.3s;
}

.uff a:hover {
    color: #FFAB59;
    text-decoration: underline;
}

.uff .divider {
    color: #999;
    margin: 0 5px;
}

.uff span:last-child {
    color: #333;
    font-weight: 500;
}
.con-genre { 
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.con-genre span {
    background: #3A2A35;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 11px;
    color: #FFAB59;
}
/* Заголовки */
.con-header h2 {
    color: #FFF;
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 10px 0;
    text-align: center;
}

.con-subtitle {
    color: #B7AA80;
    font-size: 16px; 
    text-align: center;
    margin-bottom: 20px;
}

/* Остальные стили остаются без изменений */
.con-spotlight {
    max-width: 800px;
    margin: 30px auto;
    text-align: center;
    background: #1E1A1F;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.con-poster {
    margin: 20px 0;
}

.con-poster img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    border: 2px solid #3A2A35;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.con-description {
    text-align: left;
    color: #DDD;
    line-height: 1.6;
    margin-top: 20px;
    padding: 0 15px;
}

.con-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    color: #B7AA80;
    font-size: 14px;
}

@media (max-width: 768px) {
    .con-header h2 {
        font-size: 24px;
    }
    
    .con-subtitle {
        font-size: 18px;
    }
}


 
/* Уточняем для меню */
.sidebar a:visited,
.header-categories a:visited {
    color: white;
}

/* Для ссылок в основном контенте */
 
.logo :hover{text-shadow:1px 1px 0 black,1px -1px 0 black,-1px 1px 0 black,-1px -1px 0 black;color:#E46329;}

.header-categories a:nth-child(1) {
  background: #417A51 url('../img/iconmenu01.webp') no-repeat 5px center/114px 53px;
}

.header-categories a:nth-child(2) { 
  background: #5C5461 url('../img/iconmenu02.webp') no-repeat 0px center/101px 53px;
}

.header-categories a:nth-child(3) {
  background: #003658 url('../img/iconmenu03.webp') no-repeat 0px center/105px 53px;
}

.sidebar a:nth-child(1) {
    background: #321E2A url('../img/chapter01.webp') no-repeat 5px center/80px 55px;
}
.sidebar a:nth-child(2) {
    background: #321E2A url('../img/chapter02.webp') no-repeat 5px center/97px 60px;
}
.sidebar a:nth-child(3) {
    background: #321E2A url('../img/chapter03.webp') no-repeat 5px center/130px 35px;
}
.sidebar a:nth-child(4) {
    background: #321E2A url('../img/chapter04.webp') no-repeat 5px center/92px 60px;
}
.sidebar a:nth-child(5) {
    background: #321E2A url('../img/chapter05.webp') no-repeat 5px center/104px 55px;
}
.sidebar a:nth-child(6) {
    background: #321E2A url('../img/chapter06.webp') no-repeat 5px center/66px 60px;
}
.sidebar a:nth-child(7) {
    background: #321E2A url('../img/chapter07.webp') no-repeat 5px center/120px 66px;
}
.sidebar a:nth-child(8) {
    background: #321E2A url('../img/chapter08.webp') no-repeat 5px center/69px 65px;
}
.sidebar a:nth-child(9) {
    background: #321E2A url('../img/chapter09.webp') no-repeat 5px center/109px 50px;
}
.sidebar a:nth-child(10) {
    background: #321E2A url('../img/chapter10.webp') no-repeat 5px center/82px 63px;
}
.sidebar a:nth-child(11) {
    background: #321E2A url('../img/chapter11.webp') no-repeat 5px center/94px 63px;
}
 



        
        .header-categories {
            display: flex;
            gap: 15px;
        }
        
        .header-categories a {
            background: var(--menu-bg);
            padding: 10px 20px;
            text-decoration: none;
            border: 1px solid var(--menu-border);
            border-radius: 5px;
            color: white;
            font-weight: 300;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 14px;
            transition: all 0.3s;
    padding-left: 120px;  
}
        
        .header-categories a:hover {
            background-color: #FFAB59;
            transform: translateY(-2px);
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }
 
 


        .header-images {
            display: flex;
            gap:  0px;
        }
        
        .header-images img {
            width: 43px;
            height: 43px; 
        }
        
        .burger-menu {
            display: none;
            flex-direction: column;
            justify-content: space-around;
            width: 30px;
            height: 25px;
            cursor: pointer;
        }
        
        .burger-line {
            height: 3px;
            width: 100%;
            background-color: white;
            border-radius: 3px;
        }
        
.top-block a.top-link {
    display: block;
    border: none !important;
    background: none !important;
    padding: 0;
    margin: 20px 20px 0 20px;
}
 

.top-block a, 
.top-block a:hover, 
.top-block a:visited {
    color: inherit !important;
    text-decoration: none !important;
    font-weight: normal !important;
}
        /* Основной контент */
        .container {
            display: flex;
            flex: 1;
        }
        
        .sidebar {
            width: 350px;
           background-color: #000;
    border: 1px solid #B7AA80;
            padding: 20px; 
            transition: transform 0.3s ease;
        }
        
        .sidebar nav {
            display: flex;
            flex-direction: column;
        }
        
        .sidebar a {
            background: #321E2A;
            padding: 12px 15px;
            text-decoration: none;
            border: 1px solid var(--menu-border);
            border-radius: 5px;
            color: #F1A154;
            font-weight: 300;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 13px;
            margin-bottom: 10px;
            transition: all 0.3s;
    padding-left: 145px;  
        }
        
        .sidebar a:hover {
            background-color: #C97E06;
            color: white;
            transform: translateX(5px);
        }
        
        .sidebar-banner {
            margin-top: 30px;
            padding: 15px;
            background-color: #000;
            border: 1px solid #000;
            border-radius: 5px;
            text-align: center;
        }
  

.sidebar2 {
            width: 350px;
           background-color: #000;
    border: 1px solid #B7AA80;
            padding: 20px; 
            transition: transform 0.3s ease;
        }
        
        .sidebar2 nav {
            display: flex;
            flex-direction: column;
        }
        
        .sidebar2 a {
            background: #321E2A; 
            text-decoration: none;
            border: 1px solid var(--menu-border);
            border-radius: 5px;
            color: #F1A154;
            font-weight: 300;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 13px;
            margin-bottom: 10px;
            transition: all 0.3s; 
        }
        
        .sidebar2 a:hover {
            background-color: #C97E06;
            color: white;
            transform: translateX(5px);
        }
 
.sidebar2 .letter {
    
    display: flex; /* Включаем Flexbox */
    justify-content: center; /* Центрируем по горизонтали */
    align-items: center;
    width: 60px;
    height: 60px;
            font-weight: 400; 
    text-align: center;
    color: #DDD;
    text-decoration: none;
    font-size: 24px;
    border: 1px solid #B7AA80;
    border-radius: 4px;
    transition: all 0.2s;
}

.sidebar2 letter:hover {
    background: #FFAB59;
    color: #321E2A;
    border-color: #FFAB59;
    transform: translateY(-2px);
}

        .main-content {
            flex: 1;
            padding: 20px;
            max-width: calc(100% - 250px);
            background-color: #161C21;
    border: 1px solid #B7AA80;
        }
        
        .spa {
            background-color: #1E1F23;
            padding: 15px;
            text-align: center;
            margin: 0;
        }
.styled-link { 
    padding: 10px 20px;  
    font-family: sans-serif;   
}
 
/* Контейнер */
.notice-bar {
    background: linear-gradient(90deg, #321E2A 0%, #3A2A35 100%);
    border-left: 4px solid #FFAB59;
    border-radius: 4px;
    padding: 12px 15px 12px 50px; /* Увеличили левый отступ */
    margin: 0 0 25px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}
/* Блок алфавита */
.alphabet-box {
    margin: 20px 0;
    padding: 10px;
    background: #1E1A1F;
    border-radius: 6px;
    border: 1px solid #3A2A35;
}

.alphabet-title {
    color: #FFAB59;
    font-size: 15px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 400;
}

.alphabet-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

/* Стили букв */
.letter {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: #DDD;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid #B7AA80;
    border-radius: 4px;
    transition: all 0.2s;
}

.letter:hover {
    background: #FFAB59;
    color: #321E2A;
    border-color: #FFAB59;
    transform: translateY(-2px);
}
/* Содержимое */
.notice-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #C0C0C0;
    font-size: 15px;
}

/* Иконка */
.notice-icon {
    position: absolute;
    margin-left: 2%;
    left: 15px;
    top: 54%;
    transform: translateY(-50%);
    width: 60px;
    height: 53px;
    background: url('../img/casper.webp') no-repeat center;
    background-size: contain;
}

/* Ссылки */
.notice-link {
    background: rgba(255,171,89,0.2);
    color: #FFF;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s;
    padding: 3px 6px;
    margin: 3px 5px;
    border-radius: 3px;
}

.notice-link:hover {
    color: #E0B4C3;
    background: #8A6C8E; 
}

/* Разделитель */
.notice-text {
    margin-left: 10%;
    flex: 1;
}

/* Updates Block Styles */
.updates-container {
    background: #1E1A1F;
    border-radius: 8px;
    padding: 15px;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #DDD;
}

.updates-header {
    text-align: center;
    margin-bottom: 20px;
}

.updates-header h2 {
    color: #FFAB59;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 5px;
}

.updates-subtitle {
    color: #B7AA80;
    font-size: 16px;
    margin-bottom: 10px;
}

.updates-highlight {
    color: #FFF;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.updates-description {
    text-align: center;
    font-size: 14px;
    color: #AAA;
    margin-bottom: 20px;
}

.updates-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #B7AA80, transparent);
    margin: 25px 0;
}

.updates-section h3 {
    color: #FFAB59;
    font-size: 18px;
    font-weight: 300; 
}

.updates-section-subtitle {
    color: #B7AA80;
    font-size: 14px;
    margin-bottom: 20px;
}

.updates-item {
    background: #321E2A;
    padding: 5px 15px 5px 30px; 
    margin-bottom: 7px;
    border-left: 8px solid #FFAB59;
    display: flex;
    justify-content: space-between; 
    gap: 20px;
    position: relative; 
    transition: all 0.3s ease;
}

.updates-item:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.updates-item-title {
    font-size: 15px;
    color: #F4EDFF;
    font-weight: 400; 
}

.updates-item-subtitle {
    font-size: 11px;
    color: #B7AA80;
    margin-bottom: 3px;
}

.updates-item-info {
    font-size: 13px;
    color: #AAA;
}

.updates-item.featured {
  background: #2A2228;
}

.updates-item.featpr {
  background: #3A2A35;
    border-left: 8px solid #F93838;
}
.updates-item.featfin {
  background: #321E2A;
    border-left: 8px solid #669;
}
.updates-item.featnew {
    border-left: 8px solid #6A8541;
}
.updates-item-text {
    flex: 1;
    position: relative; /* Для позиционирования дополнительных элементов */
}

.updates-item-image {
    width: 230px;
    height: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center; /* Центрируем картинку по вертикали */
}

.updates-item-image img {
    width: 100%; 
    height: 100%;
    border-radius: 4px;
    border: 1px solid #3A2A35;
    object-fit: cover; /* Сохраняет пропорции изображения */
 
}
.circle-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #888;
  border-radius: 50%;
  margin: 0 10px;
  vertical-align: middle;
}
 .dot-separator { padding: 0 5px; }
/* Стили для дополнительных элементов */
.updates-featured-tag {
    position: absolute;
    top: 30%;
    right: 5%;
    background: #DD905A;
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px; 
    align-items: center;
 
}

.updates-dub {
    position: absolute; 
    bottom: 25%;
    right: 0;
  
       background: rgba(255, 171, 89, 0.2);
    color: #AAA;
    border: 1px solid #AAA;
    
    padding: 2px 6px;
    border-radius: 3px;
    
    font-size: 12px;
 }

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 15px;
    margin-top: 20px;    
}

.updates-grid-item { 
    justify-content: space-between;  
    background: #321E2A;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #3A2A35;  
}

 
.updates-category {
    font-size: 12px;
    color: #FFAB59;
    margin-bottom: 8px;
}

.updates-title {
    font-size: 16px;
    color: #FFF;
    margin-bottom: 3px;
}

.updates-subtitle {
    font-size: 13px;
    color: #B7AA80;
    margin-bottom: 8px;
}

.updates-info {
    font-size: 12px;
    color: #AAA;
    margin-bottom: 5px;
}

.ads {
            background-color: #1E1F23;
            padding: 15px;
            text-align: center; 
        }

.updates-featured-title {
    font-size: 16px;
    color: #F4EDFF; 
}

.updates-featured-subtitle {
    font-size: 12px;
    color: #B7AA80; 
}

 
.updates-featured {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #5B3249;
    padding: 5px 0 0 20px;
    border-radius: 5px;
    margin: 5px 0 7px 0;
    border-left: 4px solid #FFAB59;
    text-align: center;  
} 

.updates-featured-content {
    flex: 1;
    text-align: left;
}

.updates-featured-image {
    width: 300px;
    flex-shrink: 0;
}

.updates-featured-image img {
    width: 80%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #3A2A35;
}






.updates-grid-content {
    flex: 1;
}

.updates-grid-image {
    width: 80px;
    flex-shrink: 0;
}

.updates-grid-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #3A2A35;
}

/* Сериалы по алфавиту */
.series-container {
    background: #1E1A1F;
    border-radius: 8px;  
   padding: 0 10px;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.series-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.series-header h2 {
    color: #FFAB59;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 15px;
}

.series-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.series-sort span {
    color: #B7AA80;
    font-size: 14px;
}

.sort-btn {
    background: #321E2A;
    color: #B7AA80;
    border: 1px solid #3A2A35;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.sort-btn:hover, .sort-btn.active {
    background: #FFAB59;
    color: #321E2A;
}

.series-table {
    width: 100%;
    border-collapse: collapse;
}

.series-table-header {
    display: flex;
    background: #321E2A;
    border-radius: 4px;
    padding: 10px 15px;
    margin-bottom: 5px;
}

.series-th {
    flex: 1;
    color: #FFAB59;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 5px;
    position: relative;
}

.series-th:hover {
    color: #FFF;
}

.series-th::after {
    content: "↕";
    margin-left: 5px;
    opacity: 0.3;
}

.series-table-body {
    display: flex;
    flex-direction: column;
}

.series-row {
    display: flex;
    background: #2A2228;
    border-radius: 4px;
    padding: 12px 15px;
    margin-bottom: 5px;
    text-decoration: none;
    transition: all 0.3s;
    align-items: center;
}

.series-row:hover {
    background: #3A2A35;
    transform: translateX(3px);
}

.series-td {
    flex: 1;
    color: #DDD;
    font-size: 14px;
    padding: 5px;
}

.series-td[data-title="Рейтинг"] {
    color: #FFAB59;
    font-weight: 500;
}

.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.finished {
    background: rgba(102, 102, 153, 0.2);
    color: #669;
    border: 1px solid #669;
}

.status-badge.airing {
    background: rgba(106, 133, 65, 0.2);
    color: #6A8541;
    border: 1px solid #6A8541;
}

.status-badge.paused {
    background: rgba(255, 171, 89, 0.2);
    color: #FFAB59;
    border: 1px solid #FFAB59;
}
.series-table-header, .series-row {
    display: grid;
    grid-template-columns: 55% 10% 10% 10% 15%; /* Настройка ширины колонок */
    gap: 10px;
    align-items: center;
}

.series-th, .series-td {
    flex: none; /* Убираем flex для использования grid */
    width: auto; /* Сбрасываем фиксированную ширину */
}

/* Адаптивность */
@media (max-width: 768px) {
    .series-table-header {
        display: none;
    }
 
    .series-row {
        display: flex;
        flex-wrap: wrap;
        position: relative;
        padding-left: 100px;
        grid-template-columns: none;
    }
    
    .series-td {
        flex: 0 0 50%;
        margin-bottom: 5px;
    }
    
    .series-td[data-title="Название"] {
        flex: 0 0 100%;
    }
}
/* Адаптивность */
@media (max-width: 768px) {
    .series-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .series-sort {
        margin-top: 10px;
    }
    
    .series-table-header {
        display: none;
    }
    
    .series-row {
        flex-wrap: wrap;
        position: relative;
        padding-left: 100px;
    }
    
    .series-td {
        flex: 0 0 50%;
        margin-bottom: 5px;
    }
    
    .series-td::before {
        content: attr(data-title);
        display: inline-block;
        width: 80px;
        color: #B7AA80;
        margin-right: 10px;
    }
    
    .series-td[data-title="Название"] {
        flex: 0 0 100%;
        font-weight: 500;
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .series-td[data-title="Название"]::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .series-row {
        padding-left: 0;
    }
    
    .series-td {
        flex: 0 0 100%;
    }
}


@media (max-width: 768px) {
    .updates-grid {
        grid-template-columns: 1fr;
    }
    
    .updates-header h2 {
        font-size: 20px;
    }
    
    .updates-item-title {
        font-size: 16px;
    }
} 
@media (max-width: 768px) {
    .updates-item,
    .updates-grid-item,
    .updates-featured {
        flex-direction: column;
        gap: 15px;
    }
    
    .updates-item-image,
    .updates-grid-image,
    .updates-featured-image {
        width: 100%;
        order: -1; /* Картинка будет сверху на мобильных */
    }
    
    .updates-item-image img,
    .updates-grid-image img,
    .updates-featured-image img {
        max-width: 200px;
        margin: 0 auto;
        display: block;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .notice-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
 
}


        /* Футер */

        footer {
               border: 1px solid #B7AA80;
    background-color: #1C0927; 
    height: 48px;
            color: white;
            padding: 25px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        .footer-bg {
    float: left;
    background: url(../img/cnd.webp);
    width: 92px;
    height: 48px;
    background-repeat: no-repeat;
    position: relative;
    margin-left: 30px;
    margin-top: 0px;
}

        .footer-content {
            flex: 1;
            text-align: center;
            z-index: 2;
        }

        .footer-title {
            font-size: 18px;
            margin-bottom: 10px;
            letter-spacing: 1px;
        }

        .footer-links {
            font-size: 12px; 
            color: #F3E5B1;
        }

        .footer-copyright {
            font-size: 12px;
            color: #aaa;
        }

        .footer-partner {
            z-index: 2;
        }

        .footer-partner img {
            height: 50px;
            transition: transform 0.3s;
        }

        .footer-partner img:hover {
            transform: scale(1.05);
        }
 @media (max-width: 768px) {
    header {
        padding: 10px;
        flex-wrap: wrap;
    }
    
  
    
    
    
    .header-images {
        display: none; /* Скрываем иконки на мобильных */
    }
}
        /* Адаптивность */
@media (max-width: 768px) {
    .breadcrumbs {
        font-size: 12px;
        padding: 6px 10px;
        overflow-x: auto;
        white-space: nowrap;
    }
}
@media (max-width: 768px) {
 
  .footer-bg {
    display: none; /* Эта строка полностью скроет элемент на мобильных */
  }

@media (max-width: 768px) {
    .breadcrumbs {
        font-size: 12px;
        padding: 6px 10px;
        overflow-x: auto;
        white-space: nowrap;
    }
}
     @media (max-width: 768px) {
    .header-categories {
        display: flex;
        gap: 5px; /* Уменьшаем отступы */
        overflow-x: auto; /* Добавляем горизонтальную прокрутку если не помещается */
        padding-bottom: 5px; /* Отступ для скролла */
        width: 100%; /* Занимает всю ширину */
        margin-left: 20%; 
        order: 3; 
        margin-top: 10px; 
    }
    
    .header-categories a {
        padding: 8px 12px; /* Уменьшаем padding */
        font-size: 12px; /* Уменьшаем шрифт */
        white-space: nowrap; /* Текст в одну строку */
        flex-shrink: 0; /* Не сжимать элементы */
        padding-left: 40px; /* Уменьшаем отступ для иконок */
        background-size: 30px !important; /* Уменьшаем иконки */
    }
    
    .burger-menu {
        margin-left: auto; /* Сдвигаем бургер вправо */
    }
    
 
            
            .header-images {
                display: none;
            }
            
            .burger-menu {
                display: flex;
            }
            
            .sidebar {
                position: fixed;
                top: 0;
                left: 0;
                height: 100%;
                z-index: 100;
                transform: translateX(-100%);
                box-shadow: 2px 0 10px rgba(0,0,0,0.1);
            }
            
            .sidebar.active {
                transform: translateX(0);
            }
                 .sidebar2 {
                position: fixed;
                top: 0;
                left: 0;
                height: 100%;
                z-index: 100;
                transform: translateX(-100%);
                box-shadow: 2px 0 10px rgba(0,0,0,0.1);
            }
            
            .sidebar2.active {
                transform: translateX(0);
            }
            .main-content {
                max-width: 100%;
                padding: 15px;
            }
            
            footer {
                flex-direction: column;
                text-align: center;
                padding: 20px;  height: auto;
    overflow: visible;
            }

            .footer-bg {
                width: 100%;
                height: 100px;
                opacity: 0.2;
            }

            .footer-content {
                margin: 15px 0;
            }

            .footer-partner {
                margin-top: 15px;
            }
        }
        
        @media (max-width: 480px) {
            .logo {
                font-size: 20px;
            }
            
            .spa {
                padding: 10px;
                font-size: 14px;
            }
            
            footer {
                padding: 15px;
            }
            
            .sidebar a {
                padding: 10px 12px;
                font-size: 12px;
            }
            
            .footer-title {
                font-size: 16px;
            }
            
            .footer-links {
                font-size: 13px;
            }
        }
