/* Same motion as mercuriali.uz — adapted to Living's cream page + dark hero */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 10050;
  background: linear-gradient(90deg, #5c1a28, #c1b094);
  pointer-events: none;
  box-shadow: 0 0 14px rgba(193, 176, 148, 0.45);
}

a.scroll-indicator,
.scroll-indicator {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: 1.8rem !important;
  transform: translateX(-50%) !important;
  z-index: 10060 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.7rem !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  text-decoration: none !important;
  color: #f5edd6 !important;
  pointer-events: auto !important;
  transition: opacity 0.4s ease !important;
}
a.scroll-indicator.is-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}
.scroll-indicator .scroll-indicator__label {
  display: block !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.32em !important;
  text-transform: uppercase !important;
  color: #f5edd6 !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75) !important;
}
.scroll-indicator .scroll-line {
  display: block !important;
  width: 1px !important;
  height: 48px !important;
  background: linear-gradient(to bottom, #c1b094 0%, rgba(193, 176, 148, 0.1) 100%) !important;
  animation: eosScrollPulse 2s ease-in-out infinite !important;
  transform-origin: top center !important;
}
.scroll-indicator .eos-chevron {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  stroke: #c1b094 !important;
  fill: none !important;
  animation: eosArrowBob 2.2s ease-in-out infinite !important;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.7));
}
@keyframes eosScrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.35); }
}
@keyframes eosArrowBob {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(7px); opacity: 1; }
}

/* Cursor: cream dot + bubble, dark ring so it reads on cream pages too */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: rgba(232, 224, 208, 0.95);
  box-shadow: 0 0 0 1px rgba(44, 33, 23, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10070;
  top: 0;
  left: 0;
  display: none;
  transition: transform 0.15s ease, background 0.4s ease;
}
.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(44, 33, 23, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10070;
  top: 0;
  left: 0;
  display: none;
  transition: transform 0.3s ease, border-color 0.4s ease, width 0.3s ease, height 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  html.has-eos-cursor .cursor-dot,
  html.has-eos-cursor .cursor-ring { display: block; }
  html.has-eos-cursor,
  html.has-eos-cursor * { cursor: none !important; }
}
@media (max-width: 900px) {
  .cursor-dot, .cursor-ring { display: none !important; }
  html.has-eos-cursor, html.has-eos-cursor * { cursor: auto !important; }
}

.atm-veil {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: multiply;
  opacity: 0.55;
}
.atm-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.atm-orb-a {
  width: min(52vw, 640px);
  height: min(52vw, 640px);
  left: -12%;
  top: -8%;
  background: radial-gradient(circle, rgba(193, 176, 148, 0.7) 0%, transparent 70%);
  animation: atmDriftA 32s ease-in-out infinite;
}
.atm-orb-b {
  width: min(44vw, 520px);
  height: min(44vw, 520px);
  right: -10%;
  top: 28%;
  background: radial-gradient(circle, rgba(92, 26, 40, 0.28) 0%, transparent 72%);
  animation: atmDriftB 38s ease-in-out infinite;
}
.atm-orb-c {
  width: min(38vw, 420px);
  height: min(38vw, 420px);
  left: 32%;
  bottom: -12%;
  background: radial-gradient(circle, rgba(184, 118, 63, 0.35) 0%, transparent 68%);
  animation: atmDriftC 26s ease-in-out infinite;
}
@keyframes atmDriftA {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate3d(8%, 10%, 0) scale(1.12); opacity: 1; }
}
@keyframes atmDriftB {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate3d(-10%, -6%, 0) scale(1.08); opacity: 0.85; }
}
@keyframes atmDriftC {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.45; }
  50% { transform: translate3d(-6%, -12%, 0); opacity: 0.8; }
}
canvas.atm-dust {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(245, 237, 214, 0.18), transparent 58%),
    radial-gradient(ellipse 50% 40% at 92% 78%, rgba(193, 176, 148, 0.14), transparent 70%);
  animation: atmMistBreath 16s ease-in-out infinite alternate;
}
@keyframes atmMistBreath {
  0% { opacity: 0.65; }
  100% { opacity: 1; }
}

.hero h1 {
  letter-spacing: 0.03em;
  font-weight: 500;
  text-shadow:
    0 10px 36px rgba(20, 8, 10, 0.4),
    0 0 42px rgba(193, 176, 148, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  .atm-orb, .hero::after, canvas.atm-dust,
  .scroll-indicator .scroll-line, .scroll-indicator .eos-chevron {
    animation: none !important;
  }
  canvas.atm-dust, .atm-veil { display: none !important; }
}
@media (max-width: 767px) {
  .atm-orb-c { display: none; }
}
