body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    color: #fff;
    font-family: sans-serif;
    overflow: hidden;
}

/* Call Screen Styles */
#call-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes caller info up and actions down */
    align-items: center;
    /* Ensure background is set correctly (using local path recommended) */
    background: url('https://huggingface.co/spaces/CBer35/asd/resolve/main/john_pork_sin_texto.png?download=true') no-repeat center center;
    background-size: cover;
    padding: 50px 20px;
    box-sizing: border-box;
}

/* Added to contain the background properly */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    z-index: -1; /* Place it behind the content */
}

.caller-info {
    text-align: center;
    margin-top: 30%; /* Adjust as needed */
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    position: relative; /* Ensure text is above background */
    z-index: 1;
}

.caller-name {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 5px;
}

.calling-status {
    font-size: 1.2em;
}

.call-actions {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 10%;
    position: relative; /* Ensure buttons are above background */
    z-index: 1;
}

.call-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: white;
    font-size: 0.8em;
    font-weight: bold;
}

.decline {
    background-color: #ff3b30;
}

.accept {
    background-color: #34c759;
}

#start-screen {
    display: none;
}

/* Content Styles (Jumpscare) */
#content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex; /* Keeps flex properties for alignment */
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #000;
    z-index: 10;
}

/* Style only for the jumpscare image now */
#jumpscare-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Position absolute removed as flex handles centering now */
    /* top: 50%; */
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
}

.hidden {
    display: none;
    visibility: hidden;
}

:fullscreen #content,
:-webkit-full-screen #content,
:-moz-full-screen #content,
:-ms-fullscreen #content {
    width: 100vw;
    height: 100vh;
}
