/* BBG Start Overlay — bubbles on a circular path around Start (images stay upright) */

#startOverlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10, 10, 15, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.5s ease;
}

#startOverlay.startOverlayHidden {
    opacity: 0;
    pointer-events: none;
}

.start-overlay-bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Each bubble is centered at 50%,50%; transform updated by JS for position */
.start-bubble {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    overflow: hidden;
    border-width: 4px;
    border-style: solid;
    transform: translate(-50%, -50%);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.35);
}

.start-bubble img,
.start-bubble video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.start-bubble .crossfade-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}
.start-bubble .crossfade-img.active {
    opacity: 1;
    z-index: 1;
}

.start-overlay-center {
    position: relative;
    z-index: 10;
    text-align: center;
}

#startOverlayBtn {
    font-family: 'Henny Penny', cursive;
    font-size: clamp(2rem, 5vw, 3.2rem);
    padding: 20px 56px;
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    color: #1a1a1a;
    border: 4px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 2px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}

#startOverlayBtn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 45px rgba(255, 215, 0, 0.7), 0 8px 28px rgba(0, 0, 0, 0.4);
}

#startOverlayBtn:active {
    transform: scale(1.02);
}
