﻿/* =========================================
   ШРИФТЫ И БАЗОВЫЕ НАСТРОЙКИ
   ========================================= */
@font-face {
    font-family: 'BagelFatCyrillic';
    src: url('BagelFatOne-Regular-Cyrillic1.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@700&display=swap');

body, h1, button, a, .btn, .sidebar-nav a {
    font-family: 'BagelFatCyrillic', sans-serif !important;
}

body {
    margin: 0;
    padding: 0;
    color: #fff;
    background-image: url('https://static-cdn.jtvnw.net/team-assets/89squad-2ca00e535407436ea3d230316dd1de11.png');
    background-color: #0d0d0d;
    background-attachment: fixed !important;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: block !important;
    overflow-x: hidden;
}

    body.page-404 {
        background-color: #0d0d0d;
        background-image: url('https://static-cdn.jtvnw.net/team-assets/89squad-2ca00e535407436ea3d230316dd1de11.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

/* =========================================
   ГЛАВНАЯ СТРАНИЦА И НАВИГАЦИЯ
   ========================================= */
.content-wrapper {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    width: 100%;
}

.social-links {
    position: absolute;
    bottom: 63%; /* Подняли выше (было 55%) */
    left: 50%;
    display: flex;
    transform: translateX(-50%);
    gap: 25px;
    margin-bottom: 10px;
    color: #fff;
    
    z-index: 10;
}

    .social-links a {
        color: #fff;
        font-size: 28px;
        text-decoration: none;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

        .social-links a:hover {
            transform: translateY(-3px);
            opacity: 0.8;
        }

.logo {
    font-size: 90px;
    margin: 0;
    line-height: 1;
    letter-spacing: 2px;
    text-align: center;
}

.main-logo {
    max-width: 90%;
    width: 400px;
    height: auto;
    color: #fff;
    filter: drop-shadow(0px 8px 16px rgba(255, 184, 184, 0.6));
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

/* =========================================
   КНОПКИ
   ========================================= */
.btn, .btn-faq, .link-card-btn, .btn-small {
    background-color: #4a4a4a;
    color: #fff;
    text-decoration: none;
    padding: 10px 30px;
    border-radius: 4px; /* Строгие углы */
    border: 1px solid #444;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: normal !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

    .btn:hover, .btn-faq:hover, .btn-small:hover {
        background-color: #666;
    }

.link-card-btn {
    background-color: #333;
    font-size: 24px;
    padding: 12px 40px;
}

    .link-card-btn:hover {
        background-color: #555;
        transform: scale(1.05);
    }

.btn-small {
    background-color: #fff;
    color: #000;
    font-family: 'M PLUS Rounded 1c', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px;
    padding: 10px 25px;
}

    .btn-small:hover {
        transform: scale(1.05);
        background-color: #e0e0e0;
    }

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #555;
}

    .btn-outline:hover {
        border-color: #fff;
        background-color: rgba(255, 255, 255, 0.1);
    }

.tg-btn {
    background-color: #2AABEE;
    border-color: #2AABEE;
}

    .tg-btn:hover {
        background-color: #2298d6;
    }

.sss-btn {
    background-color: #999999;
    border-color: #999999;
}

/* =========================================
   БОКОВЫЕ ПАНЕЛИ (МЕНЮ И НОВОСТИ)
   ========================================= */
.menu-open-btn, .news-open-btn {
    position: fixed;
    top: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    z-index: 50;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open-btn {
    right: 40px;
    /* mix-blend-mode: difference; - УДАЛЕНО */
}

    .menu-open-btn:hover {
        transform: scale(1.1);
    }

.news-open-btn {
    left: 30px;
    background: #111;
    border: 1px solid #333;
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Исключение: круглая кнопка */
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .news-open-btn:hover {
        transform: scale(1.1);
        background: #222;
    }

.sidebar, .news-sidebar {
    position: fixed;
    top: 0;
    height: 100vh;
    background: #111111; /* Строгий цвет */
    border: 1px solid #333333;
    border-radius: 0;
    z-index: 1000;
    padding: 80px 40px 30px 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: left 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sidebar {
    width: 350px;
    right: -350px;
    border-right: none;
}

    .sidebar.active {
        right: 0;
    }

.news-sidebar {
    width: 420px;
    max-width: 100%;
    left: -420px;
    border-left: none;
    padding-top: 30px;
}

    .news-sidebar.active {
        left: 0;
    }

.menu-close-btn, .news-close-btn {
    align-self: flex-end;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    margin-bottom: 40px;
    transition: transform 0.2s ease;
}

    .menu-close-btn:hover, .news-close-btn:hover {
        transform: rotate(90deg) scale(1.1);
    }

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

    .sidebar-nav a {
        color: #fff;
        text-decoration: none;
        font-size: 23px;
        letter-spacing: 2px;
        font-weight: normal !important;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

        .sidebar-nav a:hover {
            color: #b0b0b0;
            padding-left: 15px;
        }

/* =========================================
   СТРАНИЦА 404
   ========================================= */
.error-code {
    font-size: 180px;
    margin: 0;
    line-height: 1;
    letter-spacing: 5px;
    animation: float 4s ease-in-out infinite;
    color: #fff;
}

.error-text {
    font-size: 24px;
    margin-top: 10px;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 1.5px;
    color: #fff;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* =========================================
   СТРАНИЦА АКТЁРОВ
   ========================================= */
.actors-page-wrapper {
    width: 100%;
    height: 100vh;
    padding: 60px 40px;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.page-title {
    text-align: center;
    font-size: 60px;
    margin-bottom: 50px;
    letter-spacing: 3px;
    color: #fff;
}

.actors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

.actor-card {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

    .actor-card:hover {
        transform: translateY(-8px);
    }

.actor-info {
    flex: 1;
    background: #111111;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 30px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: border-color 0.4s ease;
}

.actor-card:hover .actor-info {
    border-color: #555555;
}

.actor-info h2 {
    margin-top: 0;
    font-size: 36px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.actor-info p {
    font-family: 'M PLUS Rounded 1c', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
}

.actor-role {
    font-family: 'M PLUS Rounded 1c', sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px;
    margin-top: -7px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.actor-socials {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

    .actor-socials a {
        color: #fff;
        font-size: 24px;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

        .actor-socials a:hover {
            transform: translateY(-3px) scale(1.1);
            opacity: 0.8;
        }

.actor-image {
    position: relative;
    width: 250px;
    height: 320px;
    background-color: #fff;
    border-radius: 8px;
    flex-shrink: 0;
    clip-path: inset(-100% 0 0 0 round 8px);
}

    .actor-image img {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        min-height: 100%;
        object-fit: cover;
        object-position: bottom center;
        transform-origin: bottom center;
        transition: transform 0.4s ease;
    }

.actor-card:hover .actor-image img {
    transform: rotate(3deg) scale(1.05);
}

/* =========================================
   СТРАНИЦА ШОУ
   ========================================= */
.shows-page-wrapper {
    width: 100%;
    height: 100vh;
    padding: 60px 40px;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
}

.shows-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.show-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #111111;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

    .show-card:hover {
        transform: translateY(-5px);
        border-color: #555555;
    }

.show-video {
    flex: 1.2;
    aspect-ratio: 16 / 9;
    border-radius: 8px; /* Строгие углы видео */
    overflow: hidden;
    background-color: #000;
}

    .show-video iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

.show-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.show-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 25px;
}

.show-info p {
    font-family: 'M PLUS Rounded 1c', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
}

.show-actions {
    display: flex;
    gap: 15px;
}

/* =========================================
   СТРАНИЦА "О НАС"
   ========================================= */
.about-page-wrapper {
    width: 100%;
    height: 100vh;
    padding: 80px 20px 40px 20px;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1400px;
    margin: auto;
}

.link-card {
    background: #111111;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: border-color 0.3s ease;
}

    .link-card:hover {
        border-color: #555555;
    }

.link-card-title {
    font-size: 42px;
    color: #fff;
    margin-bottom: 40px;
    margin-top: 0;
    letter-spacing: 2px;
}

.link-card-logo {
    max-width: 250px;
    margin-bottom: 40px;
}

.qr-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    width: 100%;
    flex-wrap: wrap;
}

.qr-item {
    position: relative;
    background: #fff;
    padding: 15px;
    border-radius: 8px; /* Строгие углы */
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

    .qr-item:hover {
        transform: translateY(-5px) scale(1.05);
    }

.qr-icon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    border: 3px solid #111; /* В цвет карточки */
}

.qr-item img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    display: block;
}

.link-card-desc {
    font-family: 'M PLUS Rounded 1c', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px;
    line-height: 1.6;
    color: #ddd;
    max-width: 400px;
    margin-bottom: 30px;
}

/* =========================================
   СТРАНИЦА ВАКАНСИЙ (FAQ)
   ========================================= */
.vacancies-page-wrapper {
    width: 100%;
    height: 100vh;
    padding: 60px 40px 40px 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    overflow-x: hidden;
}

.dynamic-logo {
    font-size: 80px;
    margin-top: 0;
    margin-bottom: 40px;
    letter-spacing: 4px;
    color: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-card {
    background: #111111;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

    .faq-card:hover {
        transform: translateY(-5px);
        border-color: #555555;
    }

.faq-logo {
    font-size: 50px;
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.faq-search-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: #fff;
    color: #000;
    width: 100%;
    max-width: 400px;
    padding: 10px 20px;
    box-sizing: border-box;
    border-radius: 4px; /* Строгие углы */
    margin-bottom: 25px;
    font-family: 'M PLUS Rounded 1c', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px;
}

.faq-text {
    font-family: 'M PLUS Rounded 1c', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 0.5px;
    color: #fff;
    margin-bottom: 30px;
    flex-grow: 1;
}

.faq-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.contact-card {
    border: 1px solid #2AABEE; /* Синяя рамка */
}

/* =========================================
   ЛЕНТА НОВОСТЕЙ (КОНТЕЙНЕРЫ И ПОСТЫ)
   ========================================= */
.news-section {
    display: block !important;
    position: relative !important;
    clear: both;
    max-width: 800px;
    margin-top: -300px;
    margin-bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    padding: 80px 20px;
}

.news-header h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fff;
}

.news-title {
    font-size: 32px;
    color: #fff;
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

    /* Кастомный скроллбар */
    .news-container::-webkit-scrollbar {
        width: 6px;
    }

    .news-container::-webkit-scrollbar-track {
        background: #1a1a1a;
    }

    .news-container::-webkit-scrollbar-thumb {
        background: #444;
    }

        .news-container::-webkit-scrollbar-thumb:hover {
            background: #666;
        }

.news-card, .news-post {
    background: #111111;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.post-date {
    font-size: 12px;
    color: #2AABEE;
    margin-bottom: 10px;
    font-family: 'M PLUS Rounded 1c', sans-serif !important;
}

.post-media {
    width: 100%;
    height: auto;
    border-radius: 4px; /* Строгие углы картинок в постах */
    margin-bottom: 15px;
    object-fit: cover;
}

.post-text {
    font-family: 'M PLUS Rounded 1c', sans-serif !important;
    font-size: 14px;
    color: #fff;
    line-height: 1.5;
    margin: 0;
    white-space: pre-wrap;
}

/* =========================================
   АДАПТИВНОСТЬ (МЕДИАЗАПРОСЫ)
   ========================================= */

@media (max-width: 1250px) {
    .actors-grid {
        grid-template-columns: 1fr;
    }

    .actor-card {
        flex-direction: column-reverse;
        align-items: center;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .actor-image {
        width: 100%;
        max-width: 280px;
        height: 350px;
    }

    .actor-info {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 1100px) {
    .links-grid {
        grid-template-columns: 1fr;
    }

    .about-page-wrapper {
        padding-top: 80px;
    }
}

@media (max-width: 1000px) {
    .show-card {
        flex-direction: column;
        padding: 20px;
        gap: 25px;
    }

    .show-video {
        width: 100%;
    }

    .show-info {
        width: 100%;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-card {
        padding: 30px 20px;
    }

    .faq-search-bar {
        font-size: 13px;
        padding: 8px 15px;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .actors-page-wrapper {
        padding: 80px 15px 40px 15px;
    }

    .page-title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .actor-card {
        gap: 10px;
    }

    .actor-image {
        max-width: 240px;
        height: 280px;
    }

    .actor-info {
        padding: 20px;
        border-radius: 8px;
    }

        .actor-info h2 {
            font-size: 26px;
            margin-bottom: 5px;
        }

    .actor-role {
        font-size: 12px;
    }

    .actor-info p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .link-card {
        padding: 40px 20px;
    }

    .link-card-title {
        font-size: 32px;
    }

    .qr-container {
        gap: 20px;
        row-gap: 40px;
    }

    .qr-item img {
        width: 90px;
        height: 90px;
    }

    .link-card-desc {
        font-size: 14px;
    }
}

@media (max-width: 500px) {
    .news-sidebar, .sidebar {
        width: 100%;
        top: 0;
        height: 100vh;
        border-radius: 0;
    }

    .news-sidebar {
        left: -100%;
    }

    .sidebar {
        right: -100%;
    }
}
