/***SOUND EFFECT***/
    #sound-btn {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 9999;
        background: rgba(0, 0, 0, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.4);
        color: #fff;
        font-family: sans-serif;
        font-size: 20px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
        user-select: none;
    }
    #sound-btn:hover {
        background: rgba(0, 0, 0, 0.85);
    }


/***Deft Proof Modal CSS*****/

.modal{
    display:none;

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,0.85);
   
    z-index:9999;
}

.modal-content{

    position:absolute;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%);
}

.modal img{

    max-width:90vw;
    max-height:90vh;
}

#closeModal{

    position:absolute;

    top:-40px;
    right:0;

    color:white;

    font-size:40px;

    cursor:pointer;
}

/* =====================================
   START SCREEN
===================================== */

#start-screen{

    position:fixed;
    top:0;
    left:0;

    width:100%;
    height:100%;

    background:black;

    display:flex;
    justify-content:center;
    align-items:center;

    z-index:99999;
}

#start-btn{

    padding:20px 40px;

    font-size:24px;

    cursor:pointer;

    border:none;

    border-radius:10px;
}

/* =====================================
   INTRO VIDEO
===================================== */

#intro-video-container{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:black;

    display:none;

    justify-content:center;
    align-items:center;

    z-index:99998;

    opacity:1;

    transition:opacity 1.5s ease;
}

#intro-video{

    width:100%;
    height:100%;

    object-fit:cover;
}

.fade-out{

    opacity:0;
}

#main-scene{

    transition:opacity 1.5s ease;
}

/* =====================================
   FILM GRAIN OVERLAY
===================================== */

#film-grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
    transition: opacity 1.5s ease;
    mix-blend-mode: screen;
}

#film-grain-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}