.curtain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999; /* put it above everything */
    display: block;
    /* background: #000; prevents white flash */
}


body.curtain-open {
    overflow: auto;   /* allow scrolling when open */
}

body.curtain-closed {
    overflow: hidden; /* lock scroll until curtain opens */
}

.button-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
}

.launch_btn {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px !important;
    font-weight: bold !important;
    color: #000000;
    text-transform: uppercase !important;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.5s ease-in;
    width: 200px !important;
    height: 200px !important;
    background: #ffffff00 url('https://socialeyefoundation.com/wp-content/uploads/2025/09/ribn.png') center center no-repeat !important;
    border: 0;
    font-family: 'Segoe UI', sans-serif;
}

.launch_btn:hover {
    transform: scale(1.1);
    color: #000000 !important;
}

.curtain {
    position: fixed;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 10000;
    transition: all 6s ease-in-out;
}

.curtain.left {
    left: 0;
    background: url('https://socialeyefoundation.com/wp-content/uploads/2025/09/curtain-img-scaled.jpg');
    background-size: cover;
}

.curtain.right {
    right: 0;
    background: url('https://socialeyefoundation.com/wp-content/uploads/2025/09/curtain-img-scaled.jpg');
    background-size: cover;
}

.curtain.open-left {
    transform: translateX(-100%);
}

.curtain.open-right {
    transform: translateX(100%);
}

/* Countdown overlay */
#countdown {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    font-weight: bold;
    color: #fff;
    background: rgba(0,0,0,0.6);
    z-index: 999999;
    width: 100vw;
    height: 100vh;
}

/* Celebration canvas */
#celebrationCanvas {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
    pointer-events: none;
}