/* === Body & Layout === */
html, body {
    height: 100%;
    overflow-x: hidden;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100dvh; /* dynamische Viewport-Höhe für Mobilgeräte */
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background: url('../images/thaibubble-bg.webp') center/cover no-repeat;
}

/* === Topbar === */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
}
.top-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.top-left .logo { 
    height:50px; 
}

/* === Topbar Buttons === */
.top-left nav {
    display: flex;
    gap: 10px;
}
.top-left nav a {
    display: inline-block;
    padding: 8px 18px;
    background: #ff6a00;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.top-left nav a:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255,106,0,0.4);
}

/* === Topbar Uhr === */
.top-right {
    display: inline-block;
    padding: 8px 18px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    font-size: 14px;
    border: 1px solid #ff6a00; 
    border-radius: 6px;
    transition: all 0.2s ease;
    user-select: none;
}

/* === Hero === */
.hero {
    flex: 1 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* === Buttons === */
.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.buttons a {
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 500;
    background: #ff6a00;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
}
.buttons a:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255,106,0,0.3);
}

/* === Videoplayer === */
#videoPlayer {
    max-width: 80%;
    max-height: 60vh;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255,106,0,0.5);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}
#videoPlayer.visible {
    opacity: 1;
    transform: translateY(0);
}
#videoPlayer.playing {
    animation: pulseBorder 1s infinite alternate;
}
@keyframes pulseBorder {
    from { box-shadow:0 0 10px rgba(255,106,0,0.4); }
    to   { box-shadow:0 0 30px rgba(255,106,0,0.9); }
}

/* === Footer === */
footer {
    flex-shrink: 0;
    text-align: center;
    padding: 12px 0;
    background: rgba(0,0,0,0.8);
    border-top: 1px solid rgba(255,255,255,0.6);
}
.heart { 
    color:red; 
    animation: pulse 1s infinite ease-in-out; 
}
@keyframes pulse { 
    0%,100%{transform:scale(1);} 
    50%{transform:scale(1.2);} 
}

/* === Responsive === */
@media (max-width: 768px) {
    /* Video Player anpassen */
    #videoPlayer { 
        max-width: 95%; 
        max-height: 40vh; 
    }

    /* Topbar Buttons kompakt */
    .top-left {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    .top-left nav {
        flex-wrap: wrap;
        gap: 10px;
    }
    .top-left nav a {
        margin-right: 0;
        padding: 6px 12px;
        font-size: 14px;
    }

    /* Topbar Uhr kleiner */
    .top-right {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Hero Text anpassen */
    .hero-inner {
        gap: 15px;
        padding: 0 10px;
    }

    /* Hero Buttons untereinander bei wenig Platz */
    .buttons {
        flex-direction: column;
        gap: 15px;
    }
}
