body {
    background-color: #050505; /* Глубокий черный */
    color: white;
    font-family: 'Arial Black', Gadget, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px; /* Отступы сверху и по бокам */
    margin: 0;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 500px; /* Ограничение ширины для ПК, на телефонах будет на весь экран */
    text-align: center;
}

.main-title {
    text-align: center;
    color: #515892; /* Фиолетово-синий оттенок */
    text-shadow: 2px 2px 0px #000, 0 0 10px rgba(81, 88, 146, 0.5);
    text-transform: uppercase;
    font-size: clamp(18px, 5vw, 26px); /* Размер шрифта подстраивается под экран */
    margin-bottom: 10px;
}

/* Ссылка на Telegram */
.tg-link {
    display: inline-block;
    color: #38bdf8;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 25px;
}
.tg-link:hover {
    color: white;
}

/* Раскрывающийся блок сезона */
.season-wrapper {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #6b8c8a;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    width: 100%;
    text-align: left;
}

.season-header {
    padding: 18px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Зеленый фон с точками */
    background-color: #63ad55;
    background-image: radial-gradient(#000 20%, transparent 20%);
    background-size: 30px 30px; 
    color: white;
    text-shadow: 1px 1px 3px #000;
    border-bottom: 3px solid #000;
    transition: filter 0.2s;
}

.season-header:hover {
    filter: brightness(1.2);
}

/* Убираем стандартный маркер браузера у summary */
.season-header::-webkit-details-marker {
    display: none;
}

/* Список серий */
.episode-list {
    background: #1a1a1a;
    padding: 0; /* Убираем лишние отступы */
    animation: slideDown 0.4s ease-out;
}

.episode-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #333;
}

.episode-item:last-child {
    border-bottom: none;
}

.ep-name {
    font-size: 14px;
    color: #eee;
    padding-right: 10px;
}

/* Кнопка Дивитися */
.play-link {
    background: #4e559b;
    color: #fff !important;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #aa6996;
    transition: 0.3s;
    white-space: nowrap; /* Чтобы текст кнопки не переносился */
}

.play-link:hover {
    background: #5b4b7e;
    box-shadow: 0 0 15px #8081b3;
}

/* Адаптивность для маленьких экранов */
@media (max-width: 350px) {
    .season-header { font-size: 16px; padding: 12px; }
    .play-link { padding: 8px 12px; font-size: 10px; }
}

/* Анимация появления */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}