/* Parea Radio — main.css */

/* ===== RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

p {
    margin-bottom: 6px;
}

p:last-child {
    margin-bottom: 0;
}

/* ===== CSS VARIABLES (Figma tokens) ===== */
:root {
    /* Colors */
    --black: #000000;
    --white: #ffffff;
    --date-color: #adadad;
    --button: #5b62fb;
    --small-button: #e1e3ff;
    --bg: #f4f4f4;

    /* Fonts */
    --font-heading: 'Mansalva', cursive;
    --font-body: 'Instrument Sans', sans-serif;

    /* Font sizes — PC */
    --font-h1: 48px;
    --font-h2: 40px;
    --font-subtitle: 24px;
    --font-subtitle-text: 18px;
    --font-date-city: 16px;
    --font-description: 14px;
    --font-social-link: 16px;
    --font-menu: 14px;
    --font-radio-program: 12px;
    --font-cart-date: 14px;
    --font-cart-title: 18px;
    --font-cart-artist: 14px;
    --font-cart-big-title: 24px;

    /* Page gaps — PC */
    --section-padding: 20px;
    --blocks-gap: 56px;
    --gap-4: 4px;
    --gap-12: 12px;
    --gap-20: 20px;
    --page-gap-10: 10px;
    --page-gap-12: 12px;
    --page-gap-16: 16px;
    --page-gap-20: 20px;
    --page-gap-32: 32px;

    /* Cart gaps — PC */
    --cart-padding: 12px;
    --cart-gap-4: 4px;
    --cart-gap-8: 8px;
    --cart-gap-10: 10px;
    --cart-gap-12: 12px;
    --cart-gap-32: 32px;

    /* Layout */
    --site-width: 100%;
    --site-padding: 40px;
    --content-width: 100%;
}

/* ===== WOBBLY BORDER (filter only on border, not content) ===== */
.wobbly-border {
    position: relative;
}

.wobbly-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--black);
    filter: url(#wobbly);
    pointer-events: none;
    z-index: 1;
}

.wobbly-border--thin::before {
    border-width: 1px;
}

/* ===== BASE ===== */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    background-image: url('../img/bg.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--black);
    font-family: var(--font-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== HEADER ===== */
.site-header {
    position: relative;
    width: 100%;
    padding: 20px var(--site-padding) 0;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.site-logo {
    display: block;
    width: 67px;
    height: 49px;
    flex-shrink: 0;
}

.site-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Live Player */
.site-player {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: 20px;
}

.site-player__main {
    display: flex;
    align-items: center;
    height: 32px;
    border: 1px solid var(--black);
    filter: url(#wobbly);
    background: var(--white);
    padding: 0;
    min-width: 280px;
    flex: 1;
    max-width: 380px;
    position: relative;
    overflow: hidden;
}

.site-player__progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #e8e8e8;
    z-index: 0;
    transition: width 0.3s linear;
}

.site-player__main > *:not(.site-player__progress) {
    position: relative;
    z-index: 1;
}

.site-player__play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 100%;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
}

.site-player__play-icon {
    width: 15px;
    height: 16px;
    object-fit: contain;
}

.site-player__play--playing .site-player__play-icon {
    /* будет заменена на pause через JS */
}

.site-player__divider {
    width: 1px;
    height: 100%;
    background: var(--black);
    flex-shrink: 0;
}

.site-player__show {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--black);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    padding: 0 12px;
}

.site-player__live-label {
    font-family: var(--font-body);
    font-size: 11px;
    color: #b7b7b7;
    line-height: 14px;
    padding-right: 12px;
    flex-shrink: 0;
}

.site-player__live-label--on {
    color: var(--button);
}

.site-player__chat {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    border: 1px solid var(--black);
    filter: url(#wobbly);
    background: var(--white);
    padding: 0 14px;
    font-family: var(--font-heading);
    font-size: var(--font-menu);
    text-transform: uppercase;
    color: var(--black);
    cursor: pointer;
}

.site-player__chat:hover {
    opacity: 0.7;
}

/* Navigation */
.site-nav {
    margin-left: auto;
}

.site-nav__toggle {
    display: none;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-nav__list li {
    position: relative;
}

.site-nav__list li a {
    font-family: var(--font-heading);
    font-size: var(--font-menu);
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    letter-spacing: 0;
    line-height: normal;
    position: relative;
    z-index: 1;
    padding: 6px 10px;
    transition: color 0.2s ease;
}

.site-nav__list li a:hover {
    opacity: 0.7;
}

/* Hand-drawn oval highlight for active menu item */
.site-nav__list .current-menu-item a,
.site-nav__list .current_page_item a {
    color: var(--black);
}

.site-nav__list .current-menu-item::after,
.site-nav__list .current_page_item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% + 24px);
    height: 42px;
    transform: translate(-50%, -50%);
    background-color: var(--button);
    -webkit-mask-image: url('../img/oval-highlight.png');
    mask-image: url('../img/oval-highlight.png');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 900;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.mobile-menu__logo {
    width: 44px;
    height: 32px;
}

.mobile-menu__close {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    color: var(--black);
    padding: 0;
    margin-top: 4px;
}

.mobile-menu__nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-menu__list li a {
    font-family: var(--font-heading);
    font-size: 32px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--black);
    line-height: 1;
}

.mobile-menu__list li a:hover {
    opacity: 0.7;
}

.mobile-menu__socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding-bottom: 8px;
}

.mobile-menu__socials a {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 18px;
    text-decoration: none;
    color: var(--black);
}

.mobile-menu__socials a:hover {
    opacity: 0.7;
}

/* ===== PAGE HOME ===== */
.page-home {
    width: 100%;
    padding: 0 var(--site-padding);
}

/* ===== HERO + SCHEDULE ROW ===== */
.hero-schedule {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: var(--page-gap-20);
    margin-top: var(--page-gap-20);
}

/* ===== HERO SLIDER ===== */
.hero-section {
    flex: 0 0 57%;
    min-width: 0;
}

.hero-slider {
    background: var(--white);
    border: none;
    padding: var(--section-padding);
}

.hero-slider__slide {
    display: none;
    flex-direction: column;
    gap: var(--page-gap-20);
    position: relative;
}

.hero-slider__slide--active {
    display: flex;
}

.hero-slider__link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slider__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border: none;
    overflow: visible;
    position: relative;
}

.hero-slider__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slider__image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--black);
    filter: url(#wobbly);
    pointer-events: none;
    z-index: 1;
}

.hero-slider__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-slider__arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
}

.hero-slider__arrow:hover {
    opacity: 0.6;
}

.hero-slider__arrow img {
    width: 41px;
    height: 17px;
    object-fit: contain;
}


.hero-slider__title {
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 25px;
    text-transform: uppercase;
    color: var(--black);
    text-align: center;
    text-decoration: none;
}

/* ===== SCHEDULE (HOME) ===== */
.schedule-home {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.schedule-home__title {
    font-family: var(--font-heading);
    font-size: var(--font-h2);
    line-height: 40px;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: var(--page-gap-20);
}

.schedule-home__box {
    background: var(--white);
    border: none;
    padding: 24px;
    flex: 1;
}

/* Schedule day accordion */
.schedule-day {
    border-bottom: none;
}

.schedule-day__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
    gap: 12px;
}

.schedule-day__name {
    font-family: var(--font-heading);
    font-size: var(--font-subtitle);
    line-height: 30px;
    text-transform: uppercase;
    color: var(--black);
}

.schedule-day__arrow {
    width: 16px;
    height: 16px;
    object-fit: contain;
    transform: rotate(180deg); /* right → collapsed */
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.schedule-day--open .schedule-day__arrow {
    transform: rotate(270deg); /* down ↓ expanded, крутится по часовой */
}

/* Schedule day content */
.schedule-day__content {
    padding: 8px 0 16px;
}

.schedule-day__content[hidden] {
    display: none;
}

/* Schedule list */
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: var(--cart-gap-12);
}

.schedule-list__item {
    display: flex;
    align-items: baseline;
    gap: 0;
    font-family: var(--font-body);
    font-size: var(--font-radio-program);
    line-height: 12px;
    text-transform: uppercase;
    color: var(--black);
    position: relative;
}

.schedule-list__item--active {
    color: var(--button);
    font-weight: 600;
}

.schedule-list__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--button);
    position: absolute;
    left: -14px;
    top: 3px;
}

.schedule-list__time {
    width: 50px;
    flex-shrink: 0;
}

.schedule-list__name {
    flex: 1;
}

/* ===== SCHEDULE POPUP ===== */
.schedule-popup {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule-popup[hidden] {
    display: none;
}

.schedule-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.schedule-popup__content {
    position: relative;
    background: var(--white);
    border: 2px solid var(--black);
    padding: 24px 24px 20px;
    width: 555px;
    max-height: 80vh;
    overflow-y: auto;
}

.schedule-popup__close {
    position: relative;
    float: right;
    margin-top: -18px;
    margin-right: -18px;
    margin-bottom: 12px;
    background: var(--white);
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1;
    line-height: 0;
    border-radius: 50%;
}

.schedule-popup__close img {
    width: 36px;
    height: 36px;
}

.schedule-popup__close:hover {
    opacity: 0.6;
}

/* ===== LATEST / SHOWS SECTION ===== */
.section-latest {
    margin-top: var(--blocks-gap);
}

.section-latest__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--page-gap-20);
}

.section-latest__title {
    font-family: var(--font-heading);
    font-size: var(--font-h2);
    line-height: 40px;
    text-transform: uppercase;
    color: var(--black);
}

.section-latest__title a {
    color: inherit;
    text-decoration: none;
}

.section-artists__title-row {
    transition: opacity 0.2s;
}

.section-artists__title-row:hover {
    opacity: 0.6;
}

.section-latest__nav {
    display: flex;
    gap: 6px;
    align-items: center;
}

.slider-arrow {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 0;
    transition: opacity 0.2s;
}

.slider-arrow img {
    width: 40px;
    height: 17px;
    object-fit: contain;
}

.slider-arrow:hover {
    opacity: 0.6;
}

.section-latest__slider {
    display: flex;
    gap: var(--page-gap-20);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px;
    margin: -6px;
}

.section-latest__slider::-webkit-scrollbar {
    display: none;
}

/* ===== SHOW CARD ===== */
.show-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 0;
    background: var(--white);
    border: none;
    padding: var(--cart-padding);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.show-card__image {
    width: 100%;
    height: 309px;
    border: none;
    overflow: visible;
    position: relative;
}

.show-card__image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--black);
    filter: url(#wobbly);
    pointer-events: none;
    z-index: 1;
}

.show-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.2s;
    display: block;
}

.show-card__body {
    display: flex;
    flex-direction: column;
    gap: var(--cart-gap-32);
    margin-top: var(--cart-gap-12);
    flex: 1;
}

.show-card__tags {
    margin-top: auto;
}

.show-card__info {
    display: flex;
    flex-direction: column;
    gap: var(--cart-gap-8);
}

.show-card__date {
    font-family: var(--font-body);
    font-size: var(--font-cart-date);
    line-height: 18px;
    color: var(--date-color);
}

.show-card__title {
    font-family: var(--font-body);
    font-size: var(--font-cart-title);
    font-weight: 600;
    line-height: 24px;
    color: var(--black);
}

.show-card__artist {
    position: relative;
    z-index: 2;
    font-family: var(--font-body);
    font-size: var(--font-cart-artist);
    line-height: 18px;
    color: var(--black);
    text-decoration: underline;
    transition: color 0.2s;
}

.show-card__artist:hover {
    color: #666;
}

.show-card__tags {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: var(--cart-gap-4);
    margin-top: auto;
}

.show-card__tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 8px;
    line-height: 12px;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    width: 91px;
    height: 22px;
    background: url('../img/genre-oval-wide.svg') no-repeat center / 100% 100%;
}

.show-card__tag--narrow {
    width: 58px;
    background-image: url('../img/genre-oval-narrow.svg');
}

.show-card__tag {
    transition: opacity 0.2s;
}

.show-card__tag:hover {
    opacity: 0.65;
}

.show-card__title {
    transition: color 0.2s;
}

.show-card:hover .show-card__title {
    color: #666;
}

.show-card:hover .show-card__image img {
    filter: brightness(0.85);
}

.artist-card:hover .artist-card__image img {
    filter: brightness(0.85);
}

.show-card:hover::before,
.artist-card:hover::before,
.episode-card:hover::before {
    border-width: 2px;
}

.tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 8px;
    line-height: 12px;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    height: 22px;
    padding: 0 13px;
    background: url('../img/genre-oval-wide.svg') no-repeat center / 100% 100%;
}

.tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 8px;
    line-height: 12px;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    height: 22px;
    padding: 0 13px;
    background: url('../img/genre-oval-wide.svg') no-repeat center / 100% 100%;
}

/* ===== ARTISTS SECTION ===== */
.section-artists {
    background: var(--button);
    margin-left: calc(-1 * var(--site-padding));
    margin-right: calc(-1 * var(--site-padding));
    padding: var(--blocks-gap) var(--site-padding);
    margin-top: var(--blocks-gap);
}

.section-artists .section-latest__title {
    color: var(--white);
}

.section-artists .section-artists__link-arrow,
.section-artists .slider-arrow img {
    filter: brightness(0) invert(1);
}

.section-artists__title-row {
    display: flex;
    align-items: center;
    gap: 11px;
}

.section-artists__link {
    line-height: 0;
}

.section-artists__link-arrow {
    width: 40px;
    height: 28px;
    object-fit: contain;
}

/* Artist card */
.artist-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 0;
    background: var(--white);
    border: none;
    padding: var(--cart-gap-12);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.artist-card__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    border: none;
    overflow: hidden;
    position: relative;
}

.artist-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.2s;
}

.artist-card__image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--black);
    filter: url(#wobbly);
    pointer-events: none;
    z-index: 1;
}

.artist-card__badge {
    position: absolute;
    top: 13px;
    left: 15px;
    font-family: var(--font-heading);
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    color: var(--white);
}

.artist-card__body {
    display: flex;
    flex-direction: column;
    gap: var(--cart-gap-32);
    margin-top: var(--cart-gap-12);
    flex: 1;
}

.artist-card__info {
    display: flex;
    flex-direction: column;
    gap: var(--cart-gap-8);
}

.artist-card__city {
    font-family: var(--font-body);
    font-size: var(--font-cart-date);
    line-height: 18px;
    color: var(--black);
    text-transform: uppercase;
}

.artist-card__name {
    font-family: var(--font-body);
    font-size: var(--font-cart-big-title);
    font-weight: 600;
    line-height: 28px;
    color: var(--black);
}

/* ===== ARCHIVE PAGE ===== */
.page-archive {
    padding: 24px var(--site-padding) 0;
}

.archive-toolbar {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1fr;
    gap: var(--page-gap-20);
    margin-bottom: var(--page-gap-20);
}

.archive-search {
    grid-column: 1 / 4;
}

.archive-search input {
    width: 100%;
    border: none;
    background: var(--white);
    padding: 12px 15px;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--black);
    outline: none;
}

.archive-search input::placeholder {
    color: var(--date-color);
}

.archive-genres-toggle {
    grid-column: 4 / 5;
}

.archive-genres-btn {
    width: 100%;
    border: 1px solid var(--black);
    background: var(--white);
    padding: 12px 33px;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--black);
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
}

.archive-genres-toggle--active .archive-genres-btn {
    background: var(--button);
    color: var(--white);
}

.archive-genres-panel {
    margin-bottom: var(--page-gap-20);
    background: var(--white);
    padding: 20px;
    overflow: hidden;
}

.archive-genres-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.genre-tag {
    border: 0.5px solid var(--date-color);
    padding: 4px 10px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--black);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.genre-tag:hover {
    border-color: var(--black);
}

.genre-tag--reset {
    border: 1.5px solid var(--black);
    margin-left: 4px;
}

.genre-tag--reset:hover {
    border-width: 2.5px;
}

.genre-tag--active {
    background: var(--button);
    border-color: var(--button);
    color: var(--white);
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--page-gap-20);
    padding: 6px;
    margin: -6px;
}

.archive-grid .show-card {
    flex: none;
    width: auto;
}

.archive-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--blocks-gap);
    font-family: var(--font-body);
    font-size: 14px;
}

.archive-pagination a,
.archive-pagination span {
    padding: 8px 12px;
    color: var(--black);
}

.archive-pagination .current {
    background: var(--button);
    color: var(--white);
}

/* ARTISTS PAGE GRID */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: var(--page-gap-20);
}

.artist-card--page {
    flex: none;
    width: auto;
}

.artist-card__image--large {
    height: auto;
    aspect-ratio: 1 / 1;
}

.artist-card__name--large {
    font-size: 24px;
    line-height: 24px;
}

.archive-empty {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--date-color);
    text-align: center;
    padding: var(--blocks-gap) 0;
}

/* ===== SEARCH PAGE ===== */

.page-search .archive-toolbar {
    margin-bottom: 0;
}

.search-section {
    margin-top: 32px;
}

.search-section__title {
    font-family: var(--font-heading);
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-section__count {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--date-color);
    text-transform: none;
}

.search-episodes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ===== ABOUT PAGE ===== */

.page-about {
    padding: 24px var(--site-padding) 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
    align-self: start;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-heading {
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 40px;
    text-transform: uppercase;
}

.about-image {
    border: none;
    background: white;
}

.about-image__inner {
    border: none;
    overflow: hidden;
}

.about-image__inner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-block {
    border: none;
    background: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-block__title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
}

.about-block__text {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 18px;
}

.about-socials {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.about-socials__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 152px;
    height: 44px;
    background: url('../img/button.png') no-repeat center / contain;
    font-family: var(--font-heading);
    font-size: 12px;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    transition: filter 0.2s ease;
    cursor: pointer;
}

.about-socials__btn:hover {
    filter: brightness(1.15);
}

.about-support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    width: 152px;
    height: 44px;
    background: url('../img/button.png') no-repeat center / contain;
    font-family: var(--font-heading);
    font-size: 12px;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    align-self: flex-start;
    transition: filter 0.2s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.about-support-btn:hover {
    filter: brightness(1.15);
}

/* ===== DEFAULT PAGE ===== */
.page-default__inner {
    max-width: 740px;
    margin: 0 auto;
    padding: 40px var(--site-padding);
}

.page-default__title {
    font-family: var(--font-heading);
    font-size: 40px;
    margin-bottom: 32px;
}

.page-default__content p {
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 1.6;
}

.page-default__content h2 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
}

.page-default__content a {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.site-footer {
    margin: var(--blocks-gap) var(--site-padding) var(--site-padding);
    background: var(--white);
    border: none;
    padding: 20px;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    grid-template-areas:
        "brand nav"
        "legal socials";
    min-height: 315px;
    position: relative;
    gap: 20px 0;
    align-items: start;
}

.site-footer__brand {
    grid-area: brand;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.site-footer__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.site-footer__logo img {
    width: 182px;
    height: 134px;
    object-fit: contain;
}

.site-footer__description {
    max-width: 356px;
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.4;
    color: var(--black);
}

.site-footer__description p + p {
    margin-top: 0;
}

.site-footer__nav {
    grid-area: nav;
    display: flex;
    justify-content: flex-end;
}

.site-footer__menu {
    display: flex;
    gap: 24px;
    align-items: center;
}

.site-footer__menu li a {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 18px;
    text-transform: uppercase;
    color: var(--black);
}

.site-footer__menu li a:hover {
    opacity: 0.6;
}

.site-footer__legal {
    grid-area: legal;
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.site-footer__legal a {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 20px;
    color: var(--date-color);
}

.site-footer__legal a:hover {
    color: var(--black);
}

.site-footer__socials {
    grid-area: socials;
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    align-items: flex-end;
}

.site-footer__socials a {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 18px;
    color: var(--black);
}

.site-footer__socials a:hover {
    opacity: 0.6;
}

/* ===== EPISODE STICKY PLAYER ===== */
.ep-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--white);
    border-top: 2px solid var(--black);
    filter: url(#wobbly);
}

.ep-player__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px var(--site-padding);
    max-width: 1440px;
    margin: 0 auto;
}

.ep-player__play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: 1px solid var(--black);
    filter: url(#wobbly);
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
}

.ep-player__play-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.ep-player__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 120px;
    flex-shrink: 0;
}

.ep-player__title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    color: var(--black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}

.ep-player__time {
    font-family: var(--font-body);
    font-size: 11px;
    color: #b7b7b7;
}

.ep-player__bar {
    flex: 1;
    height: 6px;
    background: #e8e8e8;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.ep-player__bar-fill {
    height: 100%;
    width: 0%;
    background: var(--button);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.ep-player__close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: var(--black);
    padding: 0 4px;
    flex-shrink: 0;
}

.ep-player__close:hover {
    opacity: 0.6;
}

/* ===== WIDE SCREEN 1600px+ ===== */
@media (min-width: 1600px) {
    .show-card {
        flex: 0 0 calc(20% - 16px);
    }

    .artist-card {
        flex: 0 0 calc(25% - 15px);
    }

    .artists-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .archive-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .archive-toolbar {
        grid-template-columns: repeat(4, 1fr) 1fr;
    }

    .archive-search {
        grid-column: 1 / 5;
    }

    .archive-genres-toggle {
        grid-column: 5 / 6;
    }
}

/* ===== TABLET ===== */
@media (max-width: 1024px) and (min-width: 769px) {
    :root {
        --site-padding: 20px;
    }

    .show-card {
        flex: 0 0 calc(33.333% - 14px);
    }

    .artist-card {
        flex: 0 0 calc(50% - 10px);
    }

    .archive-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .archive-toolbar {
        grid-template-columns: repeat(2, 1fr) 1fr;
    }

    .archive-search {
        grid-column: 1 / 3;
    }

    .archive-genres-toggle {
        grid-column: 3 / 4;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    :root {
        /* Font sizes — Mobile */
        --font-h1: 32px;
        --font-h2: 26px;
        --font-subtitle: 20px;
        --font-subtitle-text: 14px;
        --font-menu: 14px;
        --font-description: 12px;
        --font-social-link: 16px;
        --font-radio-program: 12px;
        --font-cart-date: 8px;
        --font-cart-title: 12px;
        --font-cart-artist: 10px;
        --font-cart-big-title: 12px;

        /* Page gaps — Mobile */
        --section-padding: 12px;
        --blocks-gap: 48px;
        --gap-4: 4px;
        --gap-12: 12px;
        --gap-20: 12px;
        --page-gap-20: 12px;
        --page-gap-16: 12px;

        /* Cart gaps — Mobile */
        --cart-padding: 6px;
        --cart-gap-4: 4px;
        --cart-gap-8: 4px;
        --cart-gap-10: 6px;
        --cart-gap-12: 6px;
        --cart-gap-32: 16px;

        /* Layout */
        --site-padding: 12px;
    }

    /* ── HEADER ── */
    .site-header {
        padding: 15px var(--site-padding) 0;
    }

    .site-header__inner {
        align-items: center;
        gap: 8px;
    }

    .site-logo {
        width: 51px;
        height: 38px;
        flex-shrink: 0;
    }

    /* Плеер — на мобиле */
    .site-player {
        flex: 1;
        min-width: 0;
        order: 2;
        margin-left: 0;
    }

    .site-player__main {
        min-width: 0;
    }

    .site-player__chat {
        display: none;
    }

    /* «Menu» — показываем на мобиле */
    .site-nav {
        display: block;
        order: 3;
        flex-shrink: 0;
    }

    .site-nav__list {
        display: none; /* список скрыт, видно только «Menu» */
    }

    .site-nav__toggle {
        display: block;
        background: none;
        border: none;
        font-family: var(--font-heading);
        font-size: 16px;
        text-transform: uppercase;
        cursor: pointer;
        color: var(--black);
    }

    /* Schedule popup — full screen on mobile */
    .schedule-popup {
        align-items: stretch;
        justify-content: stretch;
    }

    .schedule-popup__overlay {
        display: none;
    }

    .schedule-popup__content {
        width: 100%;
        max-height: none;
        border: none;
        padding: 16px;
        display: flex;
        flex-direction: column;
    }

    .schedule-popup__close {
        float: none;
        margin: 0 0 16px auto;
        display: block;
    }

    /* ── LAYOUT ── */
    .page-home {
        padding: 0 var(--site-padding);
    }

    /* Hero + Schedule: стекуем вертикально */
    .hero-schedule {
        flex-direction: column;
        gap: 0;
        margin-top: 16px;
    }

    .hero-section {
        flex: none;
        width: 100%;
    }

    /* Hero slider */
    .hero-slider {
        border: 2px solid var(--black);
        padding: 12px;
    }

    .hero-slider__image {
        height: auto;
    }

    .hero-slider__title {
        font-size: var(--font-h1);
        line-height: 38px;
        text-align: center;
    }

    .schedule-home {
        display: flex;
        margin-top: var(--blocks-gap);
    }

    .schedule-home__box {
        flex: 1;
    }

    /* ── СЕКЦИИ LATEST / ARTISTS / SHOWS ── */
    .section-latest {
        margin-top: var(--blocks-gap);
    }

    .section-latest__header {
        margin-bottom: 12px;
        gap: 11px;
    }

    .section-latest__title {
        font-size: var(--font-h2);
        line-height: 31px;
    }

    .slider-arrow {
        display: none;
    }

    /* Слайдер → 2 колонки */
    .section-latest__slider {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        overflow-x: visible;
        scroll-snap-type: none;
        padding: 0;
        margin: 0;
    }

    /* ── КАРТОЧКИ (show / artist) ── */
    .show-card,
    .artist-card {
        flex: none;
        width: 100%;
    }

    .show-card__image {
        height: 165px;
    }

    .show-card__date {
        font-size: 11px;
        line-height: 12px;
    }

    .show-card__title {
        font-size: 13px;
        line-height: 14px;
    }

    .show-card__artist {
        font-size: 11px;
        line-height: 12px;
    }

    .show-card__tag {
        font-size: 6px;
        width: 54px;
        height: 18px;
    }

    .show-card__tag--narrow {
        width: 52px;
        height: 20px;
    }

    .artist-card__image {
        height: 165px;
    }

    .artist-card__city {
        font-size: 10px;
        line-height: 12px;
    }

    .artist-card__name {
        font-size: 14px;
        line-height: 18px;
    }

    .artist-card__badge {
        font-size: 8px;
        line-height: 12px;
        top: 6px;
        left: 8px;
    }

    /* ── ARCHIVE ── */
    .page-archive {
        padding: 12px var(--site-padding) 0;
    }

    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0;
        margin: 0;
    }

    .archive-toolbar {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 12px;
    }

    .archive-search {
        grid-column: 1 / 2;
    }

    .archive-genres-toggle {
        grid-column: 2 / 3;
    }

    .archive-genres-panel {
        padding: 12px;
        margin-bottom: 12px;
    }

    .artists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* ── SHOW PAGE ── */
    .page-show {
        padding: 12px var(--site-padding) 0;
    }

    .show-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: auto;
    }

    .show-left {
        gap: 20px;
        position: static;
        bottom: auto;
        align-self: auto;
    }

    .show-meta {
        padding: 12px;
        font-size: 10px;
    }

    .show-image {
        padding: 12px;
    }

    .show-info {
        padding: 12px;
        gap: 12px;
    }

    .show-title {
        font-size: 26px;
        line-height: 31px;
    }

    .show-host {
        font-size: 18px;
        line-height: 22px;
    }

    .show-description {
        max-width: 100%;
    }

    .show-right {
        gap: 20px;
    }

    .show-episodes__grid {
        gap: 12px;
    }

    /* ── FOOTER ── */
    .site-footer {
        margin: var(--blocks-gap) var(--site-padding) var(--site-padding);
        padding: 48px 32px;
    }

    .site-footer__inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--blocks-gap);
        min-height: unset;
        position: relative;
    }

    .site-footer__logo {
        position: static;
        transform: none;
        display: flex;
        justify-content: center;
        order: 1;
    }

    .site-footer__logo img {
        width: 80px;
        height: 59px;
    }

    .site-footer__description {
        order: 2;
        font-size: 12px;
        text-align: center;
        max-width: 310px;
    }

    .site-footer__nav {
        order: 3;
        justify-content: center;
        width: 100%;
    }

    .site-footer__menu {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .site-footer__menu li a {
        font-size: 18px;
        line-height: 18px;
    }

    .site-footer__socials {
        order: 4;
        justify-content: center;
        gap: 16px;
    }

    .site-footer__socials a {
        font-size: 16px;
    }

    .site-footer__legal {
        order: 5;
        justify-content: center;
        gap: 20px;
        align-items: center;
    }

    .site-footer__legal a {
        font-size: 14px;
        color: var(--date-color);
    }
}

/* =====================
   SHOW SINGLE PAGE
   ===================== */

.page-show {
    padding: 24px var(--site-padding) 0;
}

.show-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

/* LEFT COLUMN */
.show-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    bottom: 20px;
    align-self: end;
}

.show-meta {
    background: var(--white);
    border: none;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 18px;
}

.show-image {
    background: var(--white);
    border: none;
    padding: 20px;
}

.show-image__inner {
    position: relative;
    overflow: hidden;
}

.show-image img {
    display: block;
    width: 100%;
    height: auto;
    border: none;
    object-fit: cover;
}

.show-info {
    background: var(--white);
    border: none;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.show-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.show-genres .tag {
    transition: opacity 0.2s;
}

.show-genres .tag:hover {
    opacity: 0.65;
}

.show-title {
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 40px;
    text-transform: uppercase;
    margin: 0;
}

.show-host {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    margin: 0;
}

.show-host__name {
    text-decoration: underline;
    color: var(--black);
}

.artist-show-name {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    margin: 0;
}
.artist-show-name a {
    text-decoration: underline;
    color: var(--black);
}

.show-description {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 18px;
    max-width: 80%;
}

.show-description p {
    margin-bottom: 6px;
}

.show-description p:last-child {
    margin-bottom: 0;
}

.show-socials {
    display: flex;
    gap: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: var(--date-color);
}

.show-socials a {
    color: var(--date-color);
}

.show-socials a:hover {
    color: var(--date-color);
}

/* EPISODE PAGE */
.episode-meta__back {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 18px;
    color: var(--black);
    text-decoration: none;
}

.episode-meta__arrow {
    font-size: 14px;
}

.episode-listen-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    font-family: var(--font-heading);
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
    color: var(--white);
    background: url('../img/button.png') no-repeat center / 100% 100%;
    border: none;
    padding: 14px 22px;
    text-decoration: none;
    cursor: pointer;
    margin-top: 8px;
}

/* RIGHT COLUMN */
.show-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.show-episodes__title {
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 40px;
    text-transform: uppercase;
    margin: 0;
    padding: 20px 0;
    display: flex;
    align-items: center;
    border: 2px solid transparent;
}

.show-episodes__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: -2px;
}

.episode-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: none;
    padding: var(--cart-padding);
    text-decoration: none;
    color: var(--black);
    position: relative;
}

.episode-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.episode-card__artist-link {
    position: relative;
    z-index: 2;
    text-decoration: underline;
    color: var(--black);
    transition: color 0.2s;
}

.episode-card__artist-link:hover {
    color: #666;
}

.episode-card__title {
    transition: color 0.2s;
}

.episode-card:hover .episode-card__title {
    color: #666;
}

.episode-card__genres {
    position: relative;
    z-index: 2;
}

.episode-card .tag--clickable,
.episode-card .tag {
    transition: opacity 0.2s;
}

.episode-card .tag--clickable:hover,
.episode-card .tag:hover {
    opacity: 0.65;
}

.episode-card__image {
    border: none;
    margin-bottom: var(--cart-padding);
    overflow: hidden;
    position: relative;
}

.episode-card__image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--black);
    filter: url(#wobbly);
    pointer-events: none;
    z-index: 1;
}

.episode-card__image img {
    display: block;
    width: 100%;
    height: 309px;
    object-fit: cover;
    transition: filter 0.2s;
}

.episode-card:hover .episode-card__image img {
    filter: brightness(0.9);
}

.episode-card__body {
    display: flex;
    flex-direction: column;
    gap: var(--cart-gap-8);
    flex: 1;
}

.episode-card__date {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 18px;
    color: var(--date-color);
}

.episode-card__title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    margin: 0;
}

.episode-card__artist {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 18px;
    text-decoration: underline;
    margin: 0;
}

.episode-card__genres {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: auto;
    padding-top: 24px;
}

/* SHOW PAGE RESPONSIVE */
@media (max-width: 1024px) and (min-width: 769px) {
    .show-episodes__grid {
        grid-template-columns: 1fr 1fr;
    }
    .episode-card__image img {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .show-layout {
        grid-template-columns: 1fr;
    }
    .show-episodes__grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .show-image {
        padding: 12px;
    }
    .show-info {
        padding: 12px;
        gap: 12px;
    }
    .show-title {
        font-size: 26px;
        line-height: 31px;
    }
    .show-host {
        font-size: 18px;
    }
    .show-socials {
        margin-top: 8px;
    }
    .episode-card__image img {
        height: 165px;
    }
    .episode-card__date {
        font-size: 11px;
        line-height: 10px;
    }
    .episode-card__title {
        font-size: 13px;
        line-height: 14px;
    }
    .episode-card__artist {
        font-size: 11px;
        line-height: 12px;
    }
    .episode-card__genres {
        padding-top: 12px;
    }
    .page-about {
        padding: 32px var(--site-padding) 0;
    }
    .about-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .about-left {
        position: static;
        display: contents;
    }
    .about-right {
        display: contents;
    }
    .about-heading {
        order: -1;
    }
    .search-episodes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .about-heading {
        font-size: 28px;
        line-height: 32px;
    }
}

.show-card {
    position: relative;
}

.show-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ===== FEATURED SLIDER ===== */
.featured-slider {
    padding: 0 var(--site-padding);
    margin-bottom: var(--blocks-gap);
}

.featured-slider__track {
    position: relative;
}

.featured-slider__slide {
    display: none;
    position: relative;
}

.featured-slider__slide--active {
    display: block;
}

.featured-slider__slide-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.featured-slider__image img {
    display: block;
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: filter 0.2s;
}

.featured-slider__slide:hover .featured-slider__image img {
    filter: brightness(0.85);
}

.featured-slider__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    margin-top: -1px;
    background: var(--white);
}

.featured-slider__caption {
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
    flex: 1;
    color: inherit;
    text-decoration: none;
}

.featured-slider__btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 18px;
    padding: 0 8px;
    transition: opacity 0.2s;
}

.featured-slider__btn:hover {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .featured-slider__image img {
        height: 300px;
    }
}

/* ===== DONATE POPUP ===== */
.donate-popup__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    cursor: pointer;
}

.donate-popup__overlay[hidden] {
    display: none;
}

.donate-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    width: 90%;
    max-width: 540px;
    background: var(--white);
    padding: 40px 32px 32px;
}

.donate-popup[hidden] {
    display: none;
}

.donate-popup__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

/* ===== CHAT ===== */
.chat-button {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    background: var(--white);
    border: 1px solid var(--black);
    font-family: var(--font-heading);
    font-size: 16px;
    text-transform: uppercase;
    color: var(--black);
    cursor: pointer;
    z-index: 800;
    filter: url(#wobbly);
    transition: all 0.2s ease;
}

.chat-button:hover {
    background: #f0f0f0;
}

.chat-button--active {
    background: var(--button);
    color: var(--white);
    border-color: var(--button);
}

.chat-button--active:hover {
    background: #7a81ff;
}

.chat-popup {
    position: fixed;
    bottom: 110px;
    right: 40px;
    width: 400px;
    max-height: 600px;
    background: var(--white);
    border: 2px solid var(--black);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    z-index: 1001;
    filter: url(#wobbly);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.chat-popup[hidden] {
    display: none;
}

.chat-popup__overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 999;
    cursor: pointer;
}

.chat-popup__overlay[hidden] {
    display: none;
}

.chat-popup__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--bg);
}

.chat-popup__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-body);
}

.chat-popup__close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    color: var(--black);
    line-height: 1;
}

.chat-popup__messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fafafa;
}

.chat-message {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chat-message__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.chat-message__username {
    font-weight: 600;
    font-size: 14px;
    font-family: var(--font-body);
}

.chat-message__time {
    font-size: 12px;
    color: var(--date-color);
}

.chat-message__text {
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
    font-family: var(--font-body);
}

.chat-popup__input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border-top: 1px solid var(--bg);
    background: var(--white);
}

.chat-popup__input {
    padding: 10px 12px;
    border: 1px solid var(--black);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
}

.chat-popup__input--username {
    height: 36px;
}

.chat-popup__input--text {
    height: 60px;
    resize: none;
    font-family: var(--font-body);
}

.chat-popup__send {
    background: var(--button);
    border: 2px solid var(--button);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-popup__send:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .chat-button {
        bottom: 20px;
        right: 20px;
        height: 44px;
        padding: 0 24px;
        font-size: 14px;
    }

    .chat-popup {
        bottom: 70px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .hero-slider__arrow img {
        width: 48px;
        height: 20px;
    }

    .section-artists__link-arrow,
    .slider-arrow img {
        width: 20px;
        height: 14px;
    }
}
