/* style.css */
:root {
    --primary-color: #8B0000;
    --primary-dark: #660000;
    --primary-light: #A52A2A;
    --secondary-color: #2C5530;
    --accent-color: #D4AF37;
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray: #E9ECEF;
    --gray-medium: #DEE2E6;
    --gray-dark: #6C757D;
    --text-dark: #212529;
    --success: #28A745;
    --warning: #FFC107;
    --info: #17A2B8;
    --seat-size: 28px;
    --seat-gap: 5px;
    --seat-stride: calc(var(--seat-size) + var(--seat-gap));
    --hall-scale: 1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
    }
}

/* Навигация */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-container {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 1400px) {
    .nav-container {
        max-width: 1600px;
    }
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(139, 0, 0, 0.2);
    background: rgba(139, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-link:hover,
.nav-link.is-active {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.25);
    border-color: transparent;
}

@media (max-width: 992px) {
    .navbar {
        padding: 0.6rem 0;
    }

    .nav-container {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .nav-menu {
        flex: 1;
        justify-content: flex-end;
        gap: 0.75rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .nav-container {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .nav-logo {
        flex: 0 0 auto;
    }

    .nav-menu {
        flex: 1;
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }

    .nav-link {
        flex: 0 0 auto;
        padding: 0.45rem 0.9rem;
        font-size: 0.85rem;
        border-radius: 12px;
    }
}

/* Герой секция */
.hero {
    background: linear-gradient(135deg, #8B0000 0%, #660000 25%, #A52A2A 50%, #8B0000 75%, #660000 100%);
    background-size: 400% 400%;
    color: var(--white);
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle fill="%23ffffff05" cx="50" cy="50" r="2"/></svg>') repeat;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    font-weight: 300;
    color: var(--white);
}

/* Кнопка на герое */
.btn-large {
    padding: 1.4rem 3rem;
    font-size: 1.3rem;
    margin-top: 1rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--accent-color), #FFD700);
    color: var(--text-dark);
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

/* Секция выступлений */
.performances {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.performances::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--white));
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--text-dark);
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Карточки мероприятий */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 80px rgba(139, 0, 0, 0.15);
}

@media (max-width: 640px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        border-radius: 16px;
    }
}

.card.performance-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card.performance-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card.performance-card .card-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.card-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.card-badge {
    position: absolute;
    top: 2.4rem;
    right: 1.7rem;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    z-index: 2;
}

.card-badge.age-badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    font-size: 1rem;
}

.card-header .card-title {
    padding-right: 4rem;
}

.card-body {
    padding: 2rem;
}

.card-description {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.card-highlight {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--gray-medium);
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: var(--gray-light);
    margin: 0 -1rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
}

.detail-label {
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-value {
    color: var(--gray-dark);
    text-align: right;
    font-weight: 500;
}

.card-footer {
    padding: 1.8rem;
    background: var(--gray-light);
    text-align: center;
    margin-top: auto;
}

/* Действия карточки */
.card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.card-actions .btn {
    width: 100%;
    max-width: 260px;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(139, 0, 0, 0.4);
}

.btn-secondary {
    background: var(--gray-dark);
    color: var(--white);
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.1), transparent);
    transition: left 0.5s;
}

.btn-outline:hover::after {
    left: 100%;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0,-8px,0);
    }
    70% {
        transform: translate3d(0,-4px,0);
    }
    90% {
        transform: translate3d(0,-2px,0);
    }
}

/* Анимации для карточек */
.performance-card {
    animation: fadeInUp 0.6s ease-out;
}

.performance-card:nth-child(odd) {
    animation: slideInLeft 0.6s ease-out;
}

.performance-card:nth-child(even) {
    animation: slideInRight 0.6s ease-out;
}

.performance-card.hidden {
    display: none;
}

/* Статистика */
.performance-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    color: var(--white);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-color), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--accent-color), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--white);
    margin: 10% auto;
    padding: 3rem;
    border-radius: 25px;
    width: 90%;
    max-width: 450px;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 100px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-60px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close {
    color: var(--gray-dark);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: var(--primary-color);
    background: var(--gray-light);
    transform: rotate(90deg);
}

.modal h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
}

.modal input[type="email"] {
    width: 100%;
    padding: 1.2rem;
    margin: 1.5rem 0;
    border: 2px solid var(--gray);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--gray-light);
}

.modal input[type="email"]:focus {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
    transform: translateY(-2px);
}

.agreement-checkbox {
    display: flex;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-dark, #333);
    line-height: 1.4;
    margin-bottom: 0.85rem;
}

.agreement-checkbox input[type="checkbox"] {
    margin-top: 0.15rem;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--primary-color);
}

.agreement-checkbox a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.agreement-checkbox.optional {
    color: var(--gray-dark);
    font-size: 0.85rem;
}

/* Админ-панель */
.admin-page {
    padding: 70px 0 90px;
}

.admin-container {
    max-width: 960px;
}

.admin-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.admin-subtitle {
    margin: 0.2rem 0 0;
    color: var(--gray-dark);
    font-size: 0.95rem;
}

.admin-user-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-form label {
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: var(--text-dark);
}

.admin-form input,
.admin-form textarea {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
}

.admin-form textarea {
    resize: vertical;
}

.search-form {
    flex-direction: row;
    gap: 1rem;
    align-items: flex-end;
}

.search-form label {
    flex: 1;
}

.search-form input {
    width: 100%;
}

.alert {
    padding: 1rem 1.2rem;
    border-radius: 12px;
    font-weight: 600;
}

.alert-success {
    background: rgba(0, 128, 0, 0.1);
    color: #124d12;
}

.alert-error {
    background: rgba(255, 0, 0, 0.08);
    color: #7a0000;
}

.order-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    background: var(--gray-light);
    border-radius: 16px;
    padding: 1rem 1.5rem;
}

.order-meta .meta-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-dark);
}

.table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.admin-table th,
.admin-table td {
    padding: 0.9rem 0.7rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
}

.admin-table tr.disabled {
    opacity: 0.5;
}

.checkbox-inline input {
    width: 18px;
    height: 18px;
}

.refund-options {
    background: var(--gray-light);
    border-radius: 16px;
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.refund-options input[type="text"] {
    margin-left: 0.5rem;
    max-width: 160px;
    display: inline-block;
}

.admin-actions {
    display: flex;
    justify-content: flex-end;
}

.btn-danger {
    background: #8b0000;
    color: #fff;
    border-color: #8b0000;
}

.btn-danger:hover {
    background: #a00000;
}

.muted {
    color: var(--gray-dark);
}
/* Футер */
.footer-payments {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.08), rgba(102, 0, 0, 0.08));
    padding: 0.8rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-payments__title {
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 0;
}

.footer-payments__logos img {
    max-width: min(320px, 75vw);
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.08));
}

@media (max-width: 600px) {
    .footer-payments {
        padding: 0.6rem 1rem;
        gap: 0.4rem;
    }

    .footer-payments__title {
        font-size: 0.7rem;
    }

    .footer-payments__logos img {
        max-width: 100%;
        max-height: 24px;
    }
    
    .footer {
        padding: 1rem 0;
    }
    
    .footer-container {
        gap: 0.8rem;
        grid-template-columns: 1fr;
    }
    
    .footer-contacts p,
    .footer-brand p {
        font-size: 0.75rem;
    }
}

.footer {
    background: linear-gradient(135deg, var(--text-dark), #000);
    color: var(--white);
    text-align: center;
    padding: 1.2rem 0;
    margin-top: 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .card-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .performance-stats {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .modal-content {
        margin: 20% auto;
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .card {
        margin: 0 10px;
    }

    .card-header,
    .card-body,
    .card-footer {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .btn-large {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }
}

/* Дополнительные стили для улучшения UX */
.loading {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 140px;
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    border-radius: 8px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -70px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Стили для скроллбара */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-color));
}

/* Стили для выделения */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--white);
}

/* Параллакс эффект */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Стили для уведомлений */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: var(--white);
    font-weight: 500;
    z-index: 3000;
    animation: slideInRight 0.3s ease-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.notification.success {
    background: linear-gradient(135deg, var(--success), #20c997);
}

.notification.error {
    background: linear-gradient(135deg, #DC3545, #c82333);
}

.notification.info {
    background: linear-gradient(135deg, var(--info), #138496);
}

/* Анимация для счетчиков */
.counter {
    font-variant-numeric: tabular-nums;
}

/* Эффект стекла */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Ховер эффекты для интерактивных элементов */
.interactive:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Градиентные тексты */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* Стили для фильтров мероприятий */
.performance-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.1), transparent);
    transition: left 0.5s;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.3);
}

.filter-btn i {
    margin-right: 0.5rem;
}

/* Анимация появления карточек */
.performance-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.performance-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* Плавные переходы для фильтрации */
.performance-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.performance-card.hidden {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    position: absolute;
}

/* Новые стили для страницы бронирования */
.booking {
    padding: 1.5rem 0 2rem;
}

.booking-body {
    background: var(--gray-light);
    padding-bottom: 120px;
}

.booking .container {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
}

@media (max-width: 900px) {
    .booking .container {
        padding-left: 0;
        padding-right: 0;
    }

    .booking-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hall-section {
        border-radius: 0;
        padding: 0.75rem;
    }

    .booking-header {
        border-radius: 0;
    }

    .booking-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .booking-footer .btn-book {
        width: 100%;
    }
}

.booking-header {
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.5rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.2);
}

.age-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    padding: 0.35rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.booking-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.performance-info {
    font-size: 0.95rem;
    opacity: 0.9;
}

.performance-info p {
    margin: 0.3rem 0;
}

.price-info {
    font-weight: 600;
    font-size: 1rem;
    margin-top: 0.5rem !important;
}

.booking-content {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.hall-section {
    background: white;
    border-radius: 15px;
    padding: 1.2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.hall-viewport {
    margin: 1rem 0;
    border-radius: 16px;
    background: var(--gray-light);
    padding: 0.75rem;
    overflow: auto;
    touch-action: pan-x pan-y;
    border: 1px solid #f0e8e5;
    max-height: 70vh;
}

.visual-hall {
    display: grid;
    gap: 0.8rem;
    transform-origin: top center;
    transform: scale(var(--hall-scale, 1));
    transition: transform 0.2s ease;
}

.hall-rows {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hall-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
}

.hall-row--with-gap {
    margin-top: 1.5rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--gray-medium);
}

.hall-zoom-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.zoom-btn {
    border: 1px solid rgba(139, 0, 0, 0.25);
    background: white;
    color: var(--primary-color);
    border-radius: 999px;
    width: 42px;
    height: 36px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zoom-btn:hover {
    background: var(--primary-color);
    color: white;
}

.zoom-btn.zoom-reset {
    width: auto;
    padding: 0 1rem;
    font-size: 0.85rem;
}

.zoom-label {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 60px;
    text-align: center;
}

.stage {
    width: min(800px, 95%);
    height: 45px;
    margin: 0 auto 12px;
    border-radius: 10px;
    background: linear-gradient(180deg, #6b0d0d 0%, #410808 100%);
    color: #fff;
    display: grid;
    place-items: center;
    letter-spacing: 0.1em;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
    box-shadow: 0 8px 20px rgba(65, 8, 8, 0.35);
    overflow: hidden;
}

.stage::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 6px;
    width: 100%;
    border-radius: 0 0 14px 14px;
    background: rgba(255, 255, 255, 0.08);
}

.row-index {
    min-width: 45px;
    width: auto;
    height: var(--seat-size);
    font-weight: 600;
    opacity: 0.7;
    font-size: 0.8rem;
    color: var(--text-dark);
    text-align: right;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.row-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: calc(var(--walkway-units, 0) * var(--seat-stride));
}

.row-wrapper--with-gap {
    padding-top: 0.75rem;
}

.row-block {
    display: flex;
}

.row-block--left {
    justify-content: flex-end;
    margin-right: calc(var(--block-offset-units, 0) * var(--seat-stride));
}

.row-block--right {
    justify-content: flex-start;
    margin-left: calc(var(--block-offset-units, 0) * var(--seat-stride));
}

.row-block--full {
    justify-content: center;
}

.row-block .row {
    display: grid;
    grid-auto-flow: column;
    gap: var(--seat-gap);
    align-items: center;
}

.seat {
    width: var(--seat-size);
    height: var(--seat-size);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.7rem;
    touch-action: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.seat:hover:not(.occupied):not(.empty) {
    transform: scale(1.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.seat.selected {
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: var(--text-dark);
    transform: scale(1.3);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    z-index: 20;
    animation: pulse 1s infinite;
}

.seat.occupied {
    background: var(--gray-dark) !important;
    border-color: var(--gray-dark) !important;
    cursor: not-allowed;
    opacity: 0.5;
    transform: scale(0.9);
}

.seat.empty {
    background: transparent !important;
    border-color: transparent !important;
    cursor: default;
    box-shadow: none;
}

/* Легенды */
.price-legend {
    background: var(--gray-light);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.price-legend h4 {
    margin-bottom: 0.6rem;
    color: var(--primary-color);
    text-align: center;
    font-size: 0.95rem;
}

.legend-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.6rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.8rem;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    justify-content: flex-start;
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.color-sample {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid transparent;
}

.zone-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.hall-legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray);
}

.hall-legend .legend-item {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.6rem;
    font-size: 0.8rem;
}

.hall-legend .legend-item .seat {
    cursor: default;
    transform: none !important;
}

.seat.selected-example {
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: var(--text-dark);
}

/* Сводка заказа */
.booking-summary {
    position: sticky;
    top: 2rem;
}

.booking-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    gap: 1rem;
    z-index: 50;
}

.booking-footer .total-price {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.booking-footer .total-price .amount {
    font-size: 1.35rem;
    margin-left: 0.35rem;
}

.booking-footer .btn-book {
    min-width: 220px;
    border-radius: 999px;
}

.summary-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--gray-light);
}

.summary-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.2rem;
}

.no-seats-message {
    text-align: center;
    color: var(--gray-dark);
    padding: 1.5rem 1rem;
}

.no-seats-message i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.no-seats-message p {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.no-seats-message small {
    opacity: 0.7;
}

.selected-seats {
    min-height: 120px;
    max-height: 200px;
    overflow-y: auto;
}

.seat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.8rem;
    background: var(--gray-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.seat-item:hover {
    transform: translateX(5px);
    background: var(--gray);
}

.seat-info {
    display: flex;
    flex-direction: column;
}

.seat-location {
    font-weight: 600;
    color: var(--text-dark);
}

.seat-zone {
    font-size: 0.8rem;
    color: var(--gray-dark);
    text-transform: capitalize;
}

.seat-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.price-breakdown {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--gray-light);
    border-radius: 12px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray);
    font-size: 0.9rem;
}

.breakdown-total {
    font-weight: 700;
    border-top: 2px solid var(--primary-color);
    margin-top: 0.5rem;
    padding-top: 0.8rem;
    font-size: 1rem;
    border-bottom: none;
}

.total-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray);
}

.total-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.total-price .amount {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-book {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 12px;
    font-weight: 700;
}

.btn-book:disabled {
    background: var(--gray-dark);
    cursor: not-allowed;
    transform: none !important;
}

.booking-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray);
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem;
    background: var(--gray-light);
    border-radius: 8px;
    font-size: 0.8rem;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Адаптивность для страницы бронирования */
@media (max-width: 1200px) {
    .booking-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .booking-summary {
        position: static;
    }

    :root {
        --seat-size: 26px;
        --seat-gap: 5px;
    }

    .row-index {
        min-width: 45px;
        width: auto;
        font-size: 0.85rem;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .booking {
        padding: 2rem 0 3rem;
    }

    .booking-header {
        padding: 2.5rem 1.5rem;
        margin-bottom: 2rem;
    }

    .booking-header h1 {
        font-size: 2rem;
    }

    .performance-info {
        font-size: 1rem;
    }

    .hall-section {
        padding: 1.5rem;
    }

    :root {
        --seat-size: 22px;
        --seat-gap: 4px;
    }

    .row-index {
        min-width: 40px;
        width: auto;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .rows-wrap {
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .row-block .row {
        width: max-content;
    }

    .legend-items {
        flex-direction: column;
    }

    .summary-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-logo-text {
        font-size: 1.4rem;
    }

    .nav-logo-mark {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .booking {
        padding: 1.5rem 0 2.5rem;
    }

    .booking-header {
        padding: 2rem 1rem;
    }

    .booking-header h1 {
        font-size: 1.8rem;
    }

    .hall-section {
        padding: 1rem;
    }

    :root {
        --seat-size: 20px;
        --seat-gap: 3px;
    }

    .row-index {
        min-width: 35px;
        width: auto;
        font-size: 0.7rem;
        white-space: nowrap;
    }

    .rows-wrap {
        gap: 4px;
    }

    .stage {
        width: min(100%, 90vw);
        font-size: 1rem;
    }
}

/* === Дополнительные правки дизайна (ноябрь 2025) === */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.2);
}

.nav-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary-color);
    letter-spacing: 0.04em;
}

.hero {
    background: var(--primary-color);
    color: var(--white);
    padding: 7rem 0 5rem;
    text-align: left;
}

.hero::before {
    content: none;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-content {
    max-width: 520px;
}

.hero-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

.btn-large {
    padding: 1rem 2.4rem;
    font-size: 1rem;
    border-radius: 999px;
    font-weight: 600;
}

.btn-large:hover {
    transform: translateY(-2px);
}

.section-title {
    text-align: left;
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    font-weight: 600;
}

.section-title::after {
    left: 0;
    transform: none;
    background: var(--primary-color);
}

.performance-filters {
    justify-content: flex-start;
}

.video-promo {
    padding: 5rem 0;
    background: var(--light-color);
}

.video-promo-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.video-promo-text {
    flex: 1 1 320px;
}

.video-label {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-block;
    margin-bottom: 1rem;
}

.video-promo-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.video-promo-text p {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.video-player {
    flex: 1 1 420px;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.video-player video {
    display: block;
    width: 100%;
    height: 100%;
    outline: none;
}

.video-player video::-webkit-media-controls-panel {
    background: rgba(0, 0, 0, 0.2);
}

.video-player video::-webkit-media-controls-enclosure {
    border-radius: 0;
}

.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    border-radius: 24px;
    border: 1px solid rgba(139, 0, 0, 0.08);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(139, 0, 0, 0.12);
}

.card::before {
    content: none;
}

.card-image {
    height: 320px;
    background: #f3f3f3;
    border-radius: 24px 24px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.card-image-fallback {
    position: relative;
}

.card-image-1 {
    background-image: linear-gradient(135deg, #d45b6b, #fbd2d5);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.card-image-2 {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 2rem;
}

.card-image-2::before {
    content: 'БАЛ\AЩЕЛКУНЧИКА';
    white-space: pre;
    font-size: 2rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.card-image-2::after {
    content: 'СКОРО';
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffc107;
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.card-image-3 {
    background-image: linear-gradient(135deg, #c0c6d8, #f1f2f7);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.card-header {
    background: var(--white);
    color: var(--text-dark);
    padding: 1.8rem 1.8rem 0.5rem;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
}

.card-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1 1 auto;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1 1 auto;
}

.card-footer {
    padding: 1.8rem;
    margin-top: auto;
}

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.card-actions .btn {
    width: 100%;
    max-width: 260px;
}

.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 1.8rem 0;
}

.footer-container {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: start;
}

@media (min-width: 1400px) {
    .footer-container {
        max-width: 1600px;
    }
}

.footer-logo {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.footer-brand p {
    font-size: 0.8rem;
    margin: 0.15rem 0;
}

.footer-contacts p {
    font-size: 0.8rem;
    margin: 0.2rem 0;
    line-height: 1.3;
}

.footer-contacts a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer-contacts a:hover {
    color: #fff;
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-copy p {
    margin: 0;
}

@media (max-width: 768px) {
    .hero {
        padding: 5rem 0 4rem;
        text-align: center;
    }

    .hero-container {
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .performance-filters {
        justify-content: center;
    }

    .footer-container {
        text-align: center;
    }

    .video-promo-content {
        flex-direction: column;
    }

    .video-promo-text h2 {
        font-size: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .card-image {
        height: 260px;
    }
}

.feature-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.5;
    color: var(--gray-dark);
}

.feature-list i {
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.summary-highlights h4 {
    margin-top: 2rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.highlight-poster {
    margin-bottom: 1.5rem;
    text-align: center;
}

.highlight-poster img {
    width: 100%;
    height: auto;
    max-height: 420px;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    object-fit: contain;
    background: rgba(0, 0, 0, 0.85);
    padding: 0.3rem;
}
.performance-tagline {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.booking-content-simple {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
    align-items: start;
}

.simple-details {
    display: grid;
    gap: 1.5rem;
}

.highlight-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.highlight-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.detail-grid {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--gray);
}

.detail-label {
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-value {
    color: var(--gray-dark);
    font-weight: 500;
}

.info-alert {
    background: rgba(255, 255, 255, 0.65);
    border-radius: 18px;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary-dark);
    font-weight: 600;
    box-shadow: 0 12px 35px rgba(139, 0, 0, 0.1);
}

.simple-booking-card {
    background: white;
    border-radius: 24px;
    padding: 2.2rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.06);
}

.simple-booking-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ticket-list {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gray-light);
    padding: 1.3rem 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--gray-medium);
    transition: all 0.3s ease;
}

.ticket-row:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.15);
}

.ticket-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.ticket-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.ticket-price {
    color: var(--gray-dark);
}

.ticket-quantity {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border-radius: 999px;
    padding: 0.3rem;
    border: 1px solid var(--gray-medium);
    box-shadow: inset 0 0 0 1px rgba(139, 0, 0, 0.05);
}

.ticket-quantity input {
    width: 48px;
    text-align: center;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    background: transparent;
}

.ticket-quantity input:focus {
    outline: none;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: white;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.quantity-btn:hover {
    transform: scale(1.05);
}

.simple-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-medium);
    border-bottom: 1px solid var(--gray-medium);
}

.simple-total strong {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.simple-notes {
    margin-top: 2rem;
    list-style: none;
    display: grid;
    gap: 0.75rem;
    color: var(--gray-dark);
}

.simple-notes li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.simple-notes i {
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .booking-content-simple {
        grid-template-columns: 1fr;
    }

    .simple-booking-card {
        order: -1;
    }
}

/* Оплата и проверка билетов */
.payment,
.payment-result,
.verify {
    padding: 80px 0;
    background: var(--gray-light);
}

.payment-container,
.result-container,
.verify-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-card,
.result-card,
.verify-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    max-width: 540px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(139, 0, 0, 0.08);
}

.payment-card h1,
.result-card h1,
.verify-card h1 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.payment-summary p {
    margin-bottom: 0.5rem;
}

.payment-alert {
    border-radius: 12px;
    padding: 16px 18px;
    margin: 20px 0;
    font-weight: 500;
}

.payment-alert.error {
    background: rgba(220, 53, 69, 0.1);
    color: #a10f23;
}

.payment-alert.info {
    background: rgba(23, 162, 184, 0.1);
    color: #0c5460;
}

.payment-note,
.result-note {
    margin-top: 20px;
    color: var(--gray-dark);
    font-size: 0.95rem;
}

.payment-result.success .result-card {
    border-top: 6px solid var(--success);
}

.payment-result.error .result-card {
    border-top: 6px solid #dc3545;
}

.verify-card form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.verify-card input {
    border: 1px solid var(--gray-medium);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
}

.verify-scanner {
    margin: 24px 0 32px;
    padding: 20px;
    border: 1px solid var(--gray-light);
    border-radius: 16px;
    background: #faf7f5;
}

.verify-scanner h2 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.verify-scanner-view {
    margin: 12px 0 16px;
    background: var(--gray);
    border-radius: 16px;
    padding: 12px;
    position: relative;
}

.verify-scanner video {
    width: 100%;
    min-height: 220px;
    border-radius: 12px;
    background: #1a1a1a;
    object-fit: cover;
}

.verify-scanner canvas {
    display: none;
}

.camera-status {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.verify-scanner .btn {
    width: 100%;
    max-width: 280px;
}

.verify-body .navbar {
    display: none;
}

.verify-body main {
    padding-top: 0;
}

.verify-result {
    min-height: 60px;
    padding: 16px;
    border-radius: 12px;
    background: var(--gray);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.verify-result.success {
    background: rgba(40, 167, 69, 0.12);
    color: var(--success);
}

.verify-result.error {
    background: rgba(220, 53, 69, 0.12);
    color: #a10f23;
}
