/* Quiet editorial depth: background atmosphere and a few foreground glints. */
body.gift-home #main-content {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

body.gift-home #main-content > section {
  position: relative;
  z-index: 2;
}

body.gift-home .gift-site-ambient,
body.gift-home .gift-site-foreground {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

body.gift-home .gift-site-ambient { z-index: 0; }
body.gift-home .gift-site-foreground { z-index: 3; }
body.gift-home .gift-site-ambient i,
body.gift-home .gift-site-foreground i { position: absolute; display: block; }

/* Background: diffused colour, thin rings, and a long light ribbon. */
body.gift-home .gift-site-ambient i:nth-child(1) {
  top: 4%;
  left: -21vw;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 207, 189, .32) 0%, rgba(255, 226, 219, .16) 40%, transparent 72%);
  filter: blur(28px);
}

body.gift-home .gift-site-ambient i:nth-child(2) {
  top: 23%;
  right: -19vw;
  width: 48vw;
  height: 27vw;
  border: 1px solid rgba(212, 170, 233, .2);
  border-right-color: transparent;
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(228, 191, 235, .1);
  transform: rotate(17deg);
}

body.gift-home .gift-site-ambient i:nth-child(3) {
  top: 45%;
  left: -8%;
  width: 116%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 182, 205, .28) 28%, rgba(222, 182, 237, .35) 59%, transparent 91%);
  box-shadow: 0 0 18px rgba(255, 224, 235, .45);
  transform: rotate(-7deg);
  animation: gift-site-ribbon 16s ease-in-out infinite;
}

body.gift-home .gift-site-ambient i:nth-child(4) {
  top: 65%;
  left: 8%;
  width: 30vw;
  height: 30vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 209, 245, .28), transparent 69%);
  filter: blur(23px);
}

body.gift-home .gift-site-ambient i:nth-child(5) {
  top: 83%;
  right: -13vw;
  width: 34vw;
  height: 34vw;
  border: 1px solid rgba(246, 189, 205, .18);
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-22deg);
}

/* Foreground: sparse jewellery-like light points that never block reading. */
body.gift-home .gift-site-foreground i:nth-child(1) {
  top: 9.8%;
  right: 8%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 0 0 5px rgba(255, 229, 232, .2), 0 0 19px 5px rgba(239, 164, 207, .37);
  animation: gift-site-glint 5.8s ease-in-out infinite;
}

body.gift-home .gift-site-foreground i:nth-child(2) {
  top: 34%;
  left: 6%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fffdfb;
  box-shadow: 0 0 14px 4px rgba(255, 203, 188, .42);
  animation: gift-site-glint 6.6s ease-in-out 1.3s infinite;
}

body.gift-home .gift-site-foreground i:nth-child(3) {
  top: 58%;
  right: 5.5%;
  width: 22vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .76), rgba(231, 143, 186, .38), transparent);
  box-shadow: 0 0 11px rgba(251, 216, 236, .46);
  transform: rotate(-28deg);
  animation: gift-site-ribbon 13s ease-in-out -4s infinite;
}

body.gift-home .gift-site-foreground i:nth-child(4) {
  top: 77%;
  left: 12%;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(233, 130, 171, .38);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(231, 152, 208, .29);
  animation: gift-site-glint 7.2s ease-in-out .5s infinite;
}

@keyframes gift-site-ribbon {
  0%, 100% { opacity: .34; translate: 0 0; }
  50% { opacity: .82; translate: 22px -8px; }
}

@keyframes gift-site-glint {
  0%, 100% { opacity: .2; transform: scale(.72); }
  48% { opacity: .92; transform: scale(1.15); }
}

@media (max-width: 760px) {
  body.gift-home .gift-site-ambient i:nth-child(1) { width: 84vw; height: 84vw; }
  body.gift-home .gift-site-ambient i:nth-child(2) { width: 78vw; height: 44vw; }
  body.gift-home .gift-site-ambient i:nth-child(4) { width: 64vw; height: 64vw; }
  body.gift-home .gift-site-ambient i:nth-child(5),
  body.gift-home .gift-site-foreground i:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  body.gift-home .gift-site-ambient i,
  body.gift-home .gift-site-foreground i { animation: none !important; }
}
