/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: Arial, sans-serif;
  background-color: #f7f7f7;
  color: #333;
}

/* Layout principal centralizado */
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

/* Título */
h1 {
  font-size: 8vw;
  margin-bottom: 5vh;
}

/* Container dos botões */
.button-container {
  display: flex;
  justify-content: center;
  gap: 5vw;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 5vh;
}

/* Botões principais */
.call-btn,
.hangup-btn {
  width: 40vw;
  height: 40vw;
  border: none;
  border-radius: 50%;
  font-size: 6vw;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease-in-out;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.call-btn {
  background: linear-gradient(135deg, #b7ff00, #00ff6a);
  color: white;
  box-shadow: 0 0 20px rgba(0, 255, 106, 0.6);
  position: relative;
  overflow: hidden;
}

.call-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 255, 106, 0.8);
}

.call-btn::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, #ccff00, #39ff14, transparent);
  animation: shine 3s linear infinite;
  transform: rotate(25deg);
  pointer-events: none;
}

.hangup-btn {
  background: linear-gradient(135deg, #ff0000, #b80000);
  color: white;
}

button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Ícones dentro dos botões */
button i {
  font-size: 8vw;
}

/* Status da chamada */
.status {
  font-size: 5vw;
  font-weight: bold;
  margin-top: 3vh;
}

.status.ready {
  color: #28a745;
}

.status.calling {
  color: #ffc107;
}

.status.active {
  color: #007bff;
}

.status.ended {
  color: #6c757d;
}

.status.error {
  color: #dc3545;
}

/* Animação do botão de chamada */
@keyframes shine {
  0% {
    top: 100%;
    left: -50%;
  }
  100% {
    top: -100%;
    left: 100%;
  }
}

/* Responsividade adicional */
@media (max-width: 600px) {
  h1 {
    font-size: 10vw;
  }

  .call-btn,
  .hangup-btn {
    width: 70vw;
    height: 70vw;
    font-size: 10vw;
  }

  button i {
    font-size: 12vw;
  }

  .status {
    font-size: 6vw;
  }
}
/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: Arial, sans-serif;
  background-color: #f7f7f7;
  color: #333;
}

/* Layout principal centralizado */
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

/* Título */
h1 {
  font-size: 8vw;
  margin-bottom: 5vh;
}

/* Container dos botões */
.button-container {
  display: flex;
  justify-content: center;
  gap: 5vw;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 5vh;
}

/* Botões principais */
.call-btn,
.hangup-btn {
  width: 40vw;
  height: 40vw;
  border: none;
  border-radius: 50%;
  font-size: 6vw;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease-in-out;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.call-btn {
  background: linear-gradient(135deg, #b7ff00, #00ff6a);
  color: white;
  box-shadow: 0 0 20px rgba(0, 255, 106, 0.6);
  position: relative;
  overflow: hidden;
}

.call-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 255, 106, 0.8);
}

.call-btn::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, #ccff00, #39ff14, transparent);
  animation: shine 3s linear infinite;
  transform: rotate(25deg);
  pointer-events: none;
}

.hangup-btn {
  background: linear-gradient(135deg, #ff0000, #b80000);
  color: white;
}

button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Ícones dentro dos botões */
button i {
  font-size: 8vw;
}

/* Status da chamada */
.status {
  font-size: 5vw;
  font-weight: bold;
  margin-top: 3vh;
}

.status.ready {
  color: #28a745;
}

.status.calling {
  color: #ffc107;
}

.status.active {
  color: #007bff;
}

.status.ended {
  color: #6c757d;
}

.status.error {
  color: #dc3545;
}

/* Animação do botão de chamada */
@keyframes shine {
  0% {
    top: 100%;
    left: -50%;
  }
  100% {
    top: -100%;
    left: 100%;
  }
}

/* Responsividade adicional */
@media (max-width: 600px) {
  h1 {
    font-size: 10vw;
  }

  .call-btn,
  .hangup-btn {
    width: 70vw;
    height: 70vw;
    font-size: 10vw;
  }

  button i {
    font-size: 12vw;
  }

  .status {
    font-size: 6vw;
  }
}

