:root {
    --pink: #ff6b9e;
    --blue: #457b9d;
    --dark: #1d3557;
    --light: #f8f4e9;
    --yellow: #ffed00;
    --bg-dark: #121212;
    --text-dark: #e0e0e0;
    --card-dark: #1e1e1e;
    --border-dark: #333;
}

body {
    font-family: 'Squada One', cursive;
    background-color: var(--light);
    color: #333;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    position: relative;
    transition: background-color .3s, color .3s;
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 237, 0, .03) 0, rgba(255, 237, 0, .03) 90%), linear-gradient(135deg, rgba(255, 107, 158, .05) 0, rgba(69, 123, 157, .05) 100%);
    background-attachment: fixed;
}

body[data-decade="80s"]:not(.dark-mode),
body[data-decade="90s"]:not(.dark-mode),
body[data-decade="00s"]:not(.dark-mode),
body[data-decade="10s"]:not(.dark-mode) {
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 107, 158, .2) 0, transparent 25%), radial-gradient(circle at 90% 80%, rgba(69, 123, 157, .2) 0, transparent 25%), radial-gradient(circle at 50% 50%, rgba(255, 237, 0, .1) 0, transparent 30%);
    background-size: 200% 200%;
    animation: gradientFlow 15s ease infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0 0;
    }
}

body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-dark);
    background-image: none;
}

body.dark-mode .page-content {
    background-color: var(--card-dark);
    border-color: var(--border-dark);
    color: var(--text-dark);
}

body.dark-mode .retro-player {
    background-color: var(--card-dark);
    border-color: var(--border-dark);
}

body.dark-mode .player-header {
    background: linear-gradient(to bottom, #333, #222);
}

body.dark-mode .recent-container {
    background-color: #252525;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background-color: #252525;
    color: var(--text-dark);
    border-color: var(--blue);
}

body.dark-mode .footer {
    color: var(--text-dark);
}

.event-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, var(--pink), var(--blue));
    color: #fff;
    padding: 10px 0;
    z-index: 1000;
    overflow: hidden;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, .2);
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker-scroll 40s linear infinite;
    font-family: 'Squada One', cursive;
    text-transform: uppercase;
    font-size: 1.2rem;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, .3);
}

body[data-decade="80s"] .event-ticker {
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    color: #ff0;
    border-top: 3px dashed #ff0;
}

body[data-decade="80s"] .ticker-content {
    animation: ticker-scroll 25s linear infinite, neon-pulse 1.5s ease infinite alternate;
}

body[data-decade="90s"] .event-ticker {
    background: linear-gradient(90deg, red, #ff9900);
    color: #fff;
    border-top: 3px solid #000;
}

body[data-decade="00s"] .event-ticker {
    background: linear-gradient(90deg, #0f0, #00f);
    color: #fff;
    border-top: 1px dotted #fff;
}

body[data-decade="10s"] .event-ticker {
    background: linear-gradient(90deg, #ff6b9e, #457b9d, #ffed00);
    background-size: 200% 200%;
    animation: gradientFlow 5s ease infinite;
    color: #fff;
}

body.dark-mode .event-ticker {
    background: linear-gradient(90deg, #333, #555);
    color: var(--yellow);
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes neon-pulse {
    0% {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #ff00ff, 0 0 20px #ff00ff;
    }
    100% {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #ff00ff, 0 0 40px #ff00ff;
    }
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.dark-mode-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    background: var(--yellow);
    color: var(--dark);
    border: 2px solid var(--pink);
    padding: 5px 12px;
    font-size: .9rem;
    cursor: pointer;
    border-radius: 30px;
    transition: all .3s;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, .1);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dark-mode-toggle:hover {
    background: var(--pink);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .1);
}

.side-logo {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: auto;
    z-index: 100;
    opacity: .6;
    transition: all .3s;
}

.side-logo:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

.side-logo.left {
    left: 20px;
}

.side-logo.right {
    right: 20px;
}

header {
    text-align: center;
    padding: 20px 0;
    position: relative;
}

.logo-img {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--yellow);
    color: var(--dark);
    border: 2px solid var(--pink);
    padding: 8px 20px;
    font-size: .9rem;
    cursor: pointer;
    border-radius: 30px;
    transition: all .3s;
    text-transform: uppercase;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, .1);
}

.language-toggle:hover {
    background: var(--pink);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .1);
}

.decade-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.decade-btn,
.dropdown-btn,
.programma-nav-btn {
    background: var(--yellow);
    color: var(--dark);
    border: 2px solid var(--pink);
    padding: 8px 20px;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 30px;
    transition: all .3s;
    text-transform: uppercase;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, .1);
    font-family: 'Squada One', cursive;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.decade-btn:hover,
.dropdown-btn:hover,
.programma-nav-btn:hover {
    background: var(--pink);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .1);
}

.decade-btn.active,
.dropdown-btn.active,
.programma-nav-btn.active {
    background: var(--pink);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .1);
}

.page-content {
    background: var(--yellow);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .05);
    border: 1px solid #ddd;
    transition: background-color .3s, border-color .3s;
    position: relative;
    overflow: hidden;
}

.page-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, .1) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .1) 50%, rgba(255, 255, 255, .1) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    opacity: .3;
    pointer-events: none;
}

.page-title {
    font-size: 2rem;
    color: var(--pink);
    text-shadow: 3px 3px 0 rgba(0, 0, 0, .1);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.page-text {
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
}

.page-text p {
    margin-bottom: 15px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--dark);
}

body.dark-mode .form-group label {
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--blue);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    background: #fff;
    transition: background-color .3s, color .3s;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--pink);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 30px;
    transition: all .3s;
    text-transform: uppercase;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, .1);
    display: block;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: var(--blue);
    transform: translateY(-3px);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .1);
}

.submit-btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, .1);
    transform: rotate(30deg);
    transition: all .3s;
}

.submit-btn:hover::after {
    left: 100%;
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.contact-language-btn {
    background: var(--yellow);
    color: var(--dark);
    border: 2px solid var(--pink);
    padding: 8px 20px;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 30px;
    transition: all .3s;
    text-transform: uppercase;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, .1);
    margin-left: 15px;
}

.contact-language-btn:hover {
    background: var(--pink);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .1);
}

.retro-player {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin: 30px auto;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .05), 0 4px 8px rgba(0, 0, 0, .1);
    border: 1px solid #ddd;
    position: relative;
    overflow: hidden;
    transition: background-color .3s, border-color .3s;
}

.retro-player::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 158, .05) 0, rgba(69, 123, 157, .05) 100%);
    pointer-events: none;
}

.player-header {
    background: linear-gradient(to bottom, #e0e0e0, #c9c9c9);
    padding: 12px;
    border-radius: 5px 5px 0 0;
    margin: -20px -20px 15px -20px;
    border-bottom: 3px solid var(--dark);
    position: relative;
    transition: background .3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--pink), var(--blue));
}

.on-air {
    background: red;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: .8rem;
    text-transform: uppercase;
    font-weight: 700;
    animation: blink 1.5s infinite alternate;
    box-shadow: 0 0 5px rgba(255, 0, 0, .5);
    margin-left: 10px;
}

body.dark-mode .on-air {
    box-shadow: 0 0 8px rgba(255, 0, 0, .8);
}

@keyframes blink {
    0%, 30% {
        opacity: 0;
    }
    70%, 100% {
        opacity: 1;
    }
}

.now-playing {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #ccc;
    position: relative;
}

.now-playing::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, .1), transparent);
}

.now-playing-label {
    font-size: 1rem;
    color: var(--dark);
    margin-right: 10px;
    font-weight: 700;
}

body.dark-mode .now-playing-label {
    color: var(--text-dark);
}

.song-info {
    flex: 1;
}

.song-title {
    font-size: 1.5rem;
    color: var(--pink);
    margin-bottom: 5px;
}

.artist {
    font-size: 1.1rem;
    color: var(--blue);
}

.player-controls {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

#play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all .3s;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, .1);
    position: relative;
    overflow: hidden;
}

#play-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .1);
}

#play-btn::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(.8);
        opacity: .7;
    }
    70% {
        transform: scale(1.1);
        opacity: 0;
    }
    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

.recent-container {
    margin-top: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    padding: 15px;
    transition: background-color .3s;
    position: relative;
}

.recent-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, .3) 50%, transparent 100%);
    pointer-events: none;
}

.recent-title {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 10px;
    text-transform: uppercase;
}

body.dark-mode .recent-title {
    color: var(--text-dark);
}

.recent-item {
    padding: 5px 0;
    font-size: .9rem;
    position: relative;
    padding-left: 15px;
}

.recent-item::before {
    content: "♫";
    position: absolute;
    left: 0;
    color: var(--pink);
}

body.dark-mode .recent-item {
    color: var(--text-dark);
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.volume-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--pink);
    border-radius: 50%;
    cursor: pointer;
}

.footer {
    text-align: center;
    padding: 15px;
    margin-top: 20px;
    font-size: .85rem;
    color: var(--dark);
    transition: color .3s;
}

.lang-nl {
    display: block;
}

.lang-en {
    display: none;
}

.page-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.text-content {
    flex: 1;
    min-width: 300px;
}

.image-gallery {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    align-content: start;
}

.gallery-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 3px solid var(--pink);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .1);
    transition: all .3s;
}

.gallery-image:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, .15);
}

.vu-meter {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 60px;
    margin: 20px 0;
    gap: 3px;
}

.vu-meter-bar {
    width: 8px;
    background: linear-gradient(to top, #4CAF50, #FFEB3B, #F44336);
    border-radius: 3px;
    transition: height .1s ease-out;
}

body.dark-mode .vu-meter-bar {
    background: linear-gradient(to top, #2E7D32, #FDD835, #C62828);
}

body:not(.dark-mode) .retro-player::after {
    display: block;
}

.turntable-container {
    position: absolute;
    right: 20px;
    width: 60px;
    height: 60px;
    display: none;
}

.turntable {
    position: relative;
    width: 100%;
    height: 100%;
}

.vinyl {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #111 30%, transparent 30.5%), repeating-radial-gradient(circle, #111 0 1px, #eee 1px 3px);
    border-radius: 50%;
    animation: spin 2s linear infinite;
    animation-play-state: paused;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .3);
}

.vinyl::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20%;
    height: 20%;
    background: silver;
    border-radius: 50%;
    border: 1px solid #555;
}

.vinyl-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 40%;
    background: var(--pink);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: .5rem;
    text-align: center;
    font-weight: 700;
}

.tonearm {
    position: absolute;
    top: 10%;
    right: -15px;
    width: 30px;
    height: 2px;
    background: #888;
    transform-origin: left center;
    transform: rotate(-20deg);
    z-index: 2;
}

.tonearm::before {
    content: "";
    position: absolute;
    right: -3px;
    top: -3px;
    width: 8px;
    height: 8px;
    background: #555;
    border-radius: 50%;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.rgb-bars {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, red 0, red 20%, #0f0 20%, #0f0 40%, #00f 40%, #00f 60%, #ff0 60%, #ff0 80%, #f0f 80%, #f0f 100%);
    z-index: 1000;
    animation: rgbSlide 5s linear infinite;
}

@keyframes rgbSlide {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 0;
    }
}

.error404-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0000AA;
    color: #fff;
    font-family: 'Courier New', monospace;
    z-index: 9999;
    padding: 20px;
    overflow: auto;
}

.error404-content {
    max-width: 800px;
    margin: 50px auto;
    line-height: 1.5;
}

.error404-title {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.error404-message {
    margin-bottom: 30px;
}

.error404-btn {
    background: #fff;
    color: #0000AA;
    border: none;
    padding: 10px 20px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s;
}

.error404-btn:hover {
    background: #ccc;
}

.error404-art {
    margin: 20px 0;
    font-size: .9rem;
    color: #aaa;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .2);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--pink);
}

body.dark-mode .dropdown-content {
    background-color: var(--card-dark);
    border-color: var(--border-dark);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-item {
    color: var(--dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all .2s;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
}

body.dark-mode .dropdown-item {
    color: var(--text-dark);
    border-bottom-color: var(--border-dark);
}

.dropdown-item:hover {
    background-color: var(--pink);
    color: #fff;
}

.facts-page {
    display: none;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.fact-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, .1);
    border: 1px solid #ddd;
    transition: all .3s;
}

body.dark-mode .fact-card {
    background: var(--card-dark);
    border-color: var(--border-dark);
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .15);
}

.fact-title {
    font-size: 1.2rem;
    color: var(--pink);
    margin-bottom: 10px;
    border-bottom: 2px solid var(--blue);
    padding-bottom: 5px;
}

.fact-content {
    font-size: 1rem;
    line-height: 1.5;
}

.demografie-page {
    display: none;
}

.demografie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.demografie-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, .1);
    border: 1px solid #ddd;
    transition: all .3s;
}

body.dark-mode .demografie-card {
    background: var(--card-dark);
    border-color: var(--border-dark);
}

.demografie-card:hover {
    transform: translateY(-5px);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .15);
}

.demografie-title {
    font-size: 1.2rem;
    color: var(--pink);
    margin-bottom: 10px;
    border-bottom: 2px solid var(--blue);
    padding-bottom: 5px;
}

.demografie-content {
    font-size: 1rem;
    line-height: 1.5;
}

.programma-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border: 2px solid #075E54;
    padding: 12px 25px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 30px;
    transition: all .3s;
    text-transform: uppercase;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, .1);
    display: block;
    margin: 20px auto;
    text-align: center;
    text-decoration: none;
    max-width: 250px;
}

.programma-btn:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: translateY(-3px);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .1);
}

body.dark-mode .programma-btn {
    border-color: var(--yellow);
}

.programma-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    max-width: 90%;
    max-height: 90vh;
    overflow: auto;
    background: var(--yellow);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .1);
    border: 1px solid #ddd;
}

body.dark-mode .programma-popup {
    background: var(--card-dark);
    border-color: var(--border-dark);
    color: var(--text-dark);
}

.programma-popup-content {
    text-align: center;
}

.programma-popup h1 {
    color: var(--pink);
    margin-bottom: 20px;
}

.programma-popup p {
    margin: 10px 0;
    font-size: 1.1rem;
}

.programma-popup h3 {
    margin-top: 30px;
    color: var(--blue);
}

/* Nieuwe visuele player stijlen */
.decade-player {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin: 30px auto;
    box-shadow: 5px 5px 0 rgba(0,0,0,.05), 0 4px 8px rgba(0,0,0,.1);
    border: 1px solid #ddd;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

body.dark-mode .decade-player {
    background: var(--card-dark);
    border-color: var(--border-dark);
}

.player-header {
    background: linear-gradient(to bottom, #e0e0e0, #c9c9c9);
    padding: 12px;
    border-radius: 5px 5px 0 0;
    margin: -20px -20px 15px -20px;
    border-bottom: 3px solid var(--dark);
    position: relative;
    transition: background .3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.dark-mode .player-header {
    background: linear-gradient(to bottom, #333, #222);
}

.player-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--pink), var(--blue));
}

.on-air {
    background: red;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: .8rem;
    text-transform: uppercase;
    font-weight: 700;
    animation: blink 1.5s infinite alternate;
    box-shadow: 0 0 5px rgba(255,0,0,.5);
    margin-left: 10px;
}

body.dark-mode .on-air {
    box-shadow: 0 0 8px rgba(255,0,0,.8);
}

@keyframes blink {
    0%, 30% { opacity: 0; }
    70%, 100% { opacity: 1; }
}

.player-body {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.visual-display {
    flex: 1;
    min-width: 300px;
    position: relative;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}

.decade-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

/* 70s stijl */
.visual-70s {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2) 10px, transparent 20px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.2) 15px, transparent 25px);
}

.visual-70s::before {
    content: "✌️";
    font-size: 4rem;
    opacity: 0.7;
    animation: rotate 20s linear infinite;
}

/* 80s stijl */
.visual-80s {
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.1) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
}

.visual-80s::before {
    content: "💾";
    font-size: 4rem;
    opacity: 0.7;
    animation: neon-pulse 1.5s ease infinite alternate;
}

/* 90s stijl */
.visual-90s {
    background: linear-gradient(135deg, #ff9900, #ff0000);
    background-image: 
        radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, transparent 70%);
}

.visual-90s::before {
    content: "📼";
    font-size: 4rem;
    opacity: 0.7;
    animation: bounce 2s ease infinite;
}

/* 00s stijl */
.visual-00s {
    background: linear-gradient(135deg, #00ff00, #0000ff);
    background-image: 
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.visual-00s::before {
    content: "📱";
    font-size: 4rem;
    opacity: 0.7;
    animation: glow 2s ease infinite alternate;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0% { text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #0f0, 0 0 20px #0f0; }
    100% { text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #0f0, 0 0 40px #0f0; }
}

.player-controls-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.decade-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.decade-selector-btn {
    background: var(--yellow);
    color: var(--dark);
    border: 2px solid var(--pink);
    padding: 8px 15px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 20px;
    transition: all .3s;
    text-transform: uppercase;
    box-shadow: 2px 2px 0 rgba(0,0,0,.1);
}

.decade-selector-btn:hover {
    background: var(--pink);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 rgba(0,0,0,.1);
}

.decade-selector-btn.active {
    background: var(--pink);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 rgba(0,0,0,.1);
}

.player-controls-main {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 15px 0;
}

.player-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all .3s;
    box-shadow: 3px 3px 0 rgba(0,0,0,.1);
}

.player-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 5px 5px 0 rgba(0,0,0,.1);
}

.player-btn.play {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.volume-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--pink);
    border-radius: 50%;
    cursor: pointer;
}

.now-playing-info {
    margin-top: 20px;
    text-align: center;
}

.song-title {
    font-size: 1.5rem;
    color: var(--pink);
    margin-bottom: 5px;
}

.artist {
    font-size: 1.1rem;
    color: var(--blue);
}

body.dark-mode .song-title {
    color: var(--pink);
}

body.dark-mode .artist {
    color: var(--blue);
}

.recent-container {
    margin-top: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    padding: 15px;
    transition: background-color .3s;
    position: relative;
}

body.dark-mode .recent-container {
    background-color: #252525;
}

.recent-title {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 10px;
    text-transform: uppercase;
}

body.dark-mode .recent-title {
    color: var(--text-dark);
}

.recent-item {
    padding: 5px 0;
    font-size: .9rem;
    position: relative;
    padding-left: 15px;
}

.recent-item::before {
    content: "♫";
    position: absolute;
    left: 0;
    color: var(--pink);
}

body.dark-mode .recent-item {
    color: var(--text-dark);
}

/* Responsive design */
@media (max-width: 1200px) {
    .side-logo {
        width: 80px;
        opacity: .5;
    }
}

@media (max-width: 900px) {
    .side-logo {
        display: none;
    }
    .logo-img {
        max-width: 150px;
    }
    .decade-btn, .dropdown-btn, .programma-nav-btn {
        padding: 6px 15px;
        font-size: 1rem;
    }
    #play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .vu-meter {
        height: 40px;
    }
    .turntable-container {
        width: 50px;
        height: 50px;
    }
    .event-ticker {
        font-size: .9rem;
        padding: 8px 0;
    }
}

@media (max-width: 768px) {
    .page-layout {
        flex-direction: column;
    }
    .image-gallery, .facts-grid, .demografie-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    .dark-mode-toggle, .language-toggle {
        position: absolute;
        top: 15px;
        z-index: 10;
    }
    .dark-mode-toggle {
        left: 15px;
    }
    .language-toggle {
        right: 15px;
    }
    .dark-mode-toggle, .language-toggle {
        padding: 4px 8px;
        font-size: .8rem;
    }
    .vu-meter {
        height: 30px;
    }
    .turntable-container {
        width: 40px;
        height: 40px;
    }
    .event-ticker {
        font-size: .8rem;
        padding: 6px 0;
    }
    .programma-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .dark-mode-toggle, .language-toggle {
        font-size: .7rem;
        padding: 3px 6px;
    }
    .dropdown-content {
        min-width: 160px;
    }
    .dropdown-item {
        padding: 8px 12px;
        font-size: .9rem;
    }
    .programma-btn {
        padding: 8px 15px;
        font-size: .9rem;
    }
    .programma-popup {
        padding: 15px;
    }
}
   /* Network status indicator */
.network-status {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  z-index: 10000;
  transition: opacity 0.5s ease;
  opacity: 1;
}

.network-status.online {
  background-color: #4CAF50;
  color: white;
}

.network-status.offline {
  background-color: #F44336;
  color: white;
}

/* Service Worker gereed melding */
.sw-ready {
  position: fixed;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--pink);
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  z-index: 10000;
  animation: fadeOut 3s forwards;
  animation-delay: 2s;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
// Service Worker registratie
if ('serviceWorker' in navigator) {
  window.addEventListener('load', function() {
    navigator.serviceWorker.register('/sw.js')
      .then(function(registration) {
        console.log('ServiceWorker registration successful with scope: ', registration.scope);
        
        // Toon melding dat de app offline beschikbaar is
        showSWReadyMessage();
      })
      .catch(function(error) {
        console.log('ServiceWorker registration failed: ', error);
      });
  });
}

function showSWReadyMessage() {
  const message = currentLanguage === "nl" ? 
    "App is klaar voor offline gebruik" : "App ready for offline use";
  
  const readyElement = document.createElement('div');
  readyElement.className = 'sw-ready';
  readyElement.textContent = message;
  document.body.appendChild(readyElement);
  
  setTimeout(() => {
    document.body.removeChild(readyElement);
  }, 5000);
}
/* Decade-specific player styles */
body[data-decade="70s"] .retro-player {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #ffd166);
    border: 3px solid #ff6b6b;
    box-shadow: 8px 8px 0 rgba(255, 107, 107, 0.3);
}

body[data-decade="70s"] .player-header {
    background: linear-gradient(to bottom, #ff6b6b, #ff8e8e);
    color: #fff;
    border-bottom: 3px solid #4ecdc4;
}

body[data-decade="70s"] .on-air {
    background: #4ecdc4;
    color: #000;
}

body[data-decade="80s"] .retro-player {
    background: linear-gradient(135deg, #ff00ff, #00ffff, #ffff00);
    border: 3px solid #ff00ff;
    box-shadow: 8px 8px 0 rgba(255, 0, 255, 0.3);
}

body[data-decade="80s"] .player-header {
    background: linear-gradient(to bottom, #ff00ff, #ff66ff);
    color: #ffff00;
    border-bottom: 3px solid #00ffff;
}

body[data-decade="80s"] .on-air {
    background: #00ffff;
    color: #000;
    animation: neon-pulse 1.5s ease infinite alternate;
}

body[data-decade="90s"] .retro-player {
    background: linear-gradient(135deg, #ff9900, #ff0000, #000000);
    border: 3px solid #ff9900;
    box-shadow: 8px 8px 0 rgba(255, 153, 0, 0.3);
}

body[data-decade="90s"] .player-header {
    background: linear-gradient(to bottom, #ff9900, #ffb366);
    color: #000;
    border-bottom: 3px solid #ff0000;
}

body[data-decade="90s"] .on-air {
    background: #ff0000;
    color: #fff;
}

body[data-decade="00s"] .retro-player {
    background: linear-gradient(135deg, #00ff00, #0000ff, #ff00ff);
    border: 3px solid #00ff00;
    box-shadow: 8px 8px 0 rgba(0, 255, 0, 0.3);
}

body[data-decade="00s"] .player-header {
    background: linear-gradient(to bottom, #00ff00, #66ff66);
    color: #0000ff;
    border-bottom: 3px solid #ff00ff;
}

body[data-decade="00s"] .on-air {
    background: #0000ff;
    color: #fff;
}

body[data-decade="10s"] .retro-player {
    background: linear-gradient(135deg, #ff6b9e, #457b9d, #ffed00);
    border: 3px solid #ff6b9e;
    box-shadow: 8px 8px 0 rgba(255, 107, 158, 0.3);
}

body[data-decade="10s"] .player-header {
    background: linear-gradient(to bottom, #ff6b9e, #ff9ec4);
    color: #ffed00;
    border-bottom: 3px solid #457b9d;
}

body[data-decade="10s"] .on-air {
    background: #457b9d;
    color: #fff;
}

/* Home page - neutral style */
body[data-decade="home"] .retro-player,
body:not([data-decade]) .retro-player {
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 5px 5px 0 rgba(0,0,0,.05);
}

body[data-decade="home"] .player-header,
body:not([data-decade]) .player-header {
    background: linear-gradient(to bottom, #e0e0e0, #c9c9c9);
    color: #333;
    border-bottom: 3px solid var(--dark);
}

body[data-decade="home"] .on-air,
body:not([data-decade]) .on-air {
    background: red;
    color: #fff;
}

/* Dark mode adjustments for decade styles */
body.dark-mode[data-decade="70s"] .retro-player {
    background: linear-gradient(135deg, #b34b4b, #3a9d8a, #b39546);
}

body.dark-mode[data-decade="80s"] .retro-player {
    background: linear-gradient(135deg, #b300b3, #00b3b3, #b3b300);
}

body.dark-mode[data-decade="90s"] .retro-player {
    background: linear-gradient(135deg, #b36b00, #b30000, #000000);
}

body.dark-mode[data-decade="00s"] .retro-player {
    background: linear-gradient(135deg, #00b300, #0000b3, #b300b3);
}

body.dark-mode[data-decade="10s"] .retro-player {
    background: linear-gradient(135deg, #b34b6b, #315b6d, #b3a600);
}