@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700&family=Playpen+Sans:wght@600&display=swap");

:root {
  --berry: #b3122f;
  --pine: #0f2c2f;
  --mint: #b9f5d8;
  --gold: #f7d15c;
  --ivory: #fef7ec;
  --shadow: rgba(8, 25, 28, 0.18);
  --glass: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #0f1f2d;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.5), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.35), transparent 30%),
    linear-gradient(180deg, #f7fbff, #ecf4ff 40%, #e7f0ff);
  overflow-x: hidden;
}

.sky {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.snow {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(2px 2px at 10px 10px, rgba(255, 255, 255, 0.9) 50%, transparent 51%),
    radial-gradient(2px 2px at 50px 80px, rgba(255, 255, 255, 0.8) 50%, transparent 51%),
    radial-gradient(3px 3px at 200px 120px, rgba(255, 255, 255, 0.75) 50%, transparent 51%),
    radial-gradient(3px 3px at 320px 30px, rgba(255, 255, 255, 0.7) 50%, transparent 51%);
  background-repeat: repeat;
  animation: drift 30s linear infinite;
  opacity: 0.4;
}

.snow.slow {
  animation-duration: 45s;
  opacity: 0.25;
  transform: scale(1.2);
}

@keyframes drift {
  from {
    transform: translateY(-10vh);
  }
  to {
    transform: translateY(10vh);
  }
}

.app {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, #e90f3b, #f47b7f);
  box-shadow: 0 20px 45px rgba(233, 15, 59, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fffef8;
}

.hero-left h1 {
  margin: 6px 0 8px;
  font-size: 34px;
  font-family: "Playpen Sans", "Manrope", cursive;
}

.hero-left p {
  margin: 0;
  max-width: 520px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.badge {
  background: rgba(255, 255, 255, 0.14);
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.status {
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-logo {
  position: relative;
  width: 72px;
  height: 72px;
}

.phone-body {
  position: absolute;
  inset: 8px;
  background: linear-gradient(135deg, #b3122f, #e73d59);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.phone-speaker {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 28px;
  height: 6px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 3px;
  transform: translateX(-50%);
}

.phone-dial {
  position: absolute;
  bottom: 14px;
  left: 50%;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.phone-bell {
  position: absolute;
  top: -4px;
  width: 18px;
  height: 18px;
  background: #f6d67a;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.phone-bell.left {
  left: 8px;
}

.phone-bell.right {
  right: 8px;
}

.santa-hat {
  position: absolute;
  top: -12px;
  left: -6px;
  width: 84px;
  height: 42px;
}

.hat-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 84px;
  height: 34px;
  background: linear-gradient(135deg, #b3122f, #e73d59);
  border-radius: 20px;
  transform: rotate(-6deg);
}

.hat-brim {
  position: absolute;
  bottom: 2px;
  left: -2px;
  width: 88px;
  height: 16px;
  background: #fff4e5;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pom {
  position: absolute;
  top: -6px;
  right: 4px;
  width: 14px;
  height: 14px;
  background: #fff4e5;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.stack {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 18px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 31, 45, 0.06);
  box-shadow: 0 16px 30px rgba(15, 31, 45, 0.12);
}

.panel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  color: rgba(15, 31, 45, 0.55);
}

.panel h2 {
  margin: 2px 0 0;
  font-size: 22px;
}

.tiny-note {
  font-size: 12px;
  color: rgba(15, 31, 45, 0.55);
}

.ghost.small {
  padding: 8px 12px;
  font-size: 13px;
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.summary-box {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px dashed rgba(15, 31, 45, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  max-height: 180px;
  overflow-y: auto;
}

.summary-text {
  margin: 4px 0 0;
  color: rgba(15, 31, 45, 0.78);
  line-height: 1.5;
}

.summary-list {
  margin: 6px 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.summary-list li {
  line-height: 1.5;
}

.transcript-log {
  margin-top: 6px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 31, 45, 0.15);
  border-radius: 10px;
  min-height: 44px;
  max-height: 240px;
  overflow-y: auto;
  white-space: normal;
}

.turn {
  margin-bottom: 8px;
}

.turn:last-child {
  margin-bottom: 0;
}

.speaker {
  font-weight: 800;
  color: #0f1f2d;
  display: inline-block;
  margin-right: 6px;
}

.info-text {
  margin: 6px 0;
  line-height: 1.6;
  color: rgba(15, 31, 45, 0.78);
}

.info code {
  background: rgba(15, 31, 45, 0.05);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--gold);
  font-size: 13px;
}

.collapsible[hidden] {
  display: none;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.two-up {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.three-up {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
  color: rgba(15, 31, 45, 0.85);
}

.child-list {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.child-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 110px auto;
  gap: 6px;
  align-items: center;
}

.child-row input {
  height: 42px;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 31, 45, 0.18);
  border-radius: 10px;
  padding: 10px 12px;
  color: #0f1f2d;
  font: inherit;
  outline: none;
  transition: border 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.remove-child {
  padding: 8px 10px;
}

.field input,
.field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 31, 45, 0.16);
  border-radius: 10px;
  padding: 10px 12px;
  color: #0f1f2d;
  font: inherit;
  outline: none;
  transition: border 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: #ffcc5c;
  box-shadow: 0 0 0 1px rgba(255, 204, 92, 0.6);
  transform: translateY(-1px);
}

button {
  border: none;
  cursor: pointer;
  font: inherit;
}

select {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 31, 45, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  color: #0f1f2d;
  font: inherit;
  outline: none;
  transition: border 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

select:focus {
  border-color: #ffcc5c;
  box-shadow: 0 0 0 1px rgba(255, 204, 92, 0.6);
  transform: translateY(-1px);
}

.cta {
  background: linear-gradient(135deg, #1c7c54, #27a370);
  color: #f6fff9;
  border-radius: 14px;
  padding: 12px 20px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(28, 124, 84, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.cta:active {
  transform: translateY(1px);
  box-shadow: 0 8px 18px rgba(28, 124, 84, 0.32);
  filter: brightness(0.95);
}

.ghost {
  align-self: flex-start;
  padding: 9px 12px;
  border-radius: 9px;
  background: linear-gradient(135deg, #f5f7fb, #e8edf7);
  color: #0f1f2d;
  border: 1px solid rgba(15, 31, 45, 0.14);
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ghost#profile-toggle {
  min-width: 44px;
  text-align: center;
  font-size: 18px;
}

.ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(15, 31, 45, 0.12);
}

.danger-ghost {
  background: rgba(179, 18, 47, 0.08);
  color: #b3122f;
  border-color: rgba(179, 18, 47, 0.25);
}

.call-panel {
  position: relative;
  overflow: hidden;
}

.call-shell {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.9));
  border-radius: 16px;
  padding: 14px;
  border: 1px solid rgba(15, 31, 45, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.call-screen {
  position: relative;
  background: linear-gradient(180deg, #f8fbff, #eef3fa);
  border-radius: 14px;
  padding: 26px 20px;
  text-align: center;
  overflow: hidden;
}

.halo {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 50% 20%, rgba(255, 204, 92, 0.18), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(185, 245, 216, 0.18), transparent 30%);
  filter: blur(18px);
  z-index: 0;
}

.santa-phone {
  position: relative;
  z-index: 1;
  margin: 0 auto 14px;
  width: 140px;
  height: 160px;
}

.santa-phone .lights.string {
  position: absolute;
  left: -18px;
  right: -18px;
  height: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0.25;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.santa-phone .lights.string.one {
  top: 30px;
}

.santa-phone .lights.string.two {
  top: 70px;
}

.santa-phone .lights.string::before,
.santa-phone .lights.string::after {
  content: "";
  flex: 1;
  border-bottom: 2px solid rgba(15, 31, 45, 0.15);
}

.santa-phone .lights.string::before {
  margin-right: 6px;
}

.santa-phone .lights.string::after {
  margin-left: 6px;
}

.santa-phone .lights.string::before,
.santa-phone .lights.string::after {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.santa-phone .lights.string::before {
  border-color: rgba(15, 31, 45, 0.15);
}

.santa-phone .lights.string::after {
  border-color: rgba(15, 31, 45, 0.15);
}

.santa-phone .lights.string.one span,
.santa-phone .lights.string.two span {
  display: block;
  width: 10px;
  height: 12px;
  border-radius: 5px;
  background: rgba(15, 31, 45, 0.15);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
}

.santa-phone .lights.string.one span:nth-child(1) {
  background: #ffb347;
}
.santa-phone .lights.string.one span:nth-child(2) {
  background: #6ee7c2;
}
.santa-phone .lights.string.one span:nth-child(3) {
  background: #ffd0d0;
}
.santa-phone .lights.string.one span:nth-child(4) {
  background: #c7f9ff;
}
.santa-phone .lights.string.one span:nth-child(5) {
  background: #ffefad;
}

.santa-phone .lights.string.two span:nth-child(1) {
  background: #6ee7c2;
}
.santa-phone .lights.string.two span:nth-child(2) {
  background: #ffb347;
}
.santa-phone .lights.string.two span:nth-child(3) {
  background: #ffd0d0;
}
.santa-phone .lights.string.two span:nth-child(4) {
  background: #ffefad;
}
.santa-phone .lights.string.two span:nth-child(5) {
  background: #c7f9ff;
}

.santa-phone .lights.string.on {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(255, 204, 92, 0.7));
}

.phone-halo {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle at 60% 20%, rgba(255, 220, 150, 0.25), transparent 55%),
    radial-gradient(circle at 30% 70%, rgba(185, 245, 216, 0.18), transparent 45%);
  filter: blur(12px);
}

.santa-phone .phone-body {
  position: absolute;
  inset: 14px;
  background: linear-gradient(135deg, #b3122f, #e73d59);
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.santa-phone .phone-speaker {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 34px;
  height: 7px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  transform: translateX(-50%);
}

.santa-phone .phone-dial.big {
  position: absolute;
  bottom: 20px;
  left: 50%;
  width: 48px;
  height: 48px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7));
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.12);
}

.santa-phone .phone-bell {
  position: absolute;
  top: -2px;
  width: 22px;
  height: 22px;
  background: #f6d67a;
  border-radius: 50%;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.12);
}

.santa-phone .phone-bell.left {
  left: 10px;
}

.santa-phone .phone-bell.right {
  right: 10px;
}

.santa-phone .phone-hat {
  position: absolute;
  top: -14px;
  left: -2px;
  width: 148px;
  height: 58px;
  z-index: 2;
}

.santa-phone .hat-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 148px;
  height: 46px;
  background: linear-gradient(135deg, #b3122f, #e73d59);
  border-radius: 24px;
  transform: rotate(-4deg);
}

.santa-phone .hat-brim {
  position: absolute;
  bottom: 4px;
  left: -4px;
  width: 156px;
  height: 18px;
  background: #fff4e5;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.santa-phone .pom {
  position: absolute;
  top: -4px;
  right: 8px;
  width: 18px;
  height: 18px;
  background: #fff4e5;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.call-meta {
  position: relative;
  z-index: 1;
  color: #0f1f2d;
}

.call-label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  margin: 0 0 6px;
  color: rgba(15, 31, 45, 0.55);
}

.call-name {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}

.call-status {
  margin: 6px 0 10px;
  color: rgba(15, 31, 45, 0.7);
}

.lights {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 18px;
}

.lights span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: twinkle 1.2s ease-in-out infinite;
}

.lights span:nth-child(2) {
  background: #6ee7c2;
  box-shadow: 0 0 10px #6ee7c2;
  animation-delay: 0.2s;
}

.lights span:nth-child(3) {
  background: #ffd0d0;
  box-shadow: 0 0 10px #ffd0d0;
  animation-delay: 0.4s;
}

.lights span:nth-child(4) {
  background: #c7f9ff;
  box-shadow: 0 0 10px #c7f9ff;
  animation-delay: 0.6s;
}

.lights span:nth-child(5) {
  background: #ffb347;
  box-shadow: 0 0 10px #ffb347;
  animation-delay: 0.8s;
}

@keyframes twinkle {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.9;
  }
  50% {
    transform: translateY(-4px);
    opacity: 0.4;
  }
}

.call-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 1;
  position: relative;
}

.danger {
  background: linear-gradient(135deg, #1e1e1e, #2b2b2b);
  color: #fff;
  border: 1px solid rgba(15, 31, 45, 0.15);
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
}

.privacy {
  margin: 12px 0 0;
  font-size: 12px;
  color: rgba(15, 31, 45, 0.6);
  position: relative;
  z-index: 1;
}

/* Sleigh hero art */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.sleigh {
  position: relative;
  width: 200px;
  height: 120px;
  margin-left: auto;
}

.sleigh-body {
  position: absolute;
  bottom: 24px;
  left: 28px;
  width: 140px;
  height: 50px;
  background: linear-gradient(135deg, #b3122f, #e73d59);
  border-radius: 20px 30px 10px 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.sleigh-seat {
  position: absolute;
  bottom: 58px;
  left: 58px;
  width: 90px;
  height: 26px;
  background: #f6d67a;
  border-radius: 12px 12px 0 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.reins {
  position: absolute;
  bottom: 70px;
  left: 12px;
  width: 80px;
  height: 12px;
  border-top: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 40px;
}

.runner,
.runner.back {
  position: absolute;
  bottom: 16px;
  width: 120px;
  height: 10px;
  background: #8b2a2a;
  border-radius: 10px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
}

.runner {
  left: 40px;
}

.runner.back {
  left: 26px;
  bottom: 10px;
  width: 100px;
  opacity: 0.7;
}

.startrail {
  position: absolute;
  top: 10px;
  left: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.22), transparent 60%);
  transform: rotate(-12deg);
  filter: blur(1px);
}

.reindeer {
  position: absolute;
  right: -70px;
  bottom: 50px;
  width: 70px;
  height: 50px;
  transform: scale(0.9);
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.1));
}

.reindeer.mid {
  right: -110px;
  bottom: 60px;
  opacity: 0.8;
  transform: scale(0.8);
}

.reindeer .body {
  position: absolute;
  bottom: 10px;
  left: 12px;
  width: 44px;
  height: 18px;
  background: #c86b42;
  border-radius: 12px;
}

.reindeer .neck {
  position: absolute;
  bottom: 24px;
  left: 42px;
  width: 10px;
  height: 16px;
  background: #c86b42;
  transform: rotate(12deg);
  border-radius: 8px;
}

.reindeer .head {
  position: absolute;
  bottom: 34px;
  left: 48px;
  width: 14px;
  height: 12px;
  background: #c86b42;
  border-radius: 8px;
}

.reindeer .antlers {
  position: absolute;
  bottom: 46px;
  left: 50px;
  width: 16px;
  height: 14px;
  border-left: 3px solid #8b5233;
  border-top: 3px solid #8b5233;
  transform: rotate(-10deg);
}

.reindeer .leg {
  position: absolute;
  bottom: 0;
  width: 8px;
  height: 14px;
  background: #a65530;
  border-radius: 4px;
}

.reindeer .leg.front {
  left: 38px;
}

.reindeer .leg.back {
  left: 18px;
}

.reindeer .tail {
  position: absolute;
  bottom: 22px;
  left: 8px;
  width: 8px;
  height: 8px;
  background: #a65530;
  border-radius: 6px;
  transform: rotate(-20deg);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .sleigh {
    display: none;
  }
}

@media (max-width: 600px) {
  .app {
    padding: 30px 16px 64px;
  }
  .hero {
    padding: 18px;
  }
  .call-shell {
    padding: 10px;
  }
}
