/* Hintergrund */
body {
    margin: 0;
    padding: 0;
    background-image: url("Hintergrund.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
}

/* ===========================
   SEIFENBLASEN – ÜBER DIE GANZE SEITE
   =========================== */

.bubble-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.bubble {
    position: absolute;
    bottom: -200px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    box-shadow: 0 0 22px rgba(255,255,255,1);
    animation: rise 14s infinite ease-in;
}

.bubble:nth-child(1) { left: 5%; width: 55px; height: 55px; animation-duration: 18s; }
.bubble:nth-child(2) { left: 12%; width: 35px; height: 35px; animation-duration: 20s; }
.bubble:nth-child(3) { left: 20%; width: 75px; height: 75px; animation-duration: 24s; }
.bubble:nth-child(4) { left: 28%; width: 45px; height: 45px; animation-duration: 22s; }
.bubble:nth-child(5) { left: 36%; width: 65px; height: 65px; animation-duration: 26s; }
.bubble:nth-child(6) { left: 44%; width: 40px; height: 40px; animation-duration: 19s; }
.bubble:nth-child(7) { left: 52%; width: 50px; height: 50px; animation-duration: 28s; }
.bubble:nth-child(8) { left: 60%; width: 30px; height: 30px; animation-duration: 21s; }
.bubble:nth-child(9) { left: 70%; width: 80px; height: 80px; animation-duration: 25s; }
.bubble:nth-child(10) { left: 82%; width: 45px; height: 45px; animation-duration: 23s; }
.bubble:nth-child(11) { left: 90%; width: 60px; height: 60px; animation-duration: 27s; }
.bubble:nth-child(12) { left: 15%; width: 50px; height: 50px; animation-duration: 30s; }
.bubble:nth-child(13) { left: 48%; width: 35px; height: 35px; animation-duration: 32s; }
.bubble:nth-child(14) { left: 77%; width: 55px; height: 55px; animation-duration: 29s; }
.bubble:nth-child(15) { left: 33%; width: 25px; height: 25px; animation-duration: 17s; }

@keyframes rise {
    0% { transform: translateY(0) scale(1); opacity: 0.7; }
    50% { opacity: 1; }
    100% { transform: translateY(-130vh) scale(1.4); opacity: 0; }
}

/* NAVBAR */
.custom-navbar {
    border-radius: 30px;
    margin: 10px;
    padding: 5px 20px;
    z-index: 10;
}

.navbar .cart-btn {
    margin-top: 4px;
    font-size: 14px;
    padding: 8px 14px;
}

/* VIDEO */
.video-bar {
    width: 100%;
    height: 58vh;
    object-fit: cover;
    display: block;
    margin-top: -40px;
    border-radius: 0;
    z-index: 2;
}

/* HERO TEXT */
.hero-text-overlay {
    position: absolute;
    top: 35vh;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
    z-index: 5;
    pointer-events: none;
}

.exclusive-title {
    font-size: 60px;
    font-weight: 900;
    background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(200,0,255,0.7));
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 25px rgba(200,0,255,1);
}

.exclusive-sub {
    font-size: 20px;
    color: white;
    text-shadow: 0 0 12px black;
}

/* BUTTONS */
.cart-btn {
    background: rgba(0, 170, 255, 0.25);
    padding: 8px 14px;
    border-radius: 25px;
    color: #00c8ff;
    font-weight: bold;
    text-decoration: none;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 12px #00c8ff, 0 0 25px rgba(0, 200, 255, 0.6);
    transition: 0.25s;
    animation: floaty 3s ease-in-out infinite;
    text-shadow: 0 0 4px white;
}

.cart-btn:hover {
    box-shadow: 0 0 18px #00e0ff, 0 0 40px rgba(0, 220, 255, 1);
    transform: translateY(-4px);
}

.floating-drop-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(180, 0, 255, 0.35);
    color: #f0c6ff;
    padding: 16px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 16px #d06aff, 0 0 35px rgba(200, 100, 255, 0.9);
    transition: 0.25s;
    z-index: 20;
    animation: floaty 3.5s ease-in-out infinite;
    text-shadow: 0 0 6px white;
}

.floating-drop-btn:hover {
    box-shadow: 0 0 22px #e08aff, 0 0 50px rgba(220, 120, 255, 1);
    transform: translateY(-4px);
}

@keyframes floaty {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* BRAND SECTION */
.brand-section {
    width: 90%;
    max-width: 900px;
    margin: 80px auto;
    padding: 30px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    color: white;
    text-shadow: 0 0 6px black;
    z-index: 3;
}

/* ANNOUNCEMENT */
.announcement-box {
    width: 90%;
    max-width: 900px;
    margin: 90px auto;
    padding: 40px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
    text-align: center;
    z-index: 3;
}

.announcement-image {
    width: 260px;
    height: auto;
    margin: 50px auto 20px auto;
    display: block;
    z-index: 2;
    position: relative;
}

.announcement-ribbon-diagonal {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%) rotate(-10deg);
    width: 140%;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 4px;
    opacity: 0.45;
    color: #ff66ff;
    background: rgba(255, 255, 255, 0.18);
    padding: 14px 0;
    backdrop-filter: blur(10px);
    border-radius: 10px;
    z-index: 3;
}

.announcement-title {
    font-size: 28px;
    font-weight: bold;
    color: white;
}

.announcement-text {
    font-size: 18px;
    opacity: 0.9;
    color: white;
}

/* FOOTER */
.footer-copy {
    text-align: center;
    color: white;
    font-size: 14px;
    opacity: 0.8;
    margin-top: 80px;
    margin-bottom: 20px;
    text-shadow: 0 0 6px black;
}

/* ===========================
   SECRET GAME POPUP
   =========================== */

#secretGameOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#secretGameBox {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 25px rgba(255,255,255,0.4);
}

/* 🎮 SPIEL-HINTERGRUND – JETZT MIT BILD */
#gameCanvas {
    background-image: url("Hintergrund.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

#gameUI {
    margin-top: 10px;
}

#scoreDisplay {
    color: white;
    font-size: 20px;
    margin-bottom: 10px;
}

#restartBtn {
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    background: #ff66ff;
    color: white;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 10px #ff66ff;
}

#restartBtn:hover {
    box-shadow: 0 0 20px #ff99ff;
}
