html, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100%;
  background: black;
  font-family: monospace;
  -webkit-tap-highlight-color: transparent;
}
video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
  transition: filter 1.5s ease;
}
#modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.95);
  color: #17809d;
  padding: 20px;
  border-radius: 10px;
  z-index: 10;
  display: none;
  text-align: center;
  width: 90vw;
  max-width: 400px;
  box-shadow: 0 0 20px #17809d;
}
#modal button {
  margin-top: 15px;
  background-color: black;
  color: #17809d;
  font-size: 16px;
  padding: 10px 20px;
  border: 1px solid #17809d;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 10px #17809d;
  animation: pulse 1.2s infinite;
}
#modal button:hover {
  background-color: #17809d;
  color: black;
}
@keyframes pulse {
  0% { box-shadow: 0 0 10px #17809d; }
  50% { box-shadow: 0 0 20px #17809d; }
  100% { box-shadow: 0 0 10px #17809d; }
}
#soundHint {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 14px;
  background: rgba(0,0,0,0.6);
  padding: 8px 16px;
  border-radius: 8px;
  z-index: 2;
  display: none;
}
#terminal {
  text-align: left;
  white-space: pre-wrap;
  line-height: 1.4;
  font-size: 14px;
  min-height: 120px;
  color: #17809d;
  word-wrap: break-word;
}
#agentMessage {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #17809d;
  font-size: 13px;
  background: rgba(0,0,0,0.8);
  padding: 6px 12px;
  border-radius: 8px;
  z-index: 5;
  animation: blink 2s infinite;
  text-align: center;
  width: 90vw;
  max-width: 400px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.top-bar {
  position: fixed;
  top: 30px;
  left: 0;
  width: 100%;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  box-sizing: border-box;
}

.logo-left {
  height: 70px;
  opacity: 0.95;
}

.logo-right {
  height: 50px;
  opacity: 0.85;
}

.bottom-switch {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.switch-btn {
  background: transparent;
  border: 1px solid c;
  color: #17809d;
  font-weight: bold;
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  cursor: pointer;
  font-family: monospace;
  transition: all 0.3s ease;
  text-decoration: none;
}

.switch-btn:hover {
  background: #17809d;
  color: black;
}

.switch-btn.active {
  background: #17809d;
  color: black;
  box-shadow: 0 0 10px #17809d;
}


/* Mobile */
@media (max-width: 600px) {

  .top-bar {
    padding: 0 16px;
    width: 100vw;
    box-sizing: border-box;
  }

  .logo-left,
  .logo-right {
    max-width: 35vw;
    height: auto;
  }
.bottom-switch {
  position: fixed;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

}