/* Visual refresh layer — extends style.css without replacing content or meta */

:root {
    --brand: #7cbd1e;
    --brand-dark: #6ea71b;
    --accent: #f34423;
    --surface-dark: #1a1211;
    --surface-footer: #2b2b2b;
    --text-muted: #9a9a9a;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.18);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.24);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 10000;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.skip-link:focus {
    top: 1rem;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.site-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.site-brand__link {
    display: inline-flex;
    align-items: baseline;
    gap: 0.2rem;
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.site-brand__by {
    font-size: 0.65rem;
    font-weight: 400;
}

.site-brand__partner {
    display: inline-flex;
    align-items: center;
}

.site-mobile-menu-close-btn {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.stream-source {
    color: var(--brand);
    font-size: 1.15rem;
    margin: 0.75rem 0 0;
}

.visually-hidden-audio {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
.site-menu-toggle:focus-visible,
.radio-station-card:focus-visible,
.next-prev-button:focus-visible {
    outline: 3px solid rgba(124, 189, 30, 0.65);
    outline-offset: 2px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--brand);
    color: #fff;
}

::-moz-selection {
    background: var(--brand);
    color: #fff;
}

/* Hero */
.site-blocks-cover.overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(8, 4, 4, 0.55) 0%,
        rgba(24, 14, 13, 0.72) 45%,
        rgba(24, 14, 13, 0.88) 100%
    );
}

.site-blocks-cover.overlay .site-wrap,
.site-blocks-cover.overlay > .container,
.site-blocks-cover.overlay > audio + .container,
.radio-list-section {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.site-blocks-cover .stellar-background,
.site-blocks-cover-index .stellar-background {
    pointer-events: none !important;
    z-index: 0 !important;
}

.site-blocks-cover-index {
    overflow: visible;
}

.site-blocks-cover h1 a {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    letter-spacing: 0.04em;
}

/* Navbar — above hero overlay, clickable */
.site-wrap {
    position: relative;
    z-index: 100;
}

.site-wrap:before {
    pointer-events: none;
}

.offcanvas-menu .site-wrap:before {
    pointer-events: auto;
}

.site-navbar {
    position: relative;
    z-index: 101;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.site-navbar .site-navigation .site-menu > li > a {
    position: relative;
    border-radius: var(--radius-sm);
    transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.site-navbar .site-navigation .site-menu > li > a::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 4px;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s var(--ease);
}

.site-navbar .site-navigation .site-menu > li > a:hover::after,
.site-navbar .site-navigation .site-menu .active > a::after {
    transform: scaleX(1);
}

/* Radio list */
.radio-list-section {
    padding: 0.5rem 0 2rem;
}

.radio-list-toolbar {
    max-width: 420px;
    margin: 0 auto 1.25rem;
}

.radio-search-input {
    width: 100%;
    height: 48px;
    padding: 0 1rem;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.radio-search-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.radio-search-input:focus {
    outline: none;
    border-color: rgba(124, 189, 30, 0.75);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(124, 189, 30, 0.18);
}

.radio-station-card {
    display: block;
    height: 100%;
    padding: 1rem 0.75rem;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
    cursor: pointer;
    position: relative;
    z-index: 1;
    text-decoration: none;
}

.radio-station-card:hover,
.radio-station-card:focus {
    transform: translateY(-3px);
    border-color: rgba(124, 189, 30, 0.55);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.radio-station-card.is-current {
    border-color: var(--brand);
    background: rgba(124, 189, 30, 0.15);
    box-shadow: 0 0 0 2px rgba(124, 189, 30, 0.25);
}

.radio-station-card img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    transition: transform 0.2s var(--ease);
    pointer-events: none;
}

.radio-station-card:hover img {
    transform: scale(1.02);
}

.radio-station-name {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-top: 0.65rem;
    line-height: 1.3;
    pointer-events: none;
}

.radio-list-empty {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

@media (max-width: 575.98px) {
    .radio-station-card {
        padding: 0.75rem 0.5rem;
    }

    .radio-station-name {
        font-size: 0.85rem;
    }
}

@media (min-width: 768px) {
    .radio-list-toolbar {
        margin-bottom: 1.5rem;
    }

    .radio-station-card {
        padding: 1.1rem 0.85rem;
    }
}

/* Radio list modal */
body.radio-list-open {
    overflow: hidden;
}

.radio-list-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}

.radio-list-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.radio-list-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 6, 6, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.radio-list-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1080px;
    max-height: min(90vh, 900px);
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.25s var(--ease);
}

.radio-list-modal.is-open .radio-list-modal__dialog {
    transform: translateY(0) scale(1);
}

.radio-list-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e8eaee;
    background: #fff;
}

.radio-list-modal__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #222;
}

.radio-list-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    background: #fff;
    color: #444;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.radio-list-modal__close:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: rgba(124, 189, 30, 0.08);
}

.radio-list-modal__body {
    padding: 1rem 1.25rem 1.25rem;
    overflow-y: auto;
}

.radio-list-modal .radio-list-toolbar {
    max-width: 480px;
    margin-bottom: 1rem;
}

.radio-list-modal .radio-search-input {
    border-color: #d9dde3;
    background: #fff;
    color: #222;
}

.radio-list-modal .radio-search-input::placeholder {
    color: #8a8a8a;
}

.radio-list-modal .radio-search-input:focus {
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(124, 189, 30, 0.2);
}

.radio-list-modal .radio-stations-grid {
    margin: 0 auto;
    max-width: 980px;
}

.radio-list-modal .radio-station-card {
    border-color: #e4e7ec;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.radio-list-modal .radio-station-card:hover,
.radio-list-modal .radio-station-card:focus {
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 8px 20px rgba(124, 189, 30, 0.18);
}

.radio-list-modal .radio-station-card.is-current {
    border-color: var(--brand);
    background: rgba(124, 189, 30, 0.08);
}

.radio-list-modal .radio-station-name {
    color: #2d2d2d;
    font-size: 0.82rem;
}

.radio-list-modal .radio-list-empty {
    color: #666;
}

@media (max-width: 575.98px) {
    .radio-list-modal {
        padding: 0.5rem;
    }

    .radio-list-modal__dialog {
        max-height: 92vh;
        border-radius: var(--radius-md);
    }

    .radio-list-modal__header {
        padding: 0.85rem 1rem;
    }

    .radio-list-modal__body {
        padding: 0.85rem 0.75rem 1rem;
    }

    .radio-list-modal .radio-station-name {
        font-size: 0.75rem;
    }
}

.site-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-sm);
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.site-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.45);
}

/* Stream page */
.site-blocks-cover-stream .stream-station-logo {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.08);
}

.site-blocks-cover-stream .col.text-center > p small {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.next-prev-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.next-prev-button:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 20px rgba(243, 68, 35, 0.35);
}

#playerContainer {
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

.circle-audio-player {
    cursor: pointer;
    border-radius: 50%;
}

/* Contact strip */
.site-section.bg-light.block-13 {
    background: linear-gradient(180deg, #f7f8fa 0%, #eef1f4 100%) !important;
}

.site-section-heading.w-border h2::after {
    display: none;
}

.site-section-heading.w-border h2 {
    padding-bottom: 12px;
}

/* Social bar */
.bg-primary {
    background: linear-gradient(90deg, var(--brand-dark) 0%, var(--brand) 50%, var(--brand-dark) 100%) !important;
}

.social-icon span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    transition: all 0.25s var(--ease);
}

.social-icon:hover span {
    border-color: #fff;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, var(--surface-footer) 0%, #222 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer .footer-heading::before {
    display: none;
}

.site-footer .footer-heading {
    padding-bottom: 12px;
}

.site-footer a {
    transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.site-footer ul li a:hover {
    color: var(--brand);
    padding-left: 4px;
}

.site-footer .footer-heading + div a,
.site-footer .footer-social-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0 !important;
    margin-right: 8px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--brand);
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: all 0.25s var(--ease);
    box-shadow: var(--shadow-sm);
}

.site-footer .footer-heading + div a:hover,
.site-footer .footer-social-buttons a:hover {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(124, 189, 30, 0.35);
}

.site-footer .footer-heading + div a span,
.site-footer .footer-social-buttons a span {
    font-size: 18px;
    line-height: 1;
}

.site-footer .block-16 figure img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.site-footer .block-16 figure .play-button {
    border: 3px solid var(--brand);
    box-shadow: var(--shadow-md);
    transition: all 0.25s var(--ease);
}

.site-footer .block-16 figure .play-button:hover {
    border-color: var(--brand-dark);
    box-shadow: var(--shadow-lg);
    transform: translate(-50%, -50%) scale(1.06);
}

/* Buttons */
.btn {
    border-radius: var(--radius-sm);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-primary {
    box-shadow: 0 2px 10px rgba(124, 189, 30, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(124, 189, 30, 0.3);
}

/* Scrollbar */
.custom-scroll::-webkit-scrollbar {
    border-radius: 8px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    border-radius: 8px;
}

/* Mobile menu */
.site-mobile-menu {
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    padding-top: 0;
}

.site-mobile-menu .site-mobile-menu-header {
    flex-shrink: 0;
}

.site-mobile-menu .site-mobile-menu-body {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    padding-top: 0.5rem;
    padding-bottom: 1.25rem;
}

.site-mobile-menu-lang {
    flex-shrink: 0;
    padding: 0.35rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #f8f9fa;
}

.lang-switcher--mobile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
}

.lang-switcher__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.lang-switcher__pills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    width: 100%;
}

.lang-switcher__pill {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.55rem 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: #374151;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.lang-switcher__pill:hover,
.lang-switcher__pill:focus {
    color: #111827;
    border-color: rgba(124, 189, 30, 0.45);
    background: #fff;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(124, 189, 30, 0.12);
}

.lang-switcher__pill.is-active {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 4px 12px rgba(124, 189, 30, 0.28);
}

.site-mobile-menu .site-mobile-menu-close span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    transition: background 0.2s var(--ease);
}

.site-mobile-menu .site-mobile-menu-close span:hover {
    background: #e8eaee;
}

/* Production: responsive & performance polish */
.radio-station-card img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .site-navbar .site-navigation .site-menu > li > a {
        padding: 0.65rem 0.85rem;
    }

    .radio-list-toolbar {
        max-width: 100%;
        padding: 0 0.25rem;
    }
}

@media (max-width: 767.98px) {
    .site-blocks-cover h1 img {
        max-width: 100px;
        height: auto;
    }

    .radio-station-card {
        padding: 0.85rem 0.5rem;
        min-height: 100%;
    }

    .radio-station-name {
        font-size: 0.78rem;
        line-height: 1.25;
    }

    .next-prev-button {
        min-width: 44px;
        min-height: 44px;
    }

    #playerContainer {
        margin: 0.5rem 0 !important;
    }

    .site-footer .col-lg-4 {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .radio-list-section {
        padding: 0.25rem 0 1.25rem;
    }

    .radio-search-input {
        height: 44px;
        font-size: 16px;
    }

    .social-icon span {
        width: 38px;
        height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Language switcher — top right */
.site-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.15rem 0.35rem;
}

.site-nav-corner {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    margin-left: auto;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.15rem 0.3rem;
}

.lang-switcher__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
    padding: 0.2rem 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-sm);
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.lang-switcher__link:hover,
.lang-switcher__link:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    text-decoration: none;
}

.lang-switcher__link.is-active {
    color: var(--brand);
    background: rgba(124, 189, 30, 0.18);
}

.lang-switcher__sep {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.65rem;
    user-select: none;
    line-height: 1;
}

.site-nav-corner .site-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0.35rem;
    border-radius: var(--radius-sm);
    line-height: 1;
}

.site-nav-corner .site-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 992px) {
    .site-nav-corner {
        margin-left: 0.5rem;
    }

    .lang-switcher__link {
        min-width: 2.15rem;
        min-height: 2rem;
        font-size: 0.75rem;
    }

    .site-mobile-menu-lang {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .site-navigation {
        justify-content: flex-end;
    }

    .site-nav-corner {
        width: auto;
        justify-content: flex-end;
    }

    .site-nav-corner > .lang-switcher:not(.lang-switcher--mobile) {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .site-nav-corner .site-menu-toggle {
        min-width: 44px;
        min-height: 44px;
    }
}
