/* Dee Utensils Grand Opening — scroll cue + welcome surprise */

/* ---------- Fixed "scroll down" cue (every page) ---------- */
.scroll-cue {
  position: fixed; left: 50%; bottom: 22px; z-index: 55; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 18px; border-radius: 999px;
  background: rgba(12,12,12,.82); border: 1px solid rgba(240,169,43,.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--fg); font-size: 13px; font-weight: 600; letter-spacing: .02em;
  box-shadow: 0 10px 30px rgba(0,0,0,.55), 0 0 24px rgba(240,169,43,.25);
  transition: opacity .35s, transform .35s, visibility .35s;
}
.scroll-cue svg { width: 18px; height: 18px; color: var(--gold); animation: cue-bounce 1.4s ease-in-out infinite; }
.scroll-cue.off { opacity: 0; visibility: hidden; transform: translate(-50%, 16px); pointer-events: none; }
@keyframes cue-bounce { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
@media (max-width: 600px) { .scroll-cue { bottom: 16px; font-size: 12px; padding: 9px 14px; } }

/* ---------- Welcome surprise (social card page) ---------- */
.surprise {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(240,169,43,.28), transparent 60%),
    radial-gradient(circle at 15% 85%, rgba(167,139,250,.2), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(255,111,181,.18), transparent 40%),
    rgba(5,5,5,.96);
  animation: s-fade .3s ease both;
}
.surprise[hidden] { display: none !important; }
.surprise.closing { animation: s-out .55s ease forwards; }
@keyframes s-fade { from { opacity: 0; } }
@keyframes s-out { to { opacity: 0; transform: scale(1.06); visibility: hidden; } }
.surprise .confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; }
.surprise-box {
  position: relative; z-index: 2; width: min(620px, 100%); text-align: center; padding: 40px 28px 34px; border-radius: 30px;
  background: linear-gradient(180deg, rgba(26,18,6,.94), rgba(10,10,10,.96)); border: 1px solid rgba(255,210,122,.45);
  box-shadow: 0 40px 120px rgba(0,0,0,.8), 0 0 90px rgba(240,169,43,.28), inset 0 1px 0 rgba(255,255,255,.08);
  animation: box-pop .5s cubic-bezier(.2,1.6,.4,1) .1s both;
}
@keyframes box-pop { from { opacity: 0; transform: scale(.55) rotate(-4deg); } }
.surprise-box img { width: 150px; margin: 0 auto 10px; animation: s-rise .4s ease .3s both; }
.s-kicker {
  display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; color: #140c02;
  background: linear-gradient(90deg, #ffd27a, #ff9f1c, #ff6fb5, #a78bfa, #22d3ee, #34d399, #ffd27a); background-size: 300% 100%;
  animation: s-rise .4s ease .35s both, rainbow 2s linear infinite;
}
@keyframes rainbow { to { background-position: 300% 0; } }
.s-title { font-size: clamp(54px, 13vw, 104px); line-height: .95; margin: 18px 0 8px; letter-spacing: -.03em; font-weight: 700; }
.s-title span {
  display: inline-block;
  background: linear-gradient(180deg, #fff3cf, #ffd27a 45%, #f0a92b 70%, #b8730b); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: letter-in .5s cubic-bezier(.2,1.8,.4,1) both, letter-wave 1.2s ease-in-out infinite;
  animation-delay: calc(.4s + var(--i) * .05s), calc(1.3s + var(--i) * .06s);
}
@keyframes letter-in { from { opacity: 0; transform: translateY(60px) scale(.3) rotate(-20deg); } }
@keyframes letter-wave { 0%, 100% { transform: none; } 50% { transform: translateY(-8px) rotate(-3deg); } }
.s-sub { font-size: clamp(20px, 4.2vw, 30px); font-weight: 600; margin-bottom: 14px; animation: s-rise .4s ease .8s both; }
.s-sub b { color: var(--gold-light); }
.s-text { color: var(--soft); max-width: 460px; margin: 0 auto 20px; animation: s-rise .4s ease .9s both; }
.s-date { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 12px; border: 1px dashed rgba(255,210,122,.6); color: #fff; font-weight: 600; font-size: 14px; margin-bottom: 24px; animation: s-rise .4s ease 1s both; }
.s-date svg { width: 18px; height: 18px; color: #ff6fb5; }
.s-go { position: relative; overflow: hidden; height: 56px; padding: 0 28px; font-size: 17px; animation: s-rise .4s ease 1.1s both, go-pulse 1s ease-in-out 1.5s infinite; }
.s-go::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent); transform: skewX(-20deg); animation: shine 1.2s ease-in-out 1.5s infinite; }
@keyframes shine { 0% { left: -60%; } 60%, 100% { left: 130%; } }
@keyframes go-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(240,169,43,.55), 0 8px 30px rgba(240,169,43,.25); } 50% { box-shadow: 0 0 0 14px rgba(240,169,43,0), 0 8px 30px rgba(240,169,43,.25); } }
.s-skip { display: block; margin: 14px auto 0; color: var(--muted); font-size: 13px; text-decoration: underline; animation: s-rise .4s ease 1.2s both; }
@keyframes s-rise { from { opacity: 0; transform: translateY(18px); } }

/* colourful pop-in icons */
.s-icons { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.s-ico {
  position: absolute; left: var(--x); top: var(--y); width: var(--z, 64px); height: var(--z, 64px); margin: calc(var(--z, 64px) / -2) 0 0 calc(var(--z, 64px) / -2);
  border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.55), transparent 45%), var(--c);
  box-shadow: 0 12px 30px rgba(0,0,0,.45), 0 0 26px var(--c), inset 0 -6px 12px rgba(0,0,0,.18);
  animation: ico-pop .5s cubic-bezier(.2,1.8,.4,1) both, ico-float 1.6s ease-in-out infinite;
  animation-delay: var(--d), calc(var(--d) + .5s);
}
.s-ico svg { width: 52%; height: 52%; }
@keyframes ico-pop { from { opacity: 0; transform: scale(0) rotate(-180deg); } }
@keyframes ico-float { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-14px) rotate(8deg); } }

/* twinkles */
.s-twinkle { position: absolute; left: var(--x); top: var(--y); color: var(--c); font-size: var(--z, 18px); z-index: 1; animation: twinkle 1.1s ease-in-out infinite; animation-delay: var(--d); pointer-events: none; text-shadow: 0 0 12px currentColor; }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.5) rotate(0); } 50% { opacity: 1; transform: scale(1.2) rotate(90deg); } }

/* balloons */
.s-balloon {
  position: absolute; bottom: -170px; left: var(--x); width: var(--z, 54px); height: calc(var(--z, 54px) * 1.22); z-index: 1;
  border-radius: 50% 50% 48% 48% / 55% 55% 45% 45%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.6), transparent 30%), var(--c);
  box-shadow: inset -6px -8px 14px rgba(0,0,0,.2);
  animation: balloon var(--t, 3.4s) ease-in both; animation-delay: var(--d); pointer-events: none;
}
.s-balloon::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 70px; background: rgba(255,255,255,.4); }
@keyframes balloon { 0% { transform: translateY(0) translateX(0) rotate(-4deg); } 50% { transform: translateY(-60vh) translateX(18px) rotate(5deg); } 100% { transform: translateY(-130vh) translateX(-10px) rotate(-4deg); } }

.surprise-box > :not(.s-icons) { position: relative; z-index: 4; }
.s-text, .s-sub { text-shadow: 0 2px 10px rgba(0,0,0,.9); }
@media (max-width: 600px) {
  .s-icons { z-index: 1; opacity: .9; }
  .surprise-box { padding: 30px 18px 26px; }
  .surprise-box img { width: 120px; }
  .s-ico { --z: 46px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .surprise, .surprise * { animation: none !important; }
}

/* auto-continue timer (the whole intro lasts 4s) */
.s-timer { width: min(260px, 80%); height: 4px; margin: 16px auto 0; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; animation: s-rise .4s ease 1.2s both; }
.s-timer i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold-light), var(--gold)); transform-origin: left; animation: s-count var(--dur, 3.45s) linear forwards; }
@keyframes s-count { to { transform: scaleX(0); } }
