/* =============================================
   ZENORZEN DREAM INTERPRETER — CSS
   Paste this into the CSS tab in WP Coder
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Lato:wght@300;400;700&display=swap');

.zz-dream-wrapper {
  max-width: 780px;
  margin: 0 auto;
  padding: 20px 16px 48px;
  font-family: 'Lato', sans-serif;
  color: #3a2e2a;
}

/* ─── Header ─── */
.zz-dream-header {
  text-align: center;
  padding: 40px 20px 32px;
}

.zz-moon-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: block;
  animation: zzFloat 4s ease-in-out infinite;
}

@keyframes zzFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.zz-dream-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: #7a3b4e;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.zz-dream-subtitle {
  font-size: 1rem;
  color: #7a6a64;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 300;
}

/* ─── Input Area ─── */
.zz-dream-input-area {
  background: #fff8f5;
  border: 1px solid #e8d5cc;
  border-radius: 16px;
  padding: 28px 28px 24px;
  margin-bottom: 28px;
  box-shadow: 0 4px 24px rgba(122, 59, 78, 0.06);
}

.zz-input-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #7a3b4e;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.zz-dream-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e0cbc3;
  border-radius: 10px;
  padding: 16px 18px;
  font-family: 'Lato', sans-serif;
  font-size: 0.97rem;
  line-height: 1.7;
  color: #3a2e2a;
  background: #ffffff;
  resize: vertical;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}

.zz-dream-textarea:focus {
  border-color: #c9768e;
  box-shadow: 0 0 0 3px rgba(201, 118, 142, 0.15);
}

.zz-dream-textarea::placeholder {
  color: #bba89e;
  font-style: italic;
}

.zz-char-count {
  text-align: right;
  font-size: 0.78rem;
  color: #bba89e;
  margin-top: 6px;
  margin-bottom: 20px;
}

.zz-interpret-btn {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #c9768e 0%, #a84f68 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(168, 79, 104, 0.28);
}

.zz-interpret-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(168, 79, 104, 0.36);
}

.zz-interpret-btn:active {
  transform: translateY(0);
}

.zz-btn-icon {
  margin-right: 8px;
  opacity: 0.85;
}

/* ─── Loading ─── */
.zz-loading {
  text-align: center;
  padding: 40px 20px;
  color: #9e6e7e;
  font-size: 0.95rem;
  font-style: italic;
}

.zz-loading-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.zz-loading-dots span {
  width: 10px;
  height: 10px;
  background: #c9768e;
  border-radius: 50%;
  animation: zzPulse 1.4s ease-in-out infinite both;
}

.zz-loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.zz-loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes zzPulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40%           { transform: scale(1);   opacity: 1; }
}

/* ─── Results Header ─── */
.zz-results {
  animation: zzFadeIn 0.5s ease;
}

@keyframes zzFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.zz-results-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.zz-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e0b8c5, transparent);
}

.zz-results-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  color: #a84f68;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.zz-results-count {
  text-align: center;
  font-size: 0.85rem;
  color: #9e6e7e;
  margin-bottom: 24px;
  font-style: italic;
}

/* ─── Symbol Cards ─── */
.zz-cards-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.zz-symbol-card {
  background: #fff8f5;
  border: 1px solid #e8d5cc;
  border-left: 4px solid #c9768e;
  border-radius: 12px;
  padding: 22px 24px;
  animation: zzCardIn 0.4s ease both;
  box-shadow: 0 2px 12px rgba(122, 59, 78, 0.05);
  transition: box-shadow 0.2s;
}

.zz-symbol-card:hover {
  box-shadow: 0 4px 20px rgba(122, 59, 78, 0.1);
}

@keyframes zzCardIn {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

.zz-card-term {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #7a3b4e;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.zz-card-term::before {
  content: '🔮';
  font-size: 1rem;
}

.zz-card-meaning {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #5a4a44;
  margin: 0;
}

/* ─── No Matches ─── */
.zz-no-matches {
  background: #fff3ee;
  border: 1px dashed #e0b8c5;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  color: #9e6e7e;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ─── Journal Prompt ─── */
.zz-journal-prompt {
  background: linear-gradient(135deg, #f9eff3 0%, #fdf6e3 100%);
  border: 1px solid #e8d5cc;
  border-radius: 14px;
  padding: 26px 28px;
  text-align: center;
  margin-bottom: 28px;
  animation: zzFadeIn 0.6s ease 0.3s both;
}

.zz-journal-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.zz-journal-prompt h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #7a3b4e;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.zz-journal-prompt p {
  font-size: 1rem;
  line-height: 1.7;
  color: #5a4a44;
  margin: 0;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
}

/* ─── CTA Box ─── */
.zz-cta-box {
  background: linear-gradient(135deg, #7a3b4e 0%, #a84f68 100%);
  border-radius: 16px;
  padding: 36px 32px;
  text-align: center;
  color: #fff;
  margin-top: 8px;
  box-shadow: 0 8px 32px rgba(122, 59, 78, 0.25);
  animation: zzFadeIn 0.6s ease 0.5s both;
}

.zz-cta-stars {
  font-size: 0.85rem;
  letter-spacing: 0.5em;
  opacity: 0.7;
  margin-bottom: 14px;
}

.zz-cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.3;
}

.zz-cta-text {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.88;
  margin: 0 0 24px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.zz-cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: #a84f68;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.zz-cta-btn:hover {
  background: #fff8f5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.16);
  color: #7a3b4e;
  text-decoration: none;
}

/* ─── Try Again ─── */
.zz-try-again {
  text-align: center;
  margin-top: 28px;
}

.zz-reset-btn {
  background: transparent;
  border: 1px solid #c9768e;
  color: #a84f68;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s;
}

.zz-reset-btn:hover {
  background: #fff8f5;
  color: #7a3b4e;
}

/* ─── Responsive ─── */
@media (max-width: 540px) {
  .zz-dream-title  { font-size: 1.9rem; }
  .zz-dream-input-area { padding: 20px 18px; }
  .zz-cta-box      { padding: 28px 20px; }
  .zz-cta-title    { font-size: 1.35rem; }
  .zz-results-title { font-size: 0.85rem; }
}