@charset "utf-8";
/* CSS Document */
:root {
    /* Цвета для тёмной темы */
    --dark-bg: #111111;
    --dark-card: #2D2D2D;
    --dark-text: #e8e9ec;
    --dark-accent: #b3a57e;
    --dark-secondary: #DE9828;
    --dark-border: #3d3f4a;
    --dark-link: #4d9b6c;
    --dark-shadow: rgba(0, 0, 0, 0.2);
    --dark-section: #222222;
    --dark-update: #AAA;
    --dark-alphabet: #2a2d38;
    --dark-season: #2c2530;
    --dark-season-active: #ff9e46;
    
    /* Цвета для светлой темы */
    --light-bg: #F7F2E6;
    --light-card: #F9F9F9;
    --light-text: #333340;
    --light-accent: #8a7e5d;
    --light-secondary: #b3a57e;
    --light-border: #d1d5db;
    --light-link: #2e7d52;
    --light-shadow: rgba(0, 0, 0, 0.1);
    --light-section: #f0f2f5;
    --light-update: #f5f7fa;
    --light-alphabet: #f0f2f5;
    --light-season: #f5f7fa;
    --light-season-active: #e67e22;
    
    /* Общие переменные (по умолчанию - тёмная тема) */
    --theme-bg: var(--dark-bg);
    --theme-card: var(--dark-card);
    --theme-text: var(--dark-text);
    --theme-accent: var(--dark-accent);
    --theme-secondary: var(--dark-secondary);
    --theme-border: var(--dark-border);
    --theme-link: var(--dark-link);
    --theme-shadow: var(--dark-shadow);
    --theme-section-bg: var(--dark-section);
    --theme-update-item: var(--dark-update);
    --theme-update-featured: #3a2f3d;
    --theme-alphabet-bg: var(--dark-alphabet);
    --theme-alphabet-border: var(--dark-border);
    --theme-alphabet-title: var(--dark-accent);
    --theme-alphabet-letter: var(--dark-text);
    --theme-season-card: var(--dark-season);
    --theme-season-active: var(--dark-season-active);
}

.light-theme {
    --theme-bg: var(--light-bg);
    --theme-card: var(--light-card);
    --theme-text: var(--light-text);
    --theme-accent: var(--light-accent);
    --theme-secondary: var(--light-secondary);
    --theme-border: var(--light-border);
    --theme-link: var(--light-link);
    --theme-shadow: var(--light-shadow);
    --theme-section-bg: var(--light-section);
    --theme-update-item: var(--light-update);
    --theme-update-featured: #f8e9df;
    --theme-alphabet-bg: var(--light-alphabet);
    --theme-alphabet-border: var(--light-border);
    --theme-alphabet-title: var(--light-accent);
    --theme-alphabet-letter: var(--light-text);
    --theme-season-card: var(--light-season);
    --theme-season-active: var(--light-season-active);
}
 
body:not(.light-theme) #mc-container iframe {
    filter: invert(1) hue-rotate(180deg);
    border-radius: 5px;
}

 
body:not(.light-theme) .mc-comment-msg {
    filter: invert(0.9);
}
 
body:not(.light-theme) .cc .mc-comment-username,
body:not(.light-theme) .mc-complaint .mc-comment-username .mc-sort .mc-nav {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    vertical-align: top !important;
}
/* Простой код для всех элементов Cackle в темной теме */
body:not(.light-theme) #mc-container iframe {
    filter: invert(1) hue-rotate(180deg);
    border-radius: 5px;
}

body:not(.light-theme) .mc-comment-msg {
    filter: invert(0.9);
} 

body:not(.light-theme) .cc .mc-comment-username,
body:not(.light-theme) .mc-complaint .mc-comment-username,
body:not(.light-theme) .mc-menu,
body:not(.light-theme) .mc-grid,
body:not(.light-theme) .mc-sort,
body:not(.light-theme) .mc-nocomments,
body:not(.light-theme) .cc .mc-sort li.mc-active a ,
body:not(.light-theme) .mc-username,
body:not(.light-theme) .mc-nav li a,
body:not(.light-theme) .mc-nav {
    color: #B3A57E !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}




* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--theme-text);
    background-color: var(--theme-bg);
    line-height: 1.6;
}

iframe { 
    border-color: var(--theme-border); 
}

a {
    text-decoration: none;
    color: var(--theme-link);
}

a:hover {
    color: var(--theme-accent);
}


.com2com {
    border: solid 1px var(--theme-border);
    box-sizing: border-box;
    padding: 7px;
    width: 99%;
    margin-top: 1px;
    margin-bottom: 5px;
    background-color: var(--theme-card);
}

.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: var(--theme-card);
    border: 1px solid var(--theme-border);
    cursor: pointer;
    font-size: 16px;
    outline: none;
    transition: all 0.2s;
    color: var(--theme-text);
}

.translation-tabs > div {
    cursor: pointer;
    background: var(--theme-card);
    margin-right: 2px;
}

.translation-tabs > .active {
    background: var(--theme-accent);
    color: #fff; 
}

.translation-tabs > div {
    margin-right: 2px;
}

.translation-tabs > .active button {
    background: var(--theme-accent); 
    color: #fff;
}

.translation-tabs button:focus {
    box-shadow: 0 0 0 2px var(--theme-link);
}

.tabs {

    display: flex;
    margin: 10px 10px;
    flex-wrap: wrap;
    gap: 2px;
    max-width: 100%;
    overflow-x: auto;         
}

.tabs > div {
    cursor: pointer;
    background: var(--theme-card);
    margin-right: 2px;
}

.tabs > div.active {
    background: var(--theme-accent);
    font-weight: bold; 
}

.tabs > div {
    margin-right: 2px;
}

.tabs button {
    padding: 10px 25px;
    background: var(--theme-card);
    border: 1px solid var(--theme-border);
    cursor: pointer;
    font-size: 16px;
    outline: none;
    transition: background 0.2s;
    color: var(--theme-text);
}

.tabs > div.active button {
    background: var(--theme-accent); 
    color: #fff;
}

.tabs button:focus {
    box-shadow: 0 0 0 2px var(--theme-link);
}

.video-player-container {
    border: 1px solid var(--theme-accent);  
    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: var(--theme-card);
    box-shadow: 0 0 15px var(--theme-shadow);
}

.player, .player-hood {
    width: 100%;
    margin: 0;
    padding: 0;
}

.ifr {
    width: 100%;
    height: 400px;
    display: block;
    border: none;
}

.movies-section {
    background: var(--theme-section-bg);
    border-radius: 8px;
    padding: 15px;
    margin: 30px 0;
    box-shadow: 0 4px 12px var(--theme-shadow);
    border: 1px solid var(--theme-border);
}

.section-header h2 {
    color: var(--theme-accent);
    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: var(--theme-secondary);
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--theme-border);
    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 var(--theme-shadow);
}

.movie-poster {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    border: 1px solid var(--theme-border);
}

.movie-info {
    padding: 10px 5px;
    text-align: center;
}

.movie-title {
    color: var(--theme-text);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-year {
    color: var(--theme-secondary);
    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: var(--theme-card);
    padding:  10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    color: var(--theme-text);
    border: 1px solid var(--theme-border);
}

.logo { 
    text-transform: uppercase;
    font-size: 22px;  
    color: var(--theme-text); 
    text-decoration: none; 
    display: inline-block;
}
.logo a {
  display: block;
  width: 250px; /* Ширина логотипа */
  height: 50px; /* Высота логотипа */
  background: url('../img/logo.webp') no-repeat center;
  background-size: contain;
  text-indent: -9999px; /* Скрываем текст */
}
.search-block-with-bg {
  position: relative;
  /* нужно, если ниже будут другие блоки/кнопки */
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.search-block-with-bg::before {
  content: "";
  display: block;
  inset: 0; 
  position: absolute;
  left: 80%;
  top: -27px; /* сдвиг выше блока; регулировать по размеру картинки */
  transform: translateX(-50%);
  width: 80px;     /* ширина изображения, подберите под свой макет */
  height: 80px;     /* высота изображения */
  background: url('../img/search.webp') no-repeat center/contain;
  pointer-events: none; /* изображение не кликабельно */
  z-index: 2; /* Выше кнопки! */
}
.search-block-with-bg  {
  position: relative;
  z-index: 1;
}
.random-block-with-bg { 
  position: relative;
  /* нужно, если ниже будут другие блоки/кнопки */
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
 
/* Кнопки в сайдбаре */
.sidebar-buttons {
    flex-direction: column;
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.sidebar-button { 
  width: 100%;  
  flex: 1;
  text-align: center;
  padding: 10px;
  background: var(--theme-section-bg);
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  color: var(--theme-text);
  text-decoration: none;
  transition: all 0.3s;
}

.sidebar-button:hover {
  background: var(--theme-accent);
  color: white;
}

/* Блокировка скролла при открытом сайдбаре */
@media (max-width: 768px) {
  body.sidebar-open {
    overflow: hidden;
  }
}
/* Контейнер */
.seasons-container {
    background: var(--theme-section-bg);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    box-shadow: rgba(142, 142, 142, 0.24) 0px 2px 4px 0px, rgba(142, 142, 142, 0.24) 0px 2px 16px 0px;
}

/* Заголовок */
.seasons-header {
    color: var(--theme-accent);
    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: var(--theme-season-card);
    color: var(--theme-text);
    padding: 12px 15px;
    text-align: center;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid var(--theme-border);
}

/* Активный сезон */
.season-card.active {
    background: var(--theme-season-active);
    color: #fff;
    font-weight: 600;
    border-color: var(--theme-accent);
}

/* Ховер-эффект */
.season-link:hover .season-card {
    background: var(--theme-border);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px var(--theme-shadow);
}

/* Адаптивность */
@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: var(--theme-card);
    border-radius: 4px;
    border: 1px solid var(--theme-border);
}
.uff h1 {
    color: var(--theme-text);
    display: inline;
    margin: 0; 
    font-size: inherit;
    font-weight:400;  
}
.uff .yel {
    color: var(--theme-accent); 
    text-decoration: none; 
    transition: color 0.3s;
}

.uff .yel:hover {
    color: var(--theme-link); 
    text-decoration: underline;
}
.uff a {
    color: var(--theme-link);
    text-decoration: none;
    transition: color 0.3s;
}

.uff a:hover {
    color: var(--theme-accent);
    text-decoration: underline;
}

.uff .divider {
    color: var(--theme-secondary);
    margin: 0 5px;
}

.uff span:last-child {
    color: var(--theme-text);
    font-weight: 500;
}
.con-genre { 
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.con-genre span {
    border: 1px solid var(--theme-border);
    background: var(--theme-section-bg);
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 11px;
    color: var(--theme-text);
}
/* Заголовки */
.con-header h2 {
    color: var(--theme-text);
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 10px 0;
    text-align: center;
}

.con-subtitle {
    color: var(--theme-secondary);
    font-size: 16px; 
    text-align: center;
    margin-bottom: 20px;
}

.con-spotlight {
    max-width: 900px;
    margin: 30px auto;
    text-align: center;
    background: var(--theme-section-bg);
    border-radius: 8px;
    padding: 25px;
    box-shadow: rgba(142, 142, 142, 0.24) 0px 2px 4px 0px, rgba(142, 142, 142, 0.24) 0px 2px 16px 0px;
}

.con-poster {
    margin: 20px 0;
}

.con-poster img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    border: 2px solid var(--theme-border);
    box-shadow: 0 2px 8px var(--theme-shadow);
}

.con-description {
    text-align: left;
    color: var(--theme-text);
    line-height: 1.6;
    margin-top: 20px;
    padding: 0 15px;
}

.con-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    color: var(--theme-secondary);
    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: var(--theme-text);
}

/* Для ссылок в основном контенте */
.logo a {
    text-shadow:1px 1px 0 var(--theme-shadow),1px -1px 0 var(--theme-shadow),-1px 1px 0 var(--theme-shadow),-1px -1px 0 var(--theme-shadow);
    color:var(--theme-accent);
} 
.logo :hover{
    text-shadow:1px 1px 0 var(--theme-shadow),1px -1px 0 var(--theme-shadow),-1px 1px 0 var(--theme-shadow),-1px -1px 0 var(--theme-shadow);
    color:var(--theme-link);
}

.header-categories a:nth-child(1) {
    background: var(--theme-section-bg) url('../img/iconmenu01.webp') no-repeat 5px center/114px 53px;
}

.header-categories a:nth-child(2) { 
    background: var(--theme-card) url('../img/iconmenu02.webp') no-repeat 0px center/101px 53px;
}

.header-categories a:nth-child(3) {
    background: var(--theme-section-bg) url('../img/iconmenu03.webp') no-repeat 0px center/105px 53px;
}

.sidebar a:nth-child(1) {
    background: var(--theme-card) url('../img/chapter01.webp') no-repeat 5px center/80px 55px;
}
.sidebar a:nth-child(2) {
    background: var(--theme-card) url('../img/chapter02.webp') no-repeat 5px center/97px 60px;
}
.sidebar a:nth-child(3) {
    background: var(--theme-card) url('../img/chapter03.webp') no-repeat 5px center/130px 35px;
}
.sidebar a:nth-child(4) {
    background: var(--theme-card) url('../img/chapter04.webp') no-repeat 5px center/92px 60px;
}
.sidebar a:nth-child(5) {
    background: var(--theme-card) url('../img/chapter05.webp') no-repeat 5px center/104px 55px;
}
.sidebar a:nth-child(6) {
    background: var(--theme-card) url('../img/chapter06.webp') no-repeat 5px center/66px 60px;
}
.sidebar a:nth-child(7) {
    background: var(--theme-card) url('../img/chapter07.webp') no-repeat 5px center/120px 66px;
}
.sidebar a:nth-child(8) {
    background: var(--theme-card) url('../img/chapter08.webp') no-repeat 5px center/69px 65px;
}
.sidebar a:nth-child(9) {
    background: var(--theme-card) url('../img/chapter09.webp') no-repeat 5px center/109px 50px;
}
.sidebar a:nth-child(10) {
    background: var(--theme-card) url('../img/chapter10.webp') no-repeat 5px center/82px 63px;
}
.sidebar a:nth-child(11) {
    background: var(--theme-card) url('../img/chapter11.webp') no-repeat 5px center/94px 63px;
}
 
.sidebar2 nav a:nth-child(1) {
    background: var(--theme-alphabet-bg);
}
.sidebar2 nav a:nth-child(2) {
    background: var(--theme-alphabet-bg);
}
.sidebar2 nav a:nth-child(3) {
    background: var(--theme-alphabet-bg);
}
.sidebar2 nav a:nth-child(4) {
    background: var(--theme-alphabet-bg);
}
.sidebar2 nav a:nth-child(5) {
    background: var(--theme-alphabet-bg);
}
.sidebar2 nav a:nth-child(6) {
    background: var(--theme-alphabet-bg);
}
.sidebar2 nav a:nth-child(7) {
    background: var(--theme-alphabet-bg);
}
.sidebar2 nav a:nth-child(8) {
    background: var(--theme-alphabet-bg);
}
.sidebar2 nav a:nth-child(9) {
    background: var(--theme-alphabet-bg);
}
.sidebar2 nav a:nth-child(10) {
    background: var(--theme-alphabet-bg);
}
.sidebar2 nav a:nth-child(11) {
    background: var(--theme-alphabet-bg);
}

.header-categories {
    display: flex;
    gap: 15px;
}

.header-categories a {
    background: var(--theme-section-bg);
    padding: 10px 20px;
    text-decoration: none;
    border: 1px solid var(--theme-border);
    border-radius: 5px;
    color: var(--theme-text);
    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: var(--theme-accent);
    transform: translateY(-2px);
    box-shadow: 0 2px 5px var(--theme-shadow);
}

.header-images {
    display: flex; 
    gap: 5px; 
}

.header-images img { 
    width: 30px;
    height: 30px;  
}
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 15px; 
}

.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: var(--theme-text);
    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: var(--theme-card);
    border: 1px solid var(--theme-border);
    padding: 20px; 
    transition: transform 0.3s ease;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
}

.sidebar a {
    background: var(--theme-section-bg);
    padding: 12px 15px;
    text-decoration: none;
    border: 1px solid var(--theme-border);
    border-radius: 5px;
    color: var(--theme-text);
    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: var(--theme-accent);
    color: white;
    transform: translateX(5px);
}

.sidebar-banner {
    margin-top: 30px;
    padding: 15px;
    background-color: var(--theme-card);
    border: 1px solid var(--theme-border);
    border-radius: 5px;
    text-align: center;
  position: relative; /* если блок уже не позиционирован */
  background: var(--theme-card) url('../img/sb.webp') no-repeat left bottom;
  background-size: 90px auto; /* подберите размер под макет */
  border: 1px solid var(--theme-border);  
  min-height: 200px; /* по необходимости */
}

.sidebar2 {
    width: 350px;
    background-color: var(--theme-card);
    border: 1px solid var(--theme-border);
    padding: 20px; 
    transition: transform 0.3s ease;
}

.sidebar2 nav {
    display: flex;
    flex-direction: column;
}

.sidebar2 a {
    background: var(--theme-section-bg); 
    text-decoration: none;
    border: 1px solid var(--theme-border);
    border-radius: 5px;
    color: var(--theme-text);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    margin-bottom: 10px;
    transition: all 0.3s; 
}

.sidebar2 nav a {
    background: var(--theme-section-bg);
    padding: 12px 15px;
    text-decoration: none;
    border: 1px solid var(--theme-border);
    border-radius: 5px;
    color: var(--theme-text);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    margin-bottom: 10px;
    transition: all 0.3s;
    padding-left:  30px;  
}
.sidebar2 a:hover {
    background-color: var(--theme-accent);
    color: white;
    transform: translateX(5px);
}

.sidebar2 .letter {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    font-weight: 400; 
    text-align: center;
    color: var(--theme-text);
    text-decoration: none;
    font-size: 24px;
    border: 1px solid var(--theme-border);
    border-radius: 4px;
    transition: all 0.2s;
}

.sidebar2 letter:hover {
    background: var(--theme-accent);
    color: #fff;
    border-color: var(--theme-accent);
    transform: translateY(-2px);
}

.main-content {
    flex: 1;
    padding: 20px;
    max-width: calc(100% - 250px);
    background-color: var(--theme-section-bg);
    border: 1px solid var(--theme-border);
}

.spa {
    background-color: var(--theme-card);
    padding: 15px;
    text-align: center;
    margin: 0;
}
.styled-link { 
    padding: 10px 20px;  
    font-family: sans-serif;   
}

/* Контейнер */
.notice-bar {
    background: linear-gradient(90deg, var(--theme-section-bg) 0%, var(--theme-card) 100%);
    border-left: 4px solid var(--theme-accent);
    border-radius: 4px;
    padding: 12px 15px 12px 50px;
    margin: 0 0 25px 0;
    box-shadow: 0 2px 8px var(--theme-shadow);
    position: relative;
    overflow: hidden;
}

/* Блок алфавита */
.alphabet-box {
  position: relative;              /* для привязки псевдоэлементов */
  padding-top: 80px;              /* высота верхнего изображения */
  padding-bottom: 110px;            /* высота нижнего изображения */
  background: var(--theme-alphabet-bg);
  border: 1px solid var(--theme-alphabet-border);
  border-radius: 6px;
    margin: 35px 0;
    padding: 10px; 
}
.alphabet-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-93%) translateY(-95%);
  width: 100%;                     /* или нужная ширина */
  height: 80px;                   /* высота верхнего изображения */
  background: url("../img/random.webp") no-repeat center top;
  background-size: contain;
  pointer-events: none;            /* отключаем клики */
  z-index: 0;                      /* под содержимым */
}

.alphabet-box2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-93%);
  width: 100%;                     /* или нужная ширина */
  height: 80px;                   /* высота верхнего изображения */
  background: url("../img/top-bg.webp") no-repeat center top;
  background-size: contain;
  pointer-events: none;            /* отключаем клики */
  z-index: 0;                      /* под содержимым */
}
/* Нижнее фон-изображение */
.alphabet-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 7%;
  transform: translateX(-50%) translateY(50%);
  width: 100%;                     /* или нужная ширина */
  height: 56px;                    /* высота нижнего изображения */
  background: url("../img/bottom-bg.webp") no-repeat center bottom;
  background-size: contain;
  pointer-events: none;            /* отключаем клики */
  z-index: 2;                      /* под содержимым */
}

/* Чтобы содержимое было над фоном, поднимем его выше по z-index */
.alphabet-box > * {
  position: relative;
  z-index: 1;
}
.alphabet-title {
    color: var(--theme-alphabet-title);
    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: var(--theme-alphabet-letter);
    text-decoration: none;
    font-size: 14px;
    border: 1px solid var(--theme-border);
    border-radius: 4px;
    transition: all 0.2s;
}

.letter:hover {
    background: var(--theme-accent);
    color: #fff;
    border-color: var(--theme-accent);
    transform: translateY(-2px);
}

/* Содержимое */
.notice-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--theme-text);
    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(var(--theme-accent-rgb), 0.2);
    color: var(--theme-text);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s;
    padding: 3px 6px;
    margin: 3px 5px;
    border-radius: 3px;
}

.notice-link:hover {
    color: var(--theme-text);
    background: var(--theme-accent); 
}

/* Разделитель */
.notice-text {
    margin-left: 10%;
    flex: 1;
}

/* Updates Block Styles */
.updates-container {
    background: var(--theme-section-bg);
    border-radius: 8px;
    padding: 15px;
    margin: 30px 0;
    box-shadow: 0 4px 12px var(--theme-shadow);
    color: var(--theme-text);
}

.updates-header {
    text-align: center;
    margin-bottom: 20px;
}

.updates-header h2 {
    color: var(--theme-accent);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 5px;
}

.updates-subtitle {
    color: var(--theme-secondary);
    font-size: 16px;
    margin-bottom: 10px;
}

.updates-highlight {
    color: var(--theme-text);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.updates-description {
    text-align: center;
    font-size: 14px;
    color: var(--theme-secondary);
    margin-bottom: 20px;
}

.updates-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--theme-secondary), transparent);
    margin: 25px 0;
}

.updates-section h3 {
    color: var(--theme-accent);
    font-size: 18px;
    font-weight: 300; 
}

.updates-section-subtitle {
    color: var(--theme-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.updates-item {
    background: var(--theme-update-item);
    padding: 5px 15px 5px 10px; 
    margin-bottom: 7px; 
    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 var(--theme-shadow);
}
.updates-item-title {
    font-size: 15px;
    color: var(--theme-text);
    font-weight: 400; 
}

.updates-item-subtitle {
    font-size: 11px;
    color: var(--theme-accent);
    margin-bottom: 3px;
}

.updates-item-info {
    font-size: 13px;
    color: var(--theme-update);
}

.updates-item.featured {
    background: var(--theme-season-card);
}

.updates-item.featpr {

    background: var(--theme-card);
    border-left: 8px solid #F93838;
}
.updates-item.featfin {
    background: var(--theme-update-item);
    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: 1px solid var(--theme-border);
    border-radius: 5px;
    object-fit: cover;
}
.circle-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--theme-secondary);
    border-radius: 50%;
    margin: 0 10px;
    vertical-align: middle;
}
.dot-separator { padding: 0 5px; }

.updates-featured-tag {
    position: absolute;
    top: 30%;
    right: 5%;
    background: var(--theme-accent);
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px; 
    align-items: center;
}

.updates-dub {
    position: absolute; 
    bottom: 25%;
    right: 0;
    background: rgba(var(--theme-accent-rgb), 0.2);
    color: var(--theme-accent); 
    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: var(--theme-update-item);
    padding: 15px;
    border-radius: 5px;
    border: 1px solid var(--theme-border);  
}

.updates-category {
    font-size: 12px;
    color: var(--theme-accent);
    margin-bottom: 8px;
}

.updates-title {
    font-size: 16px;
    color: var(--theme-text);
    margin-bottom: 3px;
}

.updates-subtitle {
    font-size: 13px;
    color: var(--theme-accent);
    margin-bottom: 8px;
}

.updates-info {
    font-size: 12px;
    color: var(--theme-secondary);
    margin-bottom: 5px;
}

.ads {
    background-color: var(--theme-bg);
    padding: 15px;
    text-align: center; 
}

.updates-featured-title {
    font-size: 16px;
    color: var(--theme-text); 
}

.updates-featured-subtitle {
    font-size: 12px;
    color: var(--theme-accent); 
}

.updates-featured {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--theme-update-featured);
    padding: 5px 0 0 20px;
    border-radius: 5px;
    margin: 5px 0 7px 0;
    border-left: 4px solid var(--theme-accent);
    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 var(--theme-border);
}

.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 var(--theme-border);
}

/* Сериалы по алфавиту */
.series-container {
    background: var(--theme-section-bg);
    border-radius: 8px;  
    padding: 0 10px;
    margin: 30px 0;
    box-shadow: 0 4px 12px var(--theme-shadow);
}

.series-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.series-header h2 {
    color: var(--theme-accent);
    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: var(--theme-secondary);
    font-size: 14px;
}

.sort-btn {
    background: var(--theme-card);
    color: var(--theme-secondary);
    border: 1px solid var(--theme-border);
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.sort-btn:hover, .sort-btn.active {
    background: var(--theme-accent);
    color: #fff;
}

.series-table {
    width: 100%;
    border-collapse: collapse;
}

.series-table-header {
    display: flex;
    background: var(--theme-card);
    border-radius: 4px;
    padding: 10px 15px;
    margin-bottom: 5px;
}

.series-th {
    flex: 1;
    color: var(--theme-accent);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 5px;
    position: relative;
}

.series-th:hover {
    color: var(--theme-text);
}

.series-th::after {
    content: "↕";
    margin-left: 5px;
    opacity: 0.3;
}

.series-table-body {
    display: flex;
    flex-direction: column;
}

.series-row {
    display: flex;
    background: var(--theme-card);
    border-radius: 4px;
    padding: 12px 15px;
    margin-bottom: 5px;
    text-decoration: none;
    transition: all 0.3s;
    align-items: center;
}

.series-row:hover {
    background: var(--theme-section-bg);
    transform: translateX(3px);
}
.series-td, .series-th {
    word-wrap: break-word; /* Перенос длинных слов */
    overflow-wrap: break-word; /* Современная альтернатива */
    padding: 8px 5px; /* Уменьшенные отступы */
    white-space: normal !important; /* Разрешаем перенос строк */
    hyphens: auto; /* Автоматическая расстановка переносов */
}
.series-td {
    flex: 1;
    color: var(--theme-text);
    font-size: 14px;
    padding: 5px;
}

.series-td[data-title="Рейтинг"] {
    color: var(--theme-accent);
    font-weight: 500;
}
/* Специальные стили для колонки статуса */
.series-td[data-title="Статус"] {
    min-width: 90px; /* Минимальная ширина */
    font-size: 13px; /* Чуть меньший размер шрифта */
}
/* Для названий разрешаем перенос строк */
.series-td[data-title="Название"], 
.series-td[data-title="Оригинал"] {
    line-height: 1.4; /* Увеличиваем межстрочный интервал */
}
.status-badge {
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%; 
    padding: 2px 4px;
    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(var(--theme-accent-rgb), 0.2);
    color: var(--theme-accent);
    border: 1px solid var(--theme-accent);
}
.series-table-header, .series-row {
     display: grid;
    grid-template-columns: 30% 30% 6% 9% 9% 16%; /* Новые пропорции колонок */
    gap: 10px;
    align-items: start; /* Выравнивание по верхнему краю */
}

.series-th, .series-td {
    flex: none;
    width: auto;
}
.hover-img {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.hover-img .hover-img-preview {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 5px;
  padding: 4px;
  background: var(--theme-card);
  border: 1px solid var(--theme-border);
  box-shadow: 0 2px 8px var(--theme-shadow);
  z-index: 100;
  white-space: nowrap;
}

.hover-img .hover-img-preview img {
  display: block;
  max-width: 620px;
  height: auto;
}

.hover-img:hover .hover-img-preview {
  display: block;
}

/* Стили для страницы 404 */
.error-container {
    background: var(--theme-section-bg);
    border-radius: 8px;
    padding: 40px 20px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 4px 12px var(--theme-shadow);
    border: 1px solid var(--theme-border);
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-image {
    margin-bottom: 30px;
}

.error-image img {
    max-width: 600px;
    height: auto;
}

.error-container h1 {
    color: var(--theme-accent);
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 400;
}

.error-message {
    color: var(--theme-text);
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.error-button {
    background: var(--theme-card);
    color: var(--theme-accent);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    border: 1px solid var(--theme-border);
}

.error-button:hover {
    background: var(--theme-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--theme-shadow);
}

.error-search {
    margin-top: 30px;
}

.error-search p {
    color: var(--theme-secondary);
    margin-bottom: 15px;
}

.error-search form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
}

.error-search input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--theme-border);
    border-radius: 5px 0 0 5px;
    background: var(--theme-card);
    color: var(--theme-text);
    font-size: 16px;
    outline: none;
}

.error-search button {
    background: var(--theme-accent);
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.error-search button:hover {
    background: var(--theme-link);
}

@media (max-width: 768px) {
    .error-container h1 {
        font-size: 28px;
    }
    
    .error-message {
        font-size: 16px;
    }
    
    .error-image img {
        max-width: 200px;
    }
    
    .error-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@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: var(--theme-secondary);
        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 var(--theme-border);
  background-color: var(--theme-card);
  color: var(--theme-text);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  gap: 30px;
}

.footer-left{
  position: relative;
  flex: 1 1 32%;
    color: var(--theme-accent);
    font-size: 13px;
    font-weight: 400;
  min-width: 220px;
  display: flex;
  align-items: flex-start;
  padding-left: 85px; /* место для иконки */
}
.footer-center {
    color: var(--theme-text);
    font-size: 13px; 
    font-weight: 400;
  position: relative;
  flex: 1 1 34%;
  min-width: 220px;
  display: flex;
  align-items: flex-start;
  padding-left: 75px; /* место для иконки */
  flex-direction: column;     /* Вертикальное выравнивание */
  justify-content: center;    /* центр по вертикали — замените на flex-start (вверх) или flex-end (вниз) */
  align-items: left;        /* центрировать по горизонтали */
  text-align: center;          /* высота блока — укажите нужную */
    
}

/* Фоновые картинки для левой и центральной части */
.footer-left::before {
  content: "";
  position: absolute;
  left: 0; 
  width: 69px;
  height: 48px;
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
}
.footer-center::before {
  content: "";
  position: absolute;
  left: 0;
  width: 48px;
  height: 48px;
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
  border-radius: 4px;
}

.footer-left::before {
  background-image: url("../img/iconfl.webp"); /* свой путь */
}
.footer-center::before {
  background-image: url("../img/iconfc.webp"); /* свой путь */
}

.footer-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-right img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  transition: transform 0.2s;
}

.footer-right img:hover {
  transform: scale(1.07);
}

/* Адаптация для мобильных */
/* Моб. версия */
@media (max-width: 900px) {
  footer {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 16px 8px;
    text-align: center;
  }
  .footer-left,
  .footer-center,
  .footer-right {
    min-width: 0;
    width: 100%;
    padding-left: 0 !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 14px;
  }
  .footer-left,
  .footer-center {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: relative;
    min-height: 48px;
    padding: 0;
  }
  .footer-left::before,
  .footer-center::before {
    content: "";
    position: static;
    width: 56px;
    height: 39px;
    margin-right: 10px;
    margin-left: 0;
    left: auto;
    top: auto;
    flex-shrink: 0;
    display: inline-block;
  }
  .footer-center {
    flex-direction: row;
  }
  .footer-right {
    justify-content: center;
    margin: 6px 0 0 0;
    gap: 14px;
  }
}
 

.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: var(--theme-secondary);
}

.footer-copyright {
    font-size: 12px;
    color: var(--theme-secondary);
}

.footer-partner {
    z-index: 2;
}

.footer-partner img {
    height: 40px;
    transition: transform 0.3s;
}

.footer-partner img:hover {
    transform: scale(1.05);
}

/* Стили для переключателя темы */

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--theme-border);
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--theme-accent);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.theme-label {
    font-size: 14px;
    color: var(--theme-text);
    white-space: nowrap;
}

@media (max-width: 768px) {
    header {
        padding: 10px;
        flex-wrap: wrap;
    }
    
    .header-images {
        display: none;
    }
    
    .theme-toggle {
        margin-left: auto;
    }
}

@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;
            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 var(--theme-shadow);
        }
        
        .sidebar.active {
            transform: translateX(0);
        }
        
        .sidebar2 {
    width: 380px; /* Уменьшаем ширину для мобильных */
    overflow-y: auto; /* Добавляем вертикальную прокрутку */
    height: 100vh; 
            position: fixed;
            top: 0;
            left: 0; 
            z-index: 100;
            transform: translateX(-100%);
            box-shadow: 2px 0 10px var(--theme-shadow);
        }
        
        .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;
        }
    }
}