/* Подключение шрифта Bulbasaur SP */
@font-face {
    font-family: 'Bulbasaur SP';
    src: url("../fonts/BulbasaurSP.3cca030b4776.otf") format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Обновленная цветовая схема - черный фон, темно-синие карточки */
:root {
    --color-black: #000000;
    --color-dark-bg: #0a0a0a;
    --color-card-blue: #0e1115;
    --color-blue: #2d4575;
    --color-light-blue: #69799e;
    --color-accent: #728cc5;
    --color-white: #ffffff;
    --color-light-gray: #e8ecf3;
    --color-text: #c5d1e8;
    --color-border: rgba(192, 203, 255, 0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background-color: var(--color-black);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Desktop custom scrollbar (hidden by default, appears near right edge) */
@media (hover: hover) and (pointer: fine) {
    /* Hide ALL scrollbars completely - no space reserved */
    html {
        overflow-y: scroll;
        scrollbar-width: none !important; /* Firefox */
        -ms-overflow-style: none !important; /* IE/Edge */
    }

    html::-webkit-scrollbar {
        width: 0 !important;
        display: none !important;
    }

    body::-webkit-scrollbar {
        width: 0 !important;
        display: none !important;
    }

    /* Custom overlay scrollbar element */
    .custom-scrollbar-overlay {
        position: fixed;
        top: 0;
        right: 0;
        width: 18px;
        height: 100vh;
        z-index: 10000;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .custom-scrollbar-overlay.visible {
        opacity: 1;
    }

    .custom-scrollbar-thumb {
        position: absolute;
        right: 4px;
        width: 10px;
        background-color: rgba(255, 255, 255, 0.35);
        border-radius: 5px;
        transition: background-color 0.3s ease, width 0.2s ease;
        pointer-events: auto;
        cursor: pointer;
    }

    .custom-scrollbar-thumb:hover {
        background-color: rgba(255, 255, 255, 0.55);
        width: 12px;
        right: 3px;
    }

    /* Hover zone at the right edge - larger area */
    .scrollbar-hover-zone {
        position: fixed;
        top: 0;
        right: 0;
        width: 80px;
        height: 100vh;
        z-index: 9999;
        pointer-events: auto;
        background: transparent;
    }
}

/* Hide hover zone on mobile */
@media (hover: none) or (pointer: coarse) {
    .scrollbar-hover-zone {
        display: none;
    }

    html {
        scrollbar-width: auto;
        -ms-overflow-style: auto;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-img {
    display: block;
    width: 50px; /* 4x меньше */
    height: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: 'Arial Black', Arial, sans-serif;
    color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}


.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("/static/images/mainbg.ef682c943d40.jpg");
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-title {
    font-family: 'Bulbasaur SP', Arial, sans-serif;
    font-size: clamp(36px, 8vw, 70px);
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 0;
    text-transform: lowercase;
    letter-spacing: 0px;
    line-height: 1;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--color-text);
    font-weight: 300;
    position: relative;
    z-index: 1;
}

/* Social Links */
.social-section {
    padding: 40px 0;
    background: transparent;
    border-top: none;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: max-content;
}

.social-links.carousel-active {
    animation: scroll-carousel 30s linear infinite;
}

.social-links.carousel-active:hover {
    animation-play-state: paused;
}

/* Mobile touch scroll for social links */
@media (hover: none) and (pointer: coarse) {
    .social-section {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

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

@keyframes scroll-carousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.social-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: rgba(14, 17, 21, 0.4);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--color-blue);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.social-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    display: inline-block;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    color: var(--color-white);
    opacity: 0.7;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: -1px;
}

/* Concerts Grid */
.concerts-grid { /* used as wrapper; can be grid or list */ }

/* List layout for concerts like the screenshot */
.concerts-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

.concert-line {
    text-align: center;
}

.concert-line-title {
    font-family: 'Bulbasaur SP', Arial, sans-serif;
    font-size: clamp(22px, 4.5vw, 36px);
    color: var(--color-white);
    letter-spacing: 1px;
}

.concert-line-venue {
    color: var(--color-white);
    font-size: 16px;
    margin-top: 6px;
}

.concert-line-desc {
    color: rgba(197, 209, 232, 0.3);
    margin-top: 10px;
}

/* Скрыть заголовок "концерты" и убрать дополнительный отступ */
#concerts .section-title {
    display: none;
    margin-bottom: 0;
}

.concert-line-actions {
    margin-top: 14px;
}

.concert-line-link {
    font-family: 'Arial Black', Arial, sans-serif;
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 4px;
    margin: 0 10px;
}

.concert-line-link:hover {
    opacity: 0.8;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--color-accent);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: auto;
}

.btn:hover {
    background: var(--color-light-blue);
    transform: translateY(-2px);
}

/* Releases Grid */
.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 45%), 1fr));
    gap: 30px;
}

.release-card {
    background: rgba(14, 17, 21, 0.4);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.release-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-8px);
}

.release-cover {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: transparent;
}

.release-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.release-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
}

.release-meta {
    display: flex;
    justify-content: space-between;
    color: var(--color-text);
    font-size: 14px;
    margin-bottom: 15px;
}

.release-description {
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.release-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.release-link {
    padding: 8px 12px;
    background: rgba(59, 91, 165, 0.3);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.release-link:hover {
    background: var(--color-accent);
}

/* Merch Grid */
.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 45%), 1fr));
    gap: 30px;
}

.merch-card {
    background: rgba(14, 17, 21, 0.4);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.merch-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-8px);
}

/* Merch image wrapper enables horizontal panning for wide images */
.merch-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: transparent;
}

.merch-image {
    position: absolute;
    top: 50%;
    left: 0;
    height: 100%;
    width: auto; /* let width overflow for wide images */
    transform: translateY(-50%);
    object-fit: contain; /* safety for some images */
}

@keyframes pan-x {
    0% { transform: translateY(-50%) translateX(0); }
    20% { transform: translateY(-50%) translateX(0); } /* pause 2s (relative via duration) */
    60% { transform: translateY(-50%) translateX(calc(-1 * var(--pan-distance, 0px))); }
    80% { transform: translateY(-50%) translateX(calc(-1 * var(--pan-distance, 0px))); } /* pause at end */
    100% { transform: translateY(-50%) translateX(0); }
}

.merch-image.pan-active {
    animation: pan-x var(--pan-duration, 12s) ease-in-out infinite;
    will-change: transform;
}

.merch-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.merch-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    column-gap: 24px;
    width: 100%;
}

.merch-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    flex: 1 1 auto;
}

.merch-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    white-space: nowrap;
    margin-left: 24px;
}

.merch-description {
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.merch-status {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(59, 91, 165, 0.3);
    color: var(--color-text);
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: auto;
}

.merch-status.available {
    background: rgba(74, 108, 179, 0.3);
    color: var(--color-accent);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(250px, 45%), 1fr));
    gap: 30px;
}

.team-card {
    background: rgba(14, 17, 21, 0.4);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.team-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-8px);
}

.team-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: transparent;
}

.team-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.team-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 5px;
}

.team-role {
    color: var(--color-accent);
    font-size: 14px;
    margin-bottom: 15px;
}

.team-bio {
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
}

.team-social-link {
    padding: 8px 12px;
    background: rgba(59, 91, 165, 0.3);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.team-social-link:hover {
    background: var(--color-accent);
}

/* Footer */
.footer {
    padding: 40px 0;
    background: rgba(10, 10, 10, 0.8);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer p {
    color: var(--color-text);
    font-size: 14px;
    margin: 5px 0;
}

.footer-disclaimer {
    font-size: 11px;
    opacity: 0.6;
    font-style: italic;
    margin: 10px 0 15px 0;
    line-height: 1.4;
}

.footer-dev {
    font-size: 13px;
    opacity: 0.8;
}

.footer-dev a {
    color: var(--color-accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-dev a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.footer-icons {
    font-size: 10px;
    opacity: 0.15;
    margin-top: 10px;
}

.footer-icons a {
    color: var(--color-text);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-icons a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text);
    font-size: 18px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text);
}

.empty-state-title {
    font-size: 24px;
    color: var(--color-white);
    margin-bottom: 10px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 20px;
        transition: left 0.3s ease;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .releases-grid,
    .merch-grid,
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .concert-header {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .releases-grid,
    .merch-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .releases-grid,
    .merch-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .release-card,
    .merch-card,
    .team-card {
        font-size: 12px;
    }

    .release-info,
    .merch-info,
    .team-info {
        padding: 12px;
    }

    .release-title,
    .merch-title,
    .team-name {
        font-size: 14px;
        line-height: 1.2;
        margin-bottom: 6px;
    }

    .merch-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 8px;
    }

    .merch-title {
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .merch-price {
        font-size: 20px;
    }

    .merch-description {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .merch-status {
        font-size: 11px;
        padding: 3px 8px;
        margin-bottom: 10px;
    }

    .btn {
        width: 100%;
        padding: 10px 16px;
        font-size: 12px;
        text-align: center;
    }

    .release-meta {
        flex-direction: column;
        gap: 4px;
        font-size: 12px;
    }

    .release-description {
        font-size: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .release-links {
        gap: 6px;
    }

    .release-link {
        font-size: 11px;
        padding: 6px 10px;
    }

    .team-role {
        font-size: 12px;
    }

    .team-bio {
        font-size: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .team-social {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    .team-social-link {
        font-size: 11px;
        padding: 6px 10px;
        white-space: nowrap;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }
}

/* Radio Player with Liquid Glass Effect */
.radio-player {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 480px;
    max-width: 90vw;

    /* Liquid Glass Effect */
    background: rgba(14, 17, 21, 0.4);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 9999;

    /* Enhanced shadows for depth */
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(114, 140, 197, 0.1);

    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.radio-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(114, 140, 197, 0.1) 0%, rgba(45, 69, 117, 0.05) 100%);
    pointer-events: none;
}

.radio-player:hover {
    transform: translateX(-50%) translateY(-3px);
    background: rgba(14, 17, 21, 0.5);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow:
        0 12px 48px 0 rgba(0, 0, 0, 0.5),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(114, 140, 197, 0.3),
        0 0 60px rgba(114, 140, 197, 0.2);
}

.radio-player-info {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.radio-player-track {
    font-size: 14px;
    color: var(--color-white);
    font-weight: 500;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.radio-player-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.radio-control-btn {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-white);
    position: relative;
}

.radio-control-btn:hover {
    background: rgba(114, 140, 197, 0.2);
    transform: scale(1.05);
}

.radio-control-btn svg {
    width: 20px;
    height: 20px;
    transition: opacity 0.3s ease;
}

.radio-play-btn {
    width: 44px;
    height: 44px;
    background: rgba(114, 140, 197, 0.15);
}

.radio-play-btn:hover {
    background: rgba(114, 140, 197, 0.3);
}

.radio-play-btn svg {
    width: 24px;
    height: 24px;
}

.radio-play-btn .icon-pause {
    position: absolute;
    opacity: 0;
}

.radio-play-btn.playing .icon-play {
    opacity: 0;
}

.radio-play-btn.playing .icon-pause {
    opacity: 1;
}

/* Equalizer Wave Visualization */
.beat-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0;
    box-sizing: border-box;
    gap: 0;
}

/* Left side visualization (mirrored) */
.beat-flash-left {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0;
    box-sizing: border-box;
    gap: 0;
    transform: scaleX(-1); /* Mirror horizontally */
}

/* Right side visualization (double mirrored) */
.beat-flash-right {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0;
    box-sizing: border-box;
    gap: 0;
    transform: scaleX(-1); /* Mirror horizontally */
}

.beat-flash.active,
.beat-flash-left.active,
.beat-flash-right.active {
    opacity: 1;
}

/* Wave bars */
.wave-bar {
    flex: 1;
    background: linear-gradient(
        to top,
        rgba(114, 140, 197, 0.45) 0%,
        rgba(114, 140, 197, 0.35) 20%,
        rgba(114, 140, 197, 0.2) 40%,
        rgba(114, 140, 197, 0.1) 60%,
        rgba(114, 140, 197, 0.05) 80%,
        transparent 100%
    );
    border-radius: 0;
    transition: height 0.1s ease-out;
    min-height: 2px;
    max-height: 50vh;
    margin: 0;
    border: none;
}

.beat-flash-blur {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    left: 0;
    width: 100%;
    height: 45vh;
    bottom: 0;
    opacity: 1;
    background: linear-gradient(to top,
        rgba(114,140,197,0) 0%,
        rgba(255,255,255,0) 0%,
        transparent 85%
    );
    filter: blur(85px) saturate(200%);
    transition: opacity 0.5s;
}

.beat-flash-blur-group {
    position: fixed;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
    z-index: 0;
    left: 0;
    justify-content: flex-start;
}
#beatFlashBlurRight { right: 0; left: auto; transform: scaleX(-1); }
#beatFlashBlurLeft { left: 0; transform: scaleX(-1); }

.wave-bar-blur {
    flex: 1;
    background: linear-gradient(to top, rgba(114,140,197,0.6) 0%, rgba(255,255,255,0.16) 22%, transparent 90%);
    filter: blur(18px) brightness(1.35) saturate(1.5);
    pointer-events: none;
    min-height: 2px;
    max-height: 50vh;
    margin: 0;
    border: none;
    border-radius: 0;
    z-index: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .radio-player {
        bottom: 20px;
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        padding: 12px 20px;
        gap: 15px;
    }

    .radio-player-track {
        max-width: none;
        flex: 1;
        font-size: 13px;
    }

    .radio-control-btn {
        width: 32px;
        height: 32px;
    }

    .radio-control-btn svg {
        width: 18px;
        height: 18px;
    }

    .radio-play-btn {
        width: 38px;
        height: 38px;
    }

    .radio-play-btn svg {
        width: 20px;
        height: 20px;
    }
}
