* {
    margin: 0px;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    padding-top: 85px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.header {
    height: 95px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background-color: #25242b;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 60px;
    box-sizing: border-box;
}

.header-logo img {
    width: 120px;
    height: auto;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 45px;
}

.header-menu a {
    color: white;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.header-menu a:hover {
    opacity: 0.7;
}


/* Язык */

.language-menu {
    position: relative;
}

.language-menu button {
    background: none;
    border: none;

    color: #5b8cff;
    font-size: 16px;

    cursor: pointer;
}

.languages {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #25242b;
    padding: 8px 0;
    min-width: 70px;
    z-index: 1000;
}

.languages a {
    display: block;
    padding: 8px 12px;
    color: white;
    text-decoration: none;
}

.language-menu:hover .languages {
    display: block;
}

.hero {
    min-height: 650px;
    width: 100%;
    position: relative;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    background:
        linear-gradient(115deg,
            #B77700 0%,
            #B77700 8%,
            #B700B1 32%,
            #3568FF 55%,
            #008AFF 72%,
            #4E7BFF 100%);

    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.15) 35%,
            rgba(0, 0, 0, 0.9) 100%);

    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");

    opacity: 0.25;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;

    color: #fff;
}

.hero__slogan {
    font-size: 1.05rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 3.5rem;

    white-space: pre-wrap;
}

/* Главный заголовок BelQueerFest 2.0 */
.hero__title {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.0;
    margin-bottom: 1.2rem;
    color: #ffffff;
}

/* Описание */
.hero__subtitle {
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 6rem;
    max-width: 520px;
}

/* Дата и город */
.hero__date {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

/* Кнопка "Добавить в календарь" */
.hero__button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    color: #ffffff;
    padding: 12px 34px;
    font-size: 1.1rem;
    font-weight: 400;
    font-family: inherit;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.hero__button:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.9);
}

.about-festival {
    width: 100%;
    padding: 80px 420px 27px;
    box-sizing: border-box;

    background-color: white;

    text-align: center;
    font-family: Arial, sans-serif;
    color: #555;
}

.about-festival p {
    max-width: 1000px;
    margin: 0 auto 35px;

    font-size: 20px;
    line-height: 1.25;
    font-weight: 500;
}

.about-festival p:last-child {
    margin-bottom: 0;
}

.program {
    padding: 60px 0;
    width: 100%;
    overflow: hidden;
}

.program h2 {
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 32px;
    margin-bottom: 50px;
}

.cards {
    display: flex !important;
    gap: 25px;
    justify-content: flex-start !important;
    width: 100%;
    box-sizing: border-box;
    padding-left: 60px;
    padding-right: 60px;
    overflow-x: auto !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cards::-webkit-scrollbar {
    display: none;
}

/* Карточка */
.card {
    position: relative;
    width: 290px;
    height: 360px;
    flex-shrink: 0 !important;
    border-radius: 20px;
    overflow: hidden;
    background: #232731;
    cursor: pointer;
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 65%;
    z-index: 2;
    transition: transform 0.8s ease, opacity 0.3s ease;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%; 
    padding: 20px 24px;
    box-sizing: border-box;
    color: rgba(255, 255, 255, 0.881);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #232731;
    z-index: 3;
    overflow: hidden;
    transition: height 0.8s ease;
}

.card-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.85;
}

.card:nth-child(1) .card-info::before {
    background: radial-gradient(circle at 90% 90%, rgba(50, 90, 180, 0.9) 0%, rgba(30, 45, 90, 0.6) 45%, transparent 80%);
}
.card:nth-child(2) .card-info::before {
    background: radial-gradient(circle at 10% 20%, rgba(160, 50, 160, 0.85) 0%, rgba(90, 30, 100, 0.5) 50%, transparent 80%);
}
.card:nth-child(3) .card-info::before {
    background: radial-gradient(ellipse at 50% 100%, rgba(190, 75, 55, 0.85) 0%, rgba(100, 40, 45, 0.5) 55%, transparent 85%);
}
.card:nth-child(4) .card-info::before {
    background: radial-gradient(circle at 20% 80%, rgba(0, 130, 220, 0.8) 0%, rgba(20, 50, 110, 0.5) 50%, transparent 80%);
}
.card:nth-child(5) .card-info::before {
    background: radial-gradient(circle at 80% 20%, rgba(220, 103, 0, 0.8) 0%, rgba(110, 60, 20, 0.5) 50%, transparent 80%);
}

.card-info a {
    color: inherit;
    text-decoration: underline;
}

/* Время */
.card-info span {
    position: relative;
    z-index: 3;
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

/* Заголовок */
.card-info h3 {
    position: relative;
    z-index: 3;
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.2;
    margin: 0;
    min-height: 44px;
}

/* Текст описания */
.card-info p {
    position: relative;
    z-index: 3;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    margin: 15px 0 0;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.card:hover .card-image {
    opacity: 0;
    transform: translateY(-10%);
}

.card:hover .card-info {
    height: 100%;
    padding: 30px 24px;
}

.card:hover .card-info p {
    opacity: 1;
}

.locations {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 80px !important;
    margin: 90px auto 60px auto !important;
    box-sizing: border-box !important;
}

/* Заголовок */
.locations__title {
    text-align: center !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin-bottom: 48px !important;
}

/* Сетка карточек */
.locations__grid {
    display: flex !important;
    justify-content: space-between !important;
    gap: 32px !important;
    width: 100% !important;
}

/* Карточка места */
.location-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    max-width: 630px !important;
    flex: 1 1 630px !important;
}


.location-card__image {
    width: 630px !important;
    max-width: 100%;
    height: 179px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background-color: #2a2d37 !important;
    margin-bottom: 20px !important;
}

.location-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.location-card__content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
}

.location-card__title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    line-height: 1.2 !important;
    margin: 0 0 8px 0 !important;
}

.location-card__address {
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #71717a !important;
    line-height: 1.45 !important;
    margin: 0 0 12px 0 !important;
}

.location-card__description {
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #27272a !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

.archive-section {
    width: 100%;
    padding: 60px 0;
    text-align: center;
}

.archive-section__title {
    font-size: 32px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 32px;
}

/* Рамка слайдера  */
.archive-slider {
    position: relative;
    width: 100%;
    max-width: 630px;
    height: 380px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background-color: #2a2d37;
}

.archive-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Слайды */
.archive-slider__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.archive-slider__slide.is-active {
    opacity: 1;
    visibility: visible;
}

.archive-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Точки*/
.archive-slider__dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.archive-slider__dot {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.751);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.archive-slider__dot.is-active {
    background-color: #ffffff;
    transform: scale(1.3);
}



.about-section {
    position: relative;
    width: 100%;
    min-height: 690px;
    box-sizing: border-box;
    overflow: hidden;
    color: #ffffff;
    padding: 78px 7.5% 65px;


    background:
        radial-gradient(ellipse 48% 75% at 43% 8%,
            rgba(218, 91, 177, 0.95) 0%,
            rgba(181, 76, 183, 0.82) 25%,
            rgba(113, 70, 165, 0.48) 48%,
            rgba(50, 49, 70, 0) 72%),
        radial-gradient(ellipse 62% 78% at 79% 82%,
            rgba(0, 181, 255, 1) 0%,
            rgba(0, 157, 244, 0.93) 28%,
            rgba(12, 111, 207, 0.72) 53%,
            rgba(17, 69, 150, 0) 82%),
        radial-gradient(ellipse 65% 85% at -5% 85%,
            rgba(39, 42, 55, 1) 0%,
            rgba(35, 38, 51, 0.96) 42%,
            rgba(35, 38, 51, 0) 78%),
        linear-gradient(135deg,
            #252733 0%,
            #302d42 28%,
            #674276 52%,
            #087fc7 78%,
            #0868ad 100%);
}

.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.18;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.6'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

.about-section__inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.about-section__info {
    width: 50%;
    max-width: 600px;
}

.about-section h2 {
    margin: 0 0 28px;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 32px;
    font-weight: 700;
}

.about-section__info p {
    margin: 0 0 20px;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.about-section__info p a {
    color: #ffffff;
    text-decoration: underline;
}

.about-section__links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 35px;
}

.about-section__link {
    display: flex !important;
    align-items: center !important;
    width: fit-content;

    color: #ffffff !important;
    text-decoration: none !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.about-section__link img {
    width: 28px;
    height: 28px;
    margin-right: 12px;
    flex-shrink: 0;
}


.about-section__link a {
    color: #ffffff;
    text-decoration: underline;
}

.about-section__ornament {
    position: absolute;
    left: 671px;
    top: 15px;

    width: 887px;
    height: 387.92px;

    opacity: 0.4;

    pointer-events: none;
    z-index: 1;
}

.about-section__ornament img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left top;
}

about-section__partners {
    position: relative;
    z-index: 2;
    margin-top: 50px;
}

.about-section__logos {
    width: 798px;
    height: 114.39px;
    max-width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;

    margin-bottom: 40px;
}

.about-section__logos img {
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
}

.about-section__disclaimer {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0;
}

.about-section__disclaimer a {
    color: #ffffff;
    text-decoration: underline;
}

/* ========================================
   МОБИЛЬНАЯ ВЕРСИЯ САЙТА
   ======================================== */

@media (max-width: 1024px) {
    .about-festival {
        padding: 60px 40px 27px;
        /* Убираем жесткий паддинг 420px */
    }

    .about-section__ornament {
        position: absolute;
        left: 450px;
        top: 15px;

        width: 887px;
        height: 387.92px;

        opacity: 0.4;

        pointer-events: none;
        z-index: 1;
    }
}

@media (max-width: 768px) {

    /* Базовые настройки */
    * {
        box-sizing: border-box;
    }

    html,
    body {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    body {
        padding-top: 70px;
    }


    /* ========================================
       HEADER
       ======================================== */

    .header {
        height: 70px;
        padding: 0 20px;
        gap: 15px;
    }

    .header-logo img {
        width: 85px;
        max-width: 100%;
    }

    .header-menu {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .header-menu a {
        font-size: 11px;
    }

    .language-menu button {
        font-size: 11px;
    }


    /* ========================================
       HERO — ГЛАВНЫЙ ЭКРАН
       ======================================== */

    .hero {
        width: 100%;
        min-height: 600px;
        height: auto;
        padding: 60px 20px;
        overflow: hidden;
    }

    .hero__content {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .hero__slogan {
        font-size: 0.85rem;
        margin-bottom: 2.5rem;
        max-width: 100%;
    }

    .hero__title {
        font-size: clamp(2rem, 9vw, 3rem);
        line-height: 1.05;
        overflow-wrap: break-word;
        max-width: 100%;
        margin-bottom: 1.2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
        line-height: 1.4;
        max-width: 100%;
        margin-bottom: 3.5rem;
    }

    .hero__date {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .hero__button {
        font-size: 0.9rem;
        padding: 11px 20px;
        max-width: 100%;
    }


    /* ========================================
       О ФЕСТИВАЛЕ
       ======================================== */

    .about-festival {
        width: 100%;
        max-width: 100%;
        padding: 50px 20px 30px;
        margin: 0;
        text-align: center;
    }

    .about-festival p {
        width: 100%;
        max-width: 100%;
        font-size: 17px;
        line-height: 1.4;
        margin: 0 auto 25px;
        overflow-wrap: break-word;
    }


    /* ========================================
       ПРОГРАММА
       ======================================== */

    .program {
        width: 100%;
        padding: 45px 0;
        overflow: hidden;
    }

    .program h2 {
        font-size: 26px;
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .cards {
        display: flex !important;
        flex-direction: row !important;
        gap: 16px;
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        overflow-x: auto !important;
    }

    .card {
        width: 280px;
        min-width: 280px;
        height: 360px;
        flex-shrink: 0 !important;
    }

    .card-info {
        padding: 25px;
    }


    /* ========================================
       МЕСТА
       ======================================== */

    .locations {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 20px !important;
        margin: 60px auto 40px !important;
    }

    .locations__title {
        font-size: 26px !important;
        margin-bottom: 30px !important;
    }

    .locations__grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
        width: 100% !important;
    }

    .location-card {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    .location-card__image {
        width: 100% !important;
        height: 200px !important;
    }

    .location-card__title {
        font-size: 19px !important;
    }

    .location-card__address,
    .location-card__description {
        font-size: 15px !important;
    }

    /* ========================================
       АРХИВ
       ======================================== */

    .archive-section {
        width: 100%;
        padding: 45px 20px;
    }

    .archive-section__title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .archive-slider {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 16px;
    }


    /* ========================================
       О НАС
       ======================================== */

    .about-section {
        width: 100% !important;
        max-width: 100% !important;
        min-height: auto !important;
        height: auto !important;
        padding: 50px 20px !important;
        margin: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    /* ВСЕ изображения внутри блока */
    .about-section img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;

        transform: none !important;

        max-width: 100% !important;

        object-fit: contain !important;
    }

    .about-section__ornament {
        position: absolute;
        left: 190px;
        top: 40px;

        width: 500px;
        height: 387.92px;

        opacity: 0.4;

        pointer-events: none;
        z-index: 1;
    }

    .about-section__logos {
        width: 90px;
        height: 60px;
        max-width: 100%;

        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 5px;

        margin-bottom: 40px;
    }

    .about-section__logos img {
        max-height: 40px;
        max-width: 100%;
        height: auto;
        width: auto;
        object-fit: contain;
    }

}