:root {
  --marcagenda-blue: #00B4D8;
  --accent-green: #00E676;
  --accent-green-dark: #00C853;
  --accent-red: #FF3D00;
  --accent-red-dark: #DD2C00;
  --background-light: #F5F7FA;
  --text-dark: #1C1C1E;
  --text-muted: #6C6C70;
  --glow-color-green: rgba(0, 230, 118, 0.5);
  --glow-color-red: rgba(255, 61, 0, 0.5);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.08);
}

body {
  margin: 0;
  font-family: 'Inter',
    -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-color: var(--background-light);
  color: var(--text-dark);
  overflow: hidden;
}

.App {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  text-align: center;
}

.call-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.call-screen {
  background: var(--glass-bg);
  border-radius: 48px;
  padding: 32px;
  width: 340px;
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  transition: all 0.3s ease;
}

.call-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 24px;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(0, 180, 216, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 180, 216, 0);
  }
}

.avatar.speaking {
  animation: pulse 1.5s infinite;
  transform: scale(1.03);
}

.call-header h2 {
  font-size: 32px;
  font-weight: 500;
  margin: 0;
  color: var(--text-dark);
}

.call-header .call-status {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 16px;
  min-height: 24px;
  transition: all 0.3s ease;
}

.call-timer-container {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-timer {
  font-size: 56px;
  font-family: 'Roboto Mono', monospace;
  color: var(--text-dark);
  letter-spacing: 3px;
  opacity: 0.9;
  text-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.call-actions {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.call-button {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-in-out;
}

.call-button:active {
  transform: scale(0.95);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.call-button:hover {
  transform: translateY(-3px);
}

.call-button .material-symbols-outlined {
  font-size: 36px;
}

.start-call {
  background-color: var(--accent-green);
}

.start-call:hover {
  background-color: var(--accent-green-dark);
  box-shadow: 0 0 25px var(--glow-color-green);
}

.start-call:disabled {
  background-color: #9E9E9E;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.end-call {
  background-color: var(--accent-red);
}

.end-call:hover {
  background-color: var(--accent-red-dark);
  box-shadow: 0 0 25px var(--glow-color-red);
}