body { background: #111; color: white; font-family: sans-serif; text-align: center; margin: 0; }
.container { padding: 40px; }
.hidden { display: none !important; }

/* Lobby Cards */
.movie-list { display: flex; gap: 20px; justify-content: center; margin-top: 50px; }
.card { background: #222; padding: 25px; border: 2px solid #444; cursor: pointer; border-radius: 12px; transition: 0.3s; }
.card:hover { border-color: #00f2ff; transform: translateY(-5px); }

/* Day 60 3D Screen */
.screen-bar {
    background: white; height: 50px; width: 100%; max-width: 500px;
    margin: 20px auto; transform: rotateX(-45deg);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.4);
    color: #333; line-height: 50px; font-weight: bold;
}

/* Seating Grid */
.grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; max-width: 400px; margin: 30px auto; perspective: 1000px; }
.seat { height: 25px; width: 30px; background: #444451; border-radius: 6px 6px 0 0; cursor: pointer; transition: 0.2s; }
.seat:hover:not(.occupied) { transform: scale(1.2); background: #666; }
.seat.selected { background-color: #00f2ff; }
.seat.occupied { background-color: #faf6f6; cursor: not-allowed; opacity: 0.5; }
.legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px auto;
    padding: 10px;
    list-style: none;
}

.legend li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

/* Ensure the demo seats in the legend don't scale or look weird */
.legend .seat { width: 20px; height: 18px; cursor: default; }

/* Receipt */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); display: flex; justify-content: center; align-items: center; }
.modal-content { background: white; color: black; padding: 30px; width: 300px; font-family: 'Courier New', monospace; border-radius: 5px; }
.back-btn { background: none; border: 1px solid #444; color: #888; padding: 5px 15px; cursor: pointer; margin-bottom: 20px; }
.confirm-btn { background: #00f2ff; border: none; padding: 15px 30px; border-radius: 5px; font-weight: bold; cursor: pointer; }