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

body {
  font-family: 'Google Sans', Roboto, Arial, sans-serif;
  background: #202124;
  color: #e8eaed;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.welcome-card {
  background: #3c4043;
  border-radius: 8px;
  padding: 48px;
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.welcome-card h1 {
  margin-bottom: 32px;
  font-size: 32px;
  font-weight: 400;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary {
  background: #8ab4f8;
  color: #202124;
}

.btn-primary:hover {
  background: #aecbfa;
}

.btn-secondary {
  background: transparent;
  color: #8ab4f8;
  border: 1px solid #8ab4f8;
}

.btn-secondary:hover {
  background: rgba(138, 180, 248, 0.1);
}

.dialog {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dialog.hidden {
  display: none;
}

.dialog input {
  padding: 12px;
  border: 1px solid #5f6368;
  border-radius: 4px;
  background: #202124;
  color: #e8eaed;
  font-size: 14px;
}

.dialog input:focus {
  outline: none;
  border-color: #8ab4f8;
}

.room-page {
  overflow: hidden;
}

.room-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.video-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 8px;
  padding: 8px;
  overflow-y: auto;
}

.video-wrapper {
  position: relative;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

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

.video-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: #3c4043;
}

.control-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #5f6368;
  color: #e8eaed;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.control-btn:hover {
  background: #80868b;
}

.control-btn.active {
  background: #8ab4f8;
  color: #202124;
}

.control-btn.danger {
  background: #ea4335;
}

.control-btn.danger:hover {
  background: #f28b82;
}

.control-btn.small {
  width: 32px;
  height: 32px;
}

.icon {
  font-size: 20px;
}

.room-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 12px;
  background: #5f6368;
  border-radius: 4px;
  font-size: 12px;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

  .controls {
    padding: 16px;
    gap: 12px;
  }

  .room-info {
    font-size: 10px;
  }
}

