* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    background-color: #000;
}

/* Hintergrund-Video */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.bg-video {
    width: 180vw;
    height: 180vh;
    position: absolute;
    top: -40vh;
    left: -40vw;
    object-fit: cover;
    transform: rotate(-45deg);
    filter: blur(8px) brightness(0.6);
}

/* Navigationsleiste */
.navbar {
    background-color: #222222;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-btn {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu-btn .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-btn.open .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.menu-btn.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-btn.open .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    user-select: none;
    cursor: pointer;
}

.nav-center {
    flex-grow: 1;
    max-width: 400px;
    margin: 0 20px;
}

.search-input {
    width: 100%;
    padding: 8px 15px;
    border-radius: 20px;
    border: none;
    outline: none;
    background-color: #333;
    color: white;
}

.search-input::placeholder {
    color: #bbb;
}

/* Lautstärke-Steuerung */
.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sound-btn {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.volume-slider {
    width: 70px;
    height: 4px;
    accent-color: white;
    cursor: pointer;
}

.icon-link, .profile-icon {
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 60px;
    left: -250px;
    width: 250px;
    height: calc(100vh - 60px);
    background-color: #222222;
    transition: left 0.3s ease;
    z-index: 999;
}

.sidebar.active {
    left: 0;
}

.sidebar ul {
    list-style: none;
    padding: 20px;
}

.sidebar ul li {
    margin-bottom: 15px;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.sidebar ul li a:hover {
    background-color: #333;
}

/* Layout für den Zentrierten Hauptbereich */
.download-page-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 20px;
    width: 100%;
}

/* Unterstrichene Überschrift Oben */
.page-title {
    font-size: 2.5rem;
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-color: #ffcc00;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    margin-bottom: 25px;
    text-align: center;
}

/* Download Card mittig */
.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(34, 34, 34, 0.85);
    padding: 25px;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    max-width: 420px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Platzhalter-Box für das Bild */
.image-placeholder {
    width: 100%;
    height: 200px;
    background-color: #2a2a2a;
    border: 2px dashed #555;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 20px;
}

.placeholder-text {
    color: #888;
    font-size: 0.95rem;
}

.download-card h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
}

/* 2 Download-Knöpfe Nebeneinander mit Abstand */
.download-buttons {
    display: flex;
    width: 100%;
    gap: 16px; /* Sichtbarer Abstand zwischen den Buttons */
}

.dl-btn {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    background-color: #444;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.disabled-btn {
    opacity: 0.6;
    cursor: not-allowed;
    border: 1px solid #666;
}

.disabled-btn:hover {
    background-color: #555;
}

/* Footer unten fixiert */
footer {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 12px;
    color: #ccc;
    background-color: rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 10;
}

/* ==========================================
   @MEDIA QUERIES (TABLETS & SMARTPHONES)
   ========================================== */

/* Tablets (bis 1024px) */
@media (max-width: 1024px) {
    .nav-center {
        max-width: 250px;
    }
}

/* Smartphones (bis 768px) */
@media (max-width: 768px) {
    .navbar {
        padding: 0 12px;
    }

    .nav-center {
        display: none; /* Suchleiste blendet sich für Platz aus */
    }

    .volume-slider {
        width: 50px;
    }

    .page-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .download-card {
        padding: 20px;
        width: 92%;
    }

    .image-placeholder {
        height: 160px;
    }

    footer {
        padding: 10px;
        font-size: 10px;
        line-height: 1.4;
    }
}

/* Sehr kleine Handys (bis 480px) */
@media (max-width: 480px) {
    .download-buttons {
        gap: 10px; /* Kompakterer Abstand auf extrem schmalen Handys */
    }

    .dl-btn {
        padding: 10px 5px;
        font-size: 0.85rem;
    }
}