/* Sakrales Design & Weihrauch-Atmosphäre */
.sacred-app-scope {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem;
  background: transparent;
  box-sizing: border-box;
}

.sacred-card {
  position: relative;
  width: 100%;
  max-width: 660px;
  background: radial-gradient(circle at 50% 0%, rgba(253, 197, 138, 0.09) 0%, #151413 55%, #0d0c0b 100%);
  border: 1px solid rgba(253, 197, 138, 0.18);
  border-radius: 6px;
  padding: 3.2rem 2.4rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 40px -10px rgba(253, 197, 138, 0.05);
  color: #e5e2db;
  box-sizing: border-box;
  text-align: center;
}

.card-accent-line {
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #fdc58a 50%, transparent);
  opacity: 0.85;
}

.sacred-badge {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fdc58a;
  opacity: 0.85;
  margin-bottom: 0.9rem;
}

.sacred-title {
  font-family: 'Cinzel', serif;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #f7f5f0;
  margin: 0 0 0.85rem 0;
}

.sacred-call {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  color: #fdc58a;
  margin: 0 0 0.6rem 0;
  text-shadow: 0 0 16px rgba(253, 197, 138, 0.25);
}

.sacred-desc {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  color: #a49e95;
  line-height: 1.6;
  margin: 0 auto 2.2rem auto;
  max-width: 520px;
}

.sacred-stage-wrap {
  position: relative;
  min-height: 220px;
  margin-bottom: 2rem;
}

.input-box-wrap {
  position: relative;
  background: rgba(18, 17, 16, 0.85);
  border: 1px solid rgba(253, 197, 138, 0.22);
  border-radius: 4px;
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.7);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.input-box-wrap:focus-within {
  border-color: rgba(253, 197, 138, 0.65);
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.7), 0 0 20px rgba(253, 197, 138, 0.15);
}

#sacredInput {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: none;
  color: #f7f5f0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.7;
  padding: 1.4rem 1.4rem 0.5rem 1.4rem;
  resize: vertical;
  outline: none;
  min-height: 160px;
  max-height: 380px;
  overflow-y: auto;
}

#sacredInput::placeholder {
  color: #635b52;
  font-style: italic;
}

.mic-control-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem 0.8rem 1rem;
}

.mic-error-hint {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
  color: #e57373;
  text-align: left;
  max-width: 320px;
}

.btn-mic {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  background: rgba(253, 197, 138, 0.05);
  border: 1px solid rgba(253, 197, 138, 0.3);
  color: #fdc58a;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-mic svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.btn-mic:hover {
  background: rgba(253, 197, 138, 0.12);
  border-color: #fdc58a;
}

.btn-mic.recording {
  background: rgba(253, 197, 138, 0.22);
  border-color: #fdc58a;
  color: #ffffff;
  animation: micPulse 1.8s infinite ease-in-out;
}

@keyframes micPulse {
  0% { box-shadow: 0 0 6px rgba(253, 197, 138, 0.3); }
  50% { box-shadow: 0 0 18px rgba(253, 197, 138, 0.75); }
  100% { box-shadow: 0 0 6px rgba(253, 197, 138, 0.3); }
}

.smoke-viewport {
  position: relative;
  width: 100%;
  min-height: 220px;
  max-height: 420px;
  padding: 1.4rem;
  box-sizing: border-box;
  text-align: left;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.7;
  border: 1px solid rgba(253, 197, 138, 0.1);
  border-radius: 4px;
  background: rgba(14, 13, 12, 0.7);
  overflow: visible;
}

.smoke-token {
  display: inline-block;
  white-space: pre-wrap;
  will-change: transform, opacity, filter;
  animation-name: incenseAscend;
  animation-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1);
  animation-fill-mode: forwards;
}

@keyframes incenseAscend {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0px);
    color: #f7f5f0;
  }
  30% {
    opacity: 0.95;
    color: #fdc58a;
    transform: translate3d(calc(var(--drift-x) * 0.3), -30px, 0) rotate(calc(var(--rot) * 0.4));
    filter: blur(1.2px);
    text-shadow: 0 0 14px rgba(253, 197, 138, 0.55);
  }
  70% {
    opacity: 0.4;
    color: #fdc58a;
    transform: translate3d(calc(var(--drift-x) * 0.8), -90px, 0) rotate(calc(var(--rot) * 0.9)) scale(1.12);
    filter: blur(7px);
    text-shadow: 0 0 24px rgba(253, 197, 138, 0.3);
  }
  100% {
    opacity: 0;
    color: rgba(253, 197, 138, 0.08);
    transform: translate3d(var(--drift-x), -150px, 0) rotate(var(--rot)) scale(1.38);
    filter: blur(16px);
  }
}

.btn-elevate {
  position: relative;
  background: transparent;
  border: 1px solid rgba(253, 197, 138, 0.45);
  color: #fdc58a;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.6rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-elevate:hover {
  border-color: #fdc58a;
  background: rgba(253, 197, 138, 0.08);
  box-shadow: 0 0 25px rgba(253, 197, 138, 0.22);
  transform: translateY(-1px);
}

.btn-elevate:active {
  transform: translateY(1px);
}

.privacy-notice {
  margin-top: 1.4rem;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: #726b62;
  text-transform: uppercase;
}

.shield-icon {
  color: #fdc58a;
  opacity: 0.7;
  margin-right: 4px;
}

.sacred-aftermath {
  padding: 2.2rem 1rem;
  animation: gentleEntrance 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.aftermath-symbol {
  font-size: 1.6rem;
  color: #fdc58a;
  margin-bottom: 1rem;
  opacity: 0.9;
  filter: drop-shadow(0 0 14px rgba(253, 197, 138, 0.4));
}

.aftermath-title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #fdc58a;
  margin: 0 0 0.8rem 0;
}

.aftermath-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #b3ada3;
  max-width: 480px;
  margin: 0 auto 2rem auto;
}

.btn-subtle-reset {
  background: transparent;
  border: none;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8c857b;
  cursor: pointer;
  border-bottom: 1px solid rgba(140, 133, 123, 0.3);
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.btn-subtle-reset:hover {
  color: #fdc58a;
  border-color: #fdc58a;
}

@keyframes gentleEntrance {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
