:root {
    --bg-color: #121212;
    --text-color: #ffffff;
    --header-bg: #1e1e1e;
    --card-bg: #2a2a2a;
    --accent-color: #ff5500;
}

.cookie-banner {
    background-color: var(--header-bg);
    padding: 20px;
    border-top: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    position: relative;
    z-index: 1000;
}

.cookie-banner.show {
    display: flex;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-button {
    padding: 8px 24px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-family: "DM Sans Variable", sans-serif;
    font-weight: bold;
    transition: opacity 0.2s;
}

.cookie-button.accept {
    background-color: var(--accent-color);
    color: white;
}

.cookie-button.decline {
    background-color: #444;
    color: white;
}

.cookie-button:hover {
    opacity: 0.8;
}

.iframe-placeholder {
    background-color: #1a1a1a;
    border: 1px dashed #444;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
    font-size: 0.8rem;
    min-height: 120px;
    position: relative;
}

.iframe-placeholder::after {
    content: "Player blockiert - Bitte Cookies zustimmen";
}

.youtube-placeholder {
    aspect-ratio: 16 / 9;
    min-height: auto;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--header-bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.reset-link {
    background: none;
    border: none;
    color: #888;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.7rem;
    font-family: "DM Sans Variable", sans-serif;
}

.reset-link:hover {
    color: var(--text-color);
}

.title {
    margin: 0;
    font-size: 1.5rem;
    font-family: "DM Sans Variable", sans-serif;
}

.content {
    padding: 20px;
    flex: 1;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--card-bg);
    color: var(--text-color);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-family: "DM Sans Variable", sans-serif;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.tab-icon {
    height: 14px;
    fill: currentColor;
}

.mixcloud-logo {
    width: auto;
    max-width: 80px;
}

.soundcloud-logo,
.youtube-logo {
    width: auto;
    max-width: 100px;
}

.tab-button.active {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.tab-button.active .youtube-logo path:last-child {
    fill: var(--text-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.category-title {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 15px;
    font-family: "DM Sans Variable", sans-serif;
}

.iframe-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.youtube-grid {
    grid-template-columns: 1fr;
}

.youtube-iframe-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.youtube-iframe-container iframe {
    aspect-ratio: 16 / 9;
    height: auto;
}

@media (max-width: 1024px) {
    .youtube-iframe-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .youtube-iframe-container {
        grid-template-columns: 1fr;
    }
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: var(--header-bg);
    margin-top: 20px;
    font-family: "DM Sans Variable", sans-serif;
    font-size: 0.8rem;
    color: #888;
}

.footer-link {
    color: var(--accent-color);
    text-decoration: none;
    display: inline-block;
}

.footer-link:hover {
    text-decoration: underline;
}

.privacy-page h3, .privacy-page h4 {
    font-family: "DM Sans Variable", sans-serif;
    color: var(--accent-color);
    margin-top: 20px;
}

.privacy-page p {
    line-height: 1.6;
    color: #ccc;
}
