:root {
    --bg-1: #06184d;
    --bg-2: #0c2f90;
    --card: rgba(7, 26, 92, 0.62);
    --card-border: rgba(255, 255, 255, 0.12);
    --text: #f6f8ff;
    --muted: #c9d5ff;
    --yellow: #ffd230;
    --green: #7fe000;
    --accent: #2a8cff;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    --radius: 26px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, #06123d 0%, #0a2b7a 45%, #0d49d1 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button, select {
    font: inherit;
}

.site-bg {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 210, 48, 0.18), transparent 20%), radial-gradient(circle at bottom left, rgba(127, 224, 0, 0.12), transparent 22%), radial-gradient(circle at center, rgba(255,255,255,0.04), transparent 50%);
    pointer-events: none;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.glass {
    background: var(--card);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(4, 15, 55, 0.72);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
    min-height: 86px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
}

.brand-logo {
    height: 100px;
    width: auto;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

    .nav-links a {
        color: rgba(255,255,255,0.88);
        font-weight: 600;
    }

        .nav-links a:hover {
            color: #fff;
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-cta, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,0.12);
    transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

    .nav-cta:hover, .btn:hover {
        transform: translateY(-1px);
    }

.nav-cta {
    background: linear-gradient(135deg, #0f56ff, #0a85ff);
    color: #fff;
    box-shadow: 0 10px 30px rgba(10, 133, 255, 0.35);
}

.lang-dropdown {
    position: relative;
}

.lang-button {
    min-width: 150px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    padding: 12px 16px;
    cursor: pointer;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    background: rgba(5, 18, 63, 0.95);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 8px;
    box-shadow: var(--shadow);
    display: none;
}

.lang-dropdown.open .lang-menu {
    display: block;
}

.lang-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    background: transparent;
    border: 0;
    padding: 12px 14px;
    border-radius: 12px;
    cursor: pointer;
}

    .lang-option:hover {
        background: rgba(255,255,255,0.08);
    }

.hero, .live-section, .experience, .about {
    padding: 72px 0;
    position: relative;
}

.hero-grid, .live-grid, .about-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 34px;
    align-items: center;
}

.eyebrow, .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #fff;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.12);
}

.hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(2.4rem, 5vw, 4.7rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero p, .live-copy p, .section-heading p, .about-panel p, .info-card p, .hero-point span, .player-status, .player-meta p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 26px 0 28px;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd230, #f7b500);
    color: #07215f;
    border: 0;
}

.btn-secondary {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.btn-block {
    width: 100%;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hero-point {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}

    .hero-point strong {
        display: block;
        margin-bottom: 8px;
        color: var(--yellow);
        font-size: 1.05rem;
    }

.hero-card {
    border-radius: var(--radius);
    padding: 24px;
}

.betz-hero {
    width: min(360px, 100%);
    margin: 0 auto 12px;
}

.status-pill {
    display: inline-block;
    margin-bottom: 8px;
    color: #9aff6f;
    font-weight: 800;
}

.feature-list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

    .feature-list li {
        padding: 14px 16px;
        border-radius: 16px;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.08);
    }

        .feature-list li::before {
            content: '✓';
            color: var(--yellow);
            font-weight: 900;
            margin-right: 10px;
        }

.player-shell {
    border-radius: var(--radius);
    padding: 22px;
}

.player-cover-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    margin-bottom: 18px;
}

.player-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.cover-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 800;
    background: rgba(5,18,63,0.85);
    border: 1px solid rgba(255,255,255,0.14);
}

.live-indicator {
    display: inline-block;
    color: #ff7373;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.player-meta h3 {
    margin: 6px 0;
    font-size: 1.5rem;
}

.player-status {
    margin: 16px 0;
}

.radio-frame-container {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.05);
}

.radio-frame-container {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .6s ease, transform .6s ease;
}

    .radio-frame-container.is-hidden {
        opacity: 0;
        transform: translateY(20px);
        pointer-events: none;
    }


#radioFrame {
    display: block;
    width: 100%;
    min-height: 220px;
    border: 0;
    background: #081e62;
}

.section-heading {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 34px;
}

    .section-heading h2, .live-copy h2, .about-panel h2, .hero-card h2 {
        font-size: clamp(1.9rem, 3vw, 3rem);
        margin: 16px 0 12px;
        line-height: 1.1;
    }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-card, .about-panel {
    padding: 24px;
    border-radius: 24px;
}

    .info-card h3 {
        margin-top: 0;
        font-size: 1.25rem;
    }

.mascot-panel {
    display: flex;
    align-items: center;
    justify-content: center;
}

.betz-side {
    width: min(360px, 100%);
}

.footer {
    padding: 32px 0 46px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(4, 12, 42, 0.5);
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.footer p {
    color: var(--muted);
    margin: 8px 0 0;
}

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

[dir="rtl"] .nav, [dir="rtl"] .footer-row {
    direction: rtl;
}

[dir="rtl"] .lang-menu {
    right: auto;
    left: 0;
}

@media (max-width: 980px) {
    .nav {
        grid-template-columns: 1fr;
        padding: 18px 0;
        justify-items: center;
    }

    .hero-grid, .live-grid, .about-grid, .cards-grid, .hero-points {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .brand-logo {
        height: 48px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .lang-button {
        width: 100%;
        justify-content: center;
    }

    .nav-cta {
        width: 100%;
    }

    .hero, .live-section, .experience, .about {
        padding: 54px 0;
    }
}

#startRadioButton.loading {
    opacity: .7;
    pointer-events: none;
}

.nav-install {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

    .nav-install:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,0.14);
    }

.is-hidden {
    display: none !important;
}