:root {
    --blue-1: #071f4d;
    --blue-2: #0a2d67;
    --blue-3: #103f8f;
    --blue-4: #0a1a38;
    --red-1: #e41f28;
    --red-2: #ff444d;
    --text-1: #0b1f3f;
    --text-2: #6f7e95;
    --white: #ffffff;
    --border: rgba(255, 255, 255, 0.2);
    --shell-shadow: 0 30px 80px rgba(7, 26, 67, 0.16);
    --card-shadow: 0 20px 55px rgba(3, 20, 50, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-1);
    background:
        radial-gradient(circle at top left, rgba(228, 31, 40, 0.08), transparent 26%),
        radial-gradient(circle at right center, rgba(16, 63, 143, 0.10), transparent 30%),
        linear-gradient(180deg, #f9fbff 0%, #edf3fb 100%);
    overflow-x: hidden;
}

.page-glow {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(25px);
}

.glow-1 {
    width: 420px;
    height: 420px;
    top: -160px;
    left: -160px;
    background: rgba(228, 31, 40, 0.10);
}

.glow-2 {
    width: 520px;
    height: 520px;
    right: -200px;
    top: 180px;
    background: rgba(16, 63, 143, 0.11);
}

.page-wrap {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 28px), 900px);
    margin: 0 auto;
    padding: 42px 0 32px;
}

.radio-shell {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 251, 255, 0.97) 100%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--shell-shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.radio-shell::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 240px;
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.9), transparent 62%),
        linear-gradient(135deg, rgba(228, 31, 40, 0.08) 0%, rgba(10, 45, 103, 0.08) 100%);
    pointer-events: none;
}

.shell-top {
    position: relative;
    padding: 26px 30px 18px;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--red-1);
    background: rgba(228, 31, 40, 0.08);
    border: 1px solid rgba(228, 31, 40, 0.14);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red-1);
    box-shadow: 0 0 0 5px rgba(228, 31, 40, 0.10);
    animation: pulse 1.5s infinite;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 18px;
}

.brand-logo-wrap {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    padding: 6px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 16px 40px rgba(0, 26, 66, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.brand-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.brand-copy {
    flex: 1;
}

.brand-copy h1 {
    margin: 0 0 10px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
    letter-spacing: -1.8px;
    color: var(--blue-1);
}

.brand-copy p {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    color: var(--text-2);
    font-size: 15px;
}

.brand-copy p span {
    color: var(--red-1);
    font-size: 11px;
}

.install-button {
    width: 100%;
    max-width: 340px;
    min-height: 66px;
    margin-top: 22px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 12px 20px;
    border: 0;
    border-radius: 18px;
    cursor: pointer;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-3) 0%, var(--blue-1) 100%);
    box-shadow: 0 16px 34px rgba(10, 45, 103, 0.25);
    font-family: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.install-button.mobile-visible {
    display: flex;
}

.install-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(10, 45, 103, 0.30);
}

.install-button:active {
    transform: translateY(0);
}

.install-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
}

.install-icon svg {
    width: 22px;
    height: 22px;
}

.install-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.install-text strong {
    font-size: 15px;
    line-height: 1.2;
}

.install-text small {
    margin-top: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.72);
}

.player-card {
    position: relative;
    margin: 0 20px 20px;
    padding: 18px;
    border-radius: 28px;
    background: linear-gradient(180deg, #0d3271 0%, #071f4d 100%);
    box-shadow: var(--card-shadow);
}

.player-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    padding: 4px 6px 0;
}

.player-heading .mini-label {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.player-heading h2 {
    margin: 0;
    color: var(--white);
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.4px;
}

.player-bars {
    height: 28px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.player-bars span {
    width: 4px;
    border-radius: 999px;
    background: var(--red-2);
    transform-origin: center;
    animation: bars 0.85s ease-in-out infinite alternate;
}

.player-bars span:nth-child(1) {
    height: 11px;
}

.player-bars span:nth-child(2) {
    height: 25px;
    animation-delay: 0.12s;
}

.player-bars span:nth-child(3) {
    height: 16px;
    animation-delay: 0.24s;
}

.player-bars span:nth-child(4) {
    height: 21px;
    animation-delay: 0.36s;
}

.player-frame {
    overflow: hidden;
    border-radius: 22px;
    background: #062252;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        0 14px 32px rgba(1, 14, 37, 0.24);
}

.player-frame iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: none;
    background: #062252;
}

.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 28px;
    text-align: center;
}

.footer-logo-wrap {
    width: 54px;
    height: 54px;
    padding: 2px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 24px rgba(0, 24, 61, 0.10);
    margin-bottom: 12px;
}

.footer-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.site-footer p {
    margin: 0 0 4px;
    color: #4b5f7e;
    font-size: 12px;
    font-weight: 600;
}

.site-footer span {
    color: #8694a8;
    font-size: 11px;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    background: rgba(2, 12, 30, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal.show {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: min(100%, 390px);
    padding: 36px 28px 28px;
    border-radius: 28px;
    text-align: center;
    background: var(--white);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    color: #6a7a92;
    background: #f1f4f9;
    font-size: 25px;
    line-height: 1;
}

.modal-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: var(--white);
    background: linear-gradient(135deg, var(--red-2), #c7161f);
    box-shadow: 0 14px 32px rgba(228, 31, 40, 0.23);
}

.modal-icon svg {
    width: 30px;
    height: 30px;
}

.modal-content h3 {
    margin: 0 0 12px;
    color: var(--blue-1);
    font-size: 23px;
}

.modal-content > p {
    margin: 0 0 22px;
    color: #66758d;
    font-size: 14px;
    line-height: 1.6;
}

.ios-step {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 13px 14px;
    border-radius: 14px;
    background: #f7f9fc;
    border: 1px solid rgba(10, 45, 103, 0.08);
    text-align: left;
    color: #4f5e74;
    font-size: 13px;
    line-height: 1.4;
}

.ios-number {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--blue-2);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
}

.share-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    vertical-align: middle;
    color: var(--blue-2);
}

.modal-ok {
    width: 100%;
    margin-top: 14px;
    padding: 14px;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    color: var(--white);
    background: var(--blue-2);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.45;
        transform: scale(0.86);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bars {
    from {
        transform: scaleY(0.42);
    }
    to {
        transform: scaleY(1);
    }
}

@media (max-width: 860px) {
    .brand-block {
        flex-direction: column;
        text-align: center;
    }

    .brand-copy {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .player-frame iframe {
        height: 480px;
    }
}

@media (max-width: 600px) {
    .page-wrap {
        width: calc(100% - 18px);
        padding-top: 20px;
    }

    .radio-shell {
        border-radius: 26px;
    }

    .shell-top {
        padding: 20px 16px 14px;
    }

    .brand-block {
        gap: 16px;
        margin-top: 16px;
    }

    .brand-logo-wrap {
        width: 132px;
        height: 132px;
        border-radius: 24px;
    }

    .brand-logo {
        border-radius: 20px;
    }

    .brand-copy h1 {
        font-size: 31px;
        letter-spacing: -1px;
    }

    .brand-copy p {
        justify-content: center;
        font-size: 13px;
    }

    .install-button {
        margin-top: 18px;
        max-width: 100%;
        min-height: 64px;
    }

    .player-card {
        margin: 0 10px 10px;
        padding: 14px;
        border-radius: 22px;
    }

    .player-card-head {
        padding: 2px 2px 0;
        margin-bottom: 12px;
    }

    .player-heading h2 {
        font-size: 20px;
    }

    .player-frame {
        border-radius: 18px;
    }

    .player-frame iframe {
        height: 450px;
    }

    .site-footer {
        padding-top: 22px;
    }
}

@media (max-width: 400px) {
    .brand-copy h1 {
        font-size: 28px;
    }

    .player-frame iframe {
        height: 420px;
    }

    .modal-content {
        padding: 34px 20px 22px;
    }
}

@supports (padding: env(safe-area-inset-bottom)) {
    body {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}