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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #0a0a0a;
  color: #fafafa;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  position: relative;
}

.title {
  position: absolute;
  top: 4rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.title.hidden {
  opacity: 0;
  pointer-events: none;
}

.title h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hint {
  font-size: 1rem;
  font-weight: 500;
  color: #a1a1aa;
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

.hint.hidden {
  display: none;
}

kbd {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: #27272a;
  border-radius: 0.375rem;
  font-family: monospace;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.meeting-button {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid #3f3f46;
  background: transparent;
  color: #fafafa;
  cursor: pointer;
  transition: all 0.2s ease-out;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.meeting-button.primary {
  width: 10rem;
  height: 10rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.meeting-button.spawned {
  width: 8rem;
  height: 8rem;
  border-radius: 9999px;
  pointer-events: none;
}

.meeting-button.active {
  background: #fafafa;
  color: #0a0a0a;
  border-color: #fafafa;
  transform: translate(-50%, -50%) scale(1.05);
}

.meeting-button:hover {
  background: rgba(250, 250, 250, 0.1);
}

.meeting-button.active:hover {
  background: #fafafa;
}

.buttons-container {
  position: absolute;
  inset: 0;
}

.buttons-container.hidden {
  display: none;
}

@media (max-width: 768px) {
  .title h1 {
    font-size: 2.5rem;
  }
  
  .meeting-button.primary {
    width: 8rem;
    height: 8rem;
    font-size: 1rem;
  }
  
  .meeting-button.spawned {
    width: 6rem;
    height: 6rem;
    font-size: 0.65rem;
  }
}
