/* ============================================
   ЧУДО РАДИО — единый стиль
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --header-height: 106px;
    --player-height: 104px;
    --color-bg-top: #1a0a2e;
    --color-bg-mid: #3d0d4a;
    --color-bg-bot: #6b0f3a;
    --color-accent: #e91e63;
    --color-text: #f5f0f5;
    --color-text-dim: #c9b8d0;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-text);
    background: linear-gradient(160deg,
                var(--color-bg-top) 0%,
                var(--color-bg-mid) 50%,
                var(--color-bg-bot) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding-top: var(--header-height);
    line-height: 1.6;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-accent);
}

/* ---------- ШАПКА (фиксированная) ---------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(26, 10, 46, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(233, 30, 99, 0.25);
}

.header-inner {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
}

.logo-text span {
    color: var(--color-accent);
    margin-left: 4px;
}

.main-nav {
    display: flex;
    gap: 24px;
    flex-grow: 1;
    justify-content: center;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    padding: 6px 2px;
    position: relative;
}

.nav-link.active {
    color: var(--color-accent);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
}

/* ---------- РАЗДЕЛЫ ---------- */

#content {
    min-height: calc(100vh - var(--header-height) - 260px);
}

.section {
    display: none;
    padding: 60px 20px;
    animation: fadeIn 0.4s ease;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.section-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.section h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.section .lead {
    font-size: 20px;
    color: var(--color-text-dim);
    margin-bottom: 24px;
}

.section p {
    margin-bottom: 14px;
    font-size: 16px;
}

/* ---------- ФУТЕР ---------- */

.site-footer {
    background: rgba(15, 5, 25, 0.7);
    border-top: 1px solid rgba(233, 30, 99, 0.25);
    padding: 40px 20px 20px;
    margin-top: 40px;
}

.site-footer.hidden {
    display: none;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--color-accent);
    margin-left: 4px;
}

.footer-col h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--color-accent);
}

.footer-col a {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--color-text-dim);
}

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-col p {
    font-size: 14px;
    color: var(--color-text-dim);
    margin-bottom: 6px;
}

.footer-bottom {
    max-width: 1280px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 13px;
    color: var(--color-text-dim);
}

/* ---------- АДАПТИВНОСТЬ (шапка, меню, разделы) ---------- */

@media (max-width: 900px) {
    :root { --header-height: 80px; }

    .header-inner {
        padding: 0 14px;
        gap: 12px;
    }

    .logo { font-size: 18px; }
    .logo-img { height: 42px; }
    .logo-text { font-size: 18px; }
    .logo { gap: 10px; }

    .main-nav { gap: 16px; }
    .nav-link { font-size: 14px; }

    .section h1 { font-size: 32px; }
    .section .lead { font-size: 18px; }
}

@media (max-width: 600px) {
    :root { --header-height: 108px; }

    .site-header {
        height: auto;
        padding-top: env(safe-area-inset-top);
    }

    .header-inner {
        flex-wrap: wrap;
        align-items: center;
        padding: 8px 12px 6px;
        gap: 6px 10px;
        height: auto;
    }

    .logo {
        font-size: 17px;
        flex: 1 1 auto;
        min-width: 0;
    }

    .logo { gap: 8px; }
    .logo-img { height: 38px; }
    .logo-text { font-size: 16px; }

    .main-nav {
        order: 3;
        flex: 1 1 100%;
        justify-content: space-between;
        gap: 0;
        padding-top: 4px;
        border-top: 1px solid rgba(233, 30, 99, 0.18);
    }

    .nav-link {
        font-size: 13px;
        padding: 6px 4px;
        flex: 1 1 auto;
        text-align: center;
    }

    .section { padding: 36px 16px; }
    .section h1 { font-size: 26px; }
    .section .lead { font-size: 17px; }
    .section p { font-size: 15px; }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 380px) {
    .logo {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .logo-img { height: 34px; }
    .logo-text { font-size: 14px; }

    .nav-link { font-size: 12px; padding: 6px 2px; }
    .section h1 { font-size: 23px; }
}

/* ============================================
   ГАЛЕРЕЯ АВТОРОВ
   ============================================ */

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.author-card {
    cursor: pointer;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    background: rgba(255, 255, 255, 0.04);
}

.author-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(233, 30, 99, 0.35);
}

.author-card__photo {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, #3d0d4a, #6b0f3a);
}

.author-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s;
}

.author-card:hover .author-card__photo img {
    transform: scale(1.05);
}

.author-card__info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 46px 12px 12px;
    background: linear-gradient(to top,
                rgba(0, 0, 0, 0.9) 0%,
                rgba(0, 0, 0, 0.6) 50%,
                rgba(0, 0, 0, 0) 100%);
    color: #fff;
    text-align: left;
}

.author-card__name {
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.author-card__program {
    font-size: 14px;
    font-weight: 500;
    color: #f0c9e0;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ============================================
   МОДАЛЬНОЕ ОКНО АВТОРА
   ============================================ */

.author-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 3, 20, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto;
}

.author-modal.active {
    display: flex;
}

body.modal-open {
    overflow: hidden;
}

.author-modal__window {
    position: relative;
    background: linear-gradient(160deg, #23073a 0%, #4a0e4f 60%, #6b0f3a 100%);
    border-radius: 20px;
    max-width: 720px;
    width: 100%;
    padding: 40px 36px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(233, 30, 99, 0.3);
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.author-modal__close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-modal__close:hover {
    opacity: 1;
    transform: rotate(90deg);
    background: rgba(233, 30, 99, 0.25);
}

.author-modal__name {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #fff;
    padding-right: 40px;
}

.author-modal__position {
    font-size: 15px;
    color: #f0c9e0;
    margin-bottom: 24px;
    font-weight: 500;
}

.author-modal__section {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(233, 30, 99, 0.2);
}

.author-modal__section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.author-modal__section-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #e91e63;
    margin-bottom: 12px;
    font-weight: 700;
}

.author-modal__program {
    margin-bottom: 18px;
}

.author-modal__program:last-child {
    margin-bottom: 0;
}

.author-modal__program-title {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 6px;
    color: #fff;
}

.author-modal__program-desc {
    font-size: 15px;
    color: #e0d0e8;
    line-height: 1.6;
    margin-bottom: 6px;
}

.author-modal__bio,
.author-modal__regalia {
    font-size: 15px;
    color: #e0d0e8;
    line-height: 1.7;
}

.author-modal__contact {
    font-size: 15px;
    color: #e0d0e8;
    margin-bottom: 6px;
}

.author-modal__contact a {
    color: #ff6fa5;
    text-decoration: none;
    transition: color 0.2s;
}

.author-modal__contact a:hover {
    color: #fff;
    text-decoration: underline;
}

.author-modal__contact .readonly {
    color: #e0d0e8;
}

@media (max-width: 600px) {
    .author-modal {
        padding: 20px 12px;
    }

    .author-modal__window {
        padding: 30px 22px;
        border-radius: 16px;
    }

    .author-modal__name {
        font-size: 22px;
    }

    .author-modal__close {
        top: 10px;
        right: 12px;
        font-size: 28px;
        width: 34px;
        height: 34px;
    }

    .authors-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 14px;
    }
}

@media (max-width: 380px) {
    .authors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* ============================================
   ПЛЕЕР — ретро-приёмник
   ============================================ */

.player--desktop {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    width: 280px;
    height: auto;
    padding: 8px;
    background: rgba(30, 12, 45, 0.6);
    border: 1px solid rgba(180, 140, 220, 0.22);
    border-radius: 12px;
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.06),
        0 4px 12px rgba(0, 0, 0, 0.3);
}

.play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(145deg, #d0d0d8 0%, #8a8a95 45%, #4a4a52 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.15s, box-shadow 0.2s;
    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.45),
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        inset 0 -2px 3px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.play-btn::before {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: linear-gradient(145deg, #2a0d3d 0%, #4a0e4f 60%, #6b0f3a 100%);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow:
        0 5px 14px rgba(233, 30, 99, 0.55),
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        inset 0 -2px 3px rgba(0, 0, 0, 0.4);
}

.play-btn:active {
    transform: scale(0.96);
}

.play-icon {
    position: relative;
    z-index: 1;
    width: 0;
    height: 0;
    border-left: 12px solid #ffb347;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 3px;
    transition: all 0.2s;
    filter: drop-shadow(0 0 4px rgba(255, 179, 71, 0.7));
}

.play-btn.playing .play-icon {
    width: 11px;
    height: 11px;
    border: none;
    background: #ffb347;
    margin-left: 0;
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(255, 179, 71, 0.8);
}

.player-screen {
    flex: 1;
    min-width: 0;
    background: linear-gradient(160deg, #d99a3a 0%, #f0b95a 40%, #ffd47a 70%, #ffe9a8 100%);
    border-radius: 8px;
    padding: 6px 10px 5px;
    box-shadow:
        inset 0 0 12px rgba(180, 100, 0, 0.45),
        inset 0 1px 2px rgba(120, 60, 0, 0.5),
        0 1px 3px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.player-screen__display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 2px;
    min-height: 16px;
}

.player-screen__text {
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #3a1500;
    text-shadow: 0 1px 1px rgba(255, 220, 150, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}

.player-screen__text.live-mode {
    color: #c41818;
    text-shadow: 0 0 4px rgba(196, 24, 24, 0.6), 0 1px 1px rgba(255, 220, 150, 0.4);
    animation: liveBreathe 2s ease-in-out infinite;
}

@keyframes liveBreathe {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 4px rgba(196, 24, 24, 0.6), 0 1px 1px rgba(255, 220, 150, 0.4);
    }
    50% {
        opacity: 0.55;
        text-shadow: 0 0 12px rgba(196, 24, 24, 0.95), 0 1px 1px rgba(255, 220, 150, 0.3);
    }
}

.player-screen__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c41818;
    box-shadow: 0 0 4px rgba(196, 24, 24, 0.9);
    opacity: 0;
    flex-shrink: 0;
    transition: opacity 0.3s;
}

.player-screen__dot.visible {
    opacity: 1;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        box-shadow: 0 0 4px rgba(196, 24, 24, 0.9), 0 0 8px rgba(255, 80, 80, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 6px rgba(196, 24, 24, 1), 0 0 14px rgba(255, 80, 80, 0.8);
        transform: scale(1.08);
    }
}

/* ============================================
   СТРОКА ТРЕКА: подпись + бегущее окно
   ============================================ */

.player-screen__track {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 16px;
    margin: 2px 0 4px 0;
    padding-left: 2px;
    overflow: hidden;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 11px;
    line-height: 14px;
    white-space: nowrap;
}

/* Статичная подпись «Сейчас в эфире:» */
.track-label {
    flex-shrink: 0;
    color: #a81818;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.3px;
}

/* Окно для трека (бегущая строка внутри) */
.player-screen__track-scroll {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
    height: 16px;
    display: flex;
    align-items: center;
}

/* Внутренний блок с текстом трека */
.player-screen__track-inner {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
    line-height: 16px;
}

/* Стили частей текста трека */
.track-artist {
    font-weight: 600;
    color: #3a1500;
    font-style: normal;
}

.track-sep {
    font-weight: 400;
    color: #5a2a10;
    font-style: normal;
}

.track-title {
    font-style: italic;
    font-weight: 400;
    color: #5a2a10;
}

/* Если контейнер помечен как scrolling — включаем анимацию */
.player-screen__track-inner.scrolling {
    animation: trackScroll var(--scroll-duration, 30s) linear infinite;
}

/* Двойной блок для непрерывной петли */
.player-screen__track-inner.scrolling .track-duplicate {
    margin-left: var(--scroll-gap, 60px);
}

@keyframes trackScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - var(--scroll-gap, 60px) / 2));
    }
}

/* ============================================
   ШКАЛА
   ============================================ */

.player-screen__scale {
    position: relative;
    height: 14px;
    margin: 2px 0 0 0;
}

.scale-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    shape-rendering: geometricPrecision;
    overflow: visible;
}

.scale-needle {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: #8a2a00;
    box-shadow: 0 0 4px rgba(138, 42, 0, 0.9);
    animation: needleSlide 14s ease-in-out infinite;
    z-index: 1;
}

@keyframes needleSlide {
    0%   { left: 8%; }
    50%  { left: 78%; }
    100% { left: 8%; }
}

/* ============================================
   МОБИЛЬНАЯ ПОЛОСА С ПЛЕЕРОМ
   ============================================ */

.player-bar {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: var(--player-height);
    z-index: 999;
    background: rgba(20, 7, 32, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(180, 140, 220, 0.2);
}

.player-bar__center {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
}

.player-bar__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 360px;
    height: 100%;
    padding: 6px 8px;
    background: rgba(30, 12, 45, 0.6);
    border: 1px solid rgba(180, 140, 220, 0.22);
    border-radius: 12px;
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.06),
        0 4px 12px rgba(0, 0, 0, 0.3);
}

.player-bar__inner .play-btn {
    width: 44px;
    height: 44px;
}

@media (max-width: 600px) {
    .player-bar__center {
        padding: 6px 8px;
    }

    .player-bar__inner {
        width: 100%;
        padding: 4px 8px;
        background: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
    }

    .player-bar__inner .play-btn {
        width: 42px;
        height: 42px;
    }

    .player-bar .player-volume {
        display: none;
    }
}

/* --- Переключение версий плеера --- */
@media (max-width: 1000px) {
    .player--desktop { display: none; }
    .player-bar     { display: block; }
}

@media (min-width: 1001px) {
    .player-bar     { display: none; }
}

/* --- Отступ контента под плеер-полосу --- */
@media (max-width: 1000px) {
    body {
        padding-top: calc(var(--header-height) + var(--player-height) + 16px);
    }
}

/* ============================================
   ГЛАВНАЯ СТРАНИЦА
   ============================================ */

.home-quote {
    max-width: 480px;
    margin-left: auto;
    margin-bottom: 40px;
    text-align: right;
}

.home-quote p {
    font-style: italic;
    font-size: 15px;
    color: #e0d0e8;
    line-height: 1.55;
    margin-bottom: 10px;
}

.home-quote__author {
    font-style: normal !important;
    font-size: 13px;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
    color: #ffb347 !important;
    margin-bottom: 0 !important;
}

.home-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    color: #fff;
    text-align: center;
}

.home-subtitle {
    font-size: 18px;
    line-height: 1.65;
    color: #e0d0e8;
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.home-fm-announce {
    position: relative;
    text-align: center;
    padding: 32px 28px 28px;
    border-radius: 18px;
    background: rgba(10, 4, 20, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 2px solid rgba(255, 217, 102, 0.7);
    box-shadow:
        0 0 0 5px rgba(255, 217, 102, 0.08),
        0 12px 44px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 0 30px rgba(255, 179, 71, 0.06);
    max-width: 720px;
    margin: 0 auto;
    overflow: hidden;
    animation: fmGlow 4s ease-in-out infinite;
}

.home-fm-announce__icon {
    display: inline-block;
    font-size: 26px;
    line-height: 1;
    color: #ffd966;
    margin-right: 10px;
    vertical-align: -4px;
    font-weight: 700;
}

.home-fm-announce p {
    font-size: 18px;
    line-height: 1.6;
    color: #ffd966;
    margin-bottom: 12px;
    font-weight: 700;
}

.home-fm-announce__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.home-fm-announce p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: #ffe9a8;
    font-size: 16px;
}

@keyframes fmGlow {
    0%, 100% { box-shadow:
        0 0 0 5px rgba(255, 217, 102, 0.08),
        0 12px 44px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 0 30px rgba(255, 179, 71, 0.06); }
    50%      { box-shadow:
        0 0 0 5px rgba(255, 217, 102, 0.16),
        0 12px 50px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        inset 0 0 40px rgba(255, 179, 71, 0.12); }
}

@media (max-width: 900px) {
    .home-quote {
        max-width: 100%;
        text-align: left;
        margin-bottom: 30px;
    }

    .home-title { font-size: 32px; }
    .home-subtitle { font-size: 16px; }
}

@media (max-width: 600px) {
    .home-title { font-size: 26px; }
    .home-subtitle { font-size: 15px; }

    .home-quote p { font-size: 14px; }
    .home-quote__author { font-size: 12px; }

    .home-fm-announce { padding: 24px 18px 20px; }

    .home-fm-announce__icon {
        font-size: 22px;
        margin-right: 8px;
    }

    .home-fm-announce p { font-size: 16px; }
    .home-fm-announce p:last-child { font-size: 14px; }
}

/* ============================================
   МЕНЮ: ИКОНКА ДОМИКА + АДАПТИВ
   ============================================ */

.nav-home-icon {
    width: 18px;
    height: 18px;
    stroke-width: 1.6;
    display: none;
    flex-shrink: 0;
}

.nav-text {
    display: inline;
}

.nav-link--home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 600px) {
    .nav-home-icon { display: inline-block; }
    .nav-text { display: none; }
    .nav-link--contacts { display: none; }
    .main-nav { justify-content: space-around; }
}

/* ============================================
   СТРАНИЦА «ОСНОВАТЕЛЬ»
   ============================================ */

.founder-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.3px;
    margin-bottom: 28px;
    color: #fff;
    text-align: center;
}

.founder-photo {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
}

.founder-photo img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 0 4px rgba(255, 179, 71, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    display: block;
}

.founder-lead {
    font-size: 17px;
    line-height: 1.7;
    color: #e0d0e8;
    margin-bottom: 18px;
}

.founder-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 36px 0 16px;
    letter-spacing: 0.3px;
}

.founder-signature {
    margin-top: 40px;
    margin-bottom: 0;
    font-style: italic;
    font-size: 17px;
    line-height: 1.7;
    color: #e0d0e8;
    text-align: center;
    padding: 0 20px;
}

@media (max-width: 900px) {
    .founder-title { font-size: 28px; }
    .founder-photo img { width: 260px; height: 260px; }
    .founder-subtitle { font-size: 20px; }
}

@media (max-width: 600px) {
    .founder-title { font-size: 22px; line-height: 1.3; margin-bottom: 22px; }
    .founder-photo { margin-bottom: 26px; }
    .founder-photo img { width: 220px; height: 220px; border-radius: 16px; }
    .founder-lead,
    .founder-signature { font-size: 15px; }
    .founder-subtitle { font-size: 18px; margin: 26px 0 12px; }
    .founder-signature { padding: 0; margin-top: 30px; }
}

/* ============================================
   СТРАНИЦА «О НАС»
   ============================================ */

.about-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.3px;
    margin-bottom: 28px;
    color: #fff;
}

.about-lead {
    font-size: 17px;
    line-height: 1.7;
    color: #e0d0e8;
    margin-bottom: 28px;
}

.about-founder {
    position: relative;
    padding: 24px 28px;
    margin: 32px 0;
    border-radius: 16px;
    background: rgba(10, 4, 20, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 179, 71, 0.35);
    box-shadow:
        0 0 0 4px rgba(255, 179, 71, 0.05),
        0 8px 30px rgba(0, 0, 0, 0.4);
}

.about-founder p {
    font-size: 16px;
    line-height: 1.7;
    color: #e0d0e8;
    margin: 0;
}

.about-founder-link {
    color: #ffb347;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.about-founder-link:hover {
    color: #ffd966;
    text-decoration-color: #ffd966;
}

.about-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 36px 0 16px;
    letter-spacing: 0.3px;
    scroll-margin-top: 120px;
}

.about-intro {
    font-size: 16px;
    line-height: 1.7;
    color: #e0d0e8;
    margin-bottom: 18px;
}

.about-mission {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.about-mission li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.65;
    color: #e0d0e8;
}

.about-mission li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 0;
    color: #ffb347;
    font-size: 16px;
    line-height: 1.65;
}

.about-outro {
    margin-top: 40px;
    padding: 28px 28px;
    border-radius: 16px;
    background: linear-gradient(160deg,
        rgba(255, 217, 102, 0.08) 0%,
        rgba(255, 179, 71, 0.04) 100%);
    border: 1.5px solid rgba(255, 217, 102, 0.35);
    text-align: center;
}

.about-outro p {
    font-size: 18px;
    line-height: 1.6;
    color: #ffd966;
    margin-bottom: 10px;
    font-weight: 600;
}

.about-outro p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    font-size: 16px;
    color: #ffe9a8;
}

.about-contacts {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(233, 30, 99, 0.2);
}

.about-contacts p {
    font-size: 16px;
    line-height: 1.7;
    color: #e0d0e8;
    margin-bottom: 8px;
}

.about-contacts .readonly {
    color: #e0d0e8;
}

@media (max-width: 900px) {
    .about-title { font-size: 28px; }
    .about-subtitle { font-size: 20px; }
}

@media (max-width: 600px) {
    .about-title { font-size: 24px; margin-bottom: 20px; }
    .about-lead,
    .about-founder p,
    .about-mission li { font-size: 15px; }
    .about-founder { padding: 18px 20px; }
    .about-subtitle {
        font-size: 18px;
        margin: 28px 0 12px;
        scroll-margin-top: 140px;
    }
    .about-outro { padding: 20px 18px; margin-top: 30px; }
    .about-outro p { font-size: 16px; }
    .about-outro p:last-child { font-size: 14px; }
    .about-contacts { margin-top: 30px; padding-top: 24px; }
    .about-contacts p { font-size: 15px; }
}

/* ============================================
   РАСПИСАНИЕ В МОДАЛКЕ АВТОРА
   ============================================ */

.author-modal__schedule {
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(10, 4, 20, 0.4);
    border-left: 3px solid rgba(255, 179, 71, 0.5);
}

.author-modal__schedule-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffb347;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.author-modal__schedule-row {
    font-size: 14px;
    line-height: 1.6;
    color: #e0d0e8;
    margin-bottom: 4px;
}

.author-modal__schedule-row:last-child {
    margin-bottom: 0;
}

.author-modal__schedule-label {
    color: #fff;
    font-weight: 600;
    margin-right: 4px;
}

.author-modal__schedule-times {
    color: #e0d0e8;
}

@media (max-width: 600px) {
    .author-modal__schedule { padding: 12px 14px; }
    .author-modal__schedule-title { font-size: 13px; }
    .author-modal__schedule-row { font-size: 13px; }
}

/* ============================================
   РЕГУЛЯТОР ГРОМКОСТИ В ПЛЕЕРЕ
   ============================================ */

.player-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
}

.player-right .player-screen {
    flex: 0 0 auto;
    min-width: 0;
}

.player-volume {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 2px 0;
}

.player-volume__icon {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: #ffb347;
    filter: drop-shadow(0 0 2px rgba(255, 179, 71, 0.5));
}

.player-volume__slider-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.player-volume__slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(
        to right,
        #ffb347 0%,
        #ffb347 var(--vol-percent, 100%),
        rgba(255, 255, 255, 0.15) var(--vol-percent, 100%),
        rgba(255, 255, 255, 0.15) 100%
    );
    outline: none;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.player-volume__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #d0d0d8 60%, #8a8a95 100%);
    border: none;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 179, 71, 0.4);
    cursor: pointer;
    transition: transform 0.15s;
}

.player-volume__slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.player-volume__slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #d0d0d8 60%, #8a8a95 100%);
    border: none;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 179, 71, 0.4);
    cursor: pointer;
}

.player-volume__slider::-moz-range-track {
    height: 4px;
    border-radius: 2px;
    background: transparent;
}

.player-volume__slider::-moz-range-progress {
    height: 4px;
    border-radius: 2px;
    background: #ffb347;
}

.player-volume__tooltip {
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(20, 7, 32, 0.95);
    border: 1px solid rgba(255, 179, 71, 0.5);
    color: #ffb347;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    pointer-events: none;
    white-space: nowrap;
    z-index: 5;
    transition: opacity 0.15s;
}

.player-volume__tooltip[hidden] {
    display: none;
}

/* ============================================
   ФОТО В МОДАЛКЕ АВТОРА
   ============================================ */

.author-modal__photo {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.author-modal__photo img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.5),
        0 0 0 3px rgba(255, 179, 71, 0.15);
    display: block;
}

/* Адаптив */
@media (max-width: 600px) {
    .author-modal__photo {
        margin-bottom: 18px;
    }

    .author-modal__photo img {
        width: 110px;
        height: 110px;
        border-radius: 12px;
    }
}