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

:root {
    --bg: #080a0f;
    --bg-secondary: #0d1017;
    --bg-tertiary: #12151c;
    --text: #e0fff8;
    --text-secondary: rgba(224,255,248,0.55);
    --text-muted: rgba(224,255,248,0.35);
    --accent: #00ffc8;
    --accent-hover: rgba(0,255,200,0.3);
    --btn: #00ffc8;
    --btn-hover: rgba(0,255,200,0.15);
    --btn-text: #080a0f;
    --card: rgba(0,255,200,0.02);
    --card-border: rgba(0,255,200,0.1);
    --border: rgba(0,255,200,0.1);
    --overlay: rgba(8, 10, 15, 0.85);
    --shadow: 0 4px 24px rgba(0, 255, 200, 0.08);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s ease;
    --font-heading: 'Orbitron', 'JetBrains Mono', monospace;
    --font-body: 'Inter', 'JetBrains Mono', monospace;
    --font-mono: 'JetBrains Mono', 'Space Mono', monospace;
}

::selection {
    background: #00ffc8;
    color: #080a0f;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #080a0f;
}
::-webkit-scrollbar-thumb {
    background: #00ffc8;
    border-radius: 3px;
}

body.light-theme {
    --bg: #10121a;
    --bg-secondary: #161923;
    --bg-tertiary: #1c2030;
    --text: #e0fff8;
    --text-secondary: rgba(224,255,248,0.55);
    --text-muted: rgba(224,255,248,0.4);
    --accent: #00ffc8;
    --accent-hover: rgba(0,255,200,0.25);
    --btn: #00ffc8;
    --btn-hover: rgba(0,255,200,0.15);
    --btn-text: #080a0f;
    --card: rgba(0,255,200,0.03);
    --card-border: rgba(0,255,200,0.12);
    --border: rgba(0,255,200,0.1);
    --overlay: rgba(16, 18, 26, 0.9);
    --shadow: 0 4px 24px rgba(0, 255, 200, 0.06);
}

html {
    scroll-behavior: smooth;
    font-size: 18px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-style: normal;
    transition: background-color 0.4s ease, color 0.4s ease;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ===== ТЕРМИНАЛЬНЫЙ КИБЕРПАНК: Типографика ===== */
h1, h2, h3 {
    font-family: 'Orbitron', 'JetBrains Mono', monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #e0fff8;
}

p, .desc {
    font-family: 'Inter', 'JetBrains Mono', monospace;
    font-size: 1.35rem;
    line-height: 1.8;
    color: rgba(224,255,248,0.75);
    font-style: normal;
}

.btn,
.header__nav,
.header__btn,
.form__label,
.form__section__note,
.rubricator__tag,
.rubric-card__type,
.tariffs__badge,
.lc-notify__h,
.lc-resume__title,
.lc-demo-player__list-title,
.lc-ad-region__eyebrow,
.lc-ad__kicker,
.lc-secret-room__slash,
.lc-secret-room__cta,
.bg-radio__name,
.bg-radio__sub,
.footer__links,
.form-section__note {
    font-family: 'JetBrains Mono', 'Space Mono', monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: rgba(224,255,248,0.6);
    font-style: normal;
}

/* ===== CRT Scan-Lines Эффект ===== */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,255,200,0.015) 2px, rgba(0,255,200,0.015) 4px);
    pointer-events: none;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}

.hidden {
    display: none !important;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px 28px;
    border: 1px solid #00ffc8;
    border-radius: var(--radius-sm);
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    background: transparent;
    color: #00ffc8;
}

.btn--primary {
    background: transparent;
    color: #00ffc8;
    border: 1px solid #00ffc8;
}

.btn--primary:hover {
    background: rgba(0,255,200,0.1);
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(0,255,200,0.15);
}

.btn--outline {
    background-color: transparent;
    color: #00ffc8;
    border: 1px solid #00ffc8;
}

.btn--outline:hover {
    background: rgba(0,255,200,0.1);
    border-color: #00ffc8;
    color: #00ffc8;
}

.btn--full {
    width: 100%;
}

.btn:active {
    transform: scale(0.97);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(8,10,15,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,255,200,0.08);
    transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
    background: rgba(8, 10, 15, 0.95);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    margin: 0 auto;
    max-width: 1140px;
    width: 100%;
    height: 64px;
}

.header__logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.12em;
    color: var(--accent);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__logo-text {
    text-transform: uppercase;
    white-space: nowrap;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: none;
    border-radius: 50%;
}

/* Показываем картинку, когда файл загружен */
.logo-img[src]:not([src=""]) {
    display: block;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header__nav--cabinet {
    justify-content: flex-end;
}

.header-home-btn {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 200, 0.45);
    color: #00ffc8;
    background: rgba(0, 0, 0, 0);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.header-home-btn:hover {
    background: rgba(0, 255, 200, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 0 16px rgba(0, 255, 200, 0.15);
}

/* Compact subscription widget inside cabinet header */
.lc-subscription-compact--header {
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.6rem;
    text-align: left;
    border-radius: 999px;
    background: rgba(10, 10, 20, 0.15) !important;
    border: 1px solid rgba(0, 255, 200, 0.15) !important;
    box-shadow: none !important;
}

.lc-subscription-compact--header:hover {
    border-color: rgba(0, 255, 200, 0.25) !important;
    box-shadow: none !important;
}

.lc-subscription-compact--header .sub-ring-mini {
    width: 42px;
    height: 42px;
    font-size: 0.8rem;
    border-width: 2px;
}

.lc-subscription-compact--header .sub-info-compact .sub-title {
    font-size: 0.68rem;
    margin: 0;
}

.lc-subscription-compact--header .sub-info-compact .sub-meta {
    font-size: 0.6rem;
}

.header__login-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex: 1;
    margin: 0 1.25rem;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 40px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.login-studio {
    background: rgba(0, 255, 200, 0.08);
    border: 1px solid rgba(0, 255, 200, 0.4);
    color: #00ffc8;
}

.login-studio i {
    font-size: 0.8rem;
}

.login-studio:hover {
    background: rgba(0, 255, 200, 0.2);
    transform: scale(1.02);
    box-shadow: 0 0 12px rgba(0, 255, 200, 0.3);
}

.login-radio {
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.5);
    color: #ffc107;
    gap: 6px;
}

.login-radio .freq-number {
    font-size: 0.6rem;
    opacity: 0.8;
    letter-spacing: 0;
}

.freq-scan {
    animation: none;
}

.login-radio:hover .freq-scan {
    animation: blinkText 0.6s infinite;
}

.login-radio:hover {
    background: rgba(255, 193, 7, 0.2);
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.3);
}

.login-mic {
    background: rgba(255, 80, 80, 0.08);
    border: 1px solid rgba(255, 80, 80, 0.5);
    color: #ff5050;
    position: relative;
}

.mic-stand {
    width: 2px;
    height: 14px;
    background: #ff5050;
    margin-left: 4px;
    transform-origin: bottom;
    transition: transform 0.2s;
}

.login-mic:hover .mic-stand {
    transform: scaleY(1.2);
}

.login-mic:hover {
    background: rgba(255, 80, 80, 0.2);
    transform: translateY(-2px);
}

.onair-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #00ffc8;
    font-weight: bold;
}

.header__studio {
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 20px;
    padding: 8px 12px;
    margin-bottom: 1rem;
    color: #ffffff;
    font-family: 'Inter', monospace;
}

.login-input:focus {
    outline: none;
    border-color: #ff8c00;
}

.login-submit {
    width: 100%;
    background: rgba(255, 140, 0, 0.15);
    border: 1px solid #ff8c00;
    border-radius: 30px;
    padding: 8px;
    color: #ff8c00;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    transition: 0.2s;
}

.login-submit:hover {
    background: rgba(255, 140, 0, 0.3);
}

.login-demo-hint {
    font-size: 0.55rem;
    text-align: center;
    margin-top: 0.8rem;
    color: #888;
}

.rec-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #ff3366;
}

.studio-rec.pause {
    background: rgba(255, 193, 7, 0.1);
}

.studio-rec.pause .rec-dot {
    background: #ffc107;
}

.studio-rec.pause .rec-text {
    color: #ffc107;
}

.studio-rec.ready {
    background: rgba(0, 255, 200, 0.1);
}

.studio-rec.ready .rec-dot {
    background: #00ffc8;
}

.studio-rec.ready .rec-text {
    color: #00ffc8;
}

body.light-theme .studio-onair {
    background: rgba(255, 51, 102, 0.15);
    border-color: rgba(255, 51, 102, 0.5);
}

body.light-theme .onair-dot {
    background: #ff3366;
    box-shadow: 0 0 6px #ff3366;
}

body.light-theme .onair-text {
    color: #ff3366;
    text-shadow: 0 0 2px rgba(255,51,102,0.5);
}

.header__theme-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: border-color var(--transition);
}

.header__theme-btn:hover {
    border-color: var(--accent);
}

.header__btn {
    padding: 8px 18px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.header__btn--ghost {
    background: none;
    color: var(--text);
}

.header__btn--ghost:hover {
    color: var(--accent);
}

.header__btn--accent {
    background: transparent;
    color: #00ffc8;
    border: 1px solid #00ffc8;
}

.header__btn--accent:hover {
    background: rgba(0,255,200,0.1);
}

.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 72px 20px 28px;
    background-image: radial-gradient(circle at 25% 40%, rgba(0, 255, 200, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 200, 0.02) 2px,
        rgba(0, 255, 200, 0.02) 4px
    );
    pointer-events: none;
}

.hero__title {
    font-family: 'Inter', 'JetBrains Mono', monospace;
    font-weight: 300;
    font-size: clamp(2.2rem, 6vw, 4rem);
    letter-spacing: 1px;
    text-transform: none;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-shadow: 0 0 5px #00ffc8, 0 0 10px #00ffc8, 0 0 20px rgba(0, 255, 200, 0.5);
}

.hero__subtitle {
    font-family: 'Inter', 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: #a0a0b0;
    border-left: 2px solid #00ffc8;
    padding-left: 1rem;
    max-width: 560px;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
}


.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    text-align: center;
    margin-top: 3.4rem;
    cursor: pointer;
    animation: scroll-bounce 2s infinite;
}

.scroll-arrow {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-left: 2px solid #00ffc8;
    border-bottom: 2px solid #00ffc8;
    transform: rotate(-45deg);
    transition: opacity 0.2s;
}

.scroll-indicator:hover .scroll-arrow,
.scroll-indicator:focus-visible .scroll-arrow {
    opacity: 0.7;
}

@keyframes scroll-bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

@keyframes pulse-red {
    0%,
    100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

@keyframes blinkText {
    0%,
    100% { opacity: 1; letter-spacing: 1px; }
    50% { opacity: 0.6; letter-spacing: 2px; }
}

@keyframes vu {
    0% { transform: scaleY(0.4); opacity: 0.5; }
    100% { transform: scaleY(1); opacity: 1; }
}

.science {
    padding: 60px 0;
}

.science__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.science__card {
    background-color: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.5rem 1.1rem;
    text-align: center;
    transition: all var(--transition);
}

.science__card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.science__number {
    font-family: var(--font-heading);
    font-weight: 450;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--accent);
    line-height: 1;
}

.science__label {
    font-family: var(--font-heading);
    font-weight: 450;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--accent);
    line-height: 1;
}

.science__unit {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: 4px;
    margin-bottom: 0.75rem;
}

.science__desc {
    font-size: 0.8rem;
    color: #d0d0e0;
    line-height: 1.5;
    opacity: 0.9;
    text-shadow: 0 0 3px rgba(0, 255, 200, 0.15);
}

.author-vyacheslav {
    padding: 20px 0 40px;
}

.author-card {
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 28px;
    padding: 2rem;
    margin: 0 auto;
    max-width: 100%;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.author-card:hover {
    border-color: rgba(0, 255, 200, 0.35);
    box-shadow: 0 8px 32px rgba(0, 255, 200, 0.08);
    transform: translateY(-2px);
}

.author-card--grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
}

.author-card--grid .author-photo-col {
    align-self: start;
}

.author-card--grid .author-photo-col img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(0, 255, 200, 0.3);
    transition: box-shadow var(--transition);
}

.author-card--grid:hover .author-photo-col img {
    box-shadow: 0 0 24px rgba(0, 255, 200, 0.12);
}

.author-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 0.3rem;
}

.author-title {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: #a0a0c0;
    margin-bottom: 1rem;
}

.author-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: var(--text);
}

.author-features {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.author-features span {
    font-size: 0.7rem;
    color: var(--accent);
    transition: color var(--transition);
}

.author-quote {
    font-style: italic;
    font-size: 0.85rem;
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
    color: #d0d0e0;
    font-family: var(--font-body);
}

@media (max-width: 768px) {
    .author-card--grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .author-card--grid .author-photo-col {
        max-width: 280px;
        margin-inline: auto;
    }

    .author-quote {
        text-align: left;
    }
}

.quotes {
    padding: 0 0 60px;
}

.quotes__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 920px;
    margin: 0 auto;
}

.quotes__card {
    background-color: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.35rem 1.15rem;
    border-left: 3px solid var(--accent);
    transition: all var(--transition);
}

.quotes__card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.quotes__text {
    font-family: 'Inter', 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-style: normal;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.quotes__author {
    font-family: 'JetBrains Mono', 'Space Mono', monospace;
    font-size: 0.7rem;
    font-style: normal;
    text-transform: uppercase;
    color: #00ffc8;
    letter-spacing: 1px;
    font-weight: 500;
}

.live-voice {
    padding: 0 0 60px;
}

.live-voice__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
}

.live-voice__icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.live-voice__text {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.5;
}

.rubricator {
    padding: 0 0 60px;
}

.rubricator__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.rubricator__item {
    background-color: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.4rem 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.rubricator__item:hover {
    border-color: rgba(0,255,200,0.4);
    transform: rotate(0.5deg) scale(1.02);
    box-shadow: 0 0 8px rgba(0, 255, 200, 0.3);
}

body.light-theme .rubricator__item:hover {
    transform: rotate(0.5deg) scale(1.02);
    box-shadow: 0 0 8px rgba(0, 255, 200, 0.3);
}

.rubricator__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background-color: color-mix(in srgb, var(--accent) 12%, transparent);
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.rubricator__icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    display: block;
}
.rubricator__icon i {
    font-size: 2rem;
    color: #00ffc8;
    text-shadow: 0 0 6px rgba(0, 255, 200, 0.6);
    transition: text-shadow 0.2s ease;
}
.rubricator__item:hover .rubricator__icon i {
    text-shadow: 0 0 12px rgba(0, 255, 200, 0.9);
}

.rubricator__item-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.rubricator__item-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.rubricator__content {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.rubricator__back {
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    margin-bottom: 2rem;
}

.rubricator__back:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.rubricator__current-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text);
    margin-bottom: 0.5rem;
}

.rubricator__current-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.rubricator__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rubric-card {
    background-color: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.rubric-card:hover {
    border-color: var(--accent);
    transform: rotate(0.5deg) scale(1.02);
    box-shadow: 0 0 8px rgba(0, 255, 200, 0.3);
}

.rubric-card__cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.rubric-card__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.rubric-card__meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.rubric-card__type {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    background-color: color-mix(in srgb, var(--accent) 12%, transparent);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 1rem;
    width: fit-content;
}

.rubric-card__actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.rubric-card__btn {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.rubric-card__btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.rubric-card__btn--add:hover {
    border-color: var(--btn);
    color: var(--btn);
}

.manifesto {
    padding: 0 0 60px;
}

.manifesto__inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 3rem 0;
}

.manifesto__inner::before,
.manifesto__inner::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}

.manifesto__inner::before { left: 0; }
.manifesto__inner::after { right: 0; }

.manifesto__text {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--text);
    line-height: 1.7;
}

.tariffs {
    padding: 0 0 60px;
}

/* Тарифы — новая эстетика */
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.tariff-card {
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 28px;
    padding: 1.8rem 1.5rem;
    transition: all 0.2s ease;
    position: relative;
}

.tariff-card:hover {
    transform: translateY(-4px);
    border-color: #00ffc8;
    box-shadow: 0 0 15px rgba(0, 255, 200, 0.3);
    z-index: 1;
}

.tariff-card.active:hover {
    transform: translateY(-4px) scale(1.02);
}

.tariff-card.active {
    border: 2px solid #00ffc8;
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.3);
    background: rgba(0, 255, 200, 0.05);
    transform: scale(1.02);
}

/* Главный тариф */
.tariff-card.popular {
    border: 1.5px solid #00ffc8;
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.15);
    background: rgba(0, 255, 200, 0.03);
    transform: scale(1.02);
}

.tariff-card.popular:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: #00ffc8;
    box-shadow: 0 0 18px rgba(0, 255, 200, 0.35);
    z-index: 1;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #00ffc8;
    color: #0B0B0F;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: bold;
    white-space: nowrap;
}

.tariff-label {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    letter-spacing: 2px;
    color: #00ffc8;
    margin-bottom: 0.5rem;
}

.tariff-sub {
    font-family: 'Inter', monospace;
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 0.75rem;
}

/* ЦЕНА — скромная, не кричащая */
.tariff-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.6rem;
    font-weight: 400;
    color: #ffffff;
    margin: 0.75rem 0 1rem 0;
}

.tariff-price span {
    font-size: 0.8rem;
    color: #888;
    font-weight: 300;
}

.tariff-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem 0;
}

.tariff-features li {
    font-family: 'Inter', monospace;
    font-size: 0.75rem;
    color: #c0c0d0;
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tariff-features li::before {
    content: "✔";
    color: #00ffc8;
    font-size: 0.7rem;
}

.tariff-btn {
    width: 100%;
    padding: 0.7rem;
    background: transparent;
    border: 1px solid rgba(0, 255, 200, 0.5);
    border-radius: 40px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    color: #00ffc8;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tariff-btn.primary {
    background: #00ffc8;
    color: #0B0B0F;
    border: none;
}

.tariff-btn:hover {
    background: #00ffc8;
    color: #0B0B0F;
    border-color: #00ffc8;
    transform: scale(1.04);
    box-shadow: 0 0 8px rgba(0, 255, 200, 0.3);
}

.tariff-btn.primary:hover {
    background: transparent;
    color: #00ffc8;
    border: 1px solid #00ffc8;
    transform: scale(1.04);
    box-shadow: 0 0 8px rgba(0, 255, 200, 0.3);
}

/* Адаптив тарифов */
@media (max-width: 768px) {
    .tariffs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .tariff-card.popular {
        transform: scale(1);
        order: -1;
    }
    .tariff-card.popular:hover {
        transform: none;
    }
    .tariff-price {
        font-size: 1.8rem;
    }
}

.form-section {
    padding: 0 0 40px;
}

.form-and-logo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem auto;
    align-items: center;
}

.form-section__inner {
    max-width: 460px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
}

.form-and-logo-grid .form-section__inner {
    max-width: none;
    margin: 0;
    text-align: left;
}

.logo-block {
    text-align: center;
    background: rgba(10, 10, 20, 0.4);
    border: none;
    border-radius: 32px;
    padding: 2rem;
}

.logo-block .footer-logo-img {
    height: 200px;
    width: auto;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.logo-block .logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: #00ffc8;
    text-shadow: 0 0 8px rgba(0, 255, 200, 0.3);
    letter-spacing: 0.08em;
}

.form-section__title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.form-section__subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form__group { text-align: left; }

.form__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.form__required { color: var(--btn); }

.form__optional {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.8rem;
}

.form__input {
    width: 100%;
    padding: 8px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: var(--bg-secondary);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.8rem;
    transition: all var(--transition);
    outline: none;
}

.form__input::placeholder { color: var(--text-muted); }

.form__input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
}

.form__input--error { border-color: var(--btn); }

.form__error {
    display: block;
    font-size: 0.78rem;
    color: var(--btn);
    margin-top: 0.3rem;
    min-height: 1.2em;
}

.form-section__note {
    font-size: 0.6rem;
    color: var(--text-muted);
    margin-top: 0.6rem;
}

.form-section .btn--primary {
    padding: 8px 16px;
    font-size: 0.7rem;
}

@media (max-width: 768px) {
    .form-and-logo-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-and-logo-grid .form-section__inner {
        text-align: center;
    }

    .form-section {
        padding: 0 0 30px;
    }

    .form-section__title {
        font-size: 1.4rem;
    }

    .form__input {
        padding: 6px 10px;
    }

    .logo-block .footer-logo-img {
        height: 120px;
    }
}

.form__message {
    text-align: center;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-top: 1rem;
    animation: fadeIn 0.3s ease;
}

.form__message--success {
    background-color: color-mix(in srgb, #22c55e 12%, transparent);
    color: #4ade80;
    border: 1px solid color-mix(in srgb, #22c55e 25%, transparent);
}

.form__message--error {
    background-color: color-mix(in srgb, #ef4444 12%, transparent);
    color: #f87171;
    border: 1px solid color-mix(in srgb, #ef4444 25%, transparent);
}

.footer {
    padding: 1.5rem 0;
    border-top: none;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent);
}

.footer__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.footer__links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition);
}

.footer__links a:hover { color: var(--accent); }
.footer__divider { color: var(--border); }

.pexels-credit {
    font-size: 0.6rem;
    color: #6c6c7a;
    text-align: center;
    margin-top: 1rem;
}

.pexels-credit a {
    color: #00ffc8;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.pexels-credit a:hover {
    text-decoration: underline;
}

.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background-color: var(--overlay);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.popup-player {
    background-color: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow);
}

.popup-player__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background-color: var(--card);
    z-index: 1;
}

.popup-player__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
}

.popup-player__close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition);
    line-height: 1;
}

.popup-player__close:hover { color: var(--text); }

.popup-player__progress {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 1.5rem;
    border-bottom: 1px solid var(--border);
}

.popup-player__progress-bar {
    flex: 1;
    height: 4px;
    background-color: var(--bg-secondary);
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
}

.popup-player__progress-fill {
    height: 100%;
    width: 0%;
    background-color: var(--accent);
    border-radius: 2px;
    transition: width 0.1s linear;
}

.popup-player__progress-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    min-width: 70px;
    text-align: right;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    transition: background-color var(--transition);
}

.track-item:last-child { border-bottom: none; }
.track-item:hover { background-color: var(--bg-secondary); }

.track-item__play {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: none;
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-item__play:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.track-item__play--active {
    border-color: var(--accent);
    background-color: var(--accent);
    color: var(--bg);
}

.track-item__info { flex: 1; min-width: 0; }

.track-item__name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-item__duration {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.track-item__badge {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    background-color: color-mix(in srgb, var(--accent) 12%, transparent);
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.track-item__paywall {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.track-item__paywall-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.track-item__paywall-btn {
    align-self: flex-start;
    padding: 6px 14px;
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    background: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    cursor: pointer;
    transition: all var(--transition);
}

.track-item__paywall-btn:hover {
    background-color: var(--accent);
    color: var(--bg);
}

.popup-queue {
    background-color: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    max-width: 360px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow);
}

.popup-queue__text {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.popup-queue__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition);
}

.popup-queue__close:hover { color: var(--text); }

.queue-widget {
    position: fixed;
    bottom: 74px;
    right: 24px;
    z-index: 150;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all var(--transition);
    user-select: none;
}

.queue-widget:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.queue-widget__icon { font-size: 1rem; }

.queue-widget__label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
}

.queue-widget__count {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
}

.cabinet {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
}

.cabinet__placeholder { text-align: center; }

.cabinet__title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.cabinet__text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.cabinet__note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .science__grid { grid-template-columns: repeat(2, 1fr); }
    .rubricator__grid { grid-template-columns: repeat(2, 1fr); }
    .rubricator__cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container,
    .header__inner {
        padding: 0 12px;
        max-width: 100%;
    }
    .header__login-demo {
        display: none;
    }
    .header__inner { height: 56px; }
    .header__btn--accent { font-size: 0.78rem; padding: 6px 12px; }
    .studio-onair { padding: 4px 8px; }
    .onair-text { letter-spacing: 1px; }
    .header__studio { gap: 6px; }
    .rec-text { font-size: 0.52rem; }
    .studio-pass-btn { display: none; }
    .hero { min-height: 100svh; padding: 80px 16px 40px; }
    .hero__actions { flex-direction: column; align-items: center; }
    .hero__actions .btn { width: 100%; max-width: 280px; }
    .science { padding: 60px 0; }
    .science__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .science__card { padding: 1.25rem 1rem; }
    .quotes { padding: 0 0 60px; }
    .quotes__grid { grid-template-columns: 1fr; }
    .live-voice { padding: 0 0 60px; }
    .live-voice__inner { flex-direction: column; text-align: center; padding: 2rem 1.25rem; }
    .rubricator { padding: 0 0 60px; }
    .rubricator__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        overflow-x: visible;
        scroll-snap-type: none;
        padding-bottom: 0;
    }
    .rubricator__item { min-width: 0; flex-shrink: 1; scroll-snap-align: none; }
    .rubricator__cards { grid-template-columns: 1fr; }
    .tariffs { padding: 0 0 60px; }
    .form-section { padding: 0 0 30px; }
    .manifesto__inner::before, .manifesto__inner::after { display: none; }
    .queue-widget { bottom: 16px; right: 16px; padding: 8px 12px; gap: 6px; }
    .queue-widget__label { display: none; }
}

@media (max-width: 400px) {
    .container { padding: 0 14px; }
    .science__grid { grid-template-columns: 1fr; }
    .rubricator__item { min-width: 0; }
}

/* ============================================
   CYBER BANNERS — Киберпанк-баннеры
   ============================================ */

.cyber-banners {
    padding: 60px 0;
    position: relative;
}

.cyber-banners__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.cyber-banners__eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    background-color: color-mix(in srgb, var(--accent) 12%, transparent);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.cyber-banners__title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--text);
    margin-bottom: 0.5rem;
}

.cyber-banners__subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.cyber-banners__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 2rem;
}

.cyber-banner {
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--card);
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: block;
    position: relative;
}

.cyber-banner:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.cyber-banner__art {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

.cyber-banner__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    filter: saturate(1.2) brightness(0.75) contrast(1.1);
}

.cyber-banner:hover .cyber-banner__art img {
    transform: scale(1.05);
    filter: saturate(1.3) brightness(0.8) contrast(1.1);
}

.cyber-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(8, 10, 15, 0.8) 100%);
    pointer-events: none;
}

.cyber-banner__body {
    padding: 1.25rem;
}

.cyber-banner__tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.cyber-banner__name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.cyber-banner__desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 0.75rem;
}

.cyber-banner__link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

.cyber-banner:hover .cyber-banner__link {
    text-decoration: underline;
}

.cyber-banners__cta {
    text-align: center;
}

.cyber-banners__cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 32px;
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-sm);
    background: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: all var(--transition);
}

.cyber-banners__cta-link:hover {
    background-color: var(--accent);
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

@media (max-width: 1024px) {
    .cyber-banners__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .cyber-banners { padding: 60px 0; }
    .cyber-banners__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        overflow-x: visible;
        scroll-snap-type: none;
    }
    .cyber-banner {
        min-width: 0;
        flex-shrink: 1;
        scroll-snap-align: none;
    }
}

@media (max-width: 400px) {
    .cyber-banner { min-width: 0; }
}

/* ============================================
   DREAMTALES BANNERS — Сказки на ночь
   ============================================ */

.dream-banners {
    padding: 60px 0;
    position: relative;
}

.dream-banners__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.dream-banners__eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9ca3af;
    background-color: rgba(156, 163, 175, 0.15);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.dream-banners__title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--text);
    margin-bottom: 0.5rem;
}

.dream-banners__subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.dream-banners__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 2rem;
}

.dream-banner {
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--card);
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.dream-banner:hover {
    border-color: #9ca3af;
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(156, 163, 175, 0.15);
}

.dream-banner__art {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

.dream-banner__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    filter: saturate(0.7) brightness(0.85);
}

.dream-banner:hover .dream-banner__art img {
    transform: scale(1.05);
    filter: saturate(0.85) brightness(0.9);
}

.dream-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(8, 10, 15, 0.7) 100%);
    pointer-events: none;
}

.dream-banner__body {
    padding: 1.25rem;
}

.dream-banner__tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.dream-banner__name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.dream-banner__desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 0.75rem;
}

.dream-banner__link {
    font-size: 0.8rem;
    font-weight: 600;
    color: #9ca3af;
    text-decoration: none;
    transition: color var(--transition);
}

.dream-banner:hover .dream-banner__link {
    text-decoration: underline;
}

.dream-banners__cta {
    text-align: center;
}

.dream-banners__cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 32px;
    border: 1.5px solid #9ca3af;
    border-radius: var(--radius-sm);
    background: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: #9ca3af;
    text-decoration: none;
    transition: all var(--transition);
}

.dream-banners__cta-link:hover {
    background-color: #9ca3af;
    color: #0c1220;
    transform: translateY(-2px);
    box-shadow: 0 4px 24px rgba(156, 163, 175, 0.2);
}

@media (max-width: 1024px) {
    .dream-banners__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .dream-banners { padding: 60px 0; }
    .dream-banners__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        overflow-x: visible;
        scroll-snap-type: none;
    }
    .dream-banner {
        min-width: 0;
        flex-shrink: 1;
        scroll-snap-align: none;
    }
}

@media (max-width: 400px) {
    .dream-banner { min-width: 0; }
}

/* ===== FOOTER LOGO CENTER ===== */
.footer-logo-center {
    text-align: center;
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border);
}

.footer-logo-center__img {
    height: 64px;
    width: auto;
    border-radius: 50%;
    margin-bottom: 0.75rem;
}

.footer-logo-center__brand {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent);
}

/* ===== COZY PROMO CENTER ===== */
.cozy-promo__header--center {
    justify-content: center;
    text-align: center;
}

/* ============================================
   CABINET — Личный кабинет
   ============================================ */

/* Cabinet header */
.lc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,255,200,0.08);
    margin-bottom: 2rem;
    background: rgba(8,10,15,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.lc-header__logo {
    font-size: 1.1rem;
}
.lc-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.lc-header__back {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.lc-header__back:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.lc-main {
    padding: 88px 0 3rem;
}

/* ===== Cabinet dashboard header см. блок .dashboard-header ниже ===== */

.stats-pill,
.subscription-pill {
    background: rgba(10, 10, 20, 0.5);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    text-align: center;
}

.subscription-pill {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: space-between;
}

/* Шапка кабинета — три блока в ряд */
.lc-header-stats {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: stretch;
}

.lc-welcome-card,
.lc-stats-central,
.lc-subscription-compact {
    background: rgba(10, 10, 20, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 20px;
    padding: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 100%;
    box-sizing: border-box;
}

.lc-welcome-card:hover,
.lc-stats-central:hover,
.lc-subscription-compact:hover {
    border-color: rgba(0, 255, 200, 0.35);
    box-shadow: 0 0 12px rgba(0, 255, 200, 0.08);
}

.lc-welcome-card h2 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    margin: 0 0 0.3rem 0;
    color: #00ffc8;
    font-weight: 700;
}

.lc-welcome-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lc-welcome-text {
    flex: 1;
    min-width: 0;
}

.lc-voting-compact.no-bars .vote-progress {
    display: none;
}

.lc-voting-compact.no-bars {
    gap: 0.5rem;
    padding: 0.8rem 1rem;
}

.lc-voting-compact.no-bars .vote-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
    color: #c8d5d9;
}

.lc-voting-compact.no-bars .vote-option input {
    accent-color: #00ffc8;
}

.vote-btn {
    background: transparent;
    border: 1px solid rgba(0, 255, 200, 0.45);
    border-radius: 24px;
    padding: 0.3rem 0.8rem;
    color: #00ffc8;
    font-size: 0.65rem;
    cursor: pointer;
}

.vote-thanks {
    margin-top: 0.35rem;
    font-size: 0.62rem;
    color: #7fe7cf;
}


.lc-welcome-card p {
    font-family: 'Inter', monospace;
    font-size: 0.7rem;
    color: #c0c0d0;
    line-height: 1.3;
    margin: 0;
}

.lc-stats-central {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.3rem;
    text-align: center;
}

.lc-header-stats .lc-stats-central {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.lc-header-stats .lc-stats-central:hover {
    box-shadow: none !important;
    border-color: transparent !important;
}

.lc-stats-central .stat-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.15rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    border-radius: 16px;
    background: rgba(0, 255, 200, 0.04);
    border: 1px solid rgba(0, 255, 200, 0.18);
    padding: 0.65rem 0.75rem;
}

.lc-stats-central .stat-item:last-child {
    border-bottom: none;
}

.lc-stats-central .stat-number {
    font-size: 1rem;
    font-weight: 700;
    color: #00ffc8;
}

.lc-stats-central .stat-label {
    font-size: 0.7rem;
    color: #888;
    text-align: center;
}

.lc-subscription-compact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem;
    text-align: center;
}

.sub-ring-mini {
    font-size: 0.8rem;
    font-weight: 700;
    color: #00ffc8;
    background: rgba(0, 255, 200, 0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #00ffc8;
    font-family: 'Orbitron', monospace;
    flex-shrink: 0;
}

.sub-info-compact {
    flex: 1;
    min-width: 0;
}

.sub-info-compact .sub-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    margin: 0 0 0.2rem 0;
    color: var(--text);
}

.sub-info-compact .sub-meta {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.64rem;
    line-height: 1.3;
}

.sub-info-compact .sub-days {
    font-size: 0.6rem;
    color: #00ffc8;
}

.sub-info-compact .sub-sep {
    color: rgba(224, 255, 248, 0.35);
}

.sub-info-compact .sub-status {
    font-size: 0.65rem;
    color: #888;
}

/* 3. Quick tiles */
.lc-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 2rem;
}
.lc-tile {
    background-color: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lc-tile:hover {
    border-color: rgba(0,255,200,0.4);
    color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 0 20px rgba(0,255,200,0.15);
}

body.light-theme .lc-tile:hover {
    box-shadow: 0 0 20px rgba(0,255,200,0.15);
}
.lc-tile__ic {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

/* 5. Notifications */
.lc-notify {
    margin-bottom: 2rem;
}
.lc-notify__h {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}
.lc-notify__row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    transition: all var(--transition);
}
.lc-notify__row:hover {
    border-color: var(--accent);
}
.lc-notify__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    flex-shrink: 0;
    margin-top: 6px;
}
.lc-notify__dot--muted {
    background-color: var(--text-muted);
}
.lc-notify__t {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.15rem;
}
.lc-notify__d {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* 6. Resume */
.lc-resume {
    background-color: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}
.lc-resume__title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}
.lc-resume__book {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 0.25rem;
}
.lc-resume__meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.lc-resume__bar {
    width: 100%;
    height: 4px;
    background-color: var(--bg-secondary);
    border-radius: 2px;
    margin-bottom: 1rem;
    overflow: hidden;
}
.lc-resume__bar span {
    display: block;
    width: 42%;
    height: 100%;
    background-color: var(--accent);
    border-radius: 2px;
}
.lc-resume__btn {
    width: 100%;
}

/* 7. Demo player */
.lc-demo-player-wrap {
    margin-bottom: 2.5rem;
}
.lc-demo-player {
    background-color: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 2rem;
}
.lc-demo-player__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.lc-demo-player__lead {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.lc-demo-player__audio-wrap {
    margin-bottom: 1.5rem;
}
.lc-demo-player__audio-wrap audio {
    width: 100%;
    border-radius: var(--radius-sm);
}
.lc-demo-player__list-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}
.lc-demo-player__list {
    list-style: none;
    margin-bottom: 1rem;
}
.lc-demo-player__list li {
    margin-bottom: 4px;
}
.lc-demo-player__list button {
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}
.lc-demo-player__list button:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.lc-demo-player__list button.is-current {
    border-color: var(--accent);
    color: var(--accent);
    background-color: color-mix(in srgb, var(--accent) 8%, transparent);
}
.lc-demo-player__note {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

/* 8. Book shelf */
.lc-block-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 1rem;
}
.lc-shelf {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 2.5rem;
}
.lc-book {
    background-color: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 0.75rem;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
}
.lc-book:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.lc-book__cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 0.6rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
}
.lc-book__cover--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-muted);
}
.lc-book__cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lc-book__cover--fallback .lc-book__cover-img {
    display: none;
}
.lc-book__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text);
    margin-bottom: 0.15rem;
}
.lc-book__author {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.lc-book__dur {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* 9. Ad region */
.lc-ad-region {
    margin-bottom: 2.5rem;
}
.lc-ad-region__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}
.lc-ad-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 1.5rem;
}
.lc-ad-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.lc-ad {
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--card);
    position: relative;
    transition: all var(--transition);
}
.lc-ad:hover {
    border-color: var(--accent);
}
.lc-ad--hero {
    display: flex;
    flex-direction: column;
}
.lc-ad--mini {
    flex: 1;
}
.lc-ad__img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
}
.lc-ad--mini .lc-ad__img {
    aspect-ratio: 3 / 4;
}
.lc-ad__panel {
    padding: 1.25rem;
}
.lc-ad__kicker {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background-color: color-mix(in srgb, var(--accent) 12%, transparent);
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}
.lc-ad__h {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 0.4rem;
}
.lc-ad__p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.45;
}
.lc-ad__cta {
    padding: 8px 16px;
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    background: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    cursor: pointer;
    transition: all var(--transition);
}
.lc-ad__cta:hover:not(:disabled) {
    background-color: var(--accent);
    color: var(--bg);
}
.lc-ad__cta:disabled {
    opacity: 0.4;
    cursor: default;
}

/* Secret room */
.lc-secret-room {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.lc-secret-room:hover {
    border-color: var(--accent);
}
.lc-secret-room__icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}
.lc-secret-room__slash {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.25rem;
}
.lc-secret-room__h {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 0.25rem;
}
.lc-secret-room__p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}
.lc-secret-room__cta {
    display: inline-block;
    padding: 8px 20px;
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition);
}
.lc-secret-room__cta:hover {
    background-color: var(--accent);
    color: var(--bg);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

/* 10. Dual cards */
.lc-dual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 2.5rem;
}
.lc-card {
    background-color: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all var(--transition);
}
.lc-card:hover {
    border-color: var(--accent);
}
.lc-card__h {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.lc-card__p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}
.lc-card__row {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* 11. Social (ссылки; полный блок .lc-social может использоваться на других страницах) */
.lc-social {
    margin-bottom: 2.5rem;
}

/* Cabinet: Социальные сети (карточки-обложки) */
.social-grid {
    margin-bottom: 1.5rem;
}

footer .social-grid {
    margin-bottom: 0;
}

.social-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    color: #00ffc8;
    margin-bottom: 0.8rem;
}

.social-cards {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-card {
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 16px;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 160px;
}

.social-card:hover {
    border-color: #00ffc8;
    transform: translateY(-2px);
}

.social-cover {
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 200, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.social-card.instagram .social-cover i {
    color: #e4405f;
}

.social-card.tiktok .social-cover i {
    color: #00f2ea;
}

.social-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #e6e7ee;
}

.social-action {
    font-size: 0.55rem;
    color: #00ffc8;
}
/* Двухколоночная сетка кабинета (плеер+баннер, каталоги) */
.lc-double-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: stretch !important;
}

/* Независимые ряды кабинета */
.lc-double-grid--player {
    margin-bottom: 2rem;
}

.lc-double-grid--catalogs {
    margin-bottom: 2rem;
}

/* Первый ряд (плеер + баннер/опрос) */
.lc-double-grid--player {
    gap: 1.5rem;
    grid-template-columns: 1.2fr 0.8fr;
}

/* Второй ряд (каталоги) и остальные сетки */
.lc-double-grid--catalogs {
    gap: 1.5rem;
    grid-template-columns: 0.8fr 1.2fr;
}

.lc-double-grid > * {
    min-width: 0;
}

.lc-left-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lc-left-col > .lc-day-widgets {
    margin-bottom: 0;
}

.lc-left-col .lc-voting__option-text {
    flex: 0 1 auto;
}

/* Два виджета: протокол дня + рекомендация */
.double-widget {
    display: flex;
    gap: 12px;
    margin: 16px 0;
    flex-wrap: wrap;
    align-items: stretch;
}

.double-widget .widget-card {
    flex: 1 1 auto;
    max-width: 300px;
    min-width: 0;
    box-sizing: border-box;
    background: rgba(0, 255, 200, 0.04);
    border: 1px solid rgba(0, 255, 200, 0.15);
    border-radius: 16px;
    padding: 0.6rem 1rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.double-widget .widget-card:hover {
    transform: translateY(-2px);
    background: rgba(0, 255, 200, 0.07);
    border-color: rgba(0, 255, 200, 0.28);
    box-shadow: 0 6px 20px rgba(0, 255, 200, 0.08);
}

.double-widget .protocol-day {
    text-align: left;
}

.double-widget .voice-question {
    flex: 1 1 auto;
    max-width: 300px;
    min-width: 0;
    box-sizing: border-box;
    text-align: center;
}


.double-widget .widget-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 0 0.45rem;
    color: var(--text);
    line-height: 1.2;
}

.double-widget .widget-track {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.55rem;
    color: var(--accent);
    line-height: 1.35;
}

.double-widget .widget-btn {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 30px;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
    font-family: var(--font-mono);
    font-size: 0.65rem;
}

.double-widget .widget-btn:hover {
    background: rgba(0, 255, 200, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 0 12px rgba(0, 255, 200, 0.18);
}

@media (max-width: 768px) {
    .double-widget {
        flex-direction: column;
        gap: 10px;
    }

    .double-widget .widget-card {
        max-width: 100%;
    }

    .double-widget .protocol-day,
    .double-widget .voice-question {
        text-align: center;
    }

    .double-widget .widget-btn {
        margin-left: auto;
        margin-right: auto;
        display: inline-block;
    }

    .double-widget .voice-question .record-btn {
        margin-left: auto;
        margin-right: auto;
        display: inline-block;
    }
}

body.light-theme .double-widget .widget-card {
    background: rgba(255, 255, 255, 0.92);
    border-color: #cbd5e1;
}

body.light-theme .double-widget .widget-card:hover {
    border-color: rgba(0, 255, 200, 0.45);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

body.light-theme .double-widget .widget-title {
    color: #1e293b !important;
}

body.light-theme .double-widget .widget-track {
    color: #0d9488;
}

body.light-theme .double-widget .widget-btn {
    border-color: var(--accent);
    color: #0f172a;
}

/* Голосовой вопрос Вячеславу + модалка записи */
.voice-question {
    background: rgba(0, 255, 200, 0.05);
    border-radius: 20px;
    padding: 1.05rem;
    border: 1px solid rgba(0, 255, 200, 0.2);
    transition: background var(--transition), border-color var(--transition), transform var(--transition),
        box-shadow var(--transition);
}

.voice-question:hover {
    background: rgba(0, 255, 200, 0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 200, 0.08);
}

.voice-question .widget-icon {
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.voice-question .widget-title {
    margin-bottom: 0.25rem;
}

.voice-question .question-preview {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin: 0.6rem 0 0.85rem;
    font-style: italic;
    line-height: 1.35;
}

.record-btn {
    font-family: var(--font-mono);
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
    font-size: 0.76rem;
}

.record-btn:hover {
    background: var(--accent);
    color: var(--btn-text);
    transform: translateY(-1px);
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.modal-overlay.is-open {
    display: flex;
}

.modal-container {
    background: #111115;
    border: 1px solid var(--accent);
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.05rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition), color var(--transition);
    padding: 0.2rem;
}

.modal-close:hover {
    opacity: 1;
    color: var(--accent);
}

.modal-body {
    padding: 1.25rem;
}

.modal-subtitle {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin: 0 0 1rem;
    text-align: center;
    line-height: 1.4;
}

.record-visualizer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    height: 56px;
    margin: 0.85rem 0;
}

.record-visualizer .wave {
    width: 4px;
    border-radius: 2px;
    background: var(--accent);
}

.record-visualizer:not(.is-recording) .wave {
    height: 18px;
    opacity: 0.35;
    animation: none;
}

.record-visualizer.is-recording .wave {
    animation: recordWavePulse 0.8s infinite ease alternate;
}

.record-visualizer.is-recording .wave:nth-child(1) { animation-delay: 0s; }
.record-visualizer.is-recording .wave:nth-child(2) { animation-delay: 0.1s; }
.record-visualizer.is-recording .wave:nth-child(3) { animation-delay: 0.2s; }
.record-visualizer.is-recording .wave:nth-child(4) { animation-delay: 0.3s; }
.record-visualizer.is-recording .wave:nth-child(5) { animation-delay: 0.4s; }
.record-visualizer.is-recording .wave:nth-child(6) { animation-delay: 0.5s; }

.record-visualizer.is-recording .wave:nth-child(1) { min-height: 15px; }
.record-visualizer.is-recording .wave:nth-child(2) { min-height: 22px; }
.record-visualizer.is-recording .wave:nth-child(3) { min-height: 36px; }
.record-visualizer.is-recording .wave:nth-child(4) { min-height: 26px; }
.record-visualizer.is-recording .wave:nth-child(5) { min-height: 38px; }
.record-visualizer.is-recording .wave:nth-child(6) { min-height: 20px; }

@keyframes recordWavePulse {
    0% { height: 15px; opacity: 0.45; }
    100% { height: 48px; opacity: 1; }
}

.record-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0.85rem 0;
}

.record-action-btn--stop {
    display: none;
}

.record-controls.is-recording .record-action-btn--start {
    display: none;
}

.record-controls.is-recording .record-action-btn--stop {
    display: inline-block;
}

.record-action-btn {
    font-family: var(--font-mono);
    background: rgba(0, 255, 200, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 10px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.78rem;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.record-action-btn:hover {
    background: var(--accent);
    color: var(--btn-text);
    transform: translateY(-1px);
}

.record-status {
    font-family: var(--font-mono);
    text-align: center;
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin: 0.35rem 0 0.5rem;
    line-height: 1.4;
}

.modal-submit-btn {
    font-family: var(--font-mono);
    width: 100%;
    box-sizing: border-box;
    background: rgba(0, 255, 200, 0.2);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 10px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.78rem;
    margin-top: 0.5rem;
    transition: background var(--transition), color var(--transition), opacity var(--transition);
}

.modal-submit-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.modal-submit-btn:not(:disabled):hover {
    background: var(--accent);
    color: var(--btn-text);
}

body.light-theme .voice-question {
    background: rgba(255, 255, 255, 0.92);
    border-color: #cbd5e1;
}

body.light-theme .voice-question:hover {
    border-color: rgba(0, 255, 200, 0.45);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

body.light-theme .voice-question .widget-title {
    color: #1e293b;
}

body.light-theme .voice-question .question-preview {
    color: #64748b;
}

body.light-theme .modal-container {
    background: #f8fafc;
    border-color: #94a3b8;
}

body.light-theme .modal-header {
    border-bottom-color: #e2e8f0;
    color: #0f172a;
}

body.light-theme .modal-subtitle {
    color: #64748b;
}

body.light-theme .modal-close {
    color: #0f172a;
}

.trending-now {
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 24px;
    padding: 1rem;
    margin-top: 1rem;
}

.trending-now__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.trending-now__icon {
    font-size: 1.1rem;
}

.trending-now__title {
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: #e0fff8;
}

.trending-now__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.trending-now__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.65rem;
    background: rgba(0, 255, 200, 0.04);
    border: 1px solid rgba(0, 255, 200, 0.1);
    border-radius: 10px;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.trending-now__item:hover {
    border-color: rgba(0, 255, 200, 0.3);
    background: rgba(0, 255, 200, 0.07);
}

.trending-now__rank {
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: #00ffc8;
    min-width: 1.2rem;
    text-align: center;
}

.trending-now__name {
    flex: 1;
    font-size: 0.78rem;
    color: #e0fff8;
}

.trending-now__count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: rgba(0, 255, 200, 0.6);
    white-space: nowrap;
}

.secret-room {
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 24px;
    padding: 1rem;
    margin-top: 1rem;
}

.secret-room__slash {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: #00ffc8;
    opacity: 0.7;
}

.secret-room__title {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    margin: 0.2rem 0 0.5rem;
}

.secret-room__desc {
    font-size: 0.7rem;
    color: #a0a0c0;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.secret-room__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.secret-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: #00ffc8;
    text-decoration: none;
    background: rgba(0, 255, 200, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    transition: 0.2s;
}

.secret-link.cozy {
    color: #E8A87C;
    background: rgba(232, 168, 124, 0.1);
}

.secret-link.soon {
    color: #888;
    background: rgba(136, 136, 136, 0.1);
    cursor: default;
}

.secret-link:hover:not(.soon) {
    background: rgba(0, 255, 200, 0.2);
    transform: translateY(-1px);
}

.lc-fullwidth {
    grid-column: span 2;
}

.lc-double-grid .lc-global-player {
    margin-bottom: 0;
}

.lc-double-grid .audiobooks-carousel-section {
    margin: 0;
}

.free-catalog-section,
.paid-catalog-section,
.special-collection {
    margin-bottom: 1rem;
}

/* Обводка секций каталогов в ряду 2 */
.free-catalog-section,
.paid-catalog-section {
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 20px;
    padding: 0.5rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.lc-double-grid--catalogs .free-catalog-section,
.lc-double-grid--catalogs .paid-catalog-section {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.free-catalog-section .carousel-track,
.paid-catalog-section .carousel-track {
    margin-bottom: 0;
}

.lc-double-grid--catalogs .free-catalog-section .carousel-track,
.lc-double-grid--catalogs .paid-catalog-section .carousel-track {
    margin-bottom: 0;
    flex: 1;
}

.lc-double-grid--catalogs .free-catalog-section {
    grid-column: 1 / 2;
    justify-self: stretch;
    align-self: start;
}

.lc-double-grid--catalogs .paid-catalog-section {
    grid-column: 2 / 3;
    margin-top: 0;
    align-self: start;
}


/* Специальная коллекция — полная ширина под двумя каталогами */
.audiobooks-carousel-section.special-collection {
    margin: 0 0 1rem;
    padding: 0.5rem;
    border-top: 1px solid rgba(0, 255, 200, 0.1);
}

.lc-main .section-title {
    margin-bottom: 0.8rem;
}

.special-collection .section-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: #00ffc8;
    text-shadow: 0 0 5px rgba(0, 255, 200, 0.3);
    margin-bottom: 1rem;
}

.special-collection .carousel-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.special-collection .carousel-arrow {
    align-self: center;
}

.special-collection .carousel-track {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    flex: 1;
    min-width: 0;
    mask-image: none;
    -webkit-mask-image: none;
}

.special-collection .audiobook-card {
    flex-shrink: 0;
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    min-height: 400px;
    height: auto;
    scroll-snap-align: start;
    position: relative;
    display: block;
    border-radius: 24px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    isolation: isolate;
}

.special-collection .audiobook-card:nth-child(1) { background-image: linear-gradient(135deg, #2a1a3a, #0a0a1a); }
.special-collection .audiobook-card:nth-child(2) { background-image: linear-gradient(135deg, #1a2a3a, #0a0a1a); }
.special-collection .audiobook-card:nth-child(3) { background-image: linear-gradient(135deg, #1e2f28, #0a0a1a); }
.special-collection .audiobook-card:nth-child(4) { background-image: linear-gradient(135deg, #3a241a, #0a0a1a); }
.special-collection .audiobook-card:nth-child(5) { background-image: linear-gradient(135deg, #2a2a2a, #0a0a1a); }
.special-collection .audiobook-card:nth-child(6) { background-image: linear-gradient(135deg, #1a2630, #0a0a1a); }

.special-collection .audiobook-card .card-cover {
    position: absolute;
    inset: 0;
    height: 100%;
    z-index: 1;
}

.special-collection .audiobook-card .card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.38) 48%, rgba(0, 0, 0, 0.18) 100%);
    z-index: 2;
}

.special-collection .audiobook-card .card-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 1rem;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.special-collection .audiobook-card .card-info p:last-of-type {
    margin-bottom: 0;
}

.special-collection .card-cover {
    background: transparent;
}

.special-collection .card-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.special-collection .audiobook-card .play-card-btn {
    align-self: flex-start;
    margin-top: 0.6rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
    background: #00ffc8;
    color: #0B0B0F;
    border: none;
}

.special-collection .audiobook-card .card-info h3 {
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
}

.special-collection .audiobook-card .card-info p {
    font-size: 0.7rem;
    line-height: 1.3;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .special-collection .audiobook-card {
        min-width: 250px;
        width: 250px;
        max-width: 250px;
        min-height: 350px;
        height: auto;
    }

    .special-collection .audiobook-card .card-info {
        padding: 1.2rem;
    }

    .special-collection .audiobook-card .card-info h3 {
        font-size: 1.5rem;
    }

    .special-collection .audiobook-card .card-info p {
        font-size: 0.9rem;
    }

    .special-collection .audiobook-card .play-card-btn {
        font-size: 0.9rem;
        padding: 0.65rem 0.9rem;
    }
}

/* Ряд 1: слева плеер + опрос, справа баннер */
.lc-global-player {
    min-height: auto;
    padding: 0.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.audio-player-card {
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 255, 200, 0.3);
    border-radius: 20px;
    padding: 0.75rem;
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 0.9rem;
    align-items: start;
    flex-grow: 1;
    height: 100%;
    box-sizing: border-box;
}

.audio-player-icon {
    font-size: 2rem;
    line-height: 1;
}

.audio-player-left {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.audio-player-info {
    min-width: 0;
}

.audio-player-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.2rem;
}

.audio-player-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: #00ffc8;
}

.audio-player-equalizer {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 16px;
}

.audio-player-equalizer .eq-bar {
    width: 3px;
    height: 10px;
    background: #00ffc8;
    border-radius: 2px;
    animation: cabinet-equalize 0.8s infinite ease-in-out;
}

.audio-player-equalizer .eq-bar:nth-child(2) {
    animation-delay: 0.1s;
}

.audio-player-equalizer .eq-bar:nth-child(3) {
    animation-delay: 0.2s;
}

.audio-player-equalizer .eq-bar:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes cabinet-equalize {
    0%,
    100% {
        transform: scaleY(0.8);
    }
    50% {
        transform: scaleY(1.5);
    }
}

.audio-player-desc {
    font-size: 0.7rem;
    color: #a0a0c0;
}

.rec-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 51, 102, 0.1);
    border-radius: 40px;
    padding: 4px 12px;
    margin-top: 6px;
    width: fit-content;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    border: 1px solid rgba(255, 51, 102, 0.3);
}

.rec-status__dot {
    width: 8px;
    height: 8px;
    background: #ff3366;
    border-radius: 50%;
    animation: pulse-red 1s infinite;
}

.rec-status__text {
    color: #ff8899;
    letter-spacing: 0.5px;
}

.rec-status__wave {
    display: flex;
    gap: 2px;
    align-items: center;
    margin-left: 4px;
}

.wave {
    width: 2px;
    height: 8px;
    background: #ff8899;
    animation: wave-anim 0.6s infinite alternate;
}

.wave:nth-child(2) { animation-delay: 0.2s; height: 12px; }
.wave:nth-child(3) { animation-delay: 0.4s; height: 6px; }

@keyframes wave-anim {
    0% { transform: scaleY(0.6); opacity: 0.6; }
    100% { transform: scaleY(1.2); opacity: 1; }
}

.audio-player-card .lc-global-player__wrap {
    min-width: 0;
}

.lc-global-player__wrap,
.lc-global-player .lc-voting-compact {
    width: 100%;
    margin: 0;
}

.lc-player-right-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
    min-height: 0;
    align-self: stretch;
    height: 100%;
}

.lc-voting-compact.lc-voting {
    padding: 0.8rem;
    margin: 0;
}

.lc-voting-compact .lc-voting__header {
    margin-bottom: 0.65rem;
    gap: 0.5rem;
}

.lc-voting-compact .lc-voting__icon {
    font-size: 1.25rem;
}

.lc-voting-compact .lc-voting__title {
    display: none;
}

.lc-voting-compact .lc-voting__subtitle {
    margin-bottom: 0.65rem;
    font-size: 0.68rem;
    line-height: 1.35;
}

.lc-voting-compact .lc-voting__options {
    gap: 0.4rem;
    margin-bottom: 0.65rem;
}

.lc-voting-compact .lc-voting__option {
    padding: 0.45rem 0.65rem;
}

.lc-voting-compact .lc-voting__footer {
    gap: 0.35rem;
}

.lc-voting-compact .lc-voting__btn {
    padding: 0.4rem 1rem;
    font-size: 0.65rem;
}

.lc-ad-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    aspect-ratio: 4 / 3;
    border-radius: 28px;
    overflow: hidden;
    max-height: 260px;
    width: 100%;
}

.lc-ad-banner:hover {
    border-color: #00ffc8;
    box-shadow: 0 4px 20px rgba(0, 255, 200, 0.2);
}

.ad-banner__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.ad-banner__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-banner__content {
    position: relative;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 1rem;
    width: 100%;
}

.ad-banner__label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 1px;
    color: #00ffc8;
    margin-bottom: 0.5rem;
}

.ad-banner__title {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 0.2rem 0;
    color: #ffffff;
    text-transform: none;
    letter-spacing: 0.02em;
}

.ad-banner__desc {
    font-family: 'Inter', monospace;
    font-size: 0.7rem;
    color: #c0c0d0;
    line-height: 1.4;
    margin: 0 0 0.5rem 0;
}

.ad-banner__btn {
    align-self: flex-start;
    background: transparent;
    border: 1px solid #00ffc8;
    border-radius: 30px;
    padding: 0.3rem 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: #00ffc8;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lc-main > .lc-double-grid:first-of-type {
    margin-bottom: 0.5rem;
    align-items: stretch;
}

.lc-global-player,
.lc-player-right-col {
    height: 100%;
}

.ad-banner__btn:hover {
    background: #00ffc8;
    color: #0B0B0F;
}

@media (max-width: 768px) {
    .lc-double-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    .lc-double-grid--player,
    .lc-double-grid--catalogs {
        gap: 1rem;
    }
    .lc-fullwidth {
        grid-column: span 1;
    }
    .lc-double-grid--catalogs .paid-catalog-section {
        grid-column: span 1;
    }
    .lc-double-grid--catalogs .free-catalog-section {
        grid-column: span 1;
    }
    .audio-player-card {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 0.7rem;
    }
    .audio-player-card .lc-global-player__wrap {
        min-width: 0;
    }
}
.lc-social__lead {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    max-width: 600px;
}
.lc-social__channel {
    margin-bottom: 1rem;
}
.lc-social__channel a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}
.lc-social__channel a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}
.lc-social-embed-wrap {
    margin-bottom: 0.5rem;
}
.lc-social-embed {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--card-border);
}
.lc-social-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.lc-social-embed-note {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}
.lc-social-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.lc-soc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: var(--card);
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition);
}
.lc-soc-btn:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.lc-soc-btn__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.lc-soc-btn__icon svg {
    width: 100%;
    height: 100%;
}
.lc-soc-btn--yt:hover {
    border-color: #ff0000;
    color: #ff0000;
}
.lc-soc-btn--tt:hover {
    border-color: #00f2ea;
    color: #00f2ea;
}
.lc-soc-btn__hint {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Back link */
.lc-back-link {
    text-align: center;
    margin-bottom: 2rem;
}
.lc-back-link a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}
.lc-back-link a:hover {
    color: var(--accent);
}

/* Cabinet responsive */
@media (max-width: 768px) {
    .lc-header-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .lc-welcome-card {
        grid-column: 1 / -1;
    }
    .lc-main {
        padding-top: 76px;
    }
    .lc-tiles { grid-template-columns: repeat(2, 1fr); }
    .lc-ad-grid { grid-template-columns: 1fr; }
    .lc-dual { grid-template-columns: 1fr; }
    .lc-secret-room { flex-direction: column; text-align: center; }
    .lc-shelf { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

/* ============================================
   LIBRARY — Моя библиотека
   ============================================ */

.lc-library {
    margin-bottom: 2.5rem;
}

.lc-library__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.lc-player-card {
    max-width: 550px;
    margin: 30px auto;
    background: #080a0f;
    border: 1px solid rgba(0,255,200,0.15);
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 4px 30px rgba(0,255,200,0.06);
    transition: all var(--transition);
}

.lc-player-card:hover {
    border-color: rgba(0,255,200,0.35);
    box-shadow: 0 4px 30px rgba(0,255,200,0.12);
}

.lc-player-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.lc-player-card__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
}

/* Badge */
.lc-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

.lc-badge--dev {
    color: #080a0f;
    background-color: #f0c040;
}

.lc-badge--free {
    color: #080a0f;
    background-color: #4ade80;
}

.lc-badge--pro {
    color: #080a0f;
    background-color: #00ffc8;
}

/* Now playing line */
.lc-now-playing {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    min-height: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-bottom 0.3s ease;
}

.lc-now-playing--visible {
    max-height: 2rem;
    opacity: 1;
    margin-bottom: 0.5rem;
}

/* Tracklist */
.lc-tracklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lc-tracklist li {
    margin-bottom: 4px;
}

.lc-tracklist li:last-child {
    margin-bottom: 0;
}

.lc-track {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    text-align: left;
}

.lc-track:hover {
    background-color: rgba(0,255,200,0.05);
    border-color: rgba(0,255,200,0.25);
}

.lc-track.active {
    color: #00ffc8;
    border-color: rgba(0,255,200,0.4);
    background-color: rgba(0,255,200,0.06);
    text-shadow: 0 0 8px rgba(0,255,200,0.3);
}

.lc-track__play {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: inherit;
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: all var(--transition);
}

.lc-track:hover .lc-track__play {
    border-color: rgba(0,255,200,0.3);
}

.lc-track.active .lc-track__play {
    border-color: #00ffc8;
    color: #080a0f;
    background-color: #00ffc8;
}

.lc-track__name {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lc-track__dur {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.lc-track.active .lc-track__dur {
    color: #00ffc8;
}

/* Library responsive */
@media (max-width: 768px) {
    .lc-player-card {
        max-width: 100%;
        margin: 20px 0;
        padding: 12px;
    }
    .lc-player-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ============================================
   BACK TO TOP — Кнопка «Наверх»
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: transparent;
    color: #b7bcc8;
    border: 1.5px solid rgba(183, 188, 200, 0.75);
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px rgba(11, 11, 15, 0.9), 0 6px 18px rgba(0, 0, 0, 0.45);
}
.back-to-top.active {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: rgba(183, 188, 200, 0.08);
    color: #d6dbe5;
    border-color: rgba(214, 219, 229, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 0 0 2px rgba(11, 11, 15, 0.95), 0 10px 24px rgba(0, 0, 0, 0.55);
}

/* ============================================
   EQUALIZER — Эквалайзер в плеере
   ============================================ */

.eq-container {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
}
.eq-bar {
    width: 3px;
    background: #00ffc8;
    border-radius: 2px;
    height: 5px;
    transition: height 0.1s;
}
.eq-container.playing .eq-bar {
    animation: eq-dance 0.8s ease-in-out infinite alternate;
}
.eq-container.playing .eq-bar:nth-child(1) { animation-delay: 0s; }
.eq-container.playing .eq-bar:nth-child(2) { animation-delay: 0.2s; }
.eq-container.playing .eq-bar:nth-child(3) { animation-delay: 0.4s; }
.eq-container.playing .eq-bar:nth-child(4) { animation-delay: 0.1s; }

@keyframes eq-dance {
    0% { height: 5px; }
    100% { height: 18px; }
}

/* ============================================
   BACKGROUND RADIO — Фоновое радио
   ============================================ */

.bg-radio {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 10px 20px;
    background: rgba(8, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: background-color 0.4s ease;
}

body.light-theme .bg-radio {
    background: rgba(16, 18, 26, 0.9);
}

.bg-radio__play {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    background: none;
    color: var(--accent);
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.bg-radio__play:hover {
    background: var(--accent);
    color: var(--bg);
}

.bg-radio__play--active {
    background: var(--accent);
    color: var(--bg);
}

.bg-radio .eq-container {
    flex-shrink: 0;
}

.bg-radio__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bg-radio__name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.bg-radio__sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.radio-tune {
    margin-top: 0;
    text-align: center;
}

.tune-btn {
    background: rgba(0, 255, 200, 0.1);
    border: 1px solid rgba(0, 255, 200, 0.4);
    border-radius: 40px;
    padding: 4px 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: #00ffc8;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tune-btn i {
    font-size: 0.7rem;
}

.tune-btn:hover {
    background: rgba(0, 255, 200, 0.2);
    transform: scale(1.02);
    box-shadow: 0 0 8px rgba(0, 255, 200, 0.3);
}

.bg-radio__vol {
    -webkit-appearance: none;
    appearance: none;
    width: 84px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    flex-shrink: 0;
}

.bg-radio__vol::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #00ffc8;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(0, 255, 200, 0.4);
    transition: transform 0.2s ease;
}

.bg-radio__vol::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.bg-radio__vol::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #00ffc8;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 6px rgba(0, 255, 200, 0.4);
}

.bg-radio__vol::-moz-range-track {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    border: none;
}

/* Компенсация: отступ внизу страницы, чтобы радио не перекрывало контент */
body {
    padding-bottom: 52px;
}

/* Мобильные: компактный вид */
@media (max-width: 768px) {
    .bg-radio {
        gap: 10px;
        padding: 8px 12px;
    }
    .bg-radio__play {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }
    .bg-radio .eq-container {
        height: 14px;
    }
    .bg-radio .eq-bar {
        width: 2.5px;
    }
    .bg-radio__info {
        display: none;
    }
    .tune-btn {
        padding: 4px 10px;
        font-size: 0.56rem;
        gap: 6px;
    }
    .tune-btn .tune-freq {
        display: none;
    }
    .bg-radio__vol {
        width: 56px;
    }
    body {
        padding-bottom: 44px;
    }
}

/* ===== ГЛОБАЛЬНЫЙ APLAYER (кабинет) ===== */
.lc-global-player {
    margin-bottom: 2.5rem;
}

.lc-global-player__wrap {
    background: #0a0c12;
    border: 1px solid rgba(0,255,200,0.15);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 4px 30px rgba(0,255,200,0.06);
    transition: all var(--transition);
    min-height: 44px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lc-global-player__wrap:hover {
    border-color: rgba(0,255,200,0.35);
    box-shadow: 0 4px 30px rgba(0,255,200,0.12);
}

.lc-global-player__hint {
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: rgba(224,255,248,0.4);
    padding: 1rem 0;
    letter-spacing: 0.05em;
}

.lc-global-player .aplayer {
    background: transparent !important;
    border: none !important;
    font-family: 'Space Mono', monospace !important;
    border-radius: 10px !important;
    max-width: 100%;
    max-height: 400px;
    margin: 0 !important;
    overflow: hidden;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
}

.lc-global-player .aplayer .aplayer-body {
    flex-shrink: 0;
}

.lc-global-player .aplayer .aplayer-info,
.lc-global-player .aplayer .aplayer-pic {
    flex-shrink: 0;
}

/* ===== ЗАГЛУШКА «СКОРО» ===== */
.lc-soon-card {
    background-color: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    opacity: 0.6;
}

.lc-soon-card__h {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.lc-soon-card__p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== APlayer: Киберпанк-стилизация ===== */
.lc-player-card .aplayer {
    background: #0a0c12 !important;
    border: none !important;
    font-family: 'Space Mono', monospace !important;
    border-radius: 10px !important;
    max-width: 100%;
    margin: 0 !important;
    overflow: hidden;
}

.aplayer .aplayer-info .aplayer-music .aplayer-title,
.aplayer .aplayer-info .aplayer-music .aplayer-author {
    color: #e0fff8 !important;
}

.aplayer .aplayer-bar-wrap .aplayer-bar {
    background: rgba(0,255,200,0.1) !important;
}

.aplayer .aplayer-bar-wrap .aplayer-bar .aplayer-loaded {
    background: rgba(0,255,200,0.3) !important;
}

.aplayer .aplayer-bar-wrap .aplayer-bar .aplayer-played {
    background: #00ffc8 !important;
}

.aplayer .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb {
    background: #00ffc8 !important;
    box-shadow: 0 0 8px #00ffc8 !important;
}

.aplayer .aplayer-time {
    color: rgba(224,255,248,0.5) !important;
}

.aplayer .aplayer-icon {
    color: #00ffc8 !important;
    fill: #00ffc8 !important;
}

.aplayer .aplayer-icon:hover {
    fill: rgba(0,255,200,0.7) !important;
}

/* Плейлист: тёмный фон, ограниченная высота, внутренний скролл */
.aplayer .aplayer-list {
    background: #0a0c12 !important;
    border-top: 1px solid rgba(0,255,200,0.1) !important;
    max-height: 240px !important;
    min-height: 0;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    flex-shrink: 1;
    scrollbar-width: thin;
    scrollbar-color: #00ffc8 #1a1a2a;
}

.aplayer-list,
.aplayer .aplayer-list {
    max-height: 240px !important;
    overflow-y: auto !important;
}

.aplayer .aplayer-list::-webkit-scrollbar {
    width: 4px;
}

.aplayer .aplayer-list::-webkit-scrollbar-track {
    background: #1a1a2a;
    border-radius: 4px;
}

.aplayer .aplayer-list::-webkit-scrollbar-thumb {
    background: #00ffc8;
    border-radius: 4px;
}

.aplayer .aplayer-list ol li {
    color: rgba(224,255,248,0.6) !important;
    border-top: 1px solid rgba(0,255,200,0.06) !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 0.75rem !important;
}

.aplayer .aplayer-list ol li:hover {
    background: rgba(0,255,200,0.08) !important;
    color: #00ffc8 !important;
}

.aplayer .aplayer-list ol li.aplayer-list-light {
    background: rgba(0,255,200,0.1) !important;
    color: #00ffc8 !important;
}

.aplayer .aplayer-list ol li .aplayer-list-cur {
    background: #00ffc8 !important;
}

/* Мобильная адаптация APlayer */
@media (max-width: 768px) {
    .lc-global-player .aplayer {
        max-height: 360px;
    }

    .aplayer .aplayer-list,
    .aplayer-list {
        max-height: 180px !important;
    }

    .lc-player-card .aplayer {
        max-width: 100%;
        margin: 0 !important;
        border-radius: 8px !important;
    }
    .aplayer .aplayer-info .aplayer-music .aplayer-title,
    .aplayer .aplayer-info .aplayer-music .aplayer-author {
        font-size: 12px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .aplayer .aplayer-body {
        flex-direction: column;
    }
    .aplayer .aplayer-time {
        display: none;
    }
}

/* ===== Заглушка PRO-контента ===== */
.lc-lock-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem 1.5rem;
    background: rgba(0,255,200,0.03);
    border: 1px solid rgba(0,255,200,0.12);
    border-radius: 10px;
    text-align: center;
}

.lc-lock-placeholder__icon {
    font-size: 2rem;
    opacity: 0.7;
}

.lc-lock-placeholder__text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    color: rgba(224,255,248,0.6);
    line-height: 1.5;
    margin: 0;
}

.lc-lock-placeholder__btn {
    display: inline-block;
    padding: 10px 22px;
    background: transparent;
    border: 1px solid #00ffc8;
    border-radius: 8px;
    color: #00ffc8;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lc-lock-placeholder__btn:hover {
    background: rgba(0,255,200,0.1);
    box-shadow: 0 0 16px rgba(0,255,200,0.15);
    transform: translateY(-1px);
}

/* ===== Карточка-плеер для блока "Сегодня" ===== */
.today-player {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 200, 0.3);
    border-radius: 20px;
    padding: 1.2rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.player-cover-mini {
    width: 80px;
    height: 80px;
    background: #1a1a2a;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.player-cover-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ffc8;
    font-size: 0.8rem;
    opacity: 0;
    transition: 0.2s;
}

.player-cover-mini:hover .play-overlay {
    opacity: 1;
}

.player-info {
    flex: 2;
    min-width: 180px;
}

.player-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #00ffc8;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.player-title {
    font-family: 'Orbitron', monospace;
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.player-progress {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0.7rem 0;
}

.time-current, .time-total {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #a0a0c0;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: #2a2a3a;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: #00ffc8;
    border-radius: 4px;
    box-shadow: 0 0 4px #00ffc8;
}

.player-status {
    font-size: 0.75rem;
    color: #c0c0d0;
}

.player-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.reminder-btn, .continue-btn {
    background: transparent;
    border: 1px solid #00ffc8;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    cursor: pointer;
    transition: 0.2s;
}

.reminder-btn {
    color: #a0a0c0;
    border-color: #3a3a4a;
}

.continue-btn {
    background: #00ffc8;
    color: #0B0B0F;
    font-weight: bold;
}

.reminder-btn:hover {
    border-color: #00ffc8;
    color: #00ffc8;
}

.continue-btn:hover {
    background: transparent;
    color: #00ffc8;
}

/* ===== ФУТЕР (cabinet: бренд+соцсети | продление; снизу ссылки и копирайт) ===== */
footer {
    margin-top: 0;
    background: rgba(5, 5, 10, 0.8);
    border-top: none;
    padding: 0.5rem 1rem 1.5rem;
}

.footer-top-spacer {
    height: 3rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

/* Сетка кабинета: только там, где есть .footer-container */
.footer-container .footer__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}

.footer-container .footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    color: inherit;
}

.footer-container .footer__brand-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: -0.5rem;
}

.footer-container .footer__brand-row .footer-logo-img {
    height: 144px;
    width: auto;
    margin-bottom: 0;
    display: block;
    flex-shrink: 0;
}

.footer-container .footer__brand-row .footer-logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--accent);
    line-height: 1.1;
}

.footer-container .footer__brand .social-grid {
    width: 100%;
    margin-bottom: 0;
}

.footer-container .footer__brand .social-title {
    text-align: left;
}

.footer-container .footer__bottom {
    text-align: center;
    border-top: 1px solid rgba(0, 255, 200, 0.2);
    padding-top: 1.5rem;
}

.footer-container .footer__links--cabinet {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    font-family: inherit;
    font-size: inherit;
}

.footer-container .footer__links--cabinet a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #888;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-container .footer__links--cabinet a:hover {
    color: var(--accent);
}

.footer-logo-img {
    height: 144px;
    width: auto;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .footer-logo-img {
        height: 60px;
    }
}

.footer-logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #00ffc8;
}

.subscription-renew {
    background: rgba(10, 10, 20, 0.4);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 20px;
    padding: 1rem;
}

.renew-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent);
    margin: 0 0 0.35rem;
    text-align: center;
}

.renew-base {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--text-secondary);
    text-align: center;
    margin: 0 0 0.75rem;
}

.renew-plans {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.renew-plan {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    padding: 0.5rem 0.65rem;
    background: rgba(0, 255, 200, 0.05);
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.renew-plan:hover {
    background: rgba(0, 255, 200, 0.08);
    transform: translateX(3px);
}

.renew-plan.selected {
    border-color: var(--accent);
    background: rgba(0, 255, 200, 0.12);
}

.plan-period {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text);
}

.plan-discount {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--accent);
}

.plan-price-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 0.1rem;
    margin-left: auto;
}

.plan-price {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
}

.plan-was {
    font-family: var(--font-body);
    font-size: 0.55rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.renew-btn {
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: 1px solid var(--accent);
    border-radius: 30px;
    padding: 0.48rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--accent);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.renew-btn:hover {
    background: rgba(0, 255, 200, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 0 12px rgba(0, 255, 200, 0.15);
}

.crypto-pay {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 255, 200, 0.12);
}

.crypto-pay__toggle {
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: 1px dashed rgba(0, 255, 200, 0.35);
    border-radius: 12px;
    padding: 0.45rem 0.65rem;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.crypto-pay__toggle:hover,
.crypto-pay__toggle--open {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 255, 200, 0.05);
}

.crypto-pay__panel {
    margin-top: 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.crypto-pay__lead {
    margin: 0;
    font-size: 0.62rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.crypto-pay__lead strong {
    color: var(--accent);
    font-weight: 600;
}

.crypto-pay__wallets {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.crypto-pay__wallet {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.5rem 0.6rem;
    background: rgba(0, 255, 200, 0.04);
    border: 1px solid rgba(0, 255, 200, 0.15);
    border-radius: 10px;
}

.crypto-pay__network {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
}

.crypto-pay__address {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    word-break: break-all;
    color: var(--text);
    line-height: 1.4;
}

.crypto-pay__copy {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    padding: 0.28rem 0.55rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 200, 0.35);
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.crypto-pay__copy:hover {
    background: rgba(0, 255, 200, 0.1);
    transform: translateY(-1px);
}

.crypto-pay__telegram {
    display: block;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    padding: 0.5rem 0.75rem;
    border-radius: 30px;
    color: #0b0b0f;
    background: #00ffc8;
    text-decoration: none;
    transition: filter var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 0 14px rgba(0, 255, 200, 0.25);
}

.crypto-pay__telegram:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 0 22px rgba(0, 255, 200, 0.4);
}

body.light-theme .crypto-pay__toggle {
    border-color: rgba(0, 140, 110, 0.35);
}

body.light-theme .crypto-pay__wallet {
    background: rgba(0, 140, 110, 0.05);
    border-color: rgba(0, 140, 110, 0.2);
}

@media (max-width: 768px) {
    .footer-container .footer__top {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .footer-container .subscription-renew {
        order: -1;
    }

    .footer-container .footer__brand {
        align-items: center;
        text-align: center;
    }

    .footer-container .footer__brand-row {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-container .footer__brand .social-title {
        text-align: center;
    }

    .footer-container .footer__brand .social-cards {
        justify-content: center;
    }

    .plan-price-col {
        align-items: flex-start;
        text-align: left;
        margin-left: 0;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}

body.light-theme .subscription-renew {
    background: rgba(255, 255, 255, 0.9);
    border-color: #cbd5e1;
}

body.light-theme .renew-plan {
    background: rgba(15, 23, 42, 0.04);
}

body.light-theme .renew-plan:hover {
    background: rgba(0, 255, 200, 0.08);
}

body.light-theme .renew-plan.selected {
    background: rgba(0, 255, 200, 0.12);
}

body.light-theme .plan-period {
    color: #1e293b;
}

body.light-theme .renew-base,
body.light-theme .plan-was {
    color: #64748b;
}

.footer__copyright,
.footer-copyright {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: #555;
}

body.light-theme .footer-container .footer__bottom {
    border-top-color: #e2e8f0;
}

body.light-theme .footer-container .footer__links--cabinet a {
    color: #64748b;
}

/* ===== РЕФЕРАЛЬНЫЙ БЛОК ===== */
.referral-block {
    background: rgba(10, 10, 20, 0.4);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 20px;
    padding: 1rem;
    margin-top: 1rem;
}

.referral-block__title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--accent);
    margin: 0 0 0.35rem;
    text-align: center;
}

.referral-block__desc {
    font-family: var(--font-body);
    font-size: 0.62rem;
    color: var(--text-secondary);
    text-align: center;
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.referral-block__copy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.referral-block__link {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--text);
    background: rgba(0, 255, 200, 0.05);
    border: 1px solid rgba(0, 255, 200, 0.15);
    border-radius: 8px;
    padding: 0.4rem 0.55rem;
    word-break: break-all;
    line-height: 1.4;
}

.referral-block__btn {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.referral-block__btn:hover {
    background: rgba(0, 255, 200, 0.1);
    transform: translateY(-1px);
}

.referral-block__btn:active {
    background: rgba(0, 255, 200, 0.2);
}

.referral-block__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    padding: 0.45rem 0.75rem;
    border-radius: 30px;
    color: #0b0b0f;
    background: #00ffc8;
    text-decoration: none;
    transition: filter var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 0 14px rgba(0, 255, 200, 0.25);
}

.referral-block__social:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 0 22px rgba(0, 255, 200, 0.4);
}

body.light-theme .referral-block {
    background: rgba(255, 255, 255, 0.9);
    border-color: #cbd5e1;
}

body.light-theme .referral-block__link {
    background: rgba(15, 23, 42, 0.04);
    border-color: #cbd5e1;
    color: #1e293b;
}

body.light-theme .referral-block__desc {
    color: #64748b;
}

/* ===== КАРУСЕЛЬ ДЛЯ АУДИОКНИГ ===== */
.audiobooks-carousel-section {
    margin: 3rem 0;
}

.carousel-container {
    position: relative;
}

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.carousel-arrows {
    display: flex;
    gap: 0.5rem;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1.5rem;
    padding: 1rem 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: #00ffc8 #1a1a2a;
    flex: 1;
    -webkit-mask-image: linear-gradient(to right, black 90%, transparent 98%);
    mask-image: linear-gradient(to right, black 90%, transparent 98%);
}

.carousel-track::-webkit-scrollbar {
    height: 6px;
}

.carousel-track::-webkit-scrollbar-track {
    background: #1a1a2a;
    border-radius: 10px;
}

.carousel-track::-webkit-scrollbar-thumb {
    background: #00ffc8;
    border-radius: 10px;
}

.audiobook-card {
    min-width: 260px;
    max-width: 260px;
    min-height: auto;
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
    padding: 0.5rem;
}

/* Компактные карточки в каталогах кабинета */
.free-catalog-section .audiobook-card,
.paid-catalog-section .audiobook-card {
    min-width: 150px;
    max-width: 160px;
    padding: 0.5rem;
}

.audiobook-card:hover {
    border-color: #00ffc8;
    transform: rotate(0.5deg) scale(1.02);
    box-shadow: 0 0 8px rgba(0, 255, 200, 0.3);
}

.audiobook-card:active {
    transform: rotate(0.5deg) scale(0.98);
}

.card-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 0.4rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 255, 200, 0.2);
}

.card-cover.card-cover--palette-1 {
    background: linear-gradient(135deg, #2a1a3e 0%, #0f0a18 52%, #0a0a12 100%);
}

.card-cover.card-cover--palette-2 {
    background: linear-gradient(135deg, #1a2d4e 0%, #102030 48%, #0a0f18 100%);
}

.card-cover.card-cover--palette-3 {
    background: linear-gradient(135deg, #1e3832 0%, #142420 48%, #0a1210 100%);
}

.card-cover.card-cover--palette-4 {
    background: linear-gradient(135deg, #1f2f45 0%, #152038 52%, #0a1018 100%);
}

.card-cover.card-cover--palette-5 {
    background: linear-gradient(135deg, #3a1c28 0%, #201018 52%, #0c080c 100%);
}

.card-cover.card-cover--palette-6 {
    background: linear-gradient(135deg, #2f2418 0%, #181008 52%, #0a0806 100%);
}

.card-cover.card-cover--palette-7 {
    background: linear-gradient(135deg, #252040 0%, #161028 52%, #0c0a12 100%);
}

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

.free-catalog-section .card-cover__photo,
.paid-catalog-section .card-cover__photo {
    position: relative;
    z-index: 1;
}

.card-cover .cover-placeholder {
    position: relative;
    z-index: 1;
    font-size: 2.35rem;
    line-height: 1;
    color: var(--accent);
    text-align: center;
    opacity: 0.82;
    text-shadow: 0 0 20px rgba(0, 255, 200, 0.4);
    pointer-events: none;
    user-select: none;
}

.free-catalog-section .card-cover .cover-placeholder,
.paid-catalog-section .card-cover .cover-placeholder {
    font-size: 2rem;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.6rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: bold;
}

.badge.free { background: #2a6b2a; color: #aaffaa; }
.badge.pro { background: #6b2a6b; color: #ffaaff; }

.card-info {
    padding: 0.3rem 0;
}

.card-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-subtitle,
.card-meta {
    font-size: 0.55rem;
    color: #8a8a9a;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-status.coming-soon {
    text-align: center;
    margin-top: 0.5rem;
}

.status-badge {
    display: inline-block;
    background: rgba(200, 200, 200, 0.15);
    border: 1px solid #6c6c7a;
    border-radius: 30px;
    padding: 0.2rem 0.6rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    color: #a0a0b0;
}

.status-date {
    display: block;
    font-size: 0.5rem;
    color: #888;
    margin-top: 0.2rem;
}

.card-progress {
    margin: 0.3rem 0;
}

.progress-text {
    font-size: 0.55rem;
    font-family: monospace;
    color: #ccc;
}

.play-card-btn, .buy-plan-btn {
    width: 100%;
    padding: 0.2rem 0.4rem;
    background: transparent;
    border: 1px solid #00ffc8;
    border-radius: 30px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.play-card-btn {
    background: transparent !important;
    border: 1px solid #6c6c7a !important;
    color: #8a8a9a !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 20px !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-block;
    width: auto;
    text-align: center;
    margin-top: 0.2rem;
}

.play-card-btn.disabled {
    opacity: 0.5;
    cursor: default;
    border-color: #6c6c7a !important;
    color: #8a8a9a !important;
}

.play-card-btn.disabled:hover {
    background: transparent !important;
    transform: none;
    box-shadow: none;
}

.audiobook-card--coming-soon {
    opacity: 0.78;
    border-color: rgba(108, 108, 122, 0.45);
}

.audiobook-card--coming-soon .card-cover {
    filter: saturate(0.75) brightness(0.9);
}

.play-card-btn:hover {
    background: transparent !important;
    border-color: #00ffc8 !important;
    color: #00ffc8 !important;
    transform: translateX(2px);
    box-shadow: none;
}

.free-catalog-section h2,
.paid-catalog-section h2 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0;
    text-align: center;
}

.paid-catalog-section .paid-card[data-book-id="cyberpunk-pereproshivka"] .card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
}

.buy-plan-btn {
    color: #00ffc8;
}

.buy-plan-btn:hover {
    background: #00ffc8;
    color: #0B0B0F;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 200, 0.3);
    background: rgba(11, 11, 15, 0.85);
    backdrop-filter: blur(8px);
    color: #00ffc8;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-arrow.prev { left: -10px; }
.carousel-arrow.next { right: -10px; }

.carousel-arrow:hover {
    background: rgba(0, 255, 200, 0.15);
    box-shadow: 0 0 15px rgba(0, 255, 200, 0.4);
    border-color: #00ffc8;
}

.carousel-arrow-prev,
.carousel-arrow-next {
    animation: carousel-arrow-pulse 2.2s ease-in-out infinite;
}

.carousel-arrow-next {
    animation-delay: 0.2s;
}

@keyframes carousel-arrow-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 rgba(0, 255, 200, 0);
    }
    50% {
        box-shadow: 0 0 8px rgba(0, 255, 200, 0.25);
    }
}

/* Мобильная адаптация карусели */
@media (max-width: 600px) {
    .audiobook-card {
        min-width: 220px;
        max-width: 220px;
    }
    .carousel-arrow {
        display: none;
    }
}


/* ===== CYBER-BANNERS — ФИОЛЕТОВЫЙ ВАРИАНТ ===== */
.cyber-banners--purple .cyber-banners__eyebrow {
    color: #7c8cf8;
    background-color: rgba(124, 140, 248, 0.12);
}
.cyber-banners--purple .cyber-banner__tag {
    color: #7c8cf8;
}
.cyber-banners--purple .cyber-banner:hover {
    border-color: #7c8cf8;
}
.cyber-banners--purple .cyber-banner__link {
    color: #7c8cf8;
}
.cyber-banners--purple .cyber-banners__cta-link {
    border-color: #7c8cf8;
    color: #7c8cf8;
}
.cyber-banners--purple .cyber-banners__cta-link:hover {
    background-color: #7c8cf8;
    color: #0c1220;
}
.cyber-banners--purple .cyber-banner__art img {
    filter: saturate(0.8) brightness(0.75) contrast(1.1) hue-rotate(20deg);
}
.cyber-banners--purple .cyber-banner:hover .cyber-banner__art img {
    filter: saturate(0.9) brightness(0.8) contrast(1.1) hue-rotate(20deg);
}

/* ===== FOOTER LOGO ===== */
.footer__logo-img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* ===== COZY HOME PROMO (3 зум-блока + оранжевый) ===== */
.cozy-promo {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 2.5rem 2rem;
    background: rgba(255, 140, 0, 0.05);
    border: 1px solid rgba(255, 140, 0, 0.25);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cozy-promo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(255, 140, 0, 0.09) 0%, transparent 60%);
    pointer-events: none;
}

.cozy-promo__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cozy-promo__icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.cozy-promo__slash {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    color: #ff8c00;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.25rem;
}

.cozy-promo__title {
    font-family: 'Orbitron', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ff8c00;
    text-shadow: 0 0 12px rgba(255, 140, 0, 0.35);
    text-transform: none;
    letter-spacing: 0.04em;
}

.cozy-promo__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cozy-promo__block {
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 140, 0, 0.22);
    border-radius: 18px;
    padding: 1.8rem 1.4rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    overflow: hidden;
    position: relative;
}

.cozy-promo__block::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: radial-gradient(circle at 50% 0%, rgba(232, 168, 124, 0.12) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.cozy-promo__block:hover {
    border-color: #ff8c00;
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(255, 140, 0, 0.24);
}

.cozy-promo__block:hover::after {
    opacity: 1;
    background: radial-gradient(circle at 50% 0%, rgba(232, 168, 124, 0.16) 0%, transparent 70%);
}

.cozy-promo__block-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    opacity: 0.85;
    transition: opacity 0.35s ease;
}

.cozy-promo__block:hover .cozy-promo__block-img {
    opacity: 1;
}

.cozy-promo__block-content {
    position: relative;
    z-index: 1;
}

.cozy-promo__block-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.cozy-promo__block-title {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: #ff8c00;
    margin-bottom: 0.5rem;
}

.cozy-promo__block-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #E8A87C;
    line-height: 1.55;
}

.cozy-promo__cta {
    display: inline-block;
    padding: 10px 28px;
    border: 1.5px solid #ff8c00;
    border-radius: 12px;
    font-family: 'Space Mono', monospace;
    font-size: 0.82rem;
    font-weight: 600;
    color: #ff8c00;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.cozy-promo__cta:hover {
    background: rgba(255, 140, 0, 0.12);
    box-shadow: 0 0 24px rgba(255, 140, 0, 0.28);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cozy-promo {
        margin-left: 1rem;
        margin-right: 1rem;
        padding: 1.5rem 1.25rem;
    }
    .cozy-promo__grid {
        grid-template-columns: 1fr;
    }
    .cozy-promo__block:hover {
        transform: scale(1.02);
    }
}

/* ===== КИРИЛЛИЦА-ФИКС И УБИРАНИЕ КУРСИВА ===== */
em, i, .italic, blockquote, .testimonial-text, .scientific-text {
    font-style: normal !important;
}

body, p, li, a, button, .card, .rubricator__item, .tariff-card, .form-input {
    font-style: normal !important;
}

/* ===== ДЕМО-ПЛЕЕР ===== */
.demo-player-section {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1rem;
}
.voice-and-player-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
    margin: 2rem auto;
}
.voice-card {
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}
.voice-icon {
    display: none;
}
.voice-text {
    font-family: 'Inter', monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #d0d0e0;
    margin: 0;
}
.demo-player-card {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.75rem;
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 20px;
    padding: 1rem;
    min-height: 100px;
    height: 100%;
    max-height: none;
    overflow: hidden;
    box-shadow: 0 0 18px rgba(0, 255, 200, 0.08);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.demo-player-card:hover {
    border-color: #00ffc8;
    box-shadow: 0 0 22px rgba(0, 255, 200, 0.16);
}
.demo-player-cover {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}
.demo-player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 200, 0.45);
}
.demo-player-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.18rem;
}
.demo-player-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.82rem;
    font-weight: 500;
    color: #dffef7;
    margin: 0;
    letter-spacing: 0;
    line-height: 1.2;
}
.demo-player-artist {
    font-family: 'Inter', monospace;
    font-size: 0.66rem;
    color: #a0a0c0;
    margin: 0;
    line-height: 1.2;
}
.demo-play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #00ffc8;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0B0B0F;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.demo-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.35);
}
.demo-progress-container {
    display: flex;
    align-items: center;
    gap: 0.42rem;
    margin-top: 0.15rem;
}
.demo-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: #8e8ea8;
    flex-shrink: 0;
}
.demo-progress-bar {
    flex: 1;
    height: 2px;
    background: #2a2a3a;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}
.demo-progress-fill {
    width: 0%;
    height: 100%;
    background: #00ffc8;
    border-radius: 2px;
    box-shadow: 0 0 6px #00ffc8;
    transition: width 0.1s linear;
}
.demo-cta {
    flex-shrink: 0;
}
.demo-subscribe-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.64rem;
    font-weight: 500;
    color: #00ffc8;
    text-decoration: none;
    border-bottom: 1px dashed #00ffc8;
    white-space: nowrap;
    line-height: 1.1;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.demo-subscribe-link:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}
@media (max-width: 768px) {
    .voice-and-player-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .demo-player-card {
        min-height: 100px;
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
        gap: 0.6rem;
    }
    .demo-player-info {
        min-width: 0;
    }
    .demo-subscribe-link {
        font-size: 0.58rem;
    }
}

/* ===== БЛОК ГОЛОСОВАНИЯ (CABINET) ===== */
.lc-voting {
    background: rgba(10, 10, 20, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 24px;
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
}
.lc-voting__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.lc-voting__icon {
    font-size: 1.5rem;
}
.lc-voting__title {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e0fff8;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.lc-voting__subtitle {
    font-family: 'Inter', monospace;
    font-size: 0.75rem;
    color: #a0a0c0;
    margin-bottom: 1.25rem;
}
.lc-voting__options {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}
.lc-voting__option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 200, 0.04);
    border: 1px solid rgba(0, 255, 200, 0.15);
    border-radius: 14px;
    padding: 0.5rem 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}
.lc-voting__option:hover {
    border-color: rgba(0, 255, 200, 0.4);
    background: rgba(0, 255, 200, 0.08);
}
.lc-voting__option--selected {
    border-color: #00ffc8;
    background: rgba(0, 255, 200, 0.1);
}
.lc-voting__option--disabled {
    cursor: default;
    pointer-events: none;
}
.lc-voting__radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 200, 0.4);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.lc-voting__option--selected .lc-voting__radio {
    border-color: #00ffc8;
    background: #00ffc8;
}
.lc-voting__radio::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0B0B0F;
    opacity: 0;
    transition: opacity 0.2s;
}
.lc-voting__option--selected .lc-voting__radio::after {
    opacity: 1;
}
.lc-voting__option-text {
    font-family: 'Inter', monospace;
    font-size: 0.7rem;
    color: #c0c0d0;
    flex: 1;
}
.lc-voting__option--selected .lc-voting__option-text {
    color: #e0fff8;
}
.lc-voting__bar-wrap {
    flex: 1;
    display: none;
}
.lc-voting__option--results .lc-voting__radio {
    display: none;
}
.lc-voting__option--results .lc-voting__bar-wrap {
    display: block;
}
.lc-voting__bar-bg {
    width: 100%;
    height: 4px;
    background: #1a1a2e;
    border-radius: 2px;
    overflow: hidden;
}
.lc-voting__bar-fill {
    height: 100%;
    background: #00ffc8;
    border-radius: 3px;
    box-shadow: 0 0 6px rgba(0, 255, 200, 0.4);
    transition: width 0.6s ease;
    width: 0%;
}
.lc-voting__pct {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #00ffc8;
    flex-shrink: 0;
    display: none;
    min-width: 36px;
    text-align: right;
}
.lc-voting__option--results .lc-voting__pct {
    display: block;
}
.lc-voting__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.lc-voting__count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: #666;
}
.lc-voting__btn {
    padding: 0.4rem 1rem;
    background: #00ffc8;
    border: none;
    border-radius: 30px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    color: #0B0B0F;
    cursor: pointer;
    transition: all 0.2s;
}
.lc-voting__btn:hover:not(:disabled) {
    box-shadow: 0 0 8px rgba(0, 255, 200, 0.3);
    transform: scale(1.04);
}
.lc-voting__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.lc-voting__thanks {
    font-family: 'Inter', monospace;
    font-size: 0.75rem;
    color: #00ffc8;
    display: none;
}
.lc-voting__thanks--visible {
    display: block;
}

/* ===== Спектр-визуализатор + toast + SFX (index / cabinet) ===== */
.alchemy-sfx-hidden {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
    clip: rect(0, 0, 0, 0);
}

.demo-visualizer-wrap,
.cabinet-visualizer-wrap {
    width: 100%;
    max-width: 100%;
    margin-top: 0.35rem;
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.demo-visualizer-wrap canvas,
.cabinet-visualizer-wrap canvas {
    display: block;
    width: 100%;
    height: 80px;
    vertical-align: middle;
}

.demo-visualizer-wrap--visible,
.cabinet-visualizer-wrap--visible {
    opacity: 1;
    transform: translateY(0);
}

.alchemy-toast {
    position: fixed;
    left: 50%;
    bottom: 5.5rem;
    transform: translateX(-50%) translateY(12px);
    z-index: 9999;
    max-width: min(90vw, 360px);
    padding: 0.75rem 1.25rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #0B0B0F;
    background: #00ffc8;
    border-radius: 12px;
    box-shadow: 0 0 16px rgba(0, 255, 200, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
    text-align: center;
}

.alchemy-toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

body.light-theme .alchemy-toast {
    color: #0B0B0F;
}

/* ===== СВЕТЛАЯ ТЕМА ===== */
body.light-theme {
    background-color: #f0f2f5 !important;
    color: #1a1a2e !important;
}

body.light-theme .header {
    background: rgba(240, 242, 245, 0.95);
    border-bottom-color: #d0d7de;
}

body.light-theme .hero__title,
body.light-theme .hero__subtitle {
    color: #1a1a2e;
}

body.light-theme .hero__title,
body.light-theme .hero__subtitle,
body.light-theme .section-title {
    text-shadow: none !important;
}

body.light-theme .science__card,
body.light-theme .rubricator__item,
body.light-theme .tariff-card,
body.light-theme .audiobook-card,
body.light-theme .demo-player-card,
body.light-theme .secret-room,
body.light-theme .author-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: #cbd5e1;
    color: #1e293b;
}

body.light-theme .author-vyacheslav .author-name {
    color: var(--accent) !important;
}

body.light-theme .author-title {
    color: #64748b;
}

body.light-theme .author-desc,
body.light-theme .author-quote {
    color: #2d3748 !important;
}

body.light-theme .author-features span {
    color: var(--accent);
}

body.light-theme .author-quote {
    border-left-color: var(--accent);
}

body.light-theme .science__number,
body.light-theme .rubricator__icon i,
body.light-theme .tariff-price,
body.light-theme .play-card-btn {
    color: #0f172a;
    text-shadow: none;
}

body.light-theme .btn--primary {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

body.light-theme .btn--primary:hover {
    background: #334155;
}

body.light-theme .form__input {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #1e293b;
}

body.light-theme .footer,
body.light-theme footer {
    border-top: none;
}

/* ===== СВЕТЛАЯ ТЕМА: ТЕКСТ ТЁМНО-ГРАФИТОВЫЙ ===== */
body.light-theme {
    color: #1e1e2a !important;
}

body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme .hero__title,
body.light-theme .section-title {
    color: #12121a !important;
}

body.light-theme p,
body.light-theme .card-info p,
body.light-theme .card-meta,
body.light-theme .tariff-features li,
body.light-theme .form-section__subtitle {
    color: #2d2d3a !important;
}

body.light-theme .hero__subtitle {
    color: #2a2a35 !important;
    border-left-color: #888;
}

body.light-theme .audiobook-card .card-title,
body.light-theme .demo-player__title,
body.light-theme .secret-room__title,
body.light-theme .secret-room__desc {
    color: #1a1a2a !important;
}

/* ===== ИСКЛЮЧЕНИЕ: COZY HOME (оставить оранжевым) ===== */
body.light-theme .cozy-promo__block-title,
body.light-theme .cozy-home .card-title,
body.light-theme .cozy-home h3 {
    color: #d97a00 !important;
}

body.light-theme .cozy-promo__block-desc,
body.light-theme .cozy-home p {
    color: #4a3a2a !important;
}

body.light-theme .audiobook-card,
body.light-theme .demo-player-card,
body.light-theme .secret-room {
    background: rgba(255, 255, 255, 0.85);
    border-color: #cbd5e1;
}

body.light-theme .card-cover .cover-placeholder {
    color: var(--accent);
    opacity: 0.92;
    text-shadow: 0 0 14px rgba(0, 212, 170, 0.5);
}

body.light-theme .play-card-btn {
    border-color: #94a3b8;
    color: #334155;
}

body.light-theme .status-badge {
    background: rgba(15, 23, 42, 0.08);
    border-color: #94a3b8;
    color: #475569;
}

body.light-theme .status-date {
    color: #64748b;
}

body.light-theme .play-card-btn:hover {
    border-color: #00ffc8;
    color: #0f172a;
}

/* ===== NEW CABINET LAYOUT (clean reset) ===== */
.cabinet-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 20px 20px;
}

.top-panel {
    display: grid;
    grid-template-columns: 2fr 0.7fr 0.9fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.welcome-card,
.stats-card,
.subscription-card {
    background: rgba(10,10,20,0.6);
    border: 1px solid rgba(0,255,200,0.2);
    border-radius: 20px;
    padding: 1rem;
}

.welcome-card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
    color: #00ffc8;
}

.welcome-card p {
    font-size: 0.72rem;
    color: #c0c0d0;
    margin: 0;
}

.stats-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.45rem;
}

.stats-card > div {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
}

.stat-num {
    color: #00ffc8;
    font-size: 1rem;
    font-weight: 700;
}

.subscription-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sub-ring {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #00ffc8;
    color: #00ffc8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.left-col,
.right-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.player-card,
.secret-room {
    background: rgba(10,10,20,0.6);
    border: 1px solid rgba(0,255,200,0.2);
    border-radius: 20px;
    padding: 1rem;
}

.player-header {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
    font-size: 0.72rem;
}

.player-header span:first-child {
    color: #00ffc8;
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
}

.rec-tag {
    width: fit-content;
    padding: 2px 10px;
    border-radius: 24px;
    font-size: 0.58rem;
    color: #ff8899;
    border: 1px solid rgba(255, 51, 102, 0.4);
    background: rgba(255, 51, 102, 0.1);
}

.player-note {
    margin-top: 0.6rem;
    color: #9ca3af;
    font-size: 0.65rem;
}

.secret-tag {
    color: #00ffc8;
    opacity: 0.75;
    font-size: 0.65rem;
    font-family: 'JetBrains Mono', monospace;
}

.secret-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.8rem;
}

.secret-links a,
.secret-links span {
    font-size: 0.62rem;
    color: #a0a0c0;
    text-decoration: none;
}

@media (max-width: 900px) {
    .top-panel {
        grid-template-columns: 1fr;
    }
    .main-grid {
        grid-template-columns: 1fr;
    }
    .cabinet-container {
        padding: 84px 14px 16px;
    }
}

/* Cabinet grid wrappers */
.lc-left-col,
.lc-right-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.lc-right-col:empty {
    min-height: 1px;
}

.lc-right-col .secret-room {
    margin-top: 0;
}

.full-width {
    margin-bottom: 2rem;
}

.full-width > .audiobooks-carousel-section,
.full-width > .audiobooks-carousel-section.free-catalog-section,
.full-width > .audiobooks-carousel-section.paid-catalog-section,
.full-width > .audiobooks-carousel-section.special-collection {
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    min-height: 0;
}

.full-width > .audiobooks-carousel-section .carousel-track {
    margin-bottom: 0;
    flex: none;
}

/* Cabinet right column cards (poll / voice) */
.lc-right-col .poll-card,
.lc-right-col .voice-card {
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 20px;
    padding: 1.1rem 1.2rem;
    color: #e6e7ee;
}

.lc-right-col .poll-card h3 {
    margin: 0 0 0.8rem;
    font-family: 'Orbitron', monospace;
    font-size: 0.95rem;
    color: #00ffc8;
    line-height: 1.3;
}

.lc-right-col .poll-card label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    color: #d6dee2;
    margin-bottom: 0.45rem;
    cursor: pointer;
    line-height: 1.3;
}

.lc-right-col .poll-card input[type="radio"] {
    accent-color: #00ffc8;
    width: 14px;
    height: 14px;
    margin: 0;
    flex-shrink: 0;
}

.lc-right-col .poll-card .poll-btn {
    margin-top: 0.6rem;
    background: transparent;
    border: 1px solid rgba(0, 255, 200, 0.55);
    color: #00ffc8;
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    transition: 0.2s;
}

.lc-right-col .poll-card .poll-btn:hover {
    background: rgba(0, 255, 200, 0.12);
}

.lc-right-col .poll-card .poll-thanks {
    display: none;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #7fe7cf;
}

.lc-right-col .voice-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    height: auto;
    gap: 0.85rem;
    padding: 1.1rem 1.2rem;
}

.lc-right-col .voice-card .voice-icon {
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1.4rem;
    line-height: 1;
}

.lc-right-col .voice-card .voice-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.lc-right-col .voice-card .voice-info strong {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: #00ffc8;
    letter-spacing: 0.04em;
}

.lc-right-col .voice-card .voice-info span {
    font-size: 0.78rem;
    color: #b8becc;
    line-height: 1.3;
}

.lc-right-col .voice-card .voice-record-btn {
    margin-left: auto;
    background: transparent;
    border: 1px solid #ff3366;
    color: #ff3366;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
}

.lc-right-col .voice-card .voice-record-btn:hover {
    background: rgba(255, 51, 102, 0.12);
    transform: scale(1.04);
}

/* ====================================================================
   ПОЧИНКА НАЛОЖЕНИЯ СЕТКИ В КАБИНЕТЕ (cabinet.html) 
   ==================================================================== */

/* 1. Защита от "раздувания" сетки картинками и плеером */
.lc-left-col,
.lc-right-col {
    min-width: 0 !important;
    overflow: hidden;
}

.lc-right-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Четкий отступ между баннером и Секретной комнатой */
}

/* 4. Фикс глобального плеера, чтобы он не ломал ширину */
.lc-global-player__wrap {
    min-width: 0 !important;
}

.audio-player-card {
    min-width: 0 !important;
    overflow: hidden;
}

/* 5. Мобильная адаптация кабинета (на всякий случай, чтобы не ломалось на телефонах) */
@media (max-width: 768px) {
    .lc-right-col .banner-card {
        min-height: 300px; /* На мобилке баннер чуть ниже */
    }
}

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ: Баннеры в колонку ===== */
@media (max-width: 768px) {
    .cyber-banners__grid {
        display: grid;
        grid-template-columns: 1fr; /* Выстраиваем в одну колонку */
        gap: 1.5rem;
        overflow-x: visible; /* Убираем горизонтальный скролл */
        scroll-snap-type: none;
        scrollbar-width: none;
    }
    .cyber-banner {
        min-width: 0; /* Разрешаем сжиматься на всю ширину */
        flex-shrink: 1;
        scroll-snap-align: none;
    }

    .dream-banners__grid {
        display: grid;
        grid-template-columns: 1fr; /* Выстраиваем в одну колонку */
        gap: 1.5rem;
        overflow-x: visible;
        scroll-snap-type: none;
        scrollbar-width: none;
    }
    .dream-banner {
        min-width: 0;
        flex-shrink: 1;
        scroll-snap-align: none;
    }
}

/* ===== STUDIO PASS POPUP (index) ===== */
.login-popup {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(5, 8, 16, 0.72);
    backdrop-filter: blur(2px);
    z-index: 20000;
}

.login-popup--visible {
    display: flex;
}

.login-popup__content {
    width: min(90vw, 330px);
    border: 1px solid rgba(0, 255, 200, 0.28);
    border-radius: 14px;
    background: #0b0b0f;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.login-popup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(0, 255, 200, 0.14);
    color: #00ffc8;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.login-popup__close {
    border: none;
    background: transparent;
    color: #9cb3ac;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.login-popup__close:hover {
    color: #ffffff;
}

.login-popup__body {
    padding: 0.75rem;
    display: grid;
    gap: 0.5rem;
}

.login-popup .login-input {
    width: 100%;
    padding: 0.4rem 0.55rem;
    font-size: 0.78rem;
    line-height: 1.2;
}

.login-popup .login-submit {
    width: 100%;
    padding: 0.45rem 0.55rem;
    font-size: 0.78rem;
    line-height: 1.2;
}

/* ===== КАБИНЕТ: Шапка как на главной ===== */
.header__logo .logo-img {
    display: block; /* Показываем лого */
    height: 40px;
    width: auto;
    border-radius: 50%;
}

.header__studio {
    display: flex;
    align-items: center;
    gap: 8px;
}

.studio-onair {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 255, 200, 0.1);
    padding: 4px 12px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 12px;
    border: 1px solid rgba(0, 255, 200, 0.3);
}
.studio-onair:hover { background: rgba(0, 255, 200, 0.2); }

.onair-dot {
    width: 8px;
    height: 8px;
    background: #00ffc8;
    border-radius: 50%;
}

.onair-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #00ffc8;
    font-weight: bold;
}

.studio-pass-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.5);
    border-radius: 40px;
    padding: 6px 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 500;
    color: #ff8c00;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 8px;
}
.studio-pass-btn:hover { background: rgba(255, 140, 0, 0.2); }

.studio-rec {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 51, 102, 0.1);
    padding: 4px 10px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 8px;
}
.header__logo .studio-rec { margin-left: 12px; }

.rec-dot {
    width: 8px;
    height: 8px;
    background: #ff3366;
    border-radius: 50%;
    animation: pulse-red 1s infinite;
}
.rec-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #ff3366;
}

/* ===== КАБИНЕТ: верхняя панель (приветствие слева | stats-block справа) ===== */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    box-sizing: border-box;
}

.welcome-block {
    flex: 1;
    max-width: 400px;
    min-width: 0;
}

.stats-block {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: stretch;
    flex-shrink: 0;
}

.welcome-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    color: var(--accent);
}

.welcome-subtitle {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.stat-card {
    background: rgba(10, 10, 20, 0.5);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1.2rem;
    text-align: center;
    min-width: 100px;
    box-sizing: border-box;
    transition: border-color var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.stat-card:hover {
    border-color: rgba(0, 255, 200, 0.35);
    box-shadow: 0 0 12px rgba(0, 255, 200, 0.08);
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 1rem;
    }

    .welcome-block {
        max-width: 100%;
        flex: none;
        margin: 0 auto;
    }

    .stats-block {
        justify-content: center;
        align-items: stretch;
        width: 100%;
    }

    .dashboard-header .subscription-status-card,
    .subscription-status-card {
        max-width: none;
        width: 100%;
    }
}

body.light-theme .dashboard-header {
    background: rgba(255, 255, 255, 0.92);
    border-color: #cbd5e1;
    border-left-color: var(--accent);
}

body.light-theme .welcome-subtitle {
    color: #64748b;
}

body.light-theme .stat-card {
    background: rgba(15, 23, 42, 0.04);
    border-color: #e2e8f0;
}

body.light-theme .stat-number {
    color: var(--accent);
}

body.light-theme .stat-label {
    color: #64748b;
}

body.light-theme .dashboard-header .subscription-status-card,
body.light-theme .subscription-status-card {
    background: rgba(15, 23, 42, 0.06);
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

body.light-theme .sub-status__label,
body.light-theme .days-text {
    color: #64748b;
}

body.light-theme .sub-status__badge.active {
    background: rgba(0, 255, 200, 0.12);
    color: var(--accent);
    border-color: rgba(0, 255, 200, 0.35);
}

body.light-theme .progress-bar-bg {
    background: rgba(15, 23, 42, 0.12);
}

body.light-theme .progress-info {
    color: #94a3b8;
}

/* --- Cabinet: блок статуса подписки (демо) --- */
.dashboard-header .subscription-status-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: rgba(10, 10, 20, 0.65);
    border: 1px solid rgba(0, 255, 200, 0.25);
    border-radius: 20px;
    padding: 0.85rem 1rem 1rem;
    min-width: 190px;
    max-width: 240px;
    flex: 0 1 auto;
    align-self: stretch;
    box-sizing: border-box;
    box-shadow: 0 0 12px rgba(0, 255, 200, 0.06);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.dashboard-header .subscription-status-card:hover {
    border-color: rgba(0, 255, 200, 0.35);
    box-shadow: 0 0 14px rgba(0, 255, 200, 0.1);
}

.subscription-status-card {
    background: rgba(10, 10, 20, 0.65);
    border: 1px solid rgba(0, 255, 200, 0.25);
    border-radius: 20px;
    padding: 0.85rem 1rem 1rem;
    min-width: 190px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sub-status__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.sub-status__label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

.sub-status__badge {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 200, 0.3);
    color: var(--accent);
}

.sub-status__badge.active {
    background: rgba(0, 255, 200, 0.12);
    color: var(--accent);
}

.sub-status__badge.inactive {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
}

.sub-status__days {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.days-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.days-text {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.sub-status__progress {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.progress-bar-bg {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), rgba(0, 255, 200, 0.35));
    width: 0%;
}

.progress-bar-fill--demo {
    width: 76%;
}

.progress-info {
    font-size: 0.62rem;
    color: var(--text-secondary);
}

.sub-status__footer {
    margin-top: 0.1rem;
}

.sub-renew-link {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.sub-renew-link:hover {
    opacity: 0.85;
    text-decoration: underline;
}

/* Блок подписки справа */
.subscription-pill {
    text-align: right;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.subscription-pill__title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.subscription-pill__meta {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
}

/* ===== КАБИНЕТ: Баннер Хромовый рассвет ===== */
.banner-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    margin-bottom: 0.3rem;
    display: block;
}
.banner-card h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.5rem;
}
.banner-card p {
    font-size: 0.85rem;
    color: #ccc;
    margin: 0; /* Убрали отступ, так как кнопки нет */
}
/* ===== ФИКС: ВЫРАВНИВАНИЕ КОЛОНОК И РАСТЯГИВАНИЕ БАННЕРА ===== */

/* 1. Заставляем обе колонки быть одинаковой высоты (по самой высокой) */
/* 2. Защита левой колонки от растягивания внутренних элементов */
.lc-left-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* 3. Правая колонка заполняет высоту */
.lc-right-col {
    min-height: 0; /* Предотвращаем выталкивание */
}

/* 4. Баннер растягивается на всю доступную высоту правой колонки */
.lc-right-col .banner-card {
    flex-grow: 1; /* ВАЖНО: Растягивает баннер на всю пустую высоту */
    min-height: 480px; /* Сохраняем вытянутые пропорции */
    width: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #000;
    border: 1px solid var(--border);
}

/* Картинка внутри баннера заполняет весь объем */
.lc-right-col .banner-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Контент-оверлей баннера */
.lc-right-col .banner-content {
    position: relative;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    padding: 1.5rem;
    width: 100%;
}

/* Кнопка «Напомнить» внутри баннера */
.lc-right-col .banner-card .remind-btn {
    background: transparent;
    border: 1px solid rgba(0, 255, 200, 0.5);
    color: #00ffc8;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    transition: 0.2s;
}

.lc-right-col .banner-card .remind-btn:hover {
    background: rgba(0, 255, 200, 0.12);
}

/* ===== НОВЫЕ ПРАВКИ КАБИНЕТА ===== */

/* Скрытие прогресс-баров в опросе (по ТЗ) */
.lc-voting__bar-wrap, .lc-voting__pct {
    display: none !important;
}

/* Ограничение ширины каруселей каталогов (центрированные галереи) */
.catalog-wrapper {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.catalog-wrapper .carousel-header {
    text-align: center;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .catalog-wrapper {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .paid-full-width {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
    .special-collection .audiobook-card {
        min-width: 280px;
        max-width: 85vw;
        width: auto;
    }
}

/* Двухколоночная сетка: Бесплатный каталог + Специальная коллекция */
.lc-main .two-col-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.lc-main .two-col-grid .full-width {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    min-width: 0;
    max-width: 100%;
}

.lc-main .two-col-grid .catalog-wrapper {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.lc-main .two-col-grid .audiobooks-carousel-section {
    min-width: 0;
    max-width: 100%;
}

/*
 * Важно: правила .lc-main .two-col-grid для узких экранов — ПОСЛЕ базового блока .lc-main .two-col-grid,
 * иначе двухколоночный базис перезапишет mobile (каскад).
 */
@media (max-width: 1024px) {
    .lc-main .two-col-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .lc-main .two-col-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* В двух колонках карточки спецколлекции уже, чем глобальные 300px — иначе ряд раздувает экран */
@media (min-width: 1025px) {
    .lc-main .two-col-grid .special-collection .audiobook-card {
        width: 200px;
        min-width: 160px;
        max-width: 220px;
        min-height: 340px;
    }

    .lc-main .two-col-grid .special-collection .carousel-track {
        min-width: 0;
    }

    .lc-main .two-col-grid .special-collection .carousel-container {
        min-width: 0;
        max-width: 100%;
    }

    .lc-main .two-col-grid .free-catalog-section .carousel-container {
        min-width: 0;
        max-width: 100%;
    }
}

/* Полный доступ на весь экран */
.paid-full-width {
    background: rgba(15, 15, 20, 0.4);
    border-top: 1px solid rgba(0, 255, 200, 0.15);
    border-bottom: 1px solid rgba(0, 255, 200, 0.15);
    padding: 2rem 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

/* Убираем рамки у отдельных каталогов внутри новых оберток, чтобы не было двойных линий */
.lc-main .two-col-grid .free-catalog-section,
.paid-full-width .paid-catalog-section,
.paid-full-width .other-authors-section {
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;
    min-height: auto;
}

/* ==================== ИНСТРУМЕНТЫ САМОПОМОЩИ (под Спецколлекцией) ==================== */
.lc-bottom-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .lc-bottom-tools {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ----- Блок: Скомкать стресс ----- */
.stress-release {
    background: rgba(0, 255, 200, 0.03);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color var(--transition), background var(--transition);
}

.stress-release:hover {
    border-color: rgba(0, 255, 200, 0.35);
}

.stress-release__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.stress-release__icon {
    font-size: 28px;
    line-height: 1;
}

.stress-release__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin: 0;
    color: var(--accent);
    letter-spacing: 1px;
}

.stress-release__desc {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 20px;
    line-height: 1.5;
}

.stress-release__input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 14px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.5;
    resize: vertical;
    margin-bottom: 16px;
    transition: border-color var(--transition), opacity var(--transition), transform var(--transition);
}

.stress-release__input:focus {
    outline: none;
    border-color: var(--accent);
}

.stress-release__input--crumpled {
    text-decoration: line-through;
    opacity: 0.5;
    transform: scale(0.98);
}

.stress-release__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.stress-release__btn {
    background: rgba(0, 255, 200, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 10px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.stress-release__btn:hover:not(:disabled) {
    background: var(--accent);
    color: #0a0a0f;
    transform: translateY(-1px);
}

.stress-release__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.stress-release__result {
    margin-top: 20px;
    font-size: 0.9rem;
    text-align: center;
    min-height: 1.4em;
    color: var(--text-secondary);
    animation: stressFadeIn 0.3s ease;
}

@keyframes stressFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ----- Блок: Генератор бинауральных частот ----- */
.freq-generator {
    background: rgba(0, 255, 200, 0.03);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color var(--transition), background var(--transition);
}

.freq-generator:hover {
    border-color: rgba(0, 255, 200, 0.35);
}

.freq-generator__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.freq-generator__icon {
    font-size: 28px;
    line-height: 1;
}

.freq-generator__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin: 0;
    color: var(--accent);
    letter-spacing: 1px;
}

.freq-generator__desc {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 20px;
    line-height: 1.5;
}

.freq-generator__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.freq-generator__btn {
    background: rgba(0, 255, 200, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 10px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.freq-generator__btn:hover {
    background: var(--accent);
    color: #0a0a0f;
    transform: translateY(-1px);
}

.freq-generator__btn.is-active {
    background: var(--accent);
    color: #0a0a0f;
    box-shadow: 0 0 16px rgba(0, 255, 200, 0.45);
}

.freq-generator__player {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.freq-generator__player.is-hidden {
    display: none;
}

.freq-generator__current {
    font-size: 0.85rem;
    color: var(--text);
}

.freq-generator__stop {
    background: rgba(255, 80, 80, 0.15);
    border: 1px solid #ff5555;
    color: #ff8888;
    padding: 6px 16px;
    border-radius: 40px;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    transition: background 0.2s, color 0.2s;
}

.freq-generator__stop:hover {
    background: rgba(255, 80, 80, 0.3);
    color: #ffbbbb;
}

/* ----- Дзен-комната (изолированная страница, префикс .zen-room) ----- */
.zen-room {
    --zen-bg: #1a1a1e;
    --zen-text: #f0ebe3;
    --zen-accent: #a8d8ea;
    --zen-accent-soft: #d4c5a9;
    --zen-font-body: 'Inter', system-ui, sans-serif;
    --zen-font-display: 'Cormorant Garamond', Georgia, serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--zen-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--zen-text);
    background-color: var(--zen-bg);
    background-image:
        radial-gradient(ellipse 120% 80% at 10% 20%, rgba(168, 216, 234, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 90% 70% at 90% 80%, rgba(212, 197, 169, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
    padding-bottom: 0;
}

body.zen-room::after {
    display: none;
}

.zen-room h1,
.zen-room h2 {
    text-transform: none;
}

.zen-room__bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.zen-room__kanji {
    position: absolute;
    font-family: var(--zen-font-display);
    font-weight: 400;
    color: rgba(240, 235, 227, 0.06);
    line-height: 1;
    user-select: none;
}

.zen-room__kanji--1 {
    font-size: clamp(4rem, 18vw, 12rem);
    top: 8%;
    right: 5%;
    transform: rotate(-8deg);
}

.zen-room__kanji--2 {
    font-size: clamp(3rem, 14vw, 9rem);
    bottom: 25%;
    left: 3%;
    transform: rotate(6deg);
}

.zen-room__kanji--3 {
    font-size: clamp(2.5rem, 12vw, 7rem);
    top: 42%;
    left: 15%;
    transform: rotate(-3deg);
    opacity: 0.85;
}

.zen-room__kanji--4 {
    font-size: clamp(2rem, 10vw, 6rem);
    bottom: 12%;
    right: 18%;
    transform: rotate(10deg);
}

.zen-room__header,
.zen-room__main,
.zen-room__footer {
    position: relative;
    z-index: 1;
}

.zen-room__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.zen-room__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--zen-text);
    transition: color 0.25s ease, opacity 0.25s ease;
}

.zen-room__brand:hover {
    color: var(--zen-accent);
}

.zen-room__logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.zen-room__logo-text {
    font-family: var(--zen-font-body);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.zen-room__home-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--zen-accent-soft);
    text-decoration: none;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.zen-room__home-link:hover {
    color: var(--zen-accent);
    border-color: rgba(168, 216, 234, 0.45);
    background: rgba(168, 216, 234, 0.08);
    transform: translateY(-1px);
}

.zen-room__main {
    flex: 1;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 64px;
}

.zen-room__hero {
    text-align: center;
    padding: clamp(2.5rem, 8vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
}

.zen-room__title {
    margin: 0 0 12px;
    font-family: var(--zen-font-display);
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--zen-text);
    line-height: 1.15;
}

.zen-room__subtitle {
    margin: 0;
    font-family: var(--zen-font-body);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    color: rgba(240, 235, 227, 0.72);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.zen-room__cards-wrap {
    padding-top: 8px;
}

.zen-room__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.zen-room__card {
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 4vw, 36px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(30, 30, 34, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.zen-room__card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 216, 234, 0.35);
    background: rgba(36, 38, 44, 0.55);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.28),
        0 0 40px rgba(168, 216, 234, 0.12);
}

.zen-room__card-title {
    margin: 0 0 12px;
    font-family: var(--zen-font-display);
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
    font-weight: 500;
    color: var(--zen-text);
}

.zen-room__card-desc {
    margin: 0 0 24px;
    flex: 1;
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(240, 235, 227, 0.78);
    line-height: 1.65;
}

.zen-room__listen-btn {
    align-self: flex-start;
    margin-top: auto;
    padding: 12px 28px;
    font-family: var(--zen-font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--zen-bg);
    background: linear-gradient(135deg, var(--zen-accent) 0%, rgba(168, 216, 234, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.zen-room__listen-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(168, 216, 234, 0.35);
    filter: brightness(1.05);
}

.zen-room__footer {
    margin-top: auto;
    padding: 28px 24px 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(20, 20, 24, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.zen-room__footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.zen-room__footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 12px;
    font-size: 0.875rem;
    color: rgba(240, 235, 227, 0.65);
}

.zen-room__footer-links a {
    color: rgba(168, 216, 234, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.zen-room__footer-links a:hover {
    color: var(--zen-accent);
}

.zen-room__footer-divider {
    opacity: 0.45;
    user-select: none;
}

.zen-room__footer-fake {
    cursor: default;
}

.zen-room .pexels-credit {
    color: rgba(240, 235, 227, 0.35);
}

.zen-room .pexels-credit a {
    color: rgba(168, 216, 234, 0.75);
}

.zen-room .pexels-credit a:hover {
    color: var(--zen-accent);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .zen-room__cards {
        grid-template-columns: 1fr;
    }

    .zen-room__header {
        flex-wrap: wrap;
        gap: 16px;
    }

    .zen-room__home-link {
        width: 100%;
        text-align: center;
    }
}

/* ========== Страница релакса: тибетские чаши (relax.html) ========== */

.page-relax {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #0B0B0F;
    color: #e0fff8;
}

.relax-page-header {
    border-bottom: 1px solid rgba(0, 255, 200, 0.15);
    padding: 16px 0;
    position: relative;
    z-index: 2;
}

.relax-page-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.relax-page-header__logo {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #00ffc8;
    text-decoration: none;
    text-shadow: 0 0 12px rgba(0, 255, 200, 0.25);
    letter-spacing: 0.06em;
    transition: color var(--transition), text-shadow var(--transition);
}

.relax-page-header__logo:hover {
    color: #7fffe8;
    text-shadow: 0 0 18px rgba(0, 255, 200, 0.4);
}

.relax-page-header__nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.relax-page-header__link {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(224, 255, 248, 0.75);
    text-decoration: none;
    padding: 8px 14px;
    border: 1px solid rgba(0, 255, 200, 0.25);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.relax-page-header__link:hover {
    color: #00ffc8;
    border-color: rgba(0, 255, 200, 0.45);
    box-shadow: 0 0 14px rgba(0, 255, 200, 0.12);
}

.relax-page-main {
    flex: 1;
}

.relax-bowls {
    background-color: #0B0B0F;
    padding: 2.5rem 0 3.5rem;
}

.relax-bowls__inner {
    max-width: 960px;
}

.relax-bowls__eyebrow {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(0, 255, 200, 0.65);
    margin-bottom: 0.75rem;
}

.relax-bowls__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #00ffc8;
    margin-bottom: 0.35rem;
    text-shadow: 0 0 20px rgba(0, 255, 200, 0.2);
    line-height: 1.2;
}

.relax-bowls__subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(224, 255, 248, 0.55);
    margin-bottom: 1.25rem;
}

.relax-bowls__text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(224, 255, 248, 0.88);
    margin-bottom: 1rem;
    max-width: 52rem;
}

.relax-bowls__text strong {
    color: #00ffc8;
    font-weight: 600;
}

.relax-bowls__text--muted {
    font-size: 0.82rem;
    color: rgba(224, 255, 248, 0.45);
    margin-bottom: 2rem;
}

.relax-bowls__layout {
    display: grid;
    grid-template-columns: minmax(200px, 280px) 1fr;
    gap: 2.5rem;
    align-items: start;
}

.relax-bowls__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    padding: 1rem 0;
}

.relax-bowls__pulse {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 200, 0.35);
    box-shadow: 0 0 0 0 rgba(0, 255, 200, 0.12);
    animation: relax-bowls-pulse 2.8s ease-out infinite;
}

.relax-bowls--playing .relax-bowls__pulse {
    animation-duration: 1.6s;
    border-color: rgba(0, 255, 200, 0.55);
}

@keyframes relax-bowls-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 200, 0.25);
    }
    70% {
        transform: scale(1.04);
        box-shadow: 0 0 0 28px rgba(0, 255, 200, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 200, 0);
    }
}

.relax-bowls__waves {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    height: 48px;
}

.relax-bowls__wave-bar {
    width: 6px;
    height: 14px;
    border-radius: 3px;
    background: rgba(0, 255, 200, 0.35);
    transform-origin: bottom center;
    animation: relax-bowls-wave 1.1s ease-in-out infinite;
}

.relax-bowls__wave-bar:nth-child(1) { animation-delay: 0s; }
.relax-bowls__wave-bar:nth-child(2) { animation-delay: 0.08s; }
.relax-bowls__wave-bar:nth-child(3) { animation-delay: 0.16s; }
.relax-bowls__wave-bar:nth-child(4) { animation-delay: 0.24s; }
.relax-bowls__wave-bar:nth-child(5) { animation-delay: 0.32s; }
.relax-bowls__wave-bar:nth-child(6) { animation-delay: 0.4s; }
.relax-bowls__wave-bar:nth-child(7) { animation-delay: 0.48s; }

.relax-bowls--playing .relax-bowls__wave-bar {
    background: rgba(0, 255, 200, 0.75);
    animation-duration: 0.65s;
}

@keyframes relax-bowls-wave {
    0%, 100% { transform: scaleY(0.45); opacity: 0.55; }
    50% { transform: scaleY(1); opacity: 1; }
}

.relax-bowls__player-wrap {
    min-width: 0;
}

.relax-bowls__player-heading {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 255, 200, 0.85);
    margin-bottom: 1rem;
}

.relax-bowls__bowls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin: 0 0 1.5rem;
}

.relax-bowls__bowl {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    padding: 0.75rem 0.5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    background: rgba(10, 10, 20, 0.6);
    border: 2px solid rgba(0, 255, 200, 0.3);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition), background var(--transition);
}

.relax-bowls__bowl:hover {
    transform: scale(1.02);
    border-color: #00ffc8;
    box-shadow: 0 0 15px rgba(0, 255, 200, 0.3);
}

.relax-bowls__bowl:focus-visible {
    outline: 2px solid #00ffc8;
    outline-offset: 3px;
}

.relax-bowls__bowl--playing {
    border-color: #00ffc8;
    background: rgba(0, 255, 200, 0.08);
    box-shadow: 0 0 22px rgba(0, 255, 200, 0.45);
    animation: relax-bowl-glow 1.2s ease-in-out infinite;
}

@keyframes relax-bowl-glow {
    0%, 100% {
        box-shadow: 0 0 18px rgba(0, 255, 200, 0.4);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 28px rgba(0, 255, 200, 0.65);
        opacity: 0.96;
    }
}

.relax-bowls__bowl-icon {
    font-size: clamp(2rem, 5vw, 2.75rem);
    line-height: 1;
    margin-bottom: 0.15rem;
}

.relax-bowls__bowl-label {
    font-family: var(--font-body);
    font-size: 0.68rem;
    line-height: 1.25;
    color: rgba(160, 160, 192, 0.95);
    max-width: 11em;
}

.relax-bowls__bowl-audio {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.relax-bowls__stop-all {
    display: block;
    margin: 0 auto 0.5rem;
    padding: 0.5rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #00ffc8;
    background: transparent;
    border: 1px solid rgba(0, 255, 200, 0.45);
    border-radius: 40px;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition), box-shadow var(--transition), background var(--transition);
}

.relax-bowls__stop-all:hover {
    border-color: #00ffc8;
    background: rgba(0, 255, 200, 0.08);
    box-shadow: 0 0 14px rgba(0, 255, 200, 0.2);
}

.relax-bowls__stop-all:focus-visible {
    outline: 2px solid #00ffc8;
    outline-offset: 3px;
}

.relax-page-footer {
    border-top: 1px solid rgba(0, 255, 200, 0.12);
    padding: 1.25rem 0;
    margin-top: auto;
}

.relax-page-footer__inner {
    text-align: center;
}

.relax-page-footer__text {
    font-size: 0.8rem;
    color: rgba(224, 255, 248, 0.45);
}

.relax-page-footer__link {
    color: #00ffc8;
    text-decoration: none;
    transition: text-shadow var(--transition), color var(--transition);
}

.relax-page-footer__link:hover {
    text-shadow: 0 0 10px rgba(0, 255, 200, 0.35);
    color: #7fffe8;
}

@media (max-width: 768px) {
    .relax-bowls__layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .relax-bowls__visual {
        flex-direction: row;
        justify-content: center;
        padding: 0.5rem 0;
    }

    .relax-bowls__bowls-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }

    .relax-bowls__bowl {
        max-width: 100%;
    }

    .relax-page-header__inner {
        justify-content: center;
    }

    .relax-page-header__nav {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== CABINET TEST PLAYER (APlayer, визуальный тест) ==================== */
.cabinet-player-wrapper {
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cabinet-player-wrapper h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
}

.cabinet-player-wrapper .aplayer .aplayer-body {
    background: #0B0B0F;
    color: #ffffff;
}

.cabinet-player-wrapper .aplayer .aplayer-info .aplayer-music .aplayer-title {
    color: #ffffff;
}

.cabinet-player-wrapper .aplayer .aplayer-info .aplayer-music .aplayer-author {
    color: rgba(255, 255, 255, 0.6);
}

.cabinet-player-wrapper .aplayer .aplayer-list ol li {
    background: #0B0B0F;
    color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cabinet-player-wrapper .aplayer .aplayer-list ol li:hover {
    background: rgba(0, 255, 200, 0.05);
}

.cabinet-player-wrapper .aplayer .aplayer-list ol li.aplayer-list-light {
    background: rgba(0, 255, 200, 0.1);
    color: #00ffc8;
}

.cabinet-player-wrapper .aplayer .aplayer-list ol li .aplayer-list-index {
    color: rgba(255, 255, 255, 0.4);
}

/* ========== ПРИВЕДИ ДРУГА (referral-block) ========== */
.referral-block {
    padding: 1.25rem;
    background: rgba(0, 255, 200, 0.03);
    border: 1px solid rgba(0, 255, 200, 0.15);
    border-radius: 16px;
    text-align: center;
}

.referral-block__title {
    font-family: "Orbitron", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e8ecf2;
    margin: 0 0 0.5rem;
    text-shadow: 0 0 12px rgba(0, 255, 200, 0.25);
}

.referral-block__desc {
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(200, 210, 220, 0.7);
    margin: 0 0 0.85rem;
}

.referral-block__copy {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.referral-block__link {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    color: #00ffc8;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(0, 255, 200, 0.12);
    border-radius: 8px;
    word-break: break-all;
    max-width: 18rem;
}

.referral-block__btn {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(0, 255, 200, 0.25);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: transparent;
    color: #00ffc8;
    white-space: nowrap;
}

.referral-block__btn:hover {
    background: rgba(0, 255, 200, 0.08);
    border-color: rgba(0, 255, 200, 0.5);
}

.referral-block__social {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.68rem;
    color: rgba(0, 255, 200, 0.8);
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(0, 255, 200, 0.15);
    border-radius: 8px;
    transition: all 0.25s ease;
}

.referral-block__social:hover {
    background: rgba(0, 255, 200, 0.06);
    border-color: rgba(0, 255, 200, 0.35);
    color: #00ffc8;
}

/* ========== ПРОДЛИТЬ ПОДПИСКУ (subscription-renew) ========== */
.subscription-renew {
    padding: 1.25rem;
    background: rgba(0, 255, 200, 0.03);
    border: 1px solid rgba(0, 255, 200, 0.15);
    border-radius: 16px;
    text-align: center;
}

.renew-title {
    font-family: "Orbitron", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e8ecf2;
    margin: 0 0 1rem;
    text-shadow: 0 0 12px rgba(0, 255, 200, 0.25);
}

.renew-plans {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.renew-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 255, 200, 0.12);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.renew-plan:hover {
    border-color: rgba(0, 255, 200, 0.35);
    background: rgba(0, 255, 200, 0.04);
}

.renew-plan.selected {
    border-color: #00ffc8;
    background: rgba(0, 255, 200, 0.08);
    box-shadow: 0 0 16px rgba(0, 255, 200, 0.1);
}

.plan-period {
    font-family: "Inter", sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(232, 236, 242, 0.85);
}

.plan-discount {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.65rem;
    font-weight: 600;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    white-space: nowrap;
}

.plan-price-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
}

.plan-price {
    font-family: "Orbitron", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #00ffc8;
    text-shadow: 0 0 8px rgba(0, 255, 200, 0.2);
}

.plan-was {
    font-family: "Inter", sans-serif;
    font-size: 0.65rem;
    color: rgba(200, 210, 220, 0.4);
    text-decoration: line-through;
}

.renew-btn {
    width: 100%;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #0b0b0f;
    background: #00ffc8;
    box-shadow: 0 0 18px rgba(0, 255, 200, 0.3);
    margin-bottom: 1rem;
}

.renew-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 0 24px rgba(0, 255, 200, 0.45);
}

/* ========== ОПЛАТА КРИПТОВАЛЮТОЙ (crypto-pay) ========== */
.crypto-pay {
    border-top: 1px solid rgba(0, 255, 200, 0.1);
    padding-top: 0.85rem;
}

.crypto-pay__toggle {
    width: 100%;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.6rem 0.85rem;
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: transparent;
    color: #00ffc8;
}

.crypto-pay__toggle:hover {
    background: rgba(0, 255, 200, 0.06);
    border-color: rgba(0, 255, 200, 0.4);
}

.crypto-pay__toggle--open {
    background: rgba(0, 255, 200, 0.06);
    border-color: rgba(0, 255, 200, 0.3);
}

.crypto-pay__panel {
    margin-top: 0.85rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 255, 200, 0.1);
    border-radius: 12px;
    text-align: left;
}

.crypto-pay__lead {
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(200, 210, 220, 0.75);
    margin: 0 0 0.85rem;
}

.crypto-pay__wallets {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.crypto-pay__wallet {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.crypto-pay__network {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.62rem;
    font-weight: 600;
    color: rgba(0, 255, 200, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    min-width: 6rem;
}

.crypto-pay__address {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.62rem;
    color: rgba(232, 236, 242, 0.7);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(0, 255, 200, 0.08);
    border-radius: 6px;
    word-break: break-all;
    flex: 1;
    min-width: 8rem;
}

.crypto-pay__copy {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.6rem;
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: transparent;
    color: #00ffc8;
    white-space: nowrap;
}

.crypto-pay__copy:hover {
    background: rgba(0, 255, 200, 0.08);
    border-color: rgba(0, 255, 200, 0.4);
}

.crypto-pay__telegram {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.65rem;
    color: rgba(0, 255, 200, 0.75);
    text-decoration: none;
    padding: 0.4rem 0.7rem;
    border: 1px solid rgba(0, 255, 200, 0.12);
    border-radius: 8px;
    transition: all 0.25s ease;
}

.crypto-pay__telegram:hover {
    background: rgba(0, 255, 200, 0.05);
    border-color: rgba(0, 255, 200, 0.3);
    color: #00ffc8;
}

