/* LoveCupido — Gift view (vanilla, Spotify-style).
 * Scoped under .lcg-host. Page background is dark to match lovepanda. */

#gift_card_view { width: 100%; }

.lcg-host {
  --lcg-bg: #0a0a0a;
  --lcg-bg-card: #161616;
  --lcg-bg-soft: #1f1f1f;
  --lcg-border: rgba(255,255,255,0.06);
  --lcg-text: #ffffff;
  --lcg-text-dim: #b3b3b3;
  --lcg-accent: #ef4444;
  --lcg-accent-soft: #f87171;
  --lcg-pink: #ec4899;
  --lcg-red: #ef4444;
  --lcg-grad: linear-gradient(135deg, #ef4444, #ec4899);
  --lcg-radius: 14px;
  background: var(--lcg-bg);
  color: var(--lcg-text);
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.lcg-host * { box-sizing: border-box; }

/* Hide WP chrome around the mount on the gift page only */
body.page-template-default .lcg-host { margin: 0 -1px; }

/* Page wrapper – mobile-first, centered phone-frame width */
.lcg-page {
  max-width: 420px;
  margin: 0 auto;
  padding: 16px 14px 96px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ------------------------------ loading ------------------------------ */

.lcg-loading {
  min-height: 70vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  color: var(--lcg-text-dim);
}
.lcg-spinner {
  width: 38px; height: 38px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--lcg-accent);
  animation: lcg-spin 0.9s linear infinite;
}
@keyframes lcg-spin { to { transform: rotate(360deg); } }

.lcg-error {
  min-height: 70vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  text-align: center; padding: 40px 24px; color: var(--lcg-text);
}
.lcg-error-emoji { font-size: 48px; }
.lcg-error h2 { font-size: 20px; font-weight: 700; margin: 0; }
.lcg-error p { color: var(--lcg-text-dim); margin: 0; max-width: 280px; }

/* ------------------------------ welcome ------------------------------ */

.lcg-welcome {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.94);
  backdrop-filter: blur(6px);
  display: flex; flex-direction: column;
  transition: opacity 0.24s ease;
}
.lcg-welcome.lcg-fade-out { opacity: 0; }
.lcg-welcome-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
}
.lcg-welcome-x {
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.1); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.lcg-welcome-x svg { width: 16px; height: 16px; }
.lcg-welcome-pill {
  background: var(--lcg-grad); color: #fff;
  font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
}
.lcg-welcome-card {
  max-width: 360px; width: calc(100% - 32px); margin: auto;
  background: #1a1a1a; border: 1px solid rgba(255,255,255,0.04);
  border-radius: 22px; padding: 44px 30px;
  text-align: center;
}
.lcg-welcome-title {
  font-size: 32px; line-height: 1.12; font-weight: 800;
  letter-spacing: -0.02em; margin: 0 0 14px; color: #fff;
}
.lcg-welcome-em {
  background: var(--lcg-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--lcg-pink);
}
.lcg-welcome-sub {
  font-size: 14px; line-height: 1.5; color: var(--lcg-text-dim);
  margin: 0 0 26px;
}
.lcg-welcome-cta {
  width: 100%; max-width: 280px;
  background: var(--lcg-grad); color: #fff; border: none;
  font-size: 16px; font-weight: 800; letter-spacing: -0.01em;
  padding: 16px 22px; border-radius: 999px; cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(236, 72, 153, 0.55);
  transition: transform 0.14s, filter 0.14s;
}
.lcg-welcome-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ------------------------------ player ------------------------------ */

.lcg-player {
  background: linear-gradient(180deg, #e11d48 0%, #9f1239 55%, #4c0519 100%);
  border-radius: 18px; padding: 14px 16px 20px; color: #fff;
  display: flex; flex-direction: column; gap: 14px;
}
.lcg-player-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px;
}
.lcg-player-chev, .lcg-player-more {
  width: 28px; height: 28px; border: none; background: transparent;
  color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.lcg-player-chev svg, .lcg-player-more svg { width: 16px; height: 16px; }
.lcg-player-head-title {
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
}
.lcg-player-art {
  position: relative; overflow: hidden;
  aspect-ratio: 1 / 1; width: 100%; max-width: 320px; margin: 4px auto 0;
  border-radius: 10px;
  background: rgba(255,255,255,0.04) center/cover no-repeat;
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}
/* The real YT iframe fills the art square (kept visible so Chrome permits
   sound on a user gesture); the cover hides it until playback starts. */
.lcg-player-yt {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.lcg-player-yt iframe { width: 100%; height: 100%; border: 0; display: block; }
.lcg-player-art-cover {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.04) center/cover no-repeat;
  transition: opacity 0.45s ease;
}
.lcg-player-art-playing .lcg-player-art-cover { opacity: 0; pointer-events: none; }
.lcg-player-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.lcg-player-meta-text { min-width: 0; }
.lcg-player-track {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  margin: 0 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lcg-player-artist { font-size: 13px; color: rgba(255,255,255,0.7); margin: 0; }
.lcg-player-check {
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: #fff; color: #000; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lcg-player-check svg { width: 16px; height: 16px; }

.lcg-player-scrub {
  position: relative; height: 4px; background: rgba(255,255,255,0.2);
  border-radius: 999px; cursor: pointer; margin-top: 4px;
}
.lcg-player-scrub-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: #fff; border-radius: 999px;
}
.lcg-player-scrub-dot {
  position: absolute; left: 0%; top: 50%;
  width: 10px; height: 10px; background: #fff; border-radius: 50%;
  transform: translate(-50%, -50%); pointer-events: none;
  opacity: 0; transition: opacity 0.14s;
}
.lcg-player-scrub:hover .lcg-player-scrub-dot { opacity: 1; }
.lcg-player-times {
  display: flex; justify-content: space-between;
  font-size: 11px; color: rgba(255,255,255,0.7);
}

.lcg-player-transport {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-top: 2px;
}
.lcg-player-t-btn, .lcg-player-play {
  background: transparent; border: none; cursor: pointer; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.lcg-player-t-btn { width: 36px; height: 36px; opacity: 0.85; }
.lcg-player-t-btn svg { width: 22px; height: 22px; }
.lcg-player-play {
  width: 58px; height: 58px; border-radius: 50%;
  background: #fff; color: #000;
}
.lcg-player-play svg { width: 26px; height: 26px; margin-left: 2px; }
.lcg-player-play[aria-label="Pausar"] svg { margin-left: 0; }

/* ------------------------------ sobre card ------------------------------ */

.lcg-sobre {
  background: var(--lcg-bg-card); border-radius: 16px; overflow: hidden;
}
.lcg-sobre-photo {
  position: relative; aspect-ratio: 4 / 3; width: 100%;
  background: #111 center/cover no-repeat;
}
.lcg-sobre-title {
  position: absolute; top: 14px; left: 16px;
  font-size: 14px; font-weight: 700; color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.lcg-sobre-meta { padding: 14px 16px 16px; }
.lcg-sobre-names {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 0;
}
.lcg-sobre-sub {
  font-size: 13px; color: var(--lcg-text-dim); margin: 4px 0 0;
}

/* ------------------------------ counter ------------------------------ */

.lcg-counter {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-top: -6px;
}
.lcg-counter-tile {
  background: var(--lcg-bg-card);
  border-radius: 12px; padding: 14px 8px; text-align: center;
}
.lcg-counter-big {
  font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: #fff;
}
.lcg-counter-lbl {
  font-size: 12px; color: var(--lcg-text-dim); margin-top: 2px;
}

/* ------------------------------ message ------------------------------ */

.lcg-message {
  background: var(--lcg-grad);
  border-radius: 16px; padding: 16px;
}
.lcg-message-eyebrow {
  font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 8px;
}
.lcg-message-preview {
  position: relative; color: #fff;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 90%);
          mask-image: linear-gradient(180deg, #000 30%, transparent 90%);
  margin-bottom: 6px;
}
.lcg-message-preview p {
  font-size: 19px; font-weight: 700; line-height: 1.35; margin: 0;
  filter: blur(0.4px);
}
.lcg-message-cta {
  background: #fff; color: var(--lcg-red); border: none; cursor: pointer;
  border-radius: 999px; padding: 10px 18px;
  font-size: 13px; font-weight: 700;
}

/* Placeholder when no cover photo exists */
.lcg-sobre-photo-empty {
  background: linear-gradient(135deg, #2a0a14, #4c0519 55%, #1a060c) !important;
  display: flex; align-items: center; justify-content: center;
}
.lcg-sobre-photo-empty .lcg-sobre-heart {
  width: 64px; height: 64px; color: rgba(236, 72, 153, 0.55);
}
.lcg-sobre-photo-empty .lcg-sobre-heart svg { width: 100%; height: 100%; }

.lcg-modal-bd {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; transition: opacity 0.2s;
}
.lcg-modal-bd.open { opacity: 1; }
.lcg-modal {
  background: #1a1a1a; color: #fff; border-radius: 16px;
  max-width: 420px; width: 100%;
  border: 1px solid rgba(255,255,255,0.06);
  max-height: 80vh; overflow: auto;
}
.lcg-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lcg-modal-head h3 { margin: 0; font-size: 16px; font-weight: 700; }
.lcg-modal-x {
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.1); color: #fff; cursor: pointer;
}
.lcg-modal-x svg { width: 16px; height: 16px; }
.lcg-modal-body { padding: 18px; font-size: 15px; line-height: 1.55; color: #e5e5e5; white-space: pre-wrap; }

/* ------------------------------ gallery ------------------------------ */

.lcg-gallery {
  background: var(--lcg-bg-card); border-radius: 16px; padding: 16px;
}
.lcg-gallery-title {
  font-size: 15px; font-weight: 700; margin-bottom: 12px;
}
.lcg-gallery-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.lcg-gallery-tile {
  position: relative; aspect-ratio: 2 / 3; border: none;
  border-radius: 10px; background: #222 center/cover no-repeat;
  cursor: pointer; overflow: hidden;
}
.lcg-gallery-cap {
  position: absolute; left: 8px; bottom: 8px; right: 8px;
  font-size: 12px; font-weight: 700; color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6); text-align: left;
}

.lcg-lb-bd {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.lcg-lb-bd.open { opacity: 1; }
.lcg-lb-img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.lcg-lb-x, .lcg-lb-prev, .lcg-lb-next {
  position: absolute; width: 40px; height: 40px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.12); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.lcg-lb-x { top: 16px; right: 16px; }
.lcg-lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lcg-lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lcg-lb-x svg, .lcg-lb-prev svg, .lcg-lb-next svg { width: 18px; height: 18px; }

/* ------------------------------ conquistas ------------------------------ */

.lcg-conq {
  background: var(--lcg-bg-card); border-radius: 16px; padding: 16px;
}
.lcg-conq-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px;
}
.lcg-conq-head h3 { margin: 0; font-size: 15px; font-weight: 700; }
.lcg-conq-badge {
  font-size: 12px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.08); color: var(--lcg-text-dim);
}
.lcg-conq-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.lcg-conq-tile {
  aspect-ratio: 1 / 1; border-radius: 12px;
  background: var(--lcg-bg-soft);
  border: 1px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 18px -8px currentColor inset;
}
.lcg-conq-tile svg { width: 30px; height: 30px; }
.lcg-conq-clickable { cursor: pointer; transition: transform 0.12s; }
.lcg-conq-clickable:hover { transform: translateY(-1px); }
.lcg-conq-clickable:focus-visible { outline: 2px solid var(--lcg-pink); outline-offset: 2px; }
.lcg-conq-more {
  margin-top: 12px; font-size: 13px; font-weight: 600;
  color: var(--lcg-text-dim); text-align: right;
}

/* ------------------------------ achievements overlay ------------------------------ */

.lcg-ach {
  position: fixed; inset: 0; z-index: 220;
  background: var(--lcg-bg);
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}
.lcg-ach.open { opacity: 1; transform: none; }
/* While the overlay is open, hide the page beneath so neither the player text
   nor the YT iframe (a separate compositing layer) paints over the fixed
   overlay. The iframe wrapper is hidden separately so audio keeps playing. */
.lcg-ach-open .lcg-page { visibility: hidden; }
.lcg-ach-open .lcg-nav { display: none; }
.lcg-ach-open .lcg-player-yt { visibility: hidden; }
.lcg-ach-head {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 14px 10px; max-width: 420px; width: 100%; margin: 0 auto;
}
.lcg-ach-back {
  width: 34px; height: 34px; border: none; background: transparent;
  color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.lcg-ach-back svg { width: 22px; height: 22px; }
.lcg-ach-title {
  flex: 1; text-align: center; margin: 0;
  font-size: 17px; font-weight: 800; letter-spacing: -0.01em;
}
.lcg-ach-head-spacer { width: 34px; }
.lcg-ach-scroll {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  max-width: 420px; width: 100%; margin: 0 auto;
  padding: 6px 14px 40px;
}

.lcg-ach-prog { margin: 8px 0 18px; }
.lcg-ach-prog-row {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 8px;
}
.lcg-ach-prog-count { font-size: 15px; font-weight: 700; color: #fff; }
.lcg-ach-prog-pct { font-size: 15px; font-weight: 800; color: #fff; }
.lcg-ach-prog-bar {
  height: 4px; border-radius: 999px; background: rgba(255,255,255,0.12); overflow: hidden;
}
.lcg-ach-prog-fill {
  height: 100%; border-radius: 999px; background: #fff;
  transition: width 0.5s ease;
}

.lcg-ach-rank {
  position: relative; overflow: hidden;
  border-radius: 18px; padding: 26px 24px 30px; text-align: center;
  background:
    linear-gradient(135deg, rgba(168,85,247,0.55), rgba(124,58,237,0.15) 55%, rgba(76,29,149,0.5)),
    #1a1230;
  border: 1px solid rgba(168,85,247,0.25);
  margin-bottom: 26px;
}
.lcg-ach-rank-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08); padding: 5px 14px; border-radius: 999px;
  margin-bottom: 8px;
}
.lcg-ach-rank-num {
  font-size: 64px; font-weight: 900; line-height: 1; letter-spacing: -0.04em;
  color: #c4b5fd; margin: 4px 0 10px;
  text-shadow: 0 6px 30px rgba(168,85,247,0.5);
}
.lcg-ach-rank-title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.lcg-ach-rank-sub {
  font-size: 13px; color: rgba(255,255,255,0.65);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.lcg-ach-rank-dot { opacity: 0.6; }
.lcg-ach-rank-dots { display: flex; gap: 6px; justify-content: center; margin-top: 14px; }
.lcg-ach-rank-pgdot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3);
  border: none; padding: 0; cursor: pointer;
}
.lcg-ach-rank-pgdot.active { background: #fff; }
.lcg-ach-rank-loading {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 40px 0; color: rgba(255,255,255,0.7); font-size: 13px;
}
.lcg-ach-rank-spinner {
  width: 28px; height: 28px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.2); border-top-color: #fff;
  animation: lcg-spin 0.9s linear infinite;
}

.lcg-ach-section-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--lcg-text-dim); margin: 4px 0 12px;
}
.lcg-ach-section-count { color: rgba(255,255,255,0.4); letter-spacing: 0; }
.lcg-ach-section-head::after {
  content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.07);
}

.lcg-ach-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-bottom: 26px;
}
.lcg-ach-tile {
  aspect-ratio: 1 / 1.18; border-radius: 14px; width: 100%; cursor: pointer;
  font-family: inherit;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 6px, transparent 6px 12px),
    var(--lcg-bg-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 10px; text-align: center;
  transition: transform 0.12s;
}
.lcg-ach-tile:hover { transform: translateY(-2px); }
.lcg-ach-tile.unlocked { border: 1px solid currentColor; }
.lcg-ach-tile.locked { border: 1px solid rgba(255,255,255,0.06); opacity: 0.45; }
.lcg-ach-tile-icon { width: 32px; height: 32px; display: inline-flex; }
.lcg-ach-tile.unlocked .lcg-ach-tile-icon { color: currentColor; }
.lcg-ach-tile.locked .lcg-ach-tile-icon { color: var(--lcg-text-dim); }
.lcg-ach-tile-icon svg { width: 100%; height: 100%; }
.lcg-ach-tile-label {
  font-size: 11px; font-weight: 700; line-height: 1.2; color: #fff;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.lcg-ach-tile.locked .lcg-ach-tile-label { color: var(--lcg-text-dim); }
.lcg-ach-empty {
  grid-column: 1 / -1; padding: 20px; text-align: center;
  font-size: 13px; color: var(--lcg-text-dim);
}

/* ------------------------------ collectible card ------------------------------ */

.lcg-card-bd {
  position: fixed; inset: 0; z-index: 240;
  background: #0a0a0c;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; transition: opacity 0.2s;
}
.lcg-card-bd.open { opacity: 1; }
/* Only one full-screen overlay visible at a time. */
.lcg-card-open .lcg-ach { visibility: hidden; }
.lcg-card-inner {
  position: relative; width: 100%; max-width: 340px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.lcg-card-status {
  font-size: 12px; font-weight: 800; letter-spacing: 0.16em;
  padding: 6px 16px; border-radius: 999px;
  border: 1px solid currentColor; background: rgba(255,255,255,0.04);
}
.lcg-card-x {
  position: absolute; top: -8px; right: -4px;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.12); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.lcg-card-x svg { width: 18px; height: 18px; }

/* 3D tilt + flip card */
.lcg-card3d {
  position: relative; width: 100%; aspect-ratio: 3 / 4.1;
  cursor: pointer; transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
  will-change: transform;
}
.lcg-card-flip {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(.2,.7,.2,1);
}
.lcg-card-flip.flipped { transform: rotateY(180deg); }
.lcg-card-face {
  position: absolute; inset: 0; backface-visibility: hidden; overflow: hidden;
  border-radius: 18px; padding: 14px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 7px, transparent 7px 14px),
    #121212;
  border: 2px solid var(--rarity, #888);
  box-shadow: 0 0 36px -8px var(--rarity, #888), 0 22px 55px rgba(0,0,0,0.55),
              inset 0 1px 0 rgba(255,255,255,0.06);
  display: flex; flex-direction: column;
}
.lcg-card3d.locked .lcg-card-face { filter: grayscale(0.6); opacity: 0.92; }
.lcg-card-back { transform: rotateY(180deg); align-items: center; justify-content: center; text-align: center; gap: 14px; }

.lcg-card-top, .lcg-card-bottom {
  display: flex; align-items: center; justify-content: space-between;
}
.lcg-card-brand {
  font-size: 10px; font-weight: 800; letter-spacing: 0.18em; color: rgba(255,255,255,0.55);
}
.lcg-card-dots { display: flex; gap: 5px; }
.lcg-card-dot {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.16);
}
.lcg-card-stars { display: flex; gap: 2px; font-size: 13px; line-height: 1; }
.lcg-card-star { color: rgba(255,255,255,0.18); }
.lcg-card-art {
  position: relative; flex: 1; margin: 10px 0;
  border-radius: 12px; overflow: hidden;
  background: #1c1c1c center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.lcg-card-lock { width: 48px; height: 48px; color: rgba(255,255,255,0.5); }
.lcg-card-lock svg { width: 100%; height: 100%; }
.lcg-card-titlerow { display: flex; align-items: center; gap: 10px; }
.lcg-card-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
}
.lcg-card-icon svg { width: 22px; height: 22px; }
.lcg-card-title { margin: 0; font-size: 19px; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.lcg-card-desc { margin: 8px 0 12px; font-size: 13px; color: rgba(255,255,255,0.6); }
.lcg-card-tier { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; }
.lcg-card-logo {
  width: 96px; height: 96px; border-radius: 22px;
  background: #fff; border: 2px solid rgba(255,255,255,0.4);
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.lcg-card-logo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lcg-card-back-brand {
  font-size: 13px; font-weight: 800; letter-spacing: 0.22em; color: rgba(255,255,255,0.85);
}
.lcg-card-back .lcg-card-stars { font-size: 15px; }

/* Holographic sheen that tracks the cursor */
.lcg-card-holo {
  position: absolute; inset: 0; border-radius: 18px; pointer-events: none;
  opacity: 0; transition: opacity 0.25s;
  background:
    radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.35), transparent 38%),
    linear-gradient(115deg, transparent 28%, rgba(236,72,153,0.35) 43%, rgba(168,85,247,0.4) 52%, rgba(56,189,248,0.32) 63%, transparent 78%);
  background-size: 180% 180%, 220% 220%;
  background-position: var(--mx,50%) var(--my,50%), var(--mx,50%) var(--my,50%);
  mix-blend-mode: color-dodge;
}
.lcg-card-back-line { margin: 0; font-size: 15px; color: #fff; font-weight: 600; }
.lcg-card-back-tier { margin: 0; font-size: 12px; font-weight: 700; }
.lcg-card-fliphint { font-size: 12px; color: rgba(255,255,255,0.5); }
.lcg-card-share {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #111; border: none; cursor: pointer;
  padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 700;
  font-family: inherit;
}
.lcg-card-share-ic { width: 18px; height: 18px; display: inline-flex; }
.lcg-card-share-ic svg { width: 100%; height: 100%; }

/* ------------------------------ retrospectiva ------------------------------ */

.lcg-retro {
  position: relative; overflow: hidden;
  background: #0d0d0d; border-radius: 18px;
  padding: 70px 30px 30px; text-align: center; color: #fff;
}
.lcg-retro-art {
  position: absolute; left: 0; right: 0; height: 100px;
  background:
    radial-gradient(ellipse at 30% 50%, #ec4899 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, #ef4444 0%, transparent 65%);
  filter: blur(4px) saturate(1.2);
  opacity: 0.85;
}
.lcg-retro-art-top { top: -20px; }
.lcg-retro-art-bot { bottom: -20px; transform: rotate(180deg); }
.lcg-retro-title {
  font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px;
}
.lcg-retro-sub {
  font-size: 14px; color: var(--lcg-text-dim); margin: 0 0 80px;
}
.lcg-retro-cta {
  position: relative; z-index: 1;
  background: var(--lcg-grad); color: #fff; border: none;
  border-radius: 999px; padding: 14px 30px;
  font-size: 16px; font-weight: 700; cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(236, 72, 153, 0.55);
  transition: transform 0.14s, filter 0.14s;
}
.lcg-retro-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ------------------------------ nav ------------------------------ */

.lcg-nav {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 14px;
  max-width: 420px; width: calc(100% - 28px);
  background: rgba(20,20,20,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 8px 10px;
  z-index: 30;
}
.lcg-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 11px; color: var(--lcg-text-dim); padding: 6px;
  cursor: pointer;
}
.lcg-nav-item.active { color: #fff; }
.lcg-nav-item svg { width: 22px; height: 22px; stroke: currentColor; }
