* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body {
    background-color: #000;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.kiosk-container {
    width: 1080px;
    height: 1920px;
    background-color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 30px rgba(255,255,255,0.2);
}
.kiosk-header, .kiosk-footer {
    height: 60px;
    background-color: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    font-size: 20px;
    z-index: 100;
}
.webcam-simulation {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #111;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f0;
    font-size: 12px;
    z-index: 1000;
    border: 1px solid #333;
}
.webcam-dot {
    width: 8px;
    height: 8px;
    background: #ff3b30;
    border-radius: 50%;
    margin-right: 6px;
    animation: blink 2s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.kiosk-content {
    flex: 1;
    position: relative;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.screen {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
}
.screen.active { display: flex; }
video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
}
.assistant-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 25px;
    border-radius: 15px;
    font-size: 24px;
    text-align: center;
    border: 2px solid #00c4cc;
}
.captions {
    margin-top: 10px;
    font-size: 20px;
    color: #ffd700;
    font-style: italic;
}
.lang-box {
    position: absolute;
    bottom: 120px;
    right: 40px;
    background: rgba(255,255,255,0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 2px solid #ddd;
}
.lang-box h4 { font-size: 18px; color: #333; margin-bottom: 5px; }
.btn-group { display: flex; gap: 10px; }
.btn {
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #007aff;
    color: #fff;
    transition: 0.2s;
}
.btn:hover { background: #005bb5; }
.btn:disabled { background: #ccc; cursor: not-allowed; }
.btn-secondary { background: #34c759; }
.btn-secondary:hover { background: #28a745; }
.btn-danger { background: #ff3b30; }
.game-container {
    position: absolute;
    top: 420px;
    left: 0;
    width: 1080px;
    height: 1080px;
    background: #111;
    border: 4px solid #00c4cc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
canvas {
    background: #222;
    cursor: pointer;
}