/* =========================
   🌐 GLOBAL
========================= */
html {
    scroll-behavior: smooth;
}

body {
    background: black;
    margin: 0;
    padding-top: 80px;
    color: #e6e0ff;
    font-family: Arial, sans-serif;
    text-align: center;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

section h2 {
    color: #b8aaff;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    text-shadow: 0 0 10px #6D609D
}

/* =========================
   Toast
========================= */
.toast {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);

    z-index: 9999;
    
    background: rgba(10, 10, 20, 0.95);
    color: #cbb6ff;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid rgba(180, 140, 255, 0.2);

    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}

/* Varianten */
.toast.success {
    border-color: #8A7CFF;
    box-shadow: 0 0 20px #8A7CFF;
}

.toast.error {
    border-color: #ff4d4d;
    box-shadow: 0 0 20px #ff4d4d;
}

/* =========================
   🎬 BACKGROUND
========================= */

#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    filter: blur(3px);
    object-fit: cover;
    z-index: -2;
}

@media (min-width: 768px) {
    #bg-video {
        filter: blur(3px);
    }
}

.overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.9)
    );
    z-index: -1;
}

/* =========================
   ✨ ANIMATION
========================= */

header,
.games,
.explore,
.links {
    animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border: 2px solid #6D609D;
    box-shadow: 0 0 30px #6D609D;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* =========================
   MUSIC
========================= */

.music-floating {
    position: fixed;
    top: 80px; /* unter Navbar */
    right: 20px;
    z-index: 9999;
}

.music-btn {
    background: rgba(10, 10, 20, 0.9);
    border: 1px solid rgba(138,124,255,0.6);
    color: #6D609D;
    border-radius: 20px;
    padding: 10px 30px;
    cursor: pointer;
    transition: 0.2s;
}

.music-btn:hover {
    box-shadow: 0 0 10px rgba(138,124,255,0.6);
}

/* =========================
   🧾 FOOTER
========================= */

/* Content wächst */
main {
    flex: 1;
}

/* Footer bleibt unten */
footer {
    text-align: center;
    padding: 20px;
    color: #aaa;
    
}