/* ============================================================
   Singdia — Moods Block (Telegram-style audio list)
   ============================================================ */

.mood {
  position: relative;
  padding: 96px 0 110px;
  background: var(--cream);
  overflow: hidden;
}

.mood-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.mood-bg::before {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  top: -160px; right: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,164,65,0.28) 0%, transparent 70%);
  filter: blur(40px);
}
.mood-bg::after {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  bottom: -180px; left: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,79,109,0.22) 0%, transparent 70%);
  filter: blur(40px);
}

.mood-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}

/* ─────────── Left: copy ─────────── */

.mood-copy { max-width: 460px; }
.mood-copy .eyebrow {
  justify-content: flex-start;
  margin-bottom: 18px;
}
.mood-copy .eyebrow .eyebrow-line:first-child { display: none; }
.mood-copy h2 {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 22px;
}
.mood-copy h2 em {
  font-style: italic;
  color: var(--maroon);
  font-weight: 500;
}
.mood-copy p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.mood-meta {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 30px;
}
.mood-meta span { display: flex; align-items: center; gap: 8px; }
.mood-meta-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--saffron);
}

/* ─────────── Right: Telegram-style chat bubble ─────────── */

.mood-chat-wrap {
  position: relative;
  padding: 32px 18px 18px;
}
.mood-chat-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(201,79,109,0.10) 0, transparent 32%),
    radial-gradient(circle at 78% 70%, rgba(217,164,65,0.10) 0, transparent 32%);
  border-radius: 28px;
  pointer-events: none;
}
.mood-chat-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 0 4px;
  color: var(--ink-soft);
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mood-chat-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--maroon));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  font-style: italic;
}
.mood-chat-online {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4caf50;
  margin-left: auto;
  box-shadow: 0 0 0 3px rgba(76,175,80,0.18);
}

.mood-bubble {
  position: relative;
  background: #fff;
  border-radius: 4px 22px 22px 22px;
  padding: 8px 8px 6px;
  box-shadow:
    0 30px 60px -28px rgba(74,8,32,0.28),
    0 2px 6px rgba(74,8,32,0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mood-bubble::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 0;
  width: 12px;
  height: 18px;
  background: #fff;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

/* Audio row */
.mood-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 10px;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.18s ease;
  position: relative;
}
.mood-row + .mood-row { margin-top: 2px; }
.mood-row:hover { background: rgba(217,164,65,0.06); }
.mood-row.is-playing {
  background: linear-gradient(90deg, rgba(217,164,65,0.10), rgba(201,79,109,0.08));
}

.mood-row-play {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--mood-tone, linear-gradient(135deg, #7da897, #4a6e5d));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 44px;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 6px 14px -4px rgba(74,8,32,0.22);
}
.mood-row:hover .mood-row-play { transform: scale(1.05); }
.mood-row-play svg { display: block; }
.mood-row-play-arrow { margin-left: 2px; }
.mood-row-play:disabled { opacity: 0.45; cursor: not-allowed; }
.mood-row.is-empty { opacity: 0.7; }
.mood-row-spinner {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  animation: mood-row-spin 0.7s linear infinite;
}
@keyframes mood-row-spin { to { transform: rotate(360deg); } }

.mood-row-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mood-row-title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mood-row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  opacity: 0.85;
  flex: 0 0 18px;
}
.mood-row.is-playing .mood-row-icon {
  color: var(--saffron);
  opacity: 1;
}
.mood-row-sub {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  margin-top: 3px;
}

.mood-row-progress {
  position: absolute;
  left: 70px;
  right: 18px;
  bottom: 7px;
  height: 2px;
  background: rgba(107,18,49,0.10);
  border-radius: 999px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.2s, transform 0.2s;
}
.mood-row.is-active .mood-row-progress {
  opacity: 1;
  transform: translateY(0);
  cursor: pointer;
}
.mood-row-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--saffron), var(--maroon));
  transition: width 0.15s linear;
}

/* Custom-style row — animated input field */
.mood-row--custom {
  cursor: default;
  margin-top: 6px;
  border-top: 1px dashed rgba(107,18,49,0.14);
  padding-top: 16px;
}
.mood-row--custom:hover { background: transparent; }
.mood-row-play--custom {
  background: linear-gradient(135deg, var(--saffron), var(--maroon)) !important;
  position: relative;
}
.mood-row-play--custom::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px dashed rgba(217,164,65,0.6);
  animation: mood-spin 8s linear infinite;
}
@keyframes mood-spin { to { transform: rotate(360deg); } }

.mood-row-title--custom {
  color: var(--ink-soft);
  font-weight: 500;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0;
}
.mood-row-input {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border: 1px solid rgba(107,18,49,0.12);
  border-radius: 999px;
  padding: 8px 6px 8px 14px;
  position: relative;
  overflow: hidden;
}
.mood-row-input::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(217,164,65,0.12), transparent);
  animation: mood-shimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes mood-shimmer {
  0%, 100% { transform: translateX(-100%); }
  50%      { transform: translateX(100%); }
}
.mood-row-input-text {
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  min-height: 18px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}
.mood-row-caret {
  display: inline-block;
  width: 1.5px;
  height: 15px;
  background: var(--maroon);
  margin-left: 2px;
  animation: mood-blink 1s steps(2) infinite;
}
@keyframes mood-blink {
  to { opacity: 0; }
}
.mood-row-send {
  flex: 0 0 30px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--saffron), var(--maroon));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: transform 0.18s;
  padding: 0;
}
.mood-row-send:hover { transform: scale(1.08); }
.mood-row-send svg { transform: translateX(-1px); }

/* Chat footer */
.mood-chat-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
}
.mood-chat-footer-icon {
  width: 14px; height: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--saffron);
}

/* CTA */
.mood-ctas {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.mood-ctas .feel-mini {
  font-size: 12px;
  color: var(--ink-soft);
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─────────── Responsive ─────────── */
@media (max-width: 960px) {
  .mood { padding: 64px 0 80px; }
  .mood-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }
  .mood-copy h2 { font-size: 36px; }
  .mood-chat-wrap { padding: 20px 8px 8px; }
}
