/* Canlı Görüşme CSS (Live Voice AI) */
.live-app-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  background: #0d0f0e;
  color: #f4f0e7;
}

.live-app-hero {
  padding: 32px 40px;
  background: radial-gradient(circle at 90% 10%, rgba(199, 139, 85, 0.15), transparent 45%), #151816;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.live-app-hero h2 {
  font: 32px Georgia, serif;
  margin: 6px 0 8px;
}
.live-app-hero p {
  color: #afb6ad;
  margin: 0;
  max-width: 500px;
}
.live-app-hero small {
  color: #c78b55;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.live-app-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  gap: 40px;
}

.live-orb-container {
  width: 200px;
  height: 200px;
  display: grid;
  place-items: center;
  position: relative;
}

.live-orb {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #4a544c, #1a1e1b);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), inset 0 2px 4px rgba(255,255,255,0.1);
  transition: all 0.4s ease;
  position: relative;
}

.live-orb::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

/* Orb States */
.live-orb.listening {
  background: radial-gradient(circle at 30% 30%, #5a665c, #2a302b);
  box-shadow: 0 0 40px rgba(143, 176, 135, 0.2);
  animation: breathe 2s ease-in-out infinite;
}
.live-orb.listening::after {
  border-color: rgba(143, 176, 135, 0.4);
  animation: pulse-ring 2s ease-out infinite;
}

.live-orb.thinking {
  background: radial-gradient(circle at 30% 30%, #8c6a47, #3a2615);
  box-shadow: 0 0 60px rgba(199, 139, 85, 0.3);
  animation: pulse-fast 0.8s ease-in-out infinite alternate;
}
.live-orb.thinking::after {
  border-color: rgba(199, 139, 85, 0.6);
  animation: spin-ring 1s linear infinite;
  border-top-color: transparent;
}

.live-orb.speaking {
  background: radial-gradient(circle at 30% 30%, #a3b8a1, #3b4d3d);
  box-shadow: 0 0 60px rgba(143, 176, 135, 0.4);
  animation: bounce 0.4s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
}
.live-orb.speaking::after {
  border-color: rgba(143, 176, 135, 0.8);
  transform: scale(1.15);
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
@keyframes pulse-fast {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
@keyframes spin-ring {
  0% { transform: rotate(0deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1.1); }
}
@keyframes bounce {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.1) translateY(-5px); }
}

.live-controls {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 480px;
}

#gemma-status-text {
  font: 24px Georgia, serif;
  margin: 0;
  color: #f4f0e7;
}

.live-transcript {
  color: #afb6ad;
  font-size: 14px;
  min-height: 48px;
  margin: 0;
  line-height: 1.5;
  white-space: pre-wrap;
}

.live-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  width: 100%;
}

.gemma-input {
  width: 100%;
  background: #181b19;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f4f0e7;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
}
.gemma-input:focus {
  border-color: #c78b55;
}

.gemma-btn {
  padding: 14px 24px;
  border-radius: 30px;
  border: 0;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  width: 100%;
}
.gemma-btn:hover {
  transform: translateY(-2px);
}
.gemma-start {
  background: #c78b55;
  color: #101211;
}
.gemma-stop {
  background: rgba(201, 104, 97, 0.15);
  color: #e9a59b;
  border: 1px solid rgba(201, 104, 97, 0.4);
}
.gemma-stop:hover {
  background: rgba(201, 104, 97, 0.3);
}

@media(max-width: 600px) {
  .live-app-hero { padding: 24px 20px; }
  .live-app-stage { padding: 24px 20px; gap: 32px; }
  .live-orb { width: 100px; height: 100px; }
}
