* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: Arial, sans-serif;
}

/* Debug Info */
#debug-info {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 1000;
    /* Später entfernbar mit Kommentar */
}

/* Mode Info */
#mode-info {
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(0, 123, 255, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    z-index: 1000;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Video Container */
#video-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

#background-video {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
}

/* Animation Container */
#animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Elements */
#space, #parasuite {
    position: absolute;
    opacity: 0;
    transform: translateX(-100%);
}

#text1, #text2 {
    position: absolute;
    opacity: 0;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#text1 {
    color: red;
    text-align: right;
    line-height: 1.2;
}

#text2 {
    color: blue;
    text-align: right;
}

#background-box {
    position: absolute;
    background: white;
    border-radius: 10px;
    opacity: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* iOS Play Button */
#ios-play-button {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 20px 30px;
    color: white;
    text-align: center;
}

#ios-play-button button {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#ios-play-button button:hover {
    background: white;
    color: black;
}

/* Universal Mobile Play Button */
#mobile-play-button {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 20px 30px;
    color: white;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#mobile-play-button button {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 15px 20px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mobile-play-button button:hover,
#mobile-play-button button:active {
    background: white;
    color: black;
    transform: scale(1.1);
}

#mobile-play-button span {
    font-size: 14px;
    margin-top: 5px;
}

/* Video Fallback */
#video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Debug Info und Mode Info vollständig verstecken */
#debug-info,
#mode-info {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    .button {
        width: 100%;
        text-align: center;
    }
}