:root {
    --bg: #090b10;
    --bg-deep: #06070b;
    --surface: rgba(255,255,255,0.06);
    --surface-strong: rgba(255,255,255,0.09);
    --surface-border: rgba(255,255,255,0.11);

    --text-main: rgba(255,255,255,0.97);
    --text-soft: rgba(255,255,255,0.73);
    --text-faint: rgba(255,255,255,0.50);

    --accent: #9eb8ff;
    --accent-rgb: 158,184,255;
    --accent-soft: rgba(var(--accent-rgb), 0.18);
    --accent-line: rgba(var(--accent-rgb), 0.28);

    --hero-image: url('/img/radio-rossii-bg.webp');

    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --shadow-soft: 0 18px 60px rgba(0,0,0,0.34);
    --shadow-panel: 0 22px 70px rgba(0,0,0,0.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at 50% 15%, rgba(var(--accent-rgb), 0.16), transparent 22%),
        radial-gradient(circle at 20% 85%, rgba(255,255,255,0.04), transparent 26%),
        radial-gradient(circle at 82% 82%, rgba(255,255,255,0.03), transparent 24%),
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a,
button,
input {
    font: inherit;
}

button {
    color: inherit;
}

.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;
}

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px 64px;
    isolation: isolate;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -4;
    background:
        linear-gradient(rgba(6,8,12,0.48), rgba(6,8,12,0.76)),
        var(--hero-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.045);
    transition: background-image 0.35s ease, transform 0.35s ease;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(circle at 50% 28%, rgba(var(--accent-rgb), 0.16), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
    pointer-events: none;
}

.hero-noise {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.10;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.24), transparent 72%);
}

.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at center, transparent 38%, rgba(0,0,0,0.18) 74%, rgba(0,0,0,0.42) 100%);
}

.hero-kicker {
    position: absolute;
    top: 26px;
    left: 24px;
    right: 24px;
    margin: 0;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-main);
    opacity: 0.28;
    pointer-events: none;
    text-align: center;
}

.hero-top-actions {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 30;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.timer-wrap {
    position: relative;
}

.hero-center {
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.station-picker-wrap {
    position: relative;
    z-index: 20;
    width: 100%;
    display: flex;
    justify-content: center;
}

.station-title-btn {
    appearance: none;
    border: 0;
    background: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-shadow: 0 6px 24px rgba(0,0,0,0.28);
    transition: transform 0.18s ease, opacity 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.station-title-btn:hover {
    opacity: 0.96;
}

.station-title-btn:active {
    transform: scale(0.992);
}

.station-title-btn:focus-visible,
.play-btn:focus-visible,
.text-action:focus-visible,
.option-btn:focus-visible,
.timer-input:focus-visible,
.cookie-accept:focus-visible,
.footer a:focus-visible,
.section-link:focus-visible,
.scroll-mark:focus-visible {
    outline: 2px solid rgba(var(--accent-rgb), 0.88);
    outline-offset: 4px;
}

.station-title-text {
    display: inline-block;
    margin: 0;
    font-size: clamp(32px, 8vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 700;
}

.station-title-caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.11);
    box-shadow: 0 10px 22px rgba(0,0,0,0.22);
    transform: translateY(2px);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.station-title-btn[aria-expanded="true"] .station-title-caret {
    background: rgba(var(--accent-rgb), 0.14);
    border-color: rgba(var(--accent-rgb), 0.28);
    transform: translateY(2px) rotate(180deg);
}

.station-subtitle {
    margin: 12px 0 0 0;
    min-height: 20px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--text-soft);
}

.play-area {
    position: relative;
    margin: 34px 0 22px;
}

.play-area::before {
    content: "";
    position: absolute;
    inset: -42px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.18), transparent 64%);
    filter: blur(14px);
    pointer-events: none;
}

.play-btn {
    position: relative;
    appearance: none;
    width: clamp(98px, 24vw, 132px);
    height: clamp(98px, 24vw, 132px);
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background:
        radial-gradient(circle at 30% 28%, rgba(255,255,255,0.34), rgba(255,255,255,0) 34%),
        linear-gradient(180deg, rgba(var(--accent-rgb), 1), rgba(var(--accent-rgb), 0.78));
    box-shadow:
        0 20px 54px rgba(0,0,0,0.34),
        0 0 0 1px rgba(255,255,255,0.14) inset,
        0 0 34px rgba(var(--accent-rgb), 0.28);
    transition: transform 0.18s ease, box-shadow 0.22s ease;
    -webkit-tap-highlight-color: transparent;
}

.play-btn::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.22);
    pointer-events: none;
}

.play-btn:hover {
    box-shadow:
        0 24px 62px rgba(0,0,0,0.38),
        0 0 0 1px rgba(255,255,255,0.16) inset,
        0 0 42px rgba(var(--accent-rgb), 0.32);
}

.play-btn:active {
    transform: scale(0.965);
}

.play-btn svg {
    width: 42%;
    height: 42%;
    fill: #fff;
}

.play-btn.playing {
    animation: playPulse 2.8s infinite;
}

@keyframes playPulse {
    0% {
        box-shadow:
            0 20px 54px rgba(0,0,0,0.34),
            0 0 0 1px rgba(255,255,255,0.14) inset,
            0 0 0 0 rgba(var(--accent-rgb), 0.42);
    }
    70% {
        box-shadow:
            0 20px 54px rgba(0,0,0,0.34),
            0 0 0 1px rgba(255,255,255,0.14) inset,
            0 0 0 28px rgba(var(--accent-rgb), 0);
    }
    100% {
        box-shadow:
            0 20px 54px rgba(0,0,0,0.34),
            0 0 0 1px rgba(255,255,255,0.14) inset,
            0 0 0 0 rgba(var(--accent-rgb), 0);
    }
}

.text-action {
    appearance: none;
    border: 0;
    background: rgba(255,255,255,0.06);
    cursor: pointer;
    color: var(--text-soft);
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
    -webkit-tap-highlight-color: transparent;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.text-action:hover,
.text-action[aria-expanded="true"],
.text-action.active {
    color: #fff;
    background: rgba(255,255,255,0.10);
}

.text-action.active {
    background: rgba(var(--accent-rgb), 0.25) !important;
    color: #fff;
}

.text-action:active {
    transform: scale(0.99);
}

.timer-icon {
    font-size: 18px;
    line-height: 1;
}

.status {
    margin-top: 14px;
    min-height: 18px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-soft);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: min(320px, calc(100vw - 34px));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 1000;
}

.dropdown.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.timer-wrap .dropdown {
    left: auto;
    right: 0;
    transform: translateY(8px);
    width: min(320px, calc(100vw - 34px));
}

.timer-wrap .dropdown.open {
    transform: translateY(0);
}

.dropdown-panel {
    background: rgba(10,12,16,0.82);
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 24px;
    padding: 10px;
    box-shadow: var(--shadow-panel);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.dropdown-title {
    padding: 8px 10px 10px;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.dropdown-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-btn {
    width: 100%;
    appearance: none;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.90);
    border-radius: 18px;
    padding: 14px 14px;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.option-btn:hover {
    background: rgba(255,255,255,0.09);
}

.option-btn:active {
    transform: scale(0.992);
}

.option-btn.active {
    background: rgba(var(--accent-rgb), 0.14);
    border-color: rgba(var(--accent-rgb), 0.24);
    color: #fff;
}

.timer-custom {
    display: flex;
    gap: 12px;
    margin-top: 2px;
}

.timer-input {
    flex: 1 1 auto;
    min-width: 0;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.05);
    color: #fff;
    padding: 14px 12px;
    font-size: 14px;
    text-align: center;
    outline: none;
}

.timer-custom .timer-input {
    flex: 1 1 68%;
}

.timer-custom .option-btn {
    flex: 0 0 32%;
    min-width: 96px;
}

.timer-input::placeholder {
    color: rgba(255,255,255,0.38);
}

.scroll-mark {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-faint);
    text-decoration: none;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.84;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.scroll-mark:hover {
    opacity: 1;
}

.scroll-mark .arrows {
    display: inline-flex;
    flex-direction: column;
    line-height: 0.7;
    animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes scrollHint {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.72;
    }
    50% {
        transform: translateY(4px);
        opacity: 1;
    }
}

.content-section {
    padding: 78px 24px 36px;
}

.content-inner {
    max-width: 980px;
    margin: 0 auto;
}

.info-card {
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    isolation: auto;
}

.info-card::before {
    content: none;
}

.info-card h2 {
    margin: 0 0 18px 0;
    font-size: clamp(26px, 4vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.info-card h3 {
    margin: 28px 0 14px 0;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.info-card p {
    margin: 0 0 16px 0;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.72;
}

.info-card strong {
    color: var(--text-main);
    font-weight: 600;
}

.section-link {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255,255,255,0.38);
    transition: opacity 0.18s ease, border-color 0.18s ease;
}

.section-link:hover {
    opacity: 0.92;
    border-color: rgba(255,255,255,0.7);
}

.faq-list {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.faq-item {
    padding: 0;
    border-radius: 0;
    background: none;
    border: 0;
}

.faq-item h3 {
    margin: 0 0 10px 0;
    font-size: 17px;
}

.faq-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

.footer {
    padding: 18px 24px 42px;
}

.footer-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--text-faint);
    font-size: 12px;
    line-height: 1.5;
}

.footer a {
    color: rgba(255,255,255,0.84);
    text-decoration: none;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cookie-banner {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 1200;
    display: none;
}

.cookie-banner.visible {
    display: block;
}

.cookie-inner {
    max-width: 760px;
    margin: 0 auto;
    background: rgba(10,12,16,0.90);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 18px 52px rgba(0,0,0,0.28);
}

.cookie-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255,255,255,0.84);
}

.cookie-text a {
    color: #fff;
}

.cookie-accept {
    appearance: none;
    border: 1px solid rgba(var(--accent-rgb), 0.24);
    background: rgba(var(--accent-rgb), 0.16);
    color: #fff;
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.cookie-accept:hover {
    background: rgba(var(--accent-rgb), 0.22);
}

.cookie-accept:active {
    transform: scale(0.985);
}

.noscript-box {
    max-width: 980px;
    margin: 16px auto 0;
    padding: 16px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    line-height: 1.6;
}

.noscript-box a {
    color: #fff;
}

@media (max-width: 768px) {
    .hero {
        padding: 24px 20px 60px;
    }

    .hero-center {
        max-width: 460px;
    }

    .hero-kicker {
        top: 24px;
        left: 20px;
        right: 20px;
    }

    .hero-top-actions {
        top: 18px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .station-title-text {
        font-size: 38px;
    }

    .station-subtitle {
        font-size: 13px;
    }

    .text-action {
        width: 40px;
        height: 40px;
    }

    .dropdown {
        width: min(320px, calc(100vw - 24px));
    }

    .content-section {
        padding-top: 58px;
    }

    .info-card p {
        font-size: 15px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-inner {
        padding: 13px 14px;
    }
}

@media (max-height: 700px) {
    .hero-kicker {
        top: 14px;
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}