/* =========================================================================
   Love in Christ — site-wide branding & background refinement
   Loaded on every page after the per-page theme, so it gently upgrades the
   palette and background without touching the existing markup or navigation.
   ========================================================================= */

/* Warmer, layered "candlelight" page background instead of the flat cream. */
body {
  background-color: #f4e9d4 !important;
  background-image:
    radial-gradient(1100px 640px at 12% -10%, rgba(220,187,99,0.22), transparent 60%),
    radial-gradient(1000px 700px at 112% 2%, rgba(192,145,43,0.15), transparent 55%),
    radial-gradient(900px 900px at 50% 120%, rgba(126,92,24,0.10), transparent 62%) !important;
  background-attachment: fixed !important;
}

/* Deeper, more cinematic dark sections with a warm top glow. */
section.bg-ink,
footer.bg-ink,
.bg-ink {
  background-image:
    radial-gradient(120% 120% at 50% -12%, rgba(220,185,104,0.16), transparent 55%),
    linear-gradient(180deg, #140f0a 0%, #1c1712 52%, #110c07 100%) !important;
}

/* Richer, slightly more luminous gold sheen used across buttons and badges. */
.bg-gold-sheen {
  background-image: linear-gradient(135deg, #f0dca8 0%, #d0a845 42%, #b6841f 100%) !important;
}
.text-gold-gradient {
  background-image: linear-gradient(90deg, #b6841f 0%, #eBcf8f 55%, #a2761f 100%) !important;
}

/* A touch more depth on cards for a premium feel. */
.card { box-shadow: 0 18px 44px -26px rgba(28,23,18,0.42) !important; }

/* Section media player injected on category pages. */
.lic-media { background: transparent; }
.lic-media .lic-frame {
  position: relative; aspect-ratio: 16/9; width: 100%;
  border-radius: 1.5rem; overflow: hidden;
  /* Elegant light backdrop so a reproductor never starts on a black frame — no logo. */
  background: linear-gradient(135deg, #fdfaf2 0%, #f4e9d4 48%, #ecdab0 100%);
  box-shadow: 0 30px 70px -30px rgba(28,23,18,0.6); border: 1px solid rgba(192,145,43,0.35);
}
.lic-media .lic-frame::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 0%, rgba(220,185,104,0.16), transparent 62%);
}
.lic-media .lic-frame iframe,
.lic-media .lic-frame video,
.lic-media .lic-frame .lic-yt,
.lic-media .lic-frame .lic-yt iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; border: 0;
  object-fit: contain; background: transparent;
}
/* Controls overlaid in the player corner (same layout as the main player). */
.lic-media .lic-ctrlbar {
  position: absolute; right: .55rem; bottom: .55rem; z-index: 20;
  display: flex; align-items: center; gap: .4rem; padding: .3rem;
  border-radius: 9999px; background: rgba(15,11,7,.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lic-media .lic-ctrlbar:empty { display: none; }
.lic-media .lic-ctrlbar .lic-ctrl {
  height: 2.1rem; min-width: 2.1rem; padding: 0 .55rem;
  color: #f3ead8; background: rgba(255,255,255,.08); border-color: rgba(220,187,99,.45);
}
.lic-media .lic-ctrlbar .lic-ctrl:hover { background: rgba(220,187,99,.2); border-color: #d0a845; }
.lic-media .lic-strip { display: flex; gap: .75rem; overflow-x: auto; padding-bottom: .25rem; margin-top: 1rem; }
.lic-media .lic-strip::-webkit-scrollbar { display: none; }
.lic-media .lic-strip { -ms-overflow-style: none; scrollbar-width: none; }
.lic-media .lic-chip {
  position: relative; flex: 0 0 auto; width: 9rem; border-radius: .85rem; overflow: hidden;
  border: 1px solid #e8d296; cursor: pointer; background: #1c1712; padding: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.lic-media .lic-chip:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(28,23,18,.5); }
.lic-media .lic-chip.is-active { outline: 2px solid #d0a845; outline-offset: 1px; }
.lic-media .lic-chip img,
.lic-media .lic-chip video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.lic-media .lic-chip .lic-cap { padding: .4rem .55rem; text-align: left; }
.lic-media .lic-chip .lic-cap span { display: block; font-size: .72rem; line-height: 1.15; color: #f7f1e6; font-weight: 600; }

/* ---- Google website translator: hide EVERY piece of Google chrome (top
   banner/"tab", tooltip balloon, the injected iframe and the body offset it
   adds) so switching EN/ES is completely seamless and nothing shifts. ---- */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
.skiptranslate iframe,
iframe.skiptranslate,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-ORHb {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}
/* Google pushes the page down with an inline `top`; force it back. */
html, body { top: 0 !important; position: static !important; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
#google_translate_element, .goog-te-gadget { display: none !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }

/* ---- Elegant, reusable video control bar (sound / PiP / fullscreen). Icons
   sit just below every player. Default is dark-on-light for cream pages; the
   --dark modifier is for the dark hero. ---- */
.lic-ctrl {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.5rem; min-width: 2.5rem; padding: 0 .7rem;
  border-radius: 9999px; border: 1px solid #dcbb63; background: #fff; color: #3a2f22;
  cursor: pointer; transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.lic-ctrl:hover { background: #fbf7ec; border-color: #c0912b; transform: translateY(-1px); }
.lic-ctrl svg { width: 18px; height: 18px; }
.lic-ctrl--dark { color: #f3ead8; background: rgba(255,255,255,.06); border-color: rgba(220,187,99,.45); }
.lic-ctrl--dark:hover { background: rgba(220,187,99,.18); border-color: #d0a845; }

/* ---- Manual volume slider (sits in the player control bar). ------------- */
.lic-vol {
  -webkit-appearance: none; appearance: none;
  width: 4.75rem; height: 2.1rem; margin: 0 .2rem; padding: 0;
  background: transparent; cursor: pointer; vertical-align: middle;
}
.lic-vol:focus { outline: none; }
.lic-vol::-webkit-slider-runnable-track {
  height: 4px; border-radius: 9999px;
  background: linear-gradient(90deg, #f0dca8, #d0a845);
}
.lic-vol::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; margin-top: -6px;
  height: 16px; width: 16px; border-radius: 9999px;
  background: #fff; border: 2px solid #d0a845; box-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.lic-vol::-moz-range-track { height: 4px; border-radius: 9999px; background: rgba(240,220,168,.45); }
.lic-vol::-moz-range-progress { height: 4px; border-radius: 9999px; background: linear-gradient(90deg, #f0dca8, #d0a845); }
.lic-vol::-moz-range-thumb {
  height: 16px; width: 16px; border: 2px solid #d0a845; border-radius: 9999px;
  background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4);
}

/* Site credit line appended to every footer. */
.lic-credit { text-align: center; font-size: .8rem; letter-spacing: .01em; }

/* ---- Brand banner "sticker" placed under the player, above the gift bar. */
.lic-banner-sticker { display: block; background: #2a2018; }
.lic-banner-sticker img { display: block; width: 100%; height: auto; }
.lic-media .lic-banner-sticker {
  margin: 1.25rem auto 0; max-width: 44rem;
  border-radius: 1.5rem; overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(28,23,18,0.55);
  --tw-ring-color: rgba(220,187,99,0.45);
  box-shadow: 0 0 0 1px rgba(220,187,99,0.45), 0 30px 70px -30px rgba(28,23,18,0.55);
  transition: transform .5s ease;
}
.lic-media .lic-banner-sticker:hover img { transform: scale(1.015); }

/* ---- Tap-to-play fallback (only shown if autoplay is blocked). ---------- */
.lic-frame { position: relative; }
.lic-tap {
  position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; background: radial-gradient(circle at 50% 50%, rgba(15,11,7,.35), rgba(15,11,7,.6));
}
.lic-tap-ic {
  display: flex; align-items: center; justify-content: center;
  height: 4.5rem; width: 4.5rem; border-radius: 9999px;
  background: linear-gradient(135deg, #f0dca8 0%, #d0a845 45%, #b6841f 100%);
  color: #1c1712; box-shadow: 0 12px 30px -10px rgba(0,0,0,.6);
}
.lic-tap-ic svg { width: 40%; height: 40%; margin-left: 4px; }

/* ---- Gift bar (TikTok-style blessing) ----------------------------------- */
.lic-gifts {
  margin: 1rem auto 0; max-width: 44rem; border-radius: 1.25rem;
  border: 1px solid rgba(192,145,43,.35); background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: .85rem 1rem 1rem; box-shadow: 0 16px 40px -28px rgba(28,23,18,.5);
}
.lic-gifts--home { background: rgba(24,18,12,.55); border-color: rgba(220,187,99,.4); }
.lic-gifts-head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-bottom: .7rem; }
.lic-gifts-title { font-family: 'Fraunces', ui-serif, Georgia, serif; font-weight: 600; font-size: 1.05rem; color: #7e5c18; }
.lic-gifts--home .lic-gifts-title { color: #eBcf8f; }
.lic-gifts-note { font-size: .85rem; color: #6b5f52; }
.lic-gifts--home .lic-gifts-note { color: #f3ead8; }
.lic-gifts-note b { color: #a2761f; font-weight: 700; }
.lic-gifts--home .lic-gifts-note b { color: #f0dca8; }
.lic-gifts-row { display: flex; gap: .5rem; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
.lic-gifts-row::-webkit-scrollbar { display: none; }
.lic-gift {
  flex: 0 0 auto; display: inline-flex; flex-direction: column; align-items: center; gap: .15rem;
  min-width: 4rem; padding: .5rem .55rem; border-radius: .9rem; cursor: pointer;
  border: 1px solid #e8d296; background: #fff; color: #3a2f22;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.lic-gift:hover { transform: translateY(-2px); border-color: #c0912b; box-shadow: 0 10px 22px -14px rgba(28,23,18,.5); }
.lic-gift:active { transform: scale(.94); }
.lic-gift-emoji { font-size: 1.5rem; line-height: 1; }
.lic-gift-amt { font-size: .78rem; font-weight: 700; color: #7e5c18; }

/* Floating gift tokens layer + animation. */
#lic-fx { position: fixed; inset: 0; z-index: 300; pointer-events: none; overflow: hidden; }
.lic-fly { position: absolute; bottom: 12%; will-change: transform, opacity; animation: lic-fly 2.1s ease-in forwards; }
@keyframes lic-fly {
  0% { transform: translateY(0) scale(.7) rotate(0deg); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(-70vh) scale(1.25) rotate(12deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .lic-fly { animation-duration: .6s; } }

/* Small confirmation toast. */
.lic-toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 1.5rem);
  z-index: 320; max-width: 90vw; padding: .7rem 1.1rem; border-radius: 9999px;
  background: rgba(24,18,12,.92); color: #f7f1e6; font-size: .9rem; font-weight: 600;
  border: 1px solid rgba(220,187,99,.5); box-shadow: 0 18px 40px -18px rgba(0,0,0,.6);
  opacity: 0; transition: transform .25s ease, opacity .25s ease; pointer-events: none;
}
.lic-toast.is-in { opacity: 1; transform: translate(-50%, 0); }

/* ---- Large screens / smart TVs: keep everything comfortably readable. --- */
@media (min-width: 1800px) {
  html { font-size: 18px; }
  .lic-media { max-width: 74rem; }
}
@media (min-width: 2400px) {
  html { font-size: 20px; }
}

