:root {
  --bg-color: #0b0f19;
  --panel-bg: #111827;
  --primary: #00e5ff;
  --primary-hover: #00b8cc;
  --danger: #ef4444;
  --danger-hover: #dc2626;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --accent: rgba(0, 229, 255, 0.15);
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-color);
  background-image: radial-gradient(circle at 50% 0%, var(--panel-bg) 0%, var(--bg-color) 70%);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guest-container {
  width: 100%;
  max-width: 400px;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  text-align: center;
}

/* HEADER */
.guest-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
}

.radio-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.1);
  background: #000;
  margin-bottom: 1rem;
}

.live-badge {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.pulsing-dot {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* TYPOGRAPHY */
h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
}
p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.status-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* INPUTS */
.input-group {
  margin-bottom: 1.5rem;
}
input[type="text"] {
  width: 100%;
  padding: 1rem;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  text-align: center;
  transition: border-color 0.3s;
}
input[type="text"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--accent);
}

/* BUTTONS */
button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn-primary {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: #000;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
}
.btn-primary:active {
  transform: translateY(0);
}

/* ACTIVE VIEW (INCALL) */
.status-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--primary);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2), inset 0 0 20px rgba(0, 229, 255, 0.1);
  transition: transform 0.1s;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.btn-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-mute {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-mute.muted {
  background: rgba(255, 170, 0, 0.2);
  color: #ffaa00;
  border-color: #ffaa00;
}

.btn-danger {
  background: var(--danger);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}
.btn-danger:hover {
  background: var(--danger-hover);
  transform: scale(1.05);
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes activeRipple {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4); }
  100% { box-shadow: 0 0 0 20px rgba(0, 229, 255, 0); }
}
.status-circle.speaking {
  animation: activeRipple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
