:root {
    --navy: #030b18;
    --deep: #04122b;
    --ink: #061c38;
    --amber: #fe6912;
    --shell: #ffe7c3;
    --mist: #9fb3d1;
    --line: rgba(255, 255, 255, 0.12);
    --glass: rgba(5, 17, 43, 0.78);
    --radius-lg: 34px;
    --radius-md: 18px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    color: #f1f4ff;
    background: radial-gradient(circle at 25% 15%, #0b294f, var(--navy) 55%),
        radial-gradient(circle at 80% 0%, #031225, transparent 60%),
        linear-gradient(120deg, #030a16, #050d22);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="160" height="160" viewBox="0 0 160 160"%3E%3Cg fill="none" stroke="%23ffffff" stroke-opacity="0.03"%3E%3Cpath d="M0 160L160 0"/%3E%3Cpath d="M-40 160L160 -40"/%3E%3Cpath d="M80 200L200 80"/%3E%3C/g%3E%3C/svg%3E');
    mix-blend-mode: screen;
    z-index: -1;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 4rem clamp(1.5rem, 6vw, 6rem);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.78rem;
    color: var(--shell);
}

.site-header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem clamp(1.5rem, 6vw, 6rem);
    background: rgba(3, 8, 23, 0.9);
    backdrop-filter: blur(18px);
    z-index: 20;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-mark {
    width: 72px;
    filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.45));
}

.brand-name {
    margin: 0;
    font-family: 'Staatliches', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.08em;
}

.main-nav {
    display: flex;
    gap: 1.2rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.main-nav a {
    color: #fbfcff;
    text-decoration: none;
    padding-bottom: 0.3rem;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--amber);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

button,
.cta-link {
    font-family: 'Space Grotesk', sans-serif;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    border-radius: 999px;
    padding: 0.8rem 1.6rem;
}

.cta-link,
.cta-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #f1f4ff;
}

.cta-solid {
    background: linear-gradient(120deg, var(--amber), #ff9a4f);
    color: #160c02;
    box-shadow: 0 20px 45px rgba(254, 105, 18, 0.25);
}

.cta-solid:hover,
.cta-ghost:hover,
.cta-link:hover {
    transform: translateY(-2px);
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    padding-top: 5rem;
}

.hero-copy {
    background: var(--glass);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--line);
    backdrop-filter: blur(22px);
}

.hero-copy h1 {
    font-family: 'Staatliches', sans-serif;
    font-size: clamp(2.7rem, 5vw, 4rem);
    line-height: 1.1;
    margin: 1rem 0;
}

.lede {
    color: #b6c3da;
    max-width: 46ch;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    letter-spacing: 0.25em;
    font-size: 0.75rem;
    background: rgba(254, 105, 18, 0.15);
    color: var(--amber);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.dial {
    margin-top: 2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.dial-scale {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--mist);
    margin-bottom: 1rem;
}

.dial-indicator {
    --dial-position: 0.5;
    position: relative;
    height: 70px;
    border-radius: var(--radius-md);
    background: rgba(6, 19, 40, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 1rem;
    overflow: hidden;
}

.dial-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    width: 2px;
    left: calc(var(--dial-position) * 100%);
    transform: translateX(-50%);
    background: var(--amber);
    box-shadow: 0 0 12px rgba(254, 105, 18, 0.5);
    transition: left 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.dial-beam {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(254, 105, 18, 0.6), transparent);
    animation: sweep 7s ease-in-out infinite;
}

@keyframes sweep {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0%); }
    100% { transform: translateX(100%); }
}

.now-strip {
    margin-top: 2rem;
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
}

.ticker {
    font-size: 1rem;
    letter-spacing: 0.08em;
    transition: opacity 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticker.is-swapping {
    opacity: 0;
    transform: translateY(-6px);
}

.hero-visuals {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.banner-frame {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: linear-gradient(140deg, rgba(6, 20, 44, 0.95), rgba(3, 8, 23, 0.9));
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
    transform: perspective(1200px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
    transition: transform 0.3s ease-out;
}

.banner {
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.wordmark {
    position: absolute;
    width: 48%;
    top: 12%;
    right: 5%;
    animation: float 9s ease-in-out infinite;
}

.frequency {
    position: absolute;
    width: 38%;
    bottom: 12%;
    left: 6%;
    animation: float 11s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

.telemetry-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    background: rgba(3, 11, 26, 0.85);
}

.telemetry-card .value {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    color: var(--shell);
}

.section-heading h2 {
    font-family: 'Staatliches', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin: 0.5rem 0;
}

.features {
    background: linear-gradient(180deg, rgba(4, 12, 28, 0.2), rgba(4, 12, 28, 0.65));
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.3rem;
}

.feature-grid article {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    background: rgba(3, 10, 24, 0.65);
    transition: transform 0.3s ease, border-color 0.3s ease;
    min-height: 220px;
}

.feature-grid article:hover {
    transform: translateY(-6px);
    border-color: rgba(254, 105, 18, 0.6);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.tag {
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.live {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding-top: 0;
}

.now-card,
.schedule,
.twitch-card,
.signup,
.callouts article {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(3, 9, 24, 0.65);
    padding: 2rem;
}

.twitch-card h3 {
    margin-top: 0.35rem;
}

.twitch-card {
    grid-column: 1 / -1;
}

.twitch-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1.2rem 0;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.twitch-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.twitch-fallback {
    border: 1px dashed rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-dot {
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    color: var(--amber);
    position: relative;
    padding-left: 1.5rem;
}

.status-dot::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 18px rgba(254, 105, 18, 0.8);
}

.waveform {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 6px;
    margin: 1.5rem 0;
}

.waveform span {
    display: block;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--amber), rgba(254, 105, 18, 0));
    animation: pulse 1.8s ease-in-out infinite;
}

.waveform span:nth-child(odd) { animation-delay: 0.2s; }
.waveform span:nth-child(3n) { animation-delay: 0.5s; }

@keyframes pulse {
    0%, 100% { transform: scaleY(0.4); opacity: 0.6; }
    50% { transform: scaleY(1); opacity: 1; }
}

.listen-block {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.listen-block audio {
    display: none;
}

.player-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.player-toggle {
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    letter-spacing: 0.15em;
}

.player-volume {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 180px;
}

.player-volume label {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mist);
}

.player-volume input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
}

.player-volume input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 10px rgba(254, 105, 18, 0.6);
    cursor: pointer;
}

.player-volume input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 10px rgba(254, 105, 18, 0.6);
    border: none;
    cursor: pointer;
}

.player-status {
    font-size: 0.85rem;
    color: var(--shell);
}

.listen-block .meta {
    color: #8d9ab5;
    font-size: 0.8rem;
}

.schedule ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.schedule li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.schedule li:last-child {
    border-bottom: none;
}

.slot {
    letter-spacing: 0.35em;
    color: var(--shell);
    font-size: 0.85rem;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: start;
}

.map-card {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: radial-gradient(circle at 50% 50%, rgba(254, 105, 18, 0.2), transparent 60%),
        linear-gradient(135deg, rgba(8, 27, 58, 0.9), rgba(3, 9, 24, 0.9));
    overflow: hidden;
}

.ring {
    position: absolute;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: shimmer 6s linear infinite;
}

.ring-large {
    width: 88%;
    height: 88%;
    top: 6%;
    left: 6%;
}

.ring-mid {
    width: 62%;
    height: 62%;
    top: 19%;
    left: 19%;
}

.ring-small {
    width: 38%;
    height: 38%;
    top: 31%;
    left: 31%;
}

@keyframes shimmer {
    0% { opacity: 0.35; }
    50% { opacity: 0.8; }
    100% { opacity: 0.35; }
}

.marker {
    position: absolute;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(3, 9, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
}

.marker-boven { top: 42%; left: 46%; }
.marker-hoorn { top: 50%; left: 58%; }
.marker-ams { top: 65%; left: 38%; }

.coverage-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.telemetry-grid article {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    background: rgba(5, 16, 35, 0.75);
}

.telemetry-grid h3 {
    font-size: 2rem;
    margin: 0.25rem 0;
    color: var(--shell);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.signup label {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
}

.signup input {
    width: 100%;
    padding: 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(3, 9, 24, 0.75);
    color: #f1f4ff;
    margin: 0.3rem 0 1rem;
}

.signup button {
    width: 100%;
    border-radius: 14px;
    padding: 1rem;
    margin-top: 0.3rem;
    background: linear-gradient(120deg, var(--amber), #ffb15f);
    color: #120900;
    font-weight: 600;
}

.signup .meta {
    font-size: 0.8rem;
    color: var(--mist);
    margin-top: 0.6rem;
}

.callouts {
    display: grid;
    gap: 1rem;
}

.callouts article {
    min-height: 150px;
}

.site-footer {
    padding: 2rem clamp(1.5rem, 6vw, 6rem);
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    background: rgba(3, 9, 24, 0.85);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: #91a0be;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    text-decoration: none;
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .schedule li {
        grid-template-columns: 1fr;
        text-align: left;
    }
}
