/* =========================================================================
   Nadeem Love Cupido — "Retrospectiva" Wrapped (Spotify-Wrapped-style player)
   Full-screen story player mounted from the gift's "Vamos lá" CTA.
   Brand palette: red #ef4444 / pink #ec4899 (our colors, not lovepanda green).
   Self-contained; class prefix lcwr- to avoid clashing with lcg-/lcw-.
   ========================================================================= */

.lcwr-root, .lcwr-root * { box-sizing: border-box; }

.lcwr-root {
  position: fixed; inset: 0; z-index: 2147483600;
  background: #0a0a0a; color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: hidden; user-select: none; -webkit-tap-highlight-color: transparent;
}
.lcwr-root.lcwr-closing { animation: lcwr-fadeout .28s ease forwards; }
@keyframes lcwr-fadeout { to { opacity: 0; } }

/* The phone-width stage, centered */
.lcwr-stage {
  position: absolute; inset: 0; margin: 0 auto; max-width: 460px;
  display: flex; flex-direction: column;
}

/* ---- top chrome: progress segments + sound + close ---- */
.lcwr-top { position: absolute; top: 0; left: 0; right: 0; z-index: 20; padding: 10px 12px 0; }
.lcwr-bars { display: flex; gap: 4px; }
.lcwr-bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.28); overflow: hidden; }
.lcwr-bar-fill { display: block; height: 100%; width: 0; background: #fff; border-radius: 3px; }
.lcwr-bar.is-done .lcwr-bar-fill { width: 100%; }
.lcwr-bar.is-active .lcwr-bar-fill { width: 100%; transition: width linear; }
.lcwr-top-btns { display: flex; justify-content: flex-end; gap: 14px; margin-top: 10px; }
.lcwr-iconbtn { background: none; border: none; color: rgba(255,255,255,.85); cursor: pointer; padding: 4px; line-height: 0; }
.lcwr-iconbtn:hover { color: #fff; }
.lcwr-iconbtn svg { width: 22px; height: 22px; }

/* ---- nav tap zones ---- */
.lcwr-tap { position: absolute; top: 0; bottom: 0; width: 33%; z-index: 15; cursor: pointer; }
.lcwr-tap-prev { left: 0; }
.lcwr-tap-next { right: 0; }

/* ---- slide host ---- */
.lcwr-slides { position: relative; flex: 1; overflow: hidden; }
.lcwr-slide {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 64px 28px 40px; opacity: 0; pointer-events: none;
}
.lcwr-slide.is-current { opacity: 1; pointer-events: auto; }
.lcwr-slide.lcwr-scroll { justify-content: flex-start; overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* particles */
.lcwr-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.lcwr-particle { position: absolute; border-radius: 50%; background: currentColor; opacity: .5;
  animation: lcwr-float linear infinite; }
@keyframes lcwr-float {
  from { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: .6; }
  to { transform: translateY(-120px) scale(.4); opacity: 0; }
}

/* generic enter animations */
.lcwr-up { opacity: 0; transform: translateY(18px); animation: lcwr-up .6s ease forwards; }
.lcwr-up.d1 { animation-delay: .15s; } .lcwr-up.d2 { animation-delay: .35s; } .lcwr-up.d3 { animation-delay: .55s; }
@keyframes lcwr-up { to { opacity: 1; transform: none; } }
.lcwr-pop { opacity: 0; transform: scale(.6); animation: lcwr-pop .6s cubic-bezier(.2,1.4,.4,1) forwards; }
@keyframes lcwr-pop { to { opacity: 1; transform: none; } }

/* typography */
.lcwr-eyebrow { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.7); margin: 0 0 10px; position: relative; z-index: 2; }
.lcwr-big { font-size: clamp(44px, 13vw, 72px); font-weight: 800; line-height: 1; margin: 0; position: relative; z-index: 2; }
.lcwr-h1 { font-size: clamp(30px, 8vw, 44px); font-weight: 800; line-height: 1.05; margin: 0; position: relative; z-index: 2; }
.lcwr-sub { font-size: 16px; color: rgba(255,255,255,.85); margin: 14px 0 0; position: relative; z-index: 2; }
.lcwr-grad { background: linear-gradient(90deg,#ef4444,#ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* "Próxima Seção" button */
.lcwr-next-btn {
  margin: 26px auto 0; display: inline-block; border: none; cursor: pointer;
  background: #fff; color: #111; font-size: 15px; font-weight: 700;
  padding: 13px 30px; border-radius: 999px; position: relative; z-index: 5;
}
.lcwr-next-btn:hover { transform: translateY(-1px); }
.lcwr-next-btn.lcwr-brand { background: linear-gradient(135deg,#ef4444,#ec4899); color: #fff; }

/* ---- intro ---- */
.lcwr-intro-names { font-size: clamp(34px, 9vw, 52px); font-weight: 800; line-height: 1.08; }

/* ---- season ---- */
.lcwr-season-icon { font-size: 76px; line-height: 1; margin: 18px 0; filter: drop-shadow(0 0 24px rgba(255,255,255,.25)); }

/* ---- timeline ---- */
.lcwr-tl-head { padding: 12px 0 26px; }
.lcwr-tl { position: relative; width: 100%; max-width: 380px; margin: 0 auto; padding-bottom: 30px; }
.lcwr-tl::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%);
  background: linear-gradient(#ef4444,#ec4899); opacity: .5; }
.lcwr-tl-item { position: relative; display: flex; align-items: center; gap: 12px; margin: 0 0 30px; min-height: 120px; }
.lcwr-tl-item.left { flex-direction: row; }
.lcwr-tl-item.right { flex-direction: row-reverse; }
.lcwr-tl-photo { width: 150px; flex: 0 0 150px; background: #fff; padding: 8px 8px 0; border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5); transform: rotate(-3deg); }
.lcwr-tl-item.right .lcwr-tl-photo { transform: rotate(3deg); }
.lcwr-tl-photo img { width: 100%; height: 130px; object-fit: cover; border-radius: 2px; display: block; }
.lcwr-tl-cap { color: #444; font-family: "Brush Script MT","Segoe Script",cursive; font-size: 15px; text-align: center; padding: 6px 4px 8px; }
.lcwr-tl-info { flex: 1; }
.lcwr-tl-date { color: #f472b6; font-weight: 800; font-size: 16px; margin: 0 0 6px; }
.lcwr-tl-desc { color: rgba(255,255,255,.85); font-size: 14px; margin: 0; }
.lcwr-tl-heart { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); color: #ec4899; font-size: 18px; z-index: 2; }

/* ---- word game (wordle) ---- */
.lcwr-wg-grid { display: grid; gap: 6px; margin: 18px auto; }
.lcwr-wg-row { display: grid; grid-auto-flow: column; gap: 6px; justify-content: center; }
.lcwr-wg-cell { width: 46px; height: 46px; border: 2px solid rgba(255,255,255,.25); border-radius: 6px;
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; text-transform: uppercase; }
.lcwr-wg-cell.filled { border-color: rgba(255,255,255,.6); }
.lcwr-wg-cell.correct { background: #22c55e; border-color: #22c55e; }
.lcwr-wg-cell.present { background: #eab308; border-color: #eab308; }
.lcwr-wg-cell.absent { background: #3f3f46; border-color: #3f3f46; }
.lcwr-wg-hint { color: rgba(255,255,255,.7); font-size: 13px; margin: 6px 0 0; }
.lcwr-wg-kb { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; width: 100%; max-width: 400px; }
.lcwr-wg-kbrow { display: flex; gap: 5px; justify-content: center; }
.lcwr-wg-key { flex: 1; max-width: 34px; height: 48px; border: none; border-radius: 6px; background: #d4d4d8; color: #111;
  font-weight: 700; font-size: 14px; cursor: pointer; text-transform: uppercase; }
.lcwr-wg-key.wide { max-width: 58px; font-size: 11px; }
.lcwr-wg-key.correct { background: #22c55e; color: #fff; } .lcwr-wg-key.present { background: #eab308; color: #fff; } .lcwr-wg-key.absent { background: #52525b; color: #fff; }
.lcwr-wg-msg { min-height: 20px; font-size: 14px; font-weight: 700; margin: 8px 0 0; }
.lcwr-wg-win { color: #4ade80; } .lcwr-wg-lose { color: #f87171; }
.lcwr-wg-reveal { color: #fff; font-style: italic; font-size: 16px; line-height: 1.4; margin: 8px auto 0; max-width: 320px; }

/* ---- roulette (spin wheel) ---- */
.lcwr-rl-wrap { position: relative; width: 280px; height: 280px; margin: 18px auto; }
.lcwr-rl-pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); z-index: 5;
  width: 0; height: 0; border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 22px solid #fff;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.lcwr-rl-wheel { position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  border: 6px solid rgba(255,255,255,.9); box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lcwr-rl-inner { position: absolute; inset: 0; border-radius: 50%; transition: none; }
.lcwr-rl-layer { position: absolute; inset: 0; display: flex; justify-content: center; pointer-events: none; }
.lcwr-rl-label { margin-top: 18px; font-size: 13px; font-weight: 800; color: #fff; max-width: 90px; text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.6); line-height: 1.1; word-break: break-word; }
.lcwr-rl-hub { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%,-50%); z-index: 4;
  background: #fff; border-radius: 50%; box-shadow: 0 2px 10px rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.lcwr-rl-spin { margin: 6px auto 0; }
.lcwr-rl-result { font-size: 18px; font-weight: 800; margin: 16px 0 0; min-height: 24px; }
.lcwr-rl-result .lcwr-grad { font-size: 22px; }

/* ---- generic stat number ---- */
.lcwr-stat-num { font-size: clamp(52px, 16vw, 92px); font-weight: 800; line-height: 1; }

/* ---- soundtrack ---- */
.lcwr-st-cover { width: 210px; height: 210px; border-radius: 16px; object-fit: cover; margin: 12px auto;
  box-shadow: 0 18px 46px rgba(0,0,0,.55); }
.lcwr-st-cover-fallback { width: 210px; height: 210px; border-radius: 16px; margin: 12px auto;
  background: linear-gradient(135deg,#ef4444,#ec4899); display: flex; align-items: center; justify-content: center; font-size: 64px; }
.lcwr-st-track { font-size: 24px; font-weight: 800; margin: 14px 0 2px; }
.lcwr-st-artist { color: rgba(255,255,255,.7); font-size: 16px; }
.lcwr-st-eq { display: flex; gap: 4px; justify-content: center; align-items: flex-end; height: 28px; margin-top: 14px; }
.lcwr-st-eq span { width: 5px; background: linear-gradient(#ef4444,#ec4899); border-radius: 3px; animation: lcwr-eq .9s ease-in-out infinite; }
.lcwr-st-eq span:nth-child(2){ animation-delay:.15s } .lcwr-st-eq span:nth-child(3){ animation-delay:.3s } .lcwr-st-eq span:nth-child(4){ animation-delay:.45s } .lcwr-st-eq span:nth-child(5){ animation-delay:.6s }
@keyframes lcwr-eq { 0%,100% { height: 8px; } 50% { height: 26px; } }

/* ---- gallery ---- */
.lcwr-gl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 380px; margin: 16px auto; }
.lcwr-gl-grid img { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.lcwr-gl-stories { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 300px; margin: 16px auto; }
.lcwr-gl-stories img { width: 100%; height: 360px; object-fit: cover; border-radius: 14px; box-shadow: 0 10px 28px rgba(0,0,0,.5); }

/* ---- gift tree (Árvore de Presentes) ---- */
.lcwr-gt-scene { background: radial-gradient(120% 90% at 50% 0%, rgba(30,41,59,.55), transparent 70%); }
.lcwr-gt-tree { font-size: 60px; line-height: 1; margin: 4px 0 2px; filter: drop-shadow(0 0 22px rgba(34,197,94,.45)); }
.lcwr-gt-grid { display: flex; flex-wrap: wrap; gap: 14px 10px; justify-content: center; align-items: flex-end;
  width: 100%; max-width: 360px; margin: 18px auto 0; }
.lcwr-gt-box { background: none; border: none; cursor: pointer; padding: 0; width: 100px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  animation: lcwr-gtbob 3.2s ease-in-out infinite; }
@keyframes lcwr-gtbob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.lcwr-gt-boximg { width: 92px; height: auto; display: block; filter: drop-shadow(0 8px 16px rgba(0,0,0,.55));
  transition: transform .25s ease, opacity .25s ease; }
.lcwr-gt-box:hover .lcwr-gt-boximg { transform: scale(1.07) rotate(-2deg); }
.lcwr-gt-box.opened .lcwr-gt-boximg { opacity: .5; transform: scale(.9); }
.lcwr-gt-tag { font-size: 12px; color: rgba(255,255,255,.85); font-weight: 700; max-width: 100px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcwr-gt-box.opened .lcwr-gt-tag { color: rgba(255,255,255,.45); }
/* reveal overlay (within the slide) */
.lcwr-gt-modal { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center;
  padding: 28px; background: rgba(0,0,0,.72); backdrop-filter: blur(3px); }
.lcwr-gt-card { position: relative; background: #161616; border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; padding: 26px 22px 24px; max-width: 330px; width: 100%; text-align: center;
  box-shadow: 0 22px 60px rgba(0,0,0,.6); }
.lcwr-gt-close { position: absolute; top: 8px; right: 10px; background: none; border: none; color: rgba(255,255,255,.7);
  font-size: 18px; cursor: pointer; line-height: 1; padding: 4px; }
.lcwr-gt-close:hover { color: #fff; }
.lcwr-gt-photo { width: 100%; max-height: 220px; object-fit: cover; border-radius: 12px; margin: 0 0 14px; display: block; }
.lcwr-gt-title { font-size: 18px; font-weight: 800; margin: 0 0 8px;
  background: linear-gradient(90deg,#ef4444,#ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lcwr-gt-msg { color: #fff; font-size: 16px; line-height: 1.5; margin: 0; }

/* ---- star map (planisphere style, matches lovepanda) ---- */
.lcwr-sm-names { font-family: "Brush Script MT", "Segoe Script", "Snell Roundhand", cursive; font-size: 27px; color: #fff; margin: 2px 0 8px; }
.lcwr-sm-wrap { position: relative; width: 300px; max-width: 86vw; margin: 6px auto; }
.lcwr-sm-wrap svg { width: 100%; height: auto; display: block; }
.lcwr-sm-star { animation: lcwr-twinkle ease-in-out infinite; transform-origin: center; }
@keyframes lcwr-twinkle { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.lcwr-sm-quote { color: #fff; font-weight: 800; font-size: 20px; letter-spacing: 3px; margin: 16px auto 14px; max-width: 300px; line-height: 1.35; }
.lcwr-sm-loc { color: rgba(255,255,255,.85); font-size: 13px; letter-spacing: 1.5px; }
.lcwr-sm-date { color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: 1px; margin-top: 3px; }
.lcwr-sm-coords { color: rgba(255,255,255,.45); font-size: 12px; letter-spacing: 1px; margin-top: 3px; }

/* ---- world map / journey (per-location, matches lovepanda) ---- */
.lcwr-jn-map2 { position: relative; width: 330px; max-width: 90vw; height: 240px; margin: 14px auto;
  border-radius: 16px; overflow: hidden; box-shadow: 0 12px 36px rgba(0,0,0,.5); }
.lcwr-jn-bg, .lcwr-jn-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lcwr-jn-pincard { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); background: #fff;
  padding: 7px 7px 0; border-radius: 4px; box-shadow: 0 8px 22px rgba(0,0,0,.55); width: 122px; z-index: 3;
  animation: lcwr-pop .5s cubic-bezier(.2,1.4,.4,1); }
.lcwr-jn-photo { width: 100%; height: 88px; object-fit: cover; border-radius: 2px; display: block; }
.lcwr-jn-cap { color: #444; font-family: "Brush Script MT","Segoe Script",cursive; font-size: 13px; text-align: center; padding: 4px 2px 2px; }
.lcwr-jn-pcdate { color: #999; font-size: 10px; text-align: center; padding-bottom: 5px; }
.lcwr-jn-heart { position: absolute; left: 50%; top: 152px; transform: translateX(-50%); color: #22c55e; font-size: 24px; z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.55)); animation: lcwr-pop .5s cubic-bezier(.2,1.4,.4,1) .15s both; }
.lcwr-jn-dots { display: flex; gap: 6px; justify-content: center; margin: 12px 0 0; }
.lcwr-jn-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.3); }
.lcwr-jn-dot.on { background: linear-gradient(135deg,#ef4444,#ec4899); }
.lcwr-jn-detail { background: #161616; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 14px 16px;
  margin: 14px auto 0; max-width: 330px; text-align: left; animation: lcwr-up .4s ease; }
.lcwr-jn-dtitle { color: #fff; font-weight: 800; font-size: 16px; }
.lcwr-jn-ddate { color: #22c55e; font-size: 12px; font-weight: 700; margin-top: 2px; }
.lcwr-jn-dstory { color: rgba(255,255,255,.8); font-size: 13px; line-height: 1.5; margin-top: 8px; }

/* small helpers */
.lcwr-hidden { display: none !important; }
