* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #1a1a1a;
  color: #e0e0e0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#call {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 640px;
  padding: 24px;
}

#logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 4px;
}

#status {
  font-size: 16px;
  color: #aaa;
  text-align: center;
}

#remote {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#remote video {
  width: 100%;
  max-height: 360px;
  border-radius: 8px;
  background: #222;
  object-fit: contain;
}

#remote audio {
  display: none;
}

.join {
  padding: 14px 40px;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  background: #32822a;
  color: #fff;
  transition: background 0.15s;
}
.join:hover { background: #3a9a30; }
.join.hidden { display: none; }

#controls {
  display: flex;
  gap: 12px;
}

#controls.hidden {
  display: none;
}

#controls button {
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s;
}

#btn-mute {
  background: #333;
  color: #e0e0e0;
}
#btn-mute:hover { background: #444; }
#btn-mute.active {
  background: #a33;
  color: #fff;
}

#btn-hangup {
  background: #a33;
  color: #fff;
}
#btn-hangup:hover { background: #c44; }

#promo {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

#promo a {
  color: #6af;
  text-decoration: none;
}
#promo a:hover {
  text-decoration: underline;
}
