:root {
    color-scheme: dark;
    --eva-bg: #09090a;
    --eva-surface: #131416;
    --eva-surface-2: #1b1c20;
    --eva-ink: #f7f3e9;
    --eva-muted: #b8b0a3;
    --eva-line: rgba(255, 255, 255, 0.12);
    --eva-navy: #050506;
    --eva-navy-soft: #15161a;
    --eva-gold: #f5c542;
    --eva-teal: #2dd4bf;
    --eva-coral: #ff7a66;
    --eva-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 72px;
    background: var(--eva-bg);
    color: var(--eva-ink);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img,
iframe {
    max-width: 100%;
}

a {
    color: var(--eva-teal);
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

a:hover,
a:focus {
    color: #7deee3;
    text-decoration: none;
}

.container {
    width: min(100% - 32px, 1140px);
    max-width: 1140px;
}

.custom-navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 72px;
    padding: 12px clamp(16px, 4vw, 48px);
    background: rgba(7, 17, 29, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 34px rgba(7, 17, 29, 0.2);
    backdrop-filter: blur(16px);
}

.navbar-logo {
    flex: 0 0 auto;
    color: var(--eva-gold) !important;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.navbar-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    width: 100%;
}

.navbar-links a,
.dropbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.navbar-links a:hover,
.navbar-links a:focus {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.navbar-links a.is-active {
    color: #09090a !important;
    background: var(--eva-gold);
    border-color: var(--eva-gold);
}

.navbar-links a[href*="play.google.com"] {
    color: var(--eva-navy) !important;
    background: var(--eva-gold);
}

.navbar-links a[href*="play.google.com"]:hover,
.navbar-links a[href*="play.google.com"]:focus {
    color: var(--eva-navy) !important;
    background: #ffd95d;
}

.navbar-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

#main {
    background: var(--eva-navy);
}

#slider_wrapper {
    position: relative;
    z-index: 1;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: 380px;
    overflow: hidden;
    background-image: url("../../bg.jpg");
    background-position: center;
    background-size: cover;
}

#slider_wrapper::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    background: rgba(7, 17, 29, 0.38);
}

#slider_wrapper > * {
    position: relative;
    z-index: 1;
}

.hero-content {
    width: min(100% - 32px, 1140px);
    padding: 78px 0;
    text-align: center;
}

#slider_wrapper .txt {
    color: #ffffff;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

#slider_wrapper .txt1 {
    color: var(--eva-gold);
    font-size: 20px;
    font-weight: 800;
}

#slider_wrapper .txt2,
#slider_wrapper .txt3 {
    font-size: 54px;
    font-weight: 900;
    line-height: 0.98;
}

.song1_wrapper {
    position: relative;
    z-index: 4;
    padding: 0 0 38px;
    background: var(--eva-navy);
}

#player-section {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    max-width: 1060px;
    margin: -46px auto 0;
    padding: 18px;
    overflow: hidden;
    background: var(--eva-surface);
    border: 1px solid var(--eva-line);
    border-radius: 8px;
    box-shadow: var(--eva-shadow);
}

.radio-player-audio {
    display: none;
}

.radio-player-main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.radio-play-button {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border: 0;
    border-radius: 999px;
    background: var(--eva-gold);
    color: #09090a;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(245, 197, 66, 0.26);
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.radio-play-button:hover,
.radio-play-button:focus {
    background: #ffd95d;
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(245, 197, 66, 0.34);
    outline: none;
}

.radio-play-button:focus-visible,
.radio-mute-button:focus-visible,
.radio-stream-link:focus-visible {
    outline: 3px solid rgba(45, 212, 191, 0.42);
    outline-offset: 3px;
}

.radio-play-icon {
    font-size: 25px;
    line-height: 1;
}

.radio-play-icon-pause,
#player-section.is-playing .radio-play-icon-play {
    display: none;
}

#player-section.is-playing .radio-play-icon-pause {
    display: inline-flex;
}

#player-section.is-loading .radio-play-button::after {
    position: absolute;
    inset: -6px;
    content: "";
    border: 2px solid rgba(245, 197, 66, 0.24);
    border-top-color: var(--eva-gold);
    border-radius: 999px;
    animation: player-spin 900ms linear infinite;
}

.radio-player-copy {
    min-width: 0;
}

.radio-player-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
    color: var(--eva-teal);
    font-size: 12px;
    font-weight: 900;
}

.live-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--eva-coral);
    box-shadow: 0 0 0 0 rgba(255, 122, 102, 0.48);
    animation: live-pulse 1500ms ease-out infinite;
}

.radio-player-title {
    color: var(--eva-ink);
    font-size: 25px;
    font-weight: 900;
    line-height: 1.1;
}

.radio-player-status {
    margin-top: 5px;
    color: var(--eva-muted);
    font-size: 14px;
    font-weight: 700;
}

.radio-player-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.radio-mute-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--eva-line);
    border-radius: 8px;
    background: var(--eva-surface-2);
    color: var(--eva-ink);
    cursor: pointer;
}

.radio-volume-control {
    display: inline-flex;
    align-items: center;
    width: 150px;
    min-width: 110px;
}

.radio-volume-control input {
    width: 100%;
    accent-color: var(--eva-gold);
}

.radio-stream-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--eva-line);
    border-radius: 8px;
    background: rgba(45, 212, 191, 0.1);
    color: var(--eva-teal);
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
}

.radio-stream-link:hover,
.radio-stream-link:focus {
    border-color: rgba(45, 212, 191, 0.4);
    background: rgba(45, 212, 191, 0.16);
    color: #8ff7ee;
}

.radio-player-wave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 52px;
}

.radio-player-wave span {
    display: block;
    width: 5px;
    height: 18px;
    border-radius: 999px;
    background: var(--eva-gold);
    opacity: 0.45;
    transform-origin: center bottom;
}

#player-section.is-playing .radio-player-wave span {
    animation: player-wave 900ms ease-in-out infinite;
}

#player-section.is-playing .radio-player-wave span:nth-child(2) {
    animation-delay: 100ms;
}

#player-section.is-playing .radio-player-wave span:nth-child(3) {
    animation-delay: 200ms;
}

#player-section.is-playing .radio-player-wave span:nth-child(4) {
    animation-delay: 300ms;
}

#player-section.is-playing .radio-player-wave span:nth-child(5) {
    animation-delay: 400ms;
}

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

@keyframes player-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes live-pulse {
    70% {
        box-shadow: 0 0 0 10px rgba(255, 122, 102, 0);
    }
}

@keyframes player-wave {
    0%,
    100% {
        transform: scaleY(0.52);
        opacity: 0.42;
    }

    50% {
        transform: scaleY(1.35);
        opacity: 1;
    }
}

#main-content {
    padding: 64px 0 24px;
}

#radio-presentation {
    padding: 42px 0;
    color: var(--eva-ink);
    background: transparent;
}

#radio-presentation + #radio-presentation {
    border-top: 1px solid var(--eva-line);
}

#radio-presentation h2,
#radio-shows h3,
#radio-info h3,
#listener-feedback h3,
#stiri-section h2,
#main-content h2 {
    margin: 0 0 22px;
    color: var(--eva-ink);
    font-weight: 850;
    line-height: 1.15;
}

#radio-presentation h2,
#main-content h2,
#stiri-section h2 {
    font-size: 34px;
}

#radio-presentation p,
#radio-shows p,
#radio-info li,
#listener-feedback p,
#main-content p {
    color: var(--eva-muted);
    font-size: 17px;
}

#radio-presentation .fa,
#radio-shows .fa,
#radio-info .fa,
#radio-info .fab,
#main-content .fa {
    width: 22px;
    color: var(--eva-teal);
}

#radio-presentation img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px !important;
    box-shadow: var(--eva-shadow);
    filter: saturate(0.88) brightness(0.82);
}

#radio-shows,
#radio-info,
#listener-feedback,
#main-content form {
    margin-top: 34px;
    padding: 28px;
    background: var(--eva-surface);
    border: 1px solid var(--eva-line);
    border-radius: 8px;
    box-shadow: var(--eva-shadow);
}

#radio-shows .show-item {
    height: 100%;
    padding: 20px;
    background: var(--eva-surface-2);
    border: 1px solid var(--eva-line);
    border-radius: 8px;
}

#radio-shows h4 {
    margin: 0 0 10px;
    color: var(--eva-ink);
    font-size: 22px;
    font-weight: 800;
}

#radio-info ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#radio-info li {
    margin: 0;
    overflow-wrap: anywhere;
}

.feedback-item blockquote {
    margin: 0 0 18px;
    padding: 18px 20px;
    background: var(--eva-surface-2);
    border-left: 4px solid var(--eva-coral);
    border-radius: 8px;
}

.blockquote-footer {
    color: var(--eva-muted);
}

#stiri-section {
    padding: 64px 0;
    background: var(--eva-bg);
}

#stiri-section .container,
#stiri-section .con-stiri {
    width: min(100% - 32px, 1180px);
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
}

#stiri-section h2 {
    text-align: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.news-item {
    display: flex;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    flex-direction: column;
    background: var(--eva-surface);
    border: 1px solid var(--eva-line);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38);
}

.news-media {
    display: block;
    overflow: hidden;
    background: var(--eva-surface-2);
}

.news-item img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    transition: transform 240ms ease;
}

.news-item:hover img {
    transform: scale(1.03);
}

.news-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 18px;
}

.news-item h3 {
    display: -webkit-box;
    min-height: 69px;
    margin: 0 0 10px;
    overflow: hidden;
    color: var(--eva-ink);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news-item h3 a {
    color: inherit;
}

.news-item time {
    margin-bottom: 10px;
    color: var(--eva-teal);
    font-size: 13px;
    font-weight: 800;
}

.news-item p {
    display: -webkit-box;
    min-height: 96px;
    margin: 0 0 18px;
    overflow: hidden;
    color: var(--eva-muted);
    font-size: 15px;
    line-height: 1.6;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.news-button,
.btn.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: auto;
    padding: 10px 16px;
    border: 1px solid #1fb8aa;
    border-radius: 8px;
    background: #1fb8aa;
    color: #07100f !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.news-button:hover,
.news-button:focus,
.btn.btn-primary:hover,
.btn.btn-primary:focus {
    background: #42d9cc;
    border-color: #42d9cc;
    color: #07100f !important;
    transform: translateY(-1px);
}

.news-alert,
.news-empty {
    margin: 0 auto 22px;
    padding: 14px 16px;
    color: #ffe8a3;
    background: rgba(245, 197, 66, 0.1);
    border: 1px solid rgba(245, 197, 66, 0.28);
    border-radius: 8px;
}

#main-content .form-control {
    min-height: 46px;
    background: var(--eva-surface-2);
    border: 1px solid var(--eva-line);
    border-radius: 8px;
    color: var(--eva-ink);
    box-shadow: none;
}

#main-content .form-control::placeholder {
    color: rgba(184, 176, 163, 0.72);
}

#main-content textarea.form-control {
    min-height: 140px;
}

#main-content .form-control:focus {
    border-color: var(--eva-teal);
    background: #202126;
    box-shadow: 0 0 0 3px rgba(22, 163, 148, 0.16);
}

#main-content label {
    color: var(--eva-ink);
    font-weight: 750;
}

#main-content .fa-envelope {
    color: var(--eva-coral);
}

#dp-iframe-dedicatii {
    width: min(100%, 760px) !important;
    min-height: 520px;
    border-radius: 8px;
    background: var(--eva-surface);
    border: 1px solid var(--eva-line);
    box-shadow: var(--eva-shadow);
}

#stiri-section iframe[src*="xat.com"] {
    width: min(100%, 1180px) !important;
    height: auto;
    min-height: 520px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: var(--eva-surface);
    border: 1px solid var(--eva-line);
    box-shadow: var(--eva-shadow);
}

.bot2_wrapper {
    padding: 24px 0;
    background: var(--eva-navy);
    color: rgba(255, 255, 255, 0.76);
    text-align: center;
}

.bot2_wrapper a {
    color: var(--eva-gold);
}

.page-thankyou {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
    background: var(--eva-bg);
}

.page-thankyou .container {
    max-width: 760px;
    padding: 40px 32px;
    background: var(--eva-surface);
    border: 1px solid var(--eva-line);
    border-radius: 8px;
    box-shadow: var(--eva-shadow);
}

center {
    display: block;
    text-align: center;
}

@media (max-width: 1100px) {
    .news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    body {
        padding-top: 68px;
    }

    .custom-navbar {
        min-height: 68px;
        flex-wrap: wrap;
        padding: 12px 16px;
    }

    .navbar-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-links {
        display: none;
        flex: 1 0 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-top: 12px;
        padding: 12px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }

    .navbar-links.is-open,
    .navbar-links[style*="block"] {
        display: flex !important;
    }

    .navbar-links a,
    .dropbtn {
        width: 100%;
    }

    #slider_wrapper {
        min-height: 330px !important;
    }

    #player-section {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        margin-top: -36px;
    }

    .radio-player-main,
    .radio-player-tools {
        width: 100%;
    }

    .radio-player-tools {
        justify-content: space-between;
    }

    .radio-volume-control {
        flex: 1 1 auto;
    }

    .radio-player-wave {
        position: absolute;
        right: 18px;
        top: 20px;
    }

    #slider_wrapper .txt2,
    #slider_wrapper .txt3 {
        font-size: 42px;
    }

    #radio-info ul {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .container,
    #stiri-section .container,
    #stiri-section .con-stiri {
        width: min(100% - 24px, 100%);
    }

    .navbar-logo {
        max-width: calc(100% - 58px);
        overflow: hidden;
        font-size: 21px;
        text-overflow: ellipsis;
    }

    #slider_wrapper {
        min-height: 300px !important;
    }

    #slider_wrapper .txt1 {
        font-size: 16px;
    }

    #slider_wrapper .txt2,
    #slider_wrapper .txt3 {
        font-size: 34px;
    }

    #main-content,
    #stiri-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    #radio-presentation {
        padding: 30px 0;
    }

    #radio-presentation h2,
    #main-content h2,
    #stiri-section h2 {
        font-size: 28px;
    }

    #radio-shows,
    #radio-info,
    #listener-feedback,
    #main-content form {
        padding: 20px;
    }

    #player-section {
        margin-top: -28px;
        padding: 16px;
    }

    .radio-play-button {
        width: 62px;
        height: 62px;
    }

    .radio-player-title {
        font-size: 21px;
    }

    .radio-player-tools {
        flex-wrap: wrap;
    }

    .radio-volume-control {
        order: 3;
        width: 100%;
        flex-basis: 100%;
    }

    .radio-player-wave {
        display: none;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-item h3,
    .news-item p {
        min-height: 0;
    }

    #stiri-section iframe[src*="xat.com"] {
        min-height: 360px;
    }
}
