body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f8f9fa;
  color: #333;
  text-align: center;
}

.hidden {
  display: none;
}

.welcome-screen {
  padding: 5vh 2rem;
}

.welcome-screen h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #007BFF;
}

.welcome-screen p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

footer {
  margin-top: 3rem;
  font-size: 0.9rem;
}

footer a {
  color: #007BFF;
  text-decoration: none;
}

.popup {
  padding: 2rem;
  margin-top: 5vh;
}

.popup input {
  padding: 0.7rem;
  width: 80%;
  max-width: 300px;
  margin: 1rem auto;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}

.primary {
  background: #007BFF;
  color: #fff;
}

.secondary {
  background: #6c757d;
  color: #fff;
}

.copy {
  background: #28a745;
  color: #fff;
}

.control {
  background: #343a40;
  color: #fff;
  margin: 0 0.5rem;
}

.end {
  background: #dc3545;
  color: #fff;
  margin-left: 1rem;
}

.btn:hover {
  opacity: 0.9;
}

.video-call {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #000;
  overflow: hidden;
}

.remote-video-container {
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.remote-video-container video {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 2px solid #fff;
}

.local-video {
  position: absolute;
  bottom: 80px;
  right: 10px;
  width: 150px;
  height: 100px;
  z-index: 2;
  border: 2px solid white;
  border-radius: 6px;
  overflow: hidden;
}

.local-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}