/* ========================
   HALL SCREEN - 3 Doors Layout
   ======================== */

/* Hall screen - centered, no scroll, custom background */
#screen-hall {
    height: 100vh;
    overflow: hidden;
    background-image: none !important;
    /* Remove the G watermark */
}

#screen-hall .hall-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 60px 20px;
    text-align: center;
    height: calc(100vh - 60px);
    overflow: hidden;
}

#screen-hall .hall-title {
    font-family: var(--font-body);
    font-size: 48px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 10px;
    margin-top: 0;
}

#screen-hall .hall-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 25px;
}

/* Doors Container */
.doors-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 25px;
    position: relative;
}

/* Shadow under doors - positioned relative to container */
.doors-shadow {
    position: absolute;
    bottom: -105px;
    left: 50%;
    transform: translateX(-50%);
    width: 195%;
    height: auto;
    z-index: -1;
    pointer-events: none;
}

.door-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

/* Door wrapper with both images */
.door-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.door-img {
    height: 340px;
    width: auto;
    transition: opacity 0.3s ease;
}

/* Closed door visible by default */
.door-img.door-closed {
    display: block;
}

/* Open door hidden by default */
.door-img.door-open {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* On hover of door-item, show open door */
.door-item:hover .door-img.door-closed {
    opacity: 0;
}

.door-item:hover .door-img.door-open {
    opacity: 1;
}

/* Answered door styling (locked after answer) */
.door-item.answered {
    opacity: 0.5;
    cursor: not-allowed;
}

.door-item.answered .door-img {
    filter: grayscale(0.5);
}

/* Score Display */
.score-container {
    font-family: var(--font-body);
    font-size: 32px;
    color: var(--text-black);
}

.score-current,
.score-max {
    font-weight: 600;
}

/* Clickable Palais */
#palais-clickable {
    cursor: pointer;
    transition: transform 0.3s ease;
}

#palais-clickable:hover {
    transform: scale(1.02);
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 992px) {
    .doors-container {
        gap: 25px;
    }

    .door-img {
        height: 220px;
    }

    #screen-hall .hall-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .doors-container {
        flex-wrap: wrap;
        gap: 20px;
    }

    .door-img {
        height: 180px;
    }

    #screen-hall .hall-title {
        font-size: 28px;
    }

    #screen-hall .hall-content {
        padding: 20px 30px;
    }
}