/* ==========================================================================
   FACEART FESTIVAL — CSS
   Вдохновлено шаблоном Festy от AncoraThemes
   ========================================================================== */

/* ---- CSS Variables ---- */
:root {
    --fest-primary: #ff6b35;
    --fest-secondary: #1a1a2e;
    --fest-accent: #ffd700;
    --fest-dark: #0f0f23;
    --fest-light: #f8f9fa;
    --fest-text: #e0e0e0;
    --fest-text-dark: #333;
    --fest-font-heading: 'Oswald', sans-serif;
    --fest-font-body: 'Open Sans', sans-serif;
    --fest-transition: 0.3s ease;
    --fest-radius: 8px;
    --fest-container-width: 1200px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

.fest-body {
    font-family: var(--fest-font-body);
    background: var(--fest-dark);
    color: var(--fest-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.fest-container {
    max-width: var(--fest-container-width);
    margin: 0 auto;
    padding: 0 20px;
}

img { max-width: 100%; height: auto; }
a { color: var(--fest-primary); text-decoration: none; transition: color var(--fest-transition); }
a:hover { color: var(--fest-accent); }

/* ---- Loader ---- */
#fest-loader {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 99999;
    background: var(--fest-dark);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s;
}
#fest-loader.hidden { opacity: 0; pointer-events: none; }
.fest-loader__spinner {
    width: 48px; height: 48px;
    border: 4px solid rgba(255,255,255,0.1);
    border-top-color: var(--fest-primary);
    border-radius: 50%;
    animation: fest-spin 0.8s linear infinite;
}
@keyframes fest-spin { to { transform: rotate(360deg); } }

/* ---- Buttons ---- */
.fest-btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--fest-font-heading);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid transparent;
    border-radius: var(--fest-radius);
    cursor: pointer;
    transition: all var(--fest-transition);
    text-align: center;
}
.fest-btn--primary {
    background: var(--fest-primary);
    color: #fff;
    border-color: var(--fest-primary);
}
.fest-btn--primary:hover { background: transparent; color: var(--fest-primary); }
.fest-btn--accent {
    background: var(--fest-accent);
    color: var(--fest-dark);
    border-color: var(--fest-accent);
}
.fest-btn--accent:hover { background: transparent; color: var(--fest-accent); }
.fest-btn--outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.fest-btn--outline:hover { background: #fff; color: var(--fest-dark); }
.fest-btn--lg { padding: 18px 48px; font-size: 18px; }

/* ---- Header (компактный) ---- */
.fest-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--fest-transition);
    background: transparent;
}
.fest-header.scrolled {
    background: rgba(15, 15, 35, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.fest-header__container {
    max-width: var(--fest-container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fest-header__logo-img { height: 40px; }
.fest-header__logo-text {
    font-family: var(--fest-font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}
.fest-header__right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.fest-header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1002;
}
.fest-header__burger span {
    width: 28px; height: 2px;
    background: #fff;
    transition: all var(--fest-transition);
}
.fest-header__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.fest-header__burger.active span:nth-child(2) { opacity: 0; }
.fest-header__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Боковая навигация (dot nav) ---- */
.fest-sidenav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
}
.fest-sidenav__item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-direction: row-reverse;
}
.fest-sidenav__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: 2px solid rgba(255,255,255,0.15);
    transition: all var(--fest-transition);
    flex-shrink: 0;
}
.fest-sidenav__item:hover .fest-sidenav__dot,
.fest-sidenav__item.active .fest-sidenav__dot {
    background: var(--fest-primary);
    border-color: var(--fest-primary);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.5);
}
.fest-sidenav__label {
    font-family: var(--fest-font-heading);
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 1;
    transition: all var(--fest-transition);
    background: rgba(15, 15, 35, 0.7);
    padding: 4px 10px;
    border-radius: 4px;
}
.fest-sidenav__item:hover .fest-sidenav__label {
    color: #fff;
    background: rgba(15, 15, 35, 0.95);
}
.fest-sidenav__item.active .fest-sidenav__label {
    color: var(--fest-primary);
    background: rgba(15, 15, 35, 0.95);
}

/* ---- Мобильное навигационное меню (fullscreen overlay) ---- */
.fest-mobilenav {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1001;
    background: rgba(15, 15, 35, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--fest-transition);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 80px 20px 40px;
}
.fest-mobilenav.open {
    opacity: 1;
    pointer-events: auto;
}
.fest-mobilenav__list {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.fest-mobilenav__link {
    font-family: var(--fest-font-heading);
    font-size: 24px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color var(--fest-transition);
    display: block;
    padding: 4px 0;
}
.fest-mobilenav__link:hover { color: var(--fest-primary); }

/* ---- Контейнер авторизации в хедере ---- */
.fest-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ---- Кнопка «Купить билет» в хедере ---- */
.fest-header__buy-btn {
    font-family: var(--fest-font-heading);
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--fest-primary);
    border: 1px solid var(--fest-primary);
    border-radius: var(--fest-radius);
    padding: 6px 16px;
    cursor: pointer;
    transition: all var(--fest-transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}
.fest-header__buy-btn:hover {
    background: transparent;
    color: var(--fest-primary);
}

/* ---- Авторизация в хедере ---- */
.fest-auth__login-btn {
    font-family: var(--fest-font-heading);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--fest-radius);
    padding: 8px 20px;
    cursor: pointer;
    transition: all var(--fest-transition);
}
.fest-auth__login-btn:hover {
    border-color: var(--fest-primary);
    color: var(--fest-primary);
}
.fest-auth__user {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
}
.fest-auth__avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--fest-primary);
}
.fest-auth__avatar-placeholder {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid var(--fest-primary);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7);
    flex-shrink: 0;
}
.fest-auth__name {
    font-family: var(--fest-font-heading);
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fest-auth__dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: rgba(15, 15, 35, 0.95);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--fest-radius);
    padding: 6px 0;
    min-width: 200px;
    display: none;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.fest-auth__user.open .fest-auth__dropdown { display: block; }
.fest-auth__dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all var(--fest-transition);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    text-decoration: none;
    font-family: var(--fest-font-body);
    white-space: nowrap;
}
.fest-auth__dropdown-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}
.fest-auth__dropdown-item:hover {
    color: var(--fest-primary);
    background: rgba(255,255,255,0.05);
}
.fest-auth__dropdown-item--logout:hover {
    color: #e57373;
    background: rgba(229, 115, 115, 0.1);
}
.fest-auth__dropdown-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 4px 12px;
}

/* ---- Модальные окна (авторизация, оплата) ---- */
.fest-modal {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}
.fest-modal.open {
    display: flex;
}
.fest-modal__backdrop {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.fest-modal__content {
    position: relative;
    background: var(--fest-secondary);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 40px;
    max-width: 440px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}
.fest-modal__content--sm { max-width: 380px; }
.fest-modal__close {
    position: absolute;
    top: 12px; right: 16px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 28px;
    cursor: pointer;
    transition: color var(--fest-transition);
    line-height: 1;
}
.fest-modal__close:hover { color: #fff; }
.fest-modal__title {
    font-family: var(--fest-font-heading);
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 8px;
}
.fest-modal__text {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-align: center;
    margin-bottom: 24px;
}
.fest-modal__providers {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fest-modal__vk-container {
    display: flex;
    justify-content: center;
    min-height: 44px;
}
.fest-auth-provider-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
}
.fest-auth-provider-btn svg { flex-shrink: 0; }
.fest-auth-provider-btn--google {
    background: #fff;
    color: #333;
    border-color: #ddd;
}
.fest-auth-provider-btn--google:hover { background: #f7f7f7; }
.fest-auth-provider-btn--yandex {
    background: #FC3F1D;
    color: #fff;
    border-color: #FC3F1D;
}
.fest-auth-provider-btn--yandex:hover { background: #E03618; }

/* ---- Форма оплаты ---- */
.fest-pay-form__group {
    margin-bottom: 16px;
}
.fest-pay-form__label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--fest-font-heading);
}
.fest-pay-form__input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--fest-radius);
    color: #fff;
    font-size: 16px;
    font-family: var(--fest-font-body);
    transition: border-color var(--fest-transition);
}
.fest-pay-form__input:focus {
    outline: none;
    border-color: var(--fest-primary);
}
.fest-pay-form__input::placeholder {
    color: rgba(255,255,255,0.3);
}
.fest-pay-form__submit {
    width: 100%;
    margin-top: 8px;
}
.fest-pay-form__submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.fest-pay-form__input--error {
    border-color: #e57373 !important;
}
.fest-pay-form__promo-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.fest-pay-form__promo-row .fest-pay-form__input {
    flex: 1;
}
.fest-btn--outline {
    background: transparent;
    border: 1px solid var(--fest-primary);
    color: var(--fest-primary);
    padding: 10px 16px;
    border-radius: var(--fest-radius-sm);
    cursor: pointer;
    font-family: var(--fest-font-heading);
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background var(--fest-transition), color var(--fest-transition);
}
.fest-btn--outline:hover {
    background: var(--fest-primary);
    color: #fff;
}
.fest-btn--sm {
    padding: 8px 14px;
    font-size: 0.85rem;
}
.fest-pay-form__promo-result {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: var(--fest-radius-sm);
    font-size: 0.9rem;
}
.fest-pay-form__promo-result--success {
    background: rgba(76, 175, 80, 0.15);
    color: #81c784;
    border: 1px solid rgba(76, 175, 80, 0.3);
}
.fest-pay-form__promo-result--error {
    background: rgba(229, 115, 115, 0.15);
    color: #e57373;
    border: 1px solid rgba(229, 115, 115, 0.3);
}

/* ---- Tickets: доп. стили для кастомного блока оплаты ---- */
.fest-tickets__card {
    position: relative;
}
.fest-tickets__badge {
    position: absolute;
    top: -1px; right: -1px;
    padding: 6px 16px;
    font-family: var(--fest-font-heading);
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 var(--fest-radius) 0 var(--fest-radius);
    z-index: 1;
}
.fest-tickets__card-image {
    margin-bottom: 16px;
    text-align: center;
}
.fest-tickets__card-image img {
    max-height: 120px;
    border-radius: var(--fest-radius);
}
.fest-tickets__card-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
}
.fest-tickets__card-oldprice {
    font-size: 18px;
    color: rgba(255,255,255,0.4);
    text-decoration: line-through;
    margin-top: -16px;
    margin-bottom: 16px;
}
.fest-tickets__card-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
    line-height: 1.6;
}
.fest-tickets__feature--yes {
    color: rgba(255,255,255,0.8);
}
.fest-tickets__feature--no {
    color: rgba(255,255,255,0.35);
    text-decoration: line-through;
}
.fest-tickets__feature-icon {
    margin-right: 8px;
    font-size: 14px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}
.fest-tickets__feature--yes .fest-tickets__feature-icon { color: #4caf50; }
.fest-tickets__feature--no .fest-tickets__feature-icon { color: #f44336; }
.fest-tickets__grid--custom { margin-top: 40px; }

/* ---- Section Base ---- */
.fest-section {
    padding: 100px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Overlay для секций с фоновым изображением */
.fest-section__bg-overlay {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(15,15,35,0.85);
    z-index: 0;
}
.fest-section--has-bg > .fest-container { position: relative; z-index: 1; }
.fest-section__subtitle {
    display: block;
    font-family: var(--fest-font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--fest-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-align: center;
}
.fest-section__title {
    font-family: var(--fest-font-heading);
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.2;
}
.fest-section__title--light { color: #fff; }
.fest-section__subtitle--light { color: rgba(255,255,255,0.7); }
.fest-section__description {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}
.fest-section__cta { text-align: center; margin-top: 40px; }

/* ---- Hero ---- */
/* iOS Safari не поддерживает background-attachment: fixed */
@supports (-webkit-touch-callout: none) {
    .fest-hero, .fest-countdown { background-attachment: scroll !important; }
}
.fest-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}
.fest-hero__overlay {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(180deg, rgba(15,15,35,0.6) 0%, rgba(15,15,35,0.85) 100%);
}
.fest-hero__content { position: relative; z-index: 1; padding: 0 20px; }
.fest-hero__subtitle {
    font-family: var(--fest-font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--fest-primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 16px;
    display: block;
}
.fest-hero__title {
    font-family: var(--fest-font-heading);
    font-size: 72px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
}
.fest-hero__description {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.fest-hero__date {
    font-family: var(--fest-font-heading);
    font-size: 22px;
    color: var(--fest-accent);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.fest-hero__countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
}
.fest-hero__countdown .fest-countdown__item {
    text-align: center;
}
.fest-hero__countdown .fest-countdown__number {
    display: block;
    font-family: var(--fest-font-heading);
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.fest-hero__countdown .fest-countdown__label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}
.fest-hero__venue {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
    letter-spacing: 1px;
}
.fest-hero__btn { margin-top: 12px; }
.fest-hero__scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}
.fest-hero__scroll-indicator span {
    display: block;
    width: 24px; height: 24px;
    border-right: 2px solid rgba(255,255,255,0.5);
    border-bottom: 2px solid rgba(255,255,255,0.5);
    transform: rotate(45deg);
    animation: fest-scroll 2s infinite;
}
@keyframes fest-scroll {
    0% { opacity: 0; transform: rotate(45deg) translate(-10px, -10px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(10px, 10px); }
}

/* ---- About ---- */
.fest-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.fest-about__content { font-size: 16px; line-height: 1.8; color: rgba(255,255,255,0.8); }
.fest-about__image img { border-radius: var(--fest-radius); }
.fest-about__stat-value {
    font-family: var(--fest-font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--fest-primary);
}
.fest-about__stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- Countdown ---- */
.fest-countdown {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
}
.fest-countdown__overlay {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(15,15,35,0.8);
}
.fest-countdown .fest-container { position: relative; z-index: 1; }
.fest-countdown__timer {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: nowrap;
}
.fest-countdown__item { text-align: center; flex-shrink: 1; min-width: 0; }
.fest-countdown__number {
    font-family: var(--fest-font-heading);
    font-size: 72px;
    font-weight: 700;
    color: var(--fest-accent);
    display: block;
    line-height: 1;
}
.fest-countdown__label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
}

/* ---- Lineup ---- */
.fest-lineup__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}
.fest-lineup__card {
    width: 220px;
    flex-shrink: 0;
    text-align: center;
    transition: transform var(--fest-transition);
}
.fest-lineup__card:hover { transform: translateY(-8px); }
.fest-lineup__card-img {
    width: 200px; height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--fest-primary);
    margin-bottom: 16px;
}
.fest-lineup__card-name {
    font-family: var(--fest-font-heading);
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}
.fest-lineup__card-role {
    font-size: 14px;
    color: var(--fest-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.fest-lineup__card-desc {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-top: 8px;
    white-space: pre-line;
}

/* ---- Schedule ---- */
.fest-schedule__content { margin-top: 40px; }
.fest-schedule__day {
    margin-bottom: 40px;
}
.fest-schedule__day-title {
    font-family: var(--fest-font-heading);
    font-size: 28px;
    color: var(--fest-accent);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}
.fest-schedule__event {
    display: flex;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.fest-schedule__event-time {
    font-family: var(--fest-font-heading);
    font-size: 20px;
    color: var(--fest-primary);
    min-width: 80px;
    font-weight: 600;
}
.fest-schedule__event-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}
.fest-schedule__event-stage {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- Tickets ---- */
.fest-tickets {
    background-size: cover;
    background-position: center;
    position: relative;
}
.fest-tickets__overlay {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(15,15,35,0.9);
}
.fest-tickets .fest-container { position: relative; z-index: 1; }
.fest-tickets__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.fest-tickets__card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--fest-radius);
    padding: 40px 30px;
    text-align: center;
    transition: all var(--fest-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fest-tickets__card > .fest-btn,
.fest-tickets__card > .fest-pay-btn {
    margin-top: auto;
}
.fest-tickets__card:hover { transform: translateY(-5px); border-color: var(--fest-primary); }
.fest-tickets__card.highlight {
    border-color: var(--fest-accent);
    background: rgba(255,215,0,0.05);
}
.fest-tickets__card-name {
    font-family: var(--fest-font-heading);
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.fest-tickets__card-price {
    font-family: var(--fest-font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--fest-primary);
    margin-bottom: 24px;
}
.fest-tickets__card-price small { font-size: 18px; color: rgba(255,255,255,0.5); }
.fest-tickets__card-features {
    list-style: none;
    margin-bottom: 30px;
    width: 100%;
    text-align: left;
}
.fest-tickets__card-features li {
    padding: 8px 0;
    color: rgba(255,255,255,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: baseline;
}
.fest-tickets__note {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    margin-top: 24px;
}

/* ---- Gallery ---- */
.fest-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 40px;
}
.fest-gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--fest-radius);
    cursor: pointer;
    aspect-ratio: 4/3;
}
.fest-gallery__img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--fest-transition);
}
.fest-gallery__item:hover .fest-gallery__img { transform: scale(1.1); }
.fest-gallery__overlay {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(15,15,35,0.5);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity var(--fest-transition);
}
.fest-gallery__item:hover .fest-gallery__overlay { opacity: 1; }
.fest-gallery__icon { font-size: 32px; color: #fff; }

/* ---- Gallery Carousel ---- */
.fest-gallery__carousel {
    position: relative;
    margin-top: 40px;
    overflow: hidden;
}
.fest-gallery__carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}
.fest-gallery__carousel-slide {
    flex: 0 0 33.333%;
    padding: 0 8px;
    box-sizing: border-box;
}
.fest-gallery__carousel-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--fest-radius);
    cursor: pointer;
    transition: transform var(--fest-transition);
}
.fest-gallery__carousel-img:hover { transform: scale(1.03); }
.fest-gallery__carousel-controls {
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 4px;
}
.fest-gallery__carousel-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(15,15,35,0.7);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    pointer-events: auto;
    transition: all var(--fest-transition);
    display: flex; align-items: center; justify-content: center;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.fest-gallery__carousel-btn:hover { background: var(--fest-primary); }

@media (max-width: 992px) {
    .fest-gallery__carousel-slide { flex: 0 0 50%; }
}
@media (max-width: 576px) {
    .fest-gallery__carousel-slide { flex: 0 0 100%; }
    .fest-gallery__carousel-btn { width: 36px; height: 36px; font-size: 16px; }
}

/* ---- Gallery Fullwidth Carousel (edge-to-edge) ---- */
.fest-gallery__fullwidth {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    margin-top: 40px;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}
.fest-gallery__fullwidth-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.fest-gallery__fullwidth-track.is-dragging {
    transition: none;
}
.fest-gallery__fullwidth-slide {
    flex: 0 0 20vw;
    width: 20vw;
    min-width: 20vw;
    padding: 0 3px;
    box-sizing: border-box;
    position: relative;
}
.fest-gallery__fullwidth-img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    cursor: pointer;
    transition: transform var(--fest-transition);
}
.fest-gallery__fullwidth-img:hover { transform: scale(1.03); }
.fest-gallery__fullwidth-controls {
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 16px;
}
.fest-gallery__fullwidth-btn {
    width: 52px; height: 52px;
    border-radius: 50%;
    border: none;
    background: rgba(15,15,35,0.6);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    pointer-events: auto;
    transition: all var(--fest-transition);
    display: flex; align-items: center; justify-content: center;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.fest-gallery__fullwidth-btn:hover { background: var(--fest-primary); }
.fest-gallery__fullwidth-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
    position: absolute;
    bottom: 16px;
    left: 0; right: 0;
}
.fest-gallery__fullwidth-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all var(--fest-transition);
    padding: 0;
}
.fest-gallery__fullwidth-dot.active {
    background: var(--fest-primary);
    transform: scale(1.3);
}

@media (max-width: 992px) {
    .fest-gallery__fullwidth-slide { flex: 0 0 33.333vw; width: 33.333vw; min-width: 33.333vw; }
    .fest-gallery__fullwidth-img { height: 40vh; }
    .fest-gallery__fullwidth-btn { width: 44px; height: 44px; font-size: 18px; }
}
@media (max-width: 576px) {
    .fest-gallery__fullwidth-slide { flex: 0 0 50vw; width: 50vw; min-width: 50vw; }
    .fest-gallery__fullwidth-img { height: 35vh; }
    .fest-gallery__fullwidth-btn { width: 36px; height: 36px; font-size: 16px; }
    .fest-gallery__fullwidth-controls { padding: 0 8px; }
    .fest-gallery__fullwidth-dots { gap: 6px; bottom: 10px; }
    .fest-gallery__fullwidth-dot { width: 8px; height: 8px; }
}

/* ---- Sponsors ---- */
.fest-sponsors__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    align-items: center;
}
.fest-sponsors__item {
    flex-shrink: 0;
}
.fest-sponsors__logo {
    display: block;
    max-height: 60px;
    width: auto;
    height: auto;
    filter: grayscale(100%) brightness(1.5);
    opacity: 0.6;
    transition: all var(--fest-transition);
}
.fest-sponsors__item:hover .fest-sponsors__logo {
    filter: none;
    opacity: 1;
}

/* Тиры спонсоров — логотипы */
.fest-sponsors__tier-section { margin-top: 32px; }
.fest-sponsors__tier-section:first-child { margin-top: 0; }
.fest-sponsors__tier-label {
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding: 6px 0;
}
.fest-sponsors__tier-label--gold { color: #ffd700; border-bottom: 2px solid rgba(255,215,0,0.3); }
.fest-sponsors__tier-label--silver { color: #c0c0c0; border-bottom: 2px solid rgba(192,192,192,0.3); }
.fest-sponsors__tier-label--bronze { color: #cd7f32; border-bottom: 2px solid rgba(205,127,50,0.3); }

.fest-sponsors__grid--gold { gap: 48px; }
.fest-sponsors__grid--silver { gap: 36px; }
.fest-sponsors__grid--bronze { gap: 24px; }

.fest-sponsors__item--gold .fest-sponsors__logo { max-height: 90px; filter: none; opacity: 1; }
.fest-sponsors__item--silver .fest-sponsors__logo { max-height: 70px; filter: grayscale(50%) brightness(1.3); opacity: 0.8; }
.fest-sponsors__item--bronze .fest-sponsors__logo { max-height: 50px; }
.fest-sponsors__item--standard .fest-sponsors__logo { max-height: 45px; }

.fest-sponsors__name-text {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
}

/* Тиры спонсоров — пакеты (карточки) */
.fest-sponsors__packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.fest-sponsors__package {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--fest-radius);
    padding: 32px 24px;
    text-align: center;
    transition: transform var(--fest-transition), box-shadow var(--fest-transition);
    position: relative;
    overflow: hidden;
}
.fest-sponsors__package:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.fest-sponsors__package-badge {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.fest-sponsors__package--gold { border-color: rgba(255,215,0,0.4); }
.fest-sponsors__package--gold .fest-sponsors__package-badge { background: linear-gradient(135deg, #ffd700, #ffaa00); color: #1a1a2e; }
.fest-sponsors__package--gold::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(135deg, rgba(255,215,0,0.08), transparent);
    pointer-events: none;
}
.fest-sponsors__package--silver { border-color: rgba(192,192,192,0.3); }
.fest-sponsors__package--silver .fest-sponsors__package-badge { background: linear-gradient(135deg, #e0e0e0, #a0a0a0); color: #1a1a2e; }
.fest-sponsors__package--silver::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(135deg, rgba(192,192,192,0.06), transparent);
    pointer-events: none;
}
.fest-sponsors__package--bronze { border-color: rgba(205,127,50,0.3); }
.fest-sponsors__package--bronze .fest-sponsors__package-badge { background: linear-gradient(135deg, #cd7f32, #a0522d); color: #fff; }
.fest-sponsors__package--bronze::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(135deg, rgba(205,127,50,0.06), transparent);
    pointer-events: none;
}

.fest-sponsors__package-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.fest-sponsors__package-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--fest-primary);
    margin-bottom: 20px;
}
.fest-sponsors__package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}
.fest-sponsors__package-features li {
    padding: 8px 0;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fest-sponsors__package-features li:last-child { border-bottom: none; }
.fest-sponsors__package-btn { width: 100%; }

/* ---- Venue ---- */
.fest-venue__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}
.fest-venue__description { color: rgba(255,255,255,0.8); margin-bottom: 20px; line-height: 1.8; }
.fest-venue__address, .fest-venue__transport {
    margin-bottom: 12px;
    color: rgba(255,255,255,0.7);
}
.fest-venue__map iframe, .fest-venue__map-img {
    width: 100%;
    min-height: 350px;
    border-radius: var(--fest-radius);
    border: none;
}

/* ---- FAQ ---- */
.fest-faq__list { max-width: 800px; margin: 40px auto 0; }
.fest-faq__item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.fest-faq__question {
    padding: 20px 0;
    font-family: var(--fest-font-heading);
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--fest-transition);
}
.fest-faq__question:hover { color: var(--fest-primary); }
.fest-faq__question::after { content: '+'; font-size: 24px; color: var(--fest-primary); transition: transform var(--fest-transition); }
.fest-faq__item.open .fest-faq__question::after { transform: rotate(45deg); }
.fest-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}
.fest-faq__item.open .fest-faq__answer { max-height: 500px; padding-bottom: 20px; }

/* ---- Contacts ---- */
.fest-contacts__grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.fest-contacts__item { text-align: center; }
.fest-contacts__icon { font-size: 32px; margin-bottom: 8px; }
.fest-contacts__label { font-size: 13px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.fest-contacts__value { color: #fff; font-size: 16px; }
.fest-contacts__social { display: flex; justify-content: center; gap: 16px; margin-top: 30px; }

/* ---- Contact Form ---- */
.fest-contact-form-wrap {
    max-width: 640px;
    margin: 48px auto 0;
    padding: 32px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--fest-radius, 12px);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.fest-contact-form__title {
    font-family: var(--fest-font-heading, 'Oswald', sans-serif);
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 24px;
}
.fest-contact-form__row {
    display: flex;
    gap: 16px;
}
.fest-contact-form__row .fest-contact-form__group {
    flex: 1;
}
.fest-contact-form__group {
    margin-bottom: 16px;
}
.fest-contact-form__label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 6px;
}
.fest-contact-form__req {
    color: var(--fest-primary, #ff6b35);
}
.fest-contact-form__input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
}
.fest-contact-form__input::placeholder { color: rgba(255,255,255,0.3); }
.fest-contact-form__input:focus {
    outline: none;
    border-color: var(--fest-primary, #ff6b35);
    background: rgba(255,255,255,0.12);
}
.fest-contact-form__textarea {
    resize: vertical;
    min-height: 100px;
}
.fest-contact-form__submit {
    width: 100%;
    margin-top: 8px;
}
.fest-contact-form__result {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}
.fest-contact-form__result--ok {
    background: rgba(52,211,153,0.15);
    color: #34d399;
    border: 1px solid rgba(52,211,153,0.3);
}
.fest-contact-form__result--err {
    background: rgba(239,68,68,0.15);
    color: #ef4444;
    border: 1px solid rgba(239,68,68,0.3);
}
.fest-contact-form__result--warn {
    background: rgba(251,191,36,0.15);
    color: #fbbf24;
    border: 1px solid rgba(251,191,36,0.3);
}
@media (max-width: 576px) {
    .fest-contact-form-wrap { padding: 20px; }
    .fest-contact-form__row { flex-direction: column; gap: 0; }
}

/* ---- CTA ---- */
.fest-cta {
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
}
.fest-cta__overlay {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(15,15,35,0.85);
}
.fest-cta__content { position: relative; z-index: 1; }
.fest-cta__description { color: rgba(255,255,255,0.7); font-size: 18px; margin-bottom: 32px; }

/* ---- Video ---- */
.fest-video__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-top: 40px;
    border-radius: var(--fest-radius);
    overflow: hidden;
}
.fest-video__iframe {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    width: 100%; height: 100%;
}
.fest-video__wrapper:has(.fest-video__player) {
    padding-bottom: 0;
    height: auto;
}
.fest-video__player {
    width: 100%;
    height: auto;
    display: block;
}
.fest-video__poster {
    position: relative;
    cursor: pointer;
    margin-top: 40px;
    border-radius: var(--fest-radius);
    overflow: hidden;
}
.fest-video__play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; height: 80px;
    background: var(--fest-primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; color: #fff;
    transition: all var(--fest-transition);
}
.fest-video__poster:hover .fest-video__play-btn { transform: translate(-50%, -50%) scale(1.1); }

/* ---- Footer ---- */
.fest-footer {
    background: rgba(0,0,0,0.3);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.fest-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.fest-footer__logo { max-height: 40px; margin-bottom: 16px; }
.fest-footer__brand {
    font-family: var(--fest-font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 16px;
}
.fest-footer__description { color: rgba(255,255,255,0.5); font-size: 14px; }
.fest-footer__title {
    font-family: var(--fest-font-heading);
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.fest-footer__contacts a { color: rgba(255,255,255,0.7); }
.fest-footer__contacts a:hover { color: var(--fest-primary); }
.fest-footer__contacts p { margin-bottom: 8px; font-size: 14px; }
.fest-footer__social-links { display: flex; gap: 12px; }
.fest-footer__social-link {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--fest-radius);
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    transition: all var(--fest-transition);
}
.fest-footer__social-link:hover { border-color: var(--fest-primary); color: var(--fest-primary); }
.fest-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 13px;
}

/* ---- Paint Splash Animation (toggleable via .fest-body--animated) ---- */
.fest-paint-splashes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.fest-paint-splash {
    position: absolute;
    opacity: 0;
    will-change: transform;
}
.fest-body--animated .fest-paint-splash { opacity: 1; }

.fest-paint-splash--1 {
    top: 8%;
    right: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(ellipse at 40% 40%, var(--fest-primary), transparent 70%);
    opacity: 0;
    border-radius: 62% 38% 28% 72% / 55% 32% 68% 45%;
    animation: fest-splash-drift-1 28s ease-in-out infinite;
}
.fest-body--animated .fest-paint-splash--1 { opacity: 0.18; }

.fest-paint-splash--2 {
    top: 42%;
    left: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(ellipse at 60% 50%, var(--fest-accent), transparent 70%);
    opacity: 0;
    border-radius: 38% 62% 72% 28% / 45% 68% 32% 55%;
    animation: fest-splash-drift-2 34s ease-in-out infinite;
}
.fest-body--animated .fest-paint-splash--2 { opacity: 0.14; }

.fest-paint-splash--3 {
    bottom: 12%;
    right: 3%;
    width: 260px;
    height: 260px;
    background: radial-gradient(ellipse at 50% 60%, var(--fest-primary), transparent 70%);
    opacity: 0;
    border-radius: 32% 68% 58% 42% / 50% 35% 65% 50%;
    animation: fest-splash-drift-1 38s ease-in-out infinite reverse;
}
.fest-body--animated .fest-paint-splash--3 { opacity: 0.12; }

@keyframes fest-splash-drift-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(12px, -15px) rotate(4deg) scale(1.05); }
    50% { transform: translate(-8px, 8px) rotate(-3deg) scale(0.97); }
    75% { transform: translate(6px, -5px) rotate(2deg) scale(1.02); }
}
@keyframes fest-splash-drift-2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(-10px, 12px) rotate(-5deg) scale(1.04); }
    66% { transform: translate(8px, -6px) rotate(3deg) scale(0.96); }
}

/* ---- Content Block Cards (used in HTML content of text blocks) ---- */
.fest-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.fest-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform var(--fest-transition), box-shadow var(--fest-transition);
}
.fest-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.fest-card__icon { font-size: 2.5rem; margin-bottom: 0.75rem; line-height: 1; }
.fest-card h4 {
    font-family: var(--fest-font-heading);
    font-size: 1.15rem;
    margin: 0 0 0.5rem;
    color: var(--fest-secondary);
}
.fest-card p {
    font-size: 0.93rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}
.fest-card__tag {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    background: rgba(255,107,53,0.1);
    color: var(--fest-primary);
    margin-bottom: 0.75rem;
}

/* Content Features List (used in text blocks) */
.fest-features-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.fest-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.fest-feature__icon { font-size: 1.8rem; flex-shrink: 0; line-height: 1.3; }
.fest-feature h4 {
    font-family: var(--fest-font-heading);
    font-size: 1.05rem;
    margin: 0 0 4px;
    color: var(--fest-secondary);
}
.fest-feature p {
    font-size: 0.93rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

/* Content Lead Text */
.fest-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--fest-text-dark);
    max-width: 800px;
}
.fest-lead strong { color: var(--fest-secondary); }

/* Content Highlight Box */
.fest-highlight-box {
    background: rgba(255,107,53,0.06);
    border-left: 4px solid var(--fest-primary);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}
.fest-highlight-box p {
    margin: 0;
    color: var(--fest-text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---- Sponsor Tiers: general / partner ---- */
.fest-sponsors__tier-label--general { color: var(--fest-primary); border-bottom: 2px solid rgba(255,107,53,0.3); }
.fest-sponsors__tier-label--partner { color: var(--fest-accent); border-bottom: 2px solid rgba(255,215,0,0.3); }

.fest-sponsors__grid--general { gap: 48px; }
.fest-sponsors__grid--partner { gap: 36px; }

.fest-sponsors__item--general .fest-sponsors__logo { max-height: 90px; filter: none; opacity: 1; }
.fest-sponsors__item--partner .fest-sponsors__logo { max-height: 65px; filter: grayscale(30%) brightness(1.2); opacity: 0.85; }
.fest-sponsors__item--partner:hover .fest-sponsors__logo { filter: none; opacity: 1; }

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .fest-sidenav { display: none; }
    .fest-header__burger { display: flex; }
    .fest-hero__title { font-size: 42px; }
    .fest-section__title { font-size: 36px; }
    .fest-about__grid { grid-template-columns: 1fr; gap: 30px; }
    .fest-venue__grid { grid-template-columns: 1fr; }
    .fest-countdown__timer { gap: 16px; }
    .fest-countdown__number { font-size: 44px; }
    .fest-countdown__label { font-size: 12px; letter-spacing: 1px; }
    .fest-footer__grid { grid-template-columns: 1fr; }
    .fest-tickets__grid--custom { grid-template-columns: repeat(2, 1fr) !important; }
    .fest-auth__name { display: none; }
    .fest-header__buy-btn { padding: 6px 14px; font-size: 11px; }
}

@media (max-width: 576px) {
    .fest-hero__title { font-size: 32px; }
    .fest-hero__subtitle { font-size: 14px; }
    .fest-section { padding: 60px 0; }
    .fest-section__title { font-size: 28px; }
    .fest-countdown__number { font-size: 28px; }
    .fest-countdown__timer { gap: 8px; }
    .fest-countdown__label { font-size: 10px; letter-spacing: 0.5px; }
    .fest-hero__countdown { gap: 12px; }
    .fest-hero__countdown .fest-countdown__number { font-size: 28px; }
    .fest-hero__countdown .fest-countdown__label { font-size: 10px; }
    .fest-tickets__grid { grid-template-columns: 1fr; }
    .fest-tickets__grid--custom { grid-template-columns: 1fr !important; }
    .fest-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .fest-lineup__grid { gap: 16px; }
    .fest-lineup__card { width: 220px; }
    .fest-lineup__card-img { width: 160px; height: 160px; }
    .fest-contacts__grid { gap: 30px; }
    .fest-modal__content { padding: 24px; }
}

/* ==============================
   Photo Section (только изображения)
   ============================== */
.fest-photo {
    padding: 0 !important;
    position: relative;
    overflow: hidden;
}
.fest-photo__single {
    width: 100%;
    line-height: 0;
}
.fest-photo__single-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Карусель фото-секции */
.fest-photo__carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.fest-photo__carousel-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease;
}
.fest-photo__carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    line-height: 0;
}
.fest-photo__carousel-img {
    width: 100%;
    height: auto;
    display: block;
}
.fest-photo__carousel-controls {
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 16px;
}
.fest-photo__carousel-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(15,15,35,0.6);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    pointer-events: auto;
    transition: all var(--fest-transition);
    display: flex; align-items: center; justify-content: center;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.fest-photo__carousel-btn:hover { background: var(--fest-primary); }
.fest-photo__carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.fest-photo__carousel-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all var(--fest-transition);
    padding: 0;
}
.fest-photo__carousel-dot.active { background: var(--fest-primary); transform: scale(1.3); }

@media (max-width: 576px) {
    .fest-photo__carousel-btn { width: 36px; height: 36px; font-size: 16px; }
    .fest-photo__carousel-dots { bottom: 10px; gap: 6px; }
    .fest-photo__carousel-dot { width: 8px; height: 8px; }
}
