/* ============================================================
   ПОДКЛЮЧЕНИЕ ШРИФТОВ
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ============================================================
   АДАПТИВНАЯ ВЁРСТКА · mobile-first
   ПАЛИТРА — только три цвета:
     Красный  #be1823  rgb(190, 24, 35)
     Чёрный   #000000  rgb(0, 0, 0)
     Белый    #ffffff  rgb(255, 255, 255)
   Полутени/обводки — прозрачность этих же цветов.
   ШРИФТЫ:
     Заголовочный — Bebas Neue
     Основной    — Montserrat
   Брейкпоинты: 520 · 640 · 768 · 900 · 1200
   ============================================================ */

/* ---------- ПЕРЕМЕННЫЕ ---------- */
:root {
    --red:   #be1823;
    --black: #000000;
    --white: #ffffff;

    --red-glow:  rgba(190, 24, 35, .45);
    --red-line:  rgba(190, 24, 35, .35);
    --red-faint: rgba(190, 24, 35, .12);

    --surface:    rgba(255, 255, 255, .06);
    --line:       rgba(255, 255, 255, .14);
    --text:       var(--white);
    --text-dim:   rgba(255, 255, 255, .72);
    --text-faint: rgba(255, 255, 255, .5);

    --font-heading: 'Bebas Neue', 'Impact', 'Arial Narrow', sans-serif;
    --font-body:    'Montserrat', 'Segoe UI', system-ui, sans-serif;

    --container-pad: clamp(16px, 4vw, 32px);
    --section-gap:   clamp(40px, 7vw, 80px);
    --grid-gap:      clamp(16px, 2.5vw, 25px);
}

/* ---------- СБРОС И БАЗА ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    background-color: var(--black);
    color: var(--text);
    line-height: 1.6;
    min-height: 100dvh;
}

img, video, svg { max-width: 100%; }

::selection { background: var(--red); color: var(--white); }

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
    border-radius: 6px;
}

[id] { scroll-margin-top: 80px; }

.container {
    width: 100%;
    max-width: 1300px;
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

/* ---------- ШАПКА ---------- */
header {
    background-color: var(--black);
    color: var(--white);
    padding: clamp(24px, 5vw, 4px) 0 clamp(16px, 3vw, 2px);
    margin-bottom: clamp(24px, 4vw, 4px);
    border-bottom: 3px solid var(--red);
    box-shadow: 0 4px 24px var(--red-glow);
}

.image {
    display: flex;
    align-items: center;
    margin-right: 1%;
    margin-bottom: 2vmin;
    width: clamp(48px, 10vmin, 96px);
    height: auto;
}

.logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(12px, 2.5vw, 28px);
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 8vw + .4rem, 4rem);
    font-weight: 400;
    letter-spacing: clamp(2px, .6vw, 6px);
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--white), var(--red) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px var(--red-glow);
    line-height: 1;
}

.site-description {
    font-family: var(--font-body);
    font-size: clamp(.95rem, 1.2vw + .5rem, 1.2rem);
    font-weight: 400;
    font-style: italic;
    color: var(--text-dim);
    max-width: 46ch;
    border-top: 2px solid var(--red);
    padding-top: 14px;
}

@media (min-width: 640px) {
    .logo-area {
        flex-direction: row;
        flex-wrap: wrap;
        text-align: left;
    }
    .site-description {
        border-top: none;
        padding-top: 0;
        border-left: 3px solid var(--red);
        padding-left: clamp(16px, 2.5vw, 25px);
    }
}

/* ---------- НАВИГАЦИЯ ---------- */
.nav-links {
    margin-top: clamp(18px, 3vw, 30px);
    display: flex;
    flex-wrap: nowrap;
    gap: clamp(18px, 3.5vw, 30px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding-bottom: 1px;
    border-bottom: 1px solid var(--red-line);
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1.15rem, .8vw + .9rem, 1.5rem);
    letter-spacing: clamp(1px, .2vw, 2px);
    text-transform: uppercase;
    flex-shrink: 0;
    white-space: nowrap;
    color: var(--text-dim);
    text-decoration: none;
    transition: color .3s, text-shadow .3s;
}
.nav-links a:hover {
    color: var(--red);
    text-shadow: 0 0 10px var(--red-glow);
}

@media (min-width: 768px) {
    .nav-links {
        flex-wrap: wrap;
        overflow: visible;
    }
}

/* ---------- ЛИПКАЯ НАВИГАЦИЯ ---------- */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, .4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--red);
    box-shadow: 0 4px 15px var(--red-faint);
}

.sticky-nav .nav-links {
    margin-top: 0;
    padding: 14px 0;
    border-bottom: none;
}
@media (min-width: 768px) {
    .sticky-nav .nav-links { padding: 16px 0; }
}

.sticky-nav a { position: relative; padding: 4px 2px; }

.sticky-nav a.active-link {
    color: var(--red);
    text-shadow: 0 0 8px var(--red-glow);
}
.sticky-nav a.active-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: var(--red);
    box-shadow: 0 0 8px var(--red-glow);
}

/* ---------- ЗАГОЛОВКИ СЕКЦИЙ ---------- */
.section-title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(2rem, 4.5vw + .5rem, 3.4rem);
    margin: var(--section-gap) 0 clamp(20px, 3.5vw, 34px);
    position: relative;
    display: inline-block;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: clamp(2px, .4vw, 4px);
    line-height: 1;
}
.section-title:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 80%;
    height: 4px;
    background: var(--red);
    border-radius: 2px;
    box-shadow: 0 0 12px var(--red-glow);
}

/* ---------- СЕТКА КАРТОЧЕК ---------- */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--grid-gap);
    margin: clamp(24px, 4vw, 40px) 0;
}
@media (min-width: 520px)  { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- КАРТОЧКА ---------- */
.card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border-radius: clamp(12px, 1.5vw, 16px);
    overflow: hidden;
    box-shadow: 0 10px 20px var(--red-faint);
    transition: transform .3s, box-shadow .3s, border-color .3s;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--red-line);
}

.card-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: cover;
    border-bottom: 3px solid var(--red);
}

.card-content {
    flex-grow: 1;
    padding: clamp(14px, 2vw, 20px) clamp(12px, 1.8vw, 16px);
    background: var(--surface);
}

.card-title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1.3rem, 1vw + 1rem, 1.7rem);
    letter-spacing: clamp(.5px, .15vw, 1.5px);
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--white);
    line-height: 1.1;
}
.card-subtitle {
    font-family: var(--font-body);
    font-size: clamp(.8rem, .5vw + .7rem, .9rem);
    font-weight: 600;
    color: var(--red);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.card-desc {
    font-family: var(--font-body);
    font-size: clamp(.8rem, .5vw + .7rem, .9rem);
    font-weight: 400;
    color: var(--text-dim);
}

/* ---------- КНОПКА НАЗАД ---------- */
.back-link {
    display: inline-block;
    margin: clamp(20px, 3vw, 30px) 0;
    padding: clamp(10px, 1.5vw, 12px) clamp(22px, 3vw, 30px);
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: clamp(1rem, .6vw + .9rem, 1.3rem);
    font-weight: 400;
    letter-spacing: clamp(1px, .3vw, 3px);
    text-transform: uppercase;
    border-radius: 40px;
    transition: background .3s, color .3s, box-shadow .3s;
    border: 1px solid rgba(255, 255, 255, .3);
}

/* ---------- ФУТЕР ---------- */
footer {
    background: var(--black);
    color: var(--text-faint);
    font-family: var(--font-body);
    text-align: center;
    padding: clamp(32px, 6vw, 50px) 0;
    margin-top: var(--section-gap);
    border-top: 2px solid var(--red);
    font-size: clamp(.85rem, .5vw + .7rem, 1rem);
}

/* ---------- КАРУСЕЛЬ НОВОСТЕЙ ---------- */
.news-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    margin: clamp(24px, 4vw, 40px) 0 20px;
    width: 100%;
    overflow: hidden;
}

.news-carousel {
    display: flex;
    gap: clamp(12px, 2vw, 20px);
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding: 10px 0 20px;
}
.news-carousel::-webkit-scrollbar { display: none; }

.news-card {
    flex: 0 0 clamp(240px, 78vw, 300px);
    scroll-snap-align: start;
    background: var(--surface);
    border: 1px solid var(--red-line);
    border-radius: clamp(12px, 1.5vw, 16px);
    padding: clamp(15px, 2vw, 20px);
    box-shadow: 0 10px 20px var(--red-faint);
    transition: transform .3s, box-shadow .3s, border-color .3s;
}

.news-date {
    font-family: var(--font-heading);
    color: var(--red);
    font-size: clamp(.85rem, .5vw + .7rem, 1rem);
    letter-spacing: clamp(1px, .2vw, 2px);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.news-title {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--white);
    font-size: clamp(1.3rem, 1.2vw + 1rem, 1.8rem);
    letter-spacing: clamp(.5px, .15vw, 1.5px);
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.1;
}
.news-excerpt {
    font-family: var(--font-body);
    color: var(--text-dim);
    font-size: clamp(.85rem, .5vw + .75rem, .95rem);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 15px;
}
.news-link {
    font-family: var(--font-heading);
    color: var(--red);
    text-decoration: none;
    letter-spacing: clamp(.5px, .15vw, 1.5px);
    text-transform: uppercase;
    font-size: clamp(.95rem, .5vw + .8rem, 1.15rem);
    display: inline-block;
    transition: color .3s;
}
.news-link:hover { color: var(--white); }

.carousel-btn {
    display: none;
    background: var(--red);
    color: var(--white);
    border: none;
    width: clamp(34px, 3.5vw, 40px);
    height: clamp(34px, 3.5vw, 40px);
    border-radius: 50%;
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background .3s, color .3s, box-shadow .3s;
    z-index: 10;
    box-shadow: 0 0 15px var(--red-glow);
    flex-shrink: 0;
}
@media (min-width: 640px) {
    .carousel-btn { display: flex; }
    .prev-btn { margin-right: 10px; }
    .next-btn { margin-left: 10px; }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(8px, 1.2vw, 10px);
    margin: 20px 0 clamp(24px, 4vw, 40px);
}
.dot {
    width: clamp(10px, 1.4vw, 12px);
    height: clamp(10px, 1.4vw, 12px);
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .22);
    cursor: pointer;
    transition: background .3s, transform .3s;
}
.dot.active {
    background: var(--red);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--red-glow);
}

/* ---------- ХОВЕР ТОЛЬКО ДЛЯ МЫШИ ---------- */
@media (hover: hover) {
    .card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 20px 30px var(--red-glow);
        border-color: var(--red);
    }
    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px var(--red-glow);
        border-color: var(--red);
    }
    .back-link:hover {
        background: var(--white);
        color: var(--black);
        box-shadow: 0 0 20px var(--red-glow);
    }
    .carousel-btn:hover {
        background: var(--white);
        color: var(--red);
        box-shadow: 0 0 20px var(--red-glow);
    }
    .dot:hover { background: rgba(190, 24, 35, .6); }
}

/* ---------- СЛУЖЕБНЫЕ БЛОКИ ---------- */
.actor-quick-info strong { display: block; width: 100%; margin-bottom: 6px; }
@media (min-width: 768px) {
    .actor-quick-info strong { display: inline-block; width: auto; margin: 0 6px 0 0; }
}

/* ---------- СНИЖЕНИЕ АНИМАЦИЙ ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- 4. ПРЕМЬЕРА МЕСЯЦА ---------- */
.premiere-grid { display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 900px) {
    .premiere-grid { grid-template-columns: minmax(280px, 420px) 1fr; align-items: start; }
}
.premiere-poster { position: relative; }
.premiere-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--red-line);
    box-shadow: 0 20px 40px var(--red-faint);
}
.premiere-badge {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-heading);
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 8px;
}
.premiere-info .section-title { margin: 0 0 16px; }
.premiere-text { color: var(--text-dim); max-width: 60ch; }
.premiere-meta {
    list-style: none;
    display: grid;
    gap: 8px;
    margin: 18px 0 26px;
    color: var(--text-dim);
}
.premiere-meta strong { color: var(--red); }

/* ---------- 5. ГАЛЕРЕЯ (главная) ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(10px, 1.5vw, 16px);
    margin: 30px 0;
}
@media (min-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
    .gallery-grid img:first-child { grid-column: span 2; grid-row: span 2; }
}
.gallery-grid img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--red-line);
    transition: transform .4s, box-shadow .4s;
}
@media (hover: hover) {
    .gallery-grid img:hover { transform: scale(1.03); box-shadow: 0 12px 30px var(--red-glow); }
}

/* ============================================================
   СТРАНИЦА АКТЁРА · дополнение к основному файлу
   ============================================================ */

.actor-page {
    background: var(--surface);
    border-radius: clamp(20px, 3vw, 30px);
    padding: clamp(20px, 4vw, 40px);
    margin: clamp(20px, 3vw, 30px) 0;
    border: 1px solid var(--red-line);
    box-shadow: 0 15px 30px var(--red);
}

.actor-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 40px);
    margin-bottom: clamp(30px, 5vw, 50px);
    align-items: start;
}

.actor-photo {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    border-radius: clamp(14px, 2vw, 20px);
    overflow: hidden;
    border: 3px solid var(--red);
    box-shadow: 0 10px 25px var(--red-glow);
}

.actor-photo img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform .3s;
}

.actor-info h1 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(2.4rem, 5vw + 1rem, 4rem);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: clamp(1px, .3vw, 3px);
    color: var(--red);
    text-shadow: 0 0 10px var(--red-glow);
    margin-bottom: 10px;
}

.actor-role {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1vw + .9rem, 1.5rem);
    letter-spacing: clamp(1px, .2vw, 2px);
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 20px;
}

.actor-quick-info {
    background: rgba(0, 0, 0, .45);
    padding: clamp(16px, 2vw, 20px);
    border-radius: clamp(12px, 1.5vw, 15px);
    border-left: 4px solid var(--red);
    margin-top: 20px;
}

.actor-quick-info p {
    margin: 8px 0;
    color: var(--text-dim);
}

.actor-quick-info strong {
    color: var(--white);
    font-weight: 600;
    display: block;
    width: auto;
    margin-bottom: 4px;
}

@media (min-width: 900px) {
    .actor-header { grid-template-columns: minmax(260px, 340px) 1fr; }
    .actor-photo  { max-width: none; margin-inline: 0; }
}
@media (min-width: 640px) {
    .actor-quick-info strong {
        display: inline-block;
        width: 120px;
        margin-bottom: 0;
    }
}

.bio-section { margin: clamp(30px, 5vw, 50px) 0 clamp(24px, 4vw, 40px); }

.section-subtitle {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: clamp(1px, .3vw, 2px);
    color: var(--red);
    margin: clamp(30px, 5vw, 50px) 0 clamp(16px, 2.5vw, 25px);
    position: relative;
    display: inline-block;
}
.section-subtitle:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--red-glow);
}

.bio-text {
    background: rgba(0, 0, 0, .45);
    padding: clamp(20px, 3vw, 30px);
    border-radius: clamp(14px, 2vw, 20px);
    border: 1px solid var(--red-line);
    font-size: clamp(1rem, .5vw + .85rem, 1.1rem);
    color: var(--text-dim);
    line-height: 1.8;
}

.quote-section { margin: clamp(30px, 5vw, 50px) 0; text-align: center; }

.actor-quote {
    font-size: clamp(1.25rem, 1.5vw + .9rem, 1.8rem);
    font-style: italic;
    color: var(--text);
    background: linear-gradient(135deg, #000000, rgba(0, 0, 0, .55));
    padding: clamp(24px, 4vw, 40px);
    border-radius: 50px 20px 50px 20px;
    border: 2px solid var(--red);
    box-shadow: 0 0 30px var(--red-glow);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.actor-quote:before,
.actor-quote:after {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    color: var(--red);
    opacity: .3;
    position: absolute;
}
.actor-quote:before { content: '“'; top: -10px;  left: 10px;  }
.actor-quote:after  { content: '”'; bottom: -30px; right: 10px; }

.quote-author {
    margin-top: 15px;
    font-family: var(--font-heading);
    color: var(--red);
    font-size: clamp(.95rem, .5vw + .8rem, 1.1rem);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.opinion-section {
    margin: clamp(40px, 6vw, 60px) 0;
    background: rgba(0, 0, 0, .45);
    padding: clamp(24px, 4vw, 40px);
    border-radius: clamp(20px, 3vw, 30px);
    border: 1px solid var(--red);
}

.opinion-title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1.4rem, 1.5vw + 1rem, 2rem);
    text-transform: uppercase;
    letter-spacing: clamp(1px, .2vw, 2px);
    color: var(--red);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.opinion-text {
    font-size: clamp(1.05rem, .8vw + .9rem, 1.2rem);
    color: var(--text-dim);
    font-style: italic;
    line-height: 1.8;
    padding: clamp(14px, 2vw, 20px);
    background: var(--surface);
    border-radius: clamp(14px, 2vw, 20px);
    border-left: 5px solid var(--red);
}

.gallery-section { margin: clamp(30px, 5vw, 50px) 0; }

.actor-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
    gap: clamp(12px, 2vw, 20px);
    margin-top: 20px;
}

.actor-gallery-item {
    aspect-ratio: 1 / 1;
    border-radius: clamp(10px, 1.5vw, 15px);
    overflow: hidden;
    border: 2px solid var(--red-line);
    transition: transform .3s, border-color .3s;
}

.actor-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

header.header--inner {
    padding: clamp(14px, 2vw, 20px) 0;
    margin-bottom: clamp(24px, 4vw, 40px);
    box-shadow: none;
}

/* ============================================================
   СТРАНИЦА СПЕКТАКЛЯ · дополнение к основному файлу
   (цвета переведены в переменные :root, mobile-first)
   ============================================================ */

/* ---------- ОБЁРТКА СТРАНИЦЫ СПЕКТАКЛЯ ---------- */
.play-page {
    background: var(--surface);
    border-radius: clamp(20px, 3vw, 30px);
    padding: clamp(20px, 4vw, 40px);
    margin: clamp(20px, 3vw, 30px) 0;
    border: 1px solid var(--red-line);
    box-shadow: 0 15px 30px var(--red);
}

/* ---------- ЗАГОЛОВОК СПЕКТАКЛЯ ---------- */
.play-title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(2.4rem, 5vw + 1rem, 3.8rem);
    letter-spacing: clamp(1px, .3vw, 3px);
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 10px;
    text-shadow: 0 0 15px var(--red-glow);
    line-height: 1.05;
}

.play-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 1vw + .9rem, 1.5rem);
    color: var(--red);
    margin-bottom: 30px;
    font-weight: 400;
    font-style: italic;
}

/* ---------- HERO: постер + краткая информация ---------- */
.play-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 40px);
    margin-bottom: clamp(30px, 5vw, 50px);
}

.play-poster {
    border-radius: clamp(14px, 2vw, 20px);
    overflow: hidden;
    border: 3px solid var(--red);
    box-shadow: 0 10px 25px var(--red-glow);
}

.play-poster img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .3s;
}

.play-quick-info {
    background: rgba(0, 0, 0, .45);
    padding: clamp(20px, 3vw, 30px);
    border-radius: clamp(14px, 2vw, 20px);
    border-left: 5px solid var(--red);
    height: fit-content;
}

.info-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--red-line);
    padding-bottom: 15px;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-label {
    color: var(--red);
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(.95rem, .5vw + .8rem, 1.1rem);
    letter-spacing: clamp(1px, .2vw, 2px);
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.info-value {
    color: var(--text-dim);
    font-family: var(--font-body);
    font-size: clamp(1rem, .5vw + .85rem, 1.2rem);
}

@media (min-width: 900px) {
    .play-hero { grid-template-columns: minmax(280px, 420px) 1fr; }
}

/* ---------- ОПИСАНИЕ СПЕКТАКЛЯ ---------- */
.description {
    background: rgba(0, 0, 0, .45);
    padding: clamp(20px, 3vw, 30px);
    border-radius: clamp(14px, 2vw, 20px);
    border: 1px solid var(--red-line);
    font-size: clamp(1rem, .5vw + .85rem, 1.15rem);
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: clamp(24px, 4vw, 40px);
}

/* ---------- ТАБЛИЦА РОЛЕЙ ---------- */
.roles-table {
    background: rgba(0, 0, 0, .45);
    border-radius: clamp(14px, 2vw, 20px);
    overflow: hidden;
    border: 1px solid var(--red-line);
    margin: clamp(20px, 3vw, 30px) 0;
}

.roles-header {
    display: none; /* по умолчанию скрыт, появится на широких экранах */
}

.role-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: clamp(14px, 2vw, 20px);
    border-bottom: 1px solid var(--red-line);
    align-items: start;
    border: 1px solid var(--red-line);
    border-radius: clamp(10px, 1.5vw, 12px);
    margin-bottom: 10px;
    transition: background .3s;
}

.role-row:last-child { border-bottom: 1px solid var(--red-line); }

.role-character {
    color: var(--red);
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1.1rem, .8vw + 1rem, 1.4rem);
    letter-spacing: clamp(.5px, .15vw, 1.5px);
    text-transform: uppercase;
}

.role-actor {
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(.95rem, .5vw + .8rem, 1.1rem);
}

.role-actor a {
    color: var(--white);
    text-decoration: none;
    transition: color .3s;
}

.role-actor a:hover {
    color: var(--red);
    text-decoration: underline;
}

.role-description {
    color: var(--text-faint);
    font-size: clamp(.85rem, .4vw + .7rem, .95rem);
    font-style: italic;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
    -webkit-hyphens: auto;
    word-break: break-word;
}

/* широкие экраны: развёрнутая таблица */
@media (min-width: 900px) {
    .roles-header {
        display: grid;
        grid-template-columns: minmax(180px, 240px) 1fr;
        gap: 16px;
        padding: 15px 25px;
        background: var(--red-faint);
        color: var(--red);
        font-family: var(--font-heading);
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: clamp(1px, .2vw, 2px);
        font-size: clamp(.8rem, .4vw + .7rem, .95rem);
    }
    .role-row {
        grid-template-columns: minmax(180px, 240px) 1fr;
        gap: 16px;
        padding: 20px 25px;
        align-items: start;
        border: none;
        border-bottom: 1px solid var(--red-line);
        border-radius: 0;
        margin-bottom: 0;
    }
    .role-row:last-child { border-bottom: none; }
}

@media (hover: hover) {
    .role-row:hover { background: var(--surface); }
    .play-poster img:hover { transform: scale(1.02); }
}

/* ---------- ИНТЕРЕСНЫЕ ФАКТЫ ---------- */
.facts-section {
    background: rgba(0, 0, 0, .45);
    padding: clamp(20px, 3vw, 30px);
    border-radius: clamp(14px, 2vw, 20px);
    border: 1px solid var(--red);
    margin: clamp(30px, 5vw, 50px) 0;
}

.facts-list {
    list-style: none;
    margin-top: 20px;
    display: grid;
    gap: 10px;
}

.facts-list li {
    padding: clamp(12px, 1.8vw, 15px) clamp(14px, 2vw, 20px);
    background: var(--surface);
    border-left: 4px solid var(--red);
    border-radius: clamp(8px, 1vw, 10px);
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: clamp(.9rem, .5vw + .75rem, 1rem);
    line-height: 1.5;
}

.facts-list li:before {
    content: '🦇';
    font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem);
    flex-shrink: 0;
}

/* ---------- БЛИЖАЙШИЕ ПОКАЗЫ ---------- */
.shows-section {
    background: linear-gradient(145deg, rgba(190, 24, 35, .12), rgba(190, 24, 35, .04));
    padding: clamp(20px, 3vw, 30px);
    border-radius: clamp(14px, 2vw, 20px);
    margin: clamp(24px, 4vw, 40px) 0;
    border: 1px solid var(--red);
}

.shows-list {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(14px, 2vw, 20px);
    margin-top: 20px;
}

.show-card {
    background: rgba(0, 0, 0, .45);
    padding: clamp(16px, 2vw, 20px);
    border-radius: clamp(12px, 1.5vw, 15px);
    min-width: 180px;
    flex: 1 1 180px;
    border: 1px solid var(--red);
    text-align: center;
}

.show-date {
    color: var(--red);
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem);
    letter-spacing: clamp(.5px, .15vw, 1.5px);
}

.show-time {
    color: var(--text-dim);
    margin: 10px 0;
    font-size: clamp(.9rem, .5vw + .75rem, 1rem);
}

.buy-ticket {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: clamp(8px, 1vw, 10px) clamp(16px, 2vw, 22px);
    border-radius: 40px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: clamp(.85rem, .4vw + .75rem, 1rem);
    letter-spacing: clamp(.5px, .15vw, 1.5px);
    text-transform: uppercase;
    margin-top: 10px;
    transition: background .3s, color .3s, box-shadow .3s;
    border: 1px solid rgba(255, 255, 255, .2);
}

@media (hover: hover) {
    .buy-ticket:hover {
        background: var(--white);
        color: var(--black);
        box-shadow: 0 0 15px var(--red-glow);
    }
}

/* ========== LIGHTBOX (Всплывающее окно для фото) ========== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 92vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: lightboxZoomIn 0.3s ease;
}

@keyframes lightboxZoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.lightbox-image {
    max-width: 92vw;
    max-height: 82vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-caption {
    margin-top: 14px;
    color: #f5f5f5;
    font-size: 1rem;
    text-align: center;
    max-width: 80vw;
}

.lightbox-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.95rem;
    z-index: 3;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: #b30000;
    transform: rotate(90deg);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

.lightbox-arrow:hover {
    background: #b30000;
    transform: translateY(-50%) scale(1.1);
}

/* Делаем фото кликабельными визуально */
.gallery-grid img,
.actor-photo img {
    cursor: zoom-in;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-grid img:hover,
.actor-photo img:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

/* Адаптив для мобильных */
@media (max-width: 600px) {
    .lightbox-arrow { width: 42px; height: 42px; font-size: 20px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-close { top: 10px; right: 10px; width: 40px; height: 40px; font-size: 26px; }
    .lightbox-image { max-width: 98vw; max-height: 75vh; }
}

/* Блокируем прокрутку страницы при открытом окне */
body.lightbox-open {
    overflow: hidden;
}
/* ========== ВЫПАДАЮЩИЙ БЛОК "СЫГРАННЫЕ РОЛИ" ========== */
.roles-dropdown {
    margin: 30px 0;
    border: 1px solid var(--red-line, #b30000);
    border-radius: 12px;
    background: #0a0a0a;
    overflow: hidden;
}
.roles-dropdown summary {
    padding: 18px 24px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--red, #ff4d4d);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s;
    user-select: none;
    background: transparent;
}
.roles-dropdown summary::-webkit-details-marker {
    display: none;
}
.roles-dropdown summary::after {
    content: '▾';
    font-size: 1.2rem;
    transition: transform 0.3s;
    color: var(--red, #ff4d4d);
}
.roles-dropdown[open] summary::after {
    transform: rotate(180deg);
}
.roles-dropdown summary:hover {
    background: rgba(179, 0, 0, 0.1);
}
.roles-list {
    padding: 10px 24px 20px;
    list-style: none;
    margin: 0;
}
.roles-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.roles-list li:last-child {
    border-bottom: none;
}
.role-name {
    font-weight: 600;
    color: #fff;
}
.role-play {
    color: #ccc;
    font-style: italic;
}
.roles-empty {
    padding: 20px 24px;
    color: #999;
    text-align: center;
    font-style: italic;
}
/* ========== ПЛАВАЮЩАЯ КНОПКА "НАЗАД" ========== */
.floating-back-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    background: var(--red, #b30000);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(179, 0, 0, 0.5);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.floating-back-btn:hover {
    background: #ff4d4d;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(179, 0, 0, 0.7);
}
  /* Стили для выпадающего меню */
        .nav-dropdown {
            position: relative;
        }
        .nav-dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
        }
        .nav-dropdown:hover > a {
            color: var(--red);
        }
        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: #1a0000;
            border: 1px solid var(--red-line);
            border-radius: 10px;
            padding: 10px 0;
            min-width: 180px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            z-index: 100;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }
        .dropdown-menu a {
            display: block;
            padding: 10px 20px;
            color: #fff;
            text-decoration: none;
            transition: 0.3s;
        }
        .dropdown-menu a:hover {
            background: var(--red);
            color: #fff !important;
        }
        /* Мобильная адаптация выпадающего меню */
@media (max-width: 768px) {
    /* Контейнер навигации */
    .sticky-nav .container {
        overflow: visible !important;
        position: relative;
    }
    
    /* Ссылки навигации */
    .nav-links {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center !important;
    }
    
    /* Выпадающее меню */
    .nav-dropdown {
        position: relative;
        display: inline-block;
    }
    
    .nav-dropdown > a {
        display: inline-block;
        white-space: nowrap;
    }
    
    /* Само выпадающее меню */
    .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        min-width: 180px;
        background: #1a1a1a;
        border: 1px solid #b30000;
        border-radius: 10px;
        padding: 10px 0;
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
        margin-top: 5px;
    }
    
    .dropdown-menu a {
        display: block;
        padding: 10px 20px;
        color: #ffb3b3;
        text-decoration: none;
        text-align: center;
        white-space: nowrap;
        transition: 0.3s;
    }
    
    .dropdown-menu a:hover,
    .dropdown-menu a:active {
        background: #330000;
        color: #ff4d4d;
    }
    
    /* Предотвращаем прокрутку при тапе */
    .nav-dropdown {
        touch-action: manipulation;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .nav-links {
        gap: 5px;
    }
    
    .nav-links a {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    
    .dropdown-menu {
        min-width: 150px;
        left: 50% !important;
        right: auto !important;
    }
}
/* Скрытие меню по умолчанию на мобильных */
@media (max-width: 768px) {
    .dropdown-menu {
        display: none;
    }
    
    .dropdown-menu.active {
        display: block;
    }
}

/* Карточка спектакля */
.spectacle-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.spectacle-card .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Карточка спектакля — ОБЯЗАТЕЛЬНО relative */
.card {
    position: relative;   /* ← это ключевая строка! */
    overflow: hidden;
    border-radius: 15px;
    display: block;
}

/* Бейдж возрастного рейтинга — правый нижний угол, уменьшен на 10% */
.age-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #c41e3a;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
}