/* Import a horror-style font */
@import url('https://fonts.googleapis.com/css2?family=Creepster&display=swap');

/* Procedural Mansion UI Enhancements */
.mansion-ui {
    font-family: 'Courier New', monospace;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.inventory-item {
    transition: color 0.3s ease;
}

.inventory-item:hover {
    color: #ff6666;
}

.objective-completed {
    color: #00ff00 !important;
    text-shadow: 0 0 5px #00ff00;
}

.hint-text {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1.0; }
}

/* Procedural Mansion UI Enhancements */
.mansion-ui {
    font-family: 'Courier New', monospace;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.inventory-item {
    transition: color 0.3s ease;
}

.inventory-item:hover {
    color: #ff6666;
}

.objective-completed {
    color: #00ff00 !important;
    text-shadow: 0 0 5px #00ff00;
}

.hint-text {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1.0; }
}

#blackout-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 9997; 
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

#blackout-screen.hidden {
    opacity: 0;
    pointer-events: none;
}


/* Quick Time Events*/
.qte-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(10, 10, 10, 0.9);
    border: 2px solid #555;
    border-radius: 8px;
    padding: 25px;
    color: #fff;
    font-family: 'Courier New', monospace;
    z-index: 20000; 
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.qte-container.hidden {
    opacity: 0;
    pointer-events: none;
    display: none; 
}

.qte-prompt {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #ccc;
    text-align: center;
}

