/* ==========================================================================
   PLANTILLA 3 NIÑOS (CARS - RAYO MCQUEEN) - SOBRE 3D + VIDEO DE FONDO SUTIL
   ========================================================================== */

:root {
  --color-cars-red: #df1f27;
  --color-cars-red-dark: #ad0f15;
  --color-cars-yellow: #ffc107;
  --color-cars-orange: #ff9800;
  --color-cars-gold: #ffd700;
  --color-text-white: #ffffff;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-race: 'Russo One', Impact, sans-serif;
  --font-script: 'Caveat', cursive;
  --font-callout: 'Cinzel', Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-white);
  min-height: 100vh;
  background-color: #0d0404;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 10px 8px 30px 8px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.locked {
  overflow: hidden;
  height: 100vh;
}

/* ==========================================================================
   VIDEO DE FONDO EN BUCLE (ATMOSFÉRICO / MÓVIL Y DESKTOP)
   ========================================================================== */
.video-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bg-video-loop {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.88; /* Muy visible y vibrante */
  filter: saturate(1.3) brightness(1.05);
}

.video-overlay-tint {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 50% 35%, rgba(0, 0, 0, 0.1) 0%, rgba(20, 5, 5, 0.38) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.3) 100%);
}

/* Canvas de Confeti Animado */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 998;
}

/* Botón flotante de música */
.mini-music-fab {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 999;
  background: rgba(20, 20, 20, 0.88);
  border: 1.5px solid var(--color-cars-yellow);
  border-radius: 24px;
  padding: 6px 12px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.mini-music-fab:hover {
  transform: scale(1.05);
  background: #000;
}

.music-icon-wheel {
  font-size: 1rem;
  display: inline-block;
  transition: transform 0.3s linear;
}

.mini-music-fab.playing .music-icon-wheel {
  animation: spinTire 2s infinite linear;
}

@keyframes spinTire {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   1. PANTALLA INICIAL: SOBRE 3D RAYO MCQUEEN
   ========================================================================== */
.envelope-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 900;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(25, 8, 8, 0.45) 0%, rgba(10, 2, 2, 0.78) 100%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.85s ease;
}

.envelope-overlay.opened {
  transform: translateY(115vh);
  opacity: 0;
  pointer-events: none;
}

.envelope-container {
  position: relative;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
}

/* Emblema superior en el sobre */
.env-top-emblem {
  width: 100%;
  max-width: 250px;
  margin-bottom: 8px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.45));
  animation: floatSlow 3.5s ease-in-out infinite alternate;
}

.env-emblem-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sobre 3D */
.envelope-wrapper {
  position: relative;
  width: 310px;
  height: 200px;
  perspective: 900px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s ease;
}

.envelope-wrapper:hover {
  transform: scale(1.02);
}

.envelope-wrapper:active {
  transform: scale(0.98);
}

/* Cuerpo del Sobre Rojo */
.env-body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #df222b 0%, #b8141b 100%);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  z-index: 2;
}

.env-fold-left {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 100px 0 100px 155px;
  border-color: transparent transparent transparent #cc1821;
  z-index: 3;
}

.env-fold-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 100px 155px 100px 0;
  border-color: transparent #cc1821 transparent transparent;
  z-index: 3;
  transform: translateZ(8px);
}

.env-fold-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 155px 115px 155px;
  border-color: transparent transparent #b41018 transparent;
  z-index: 4;
  transform: translateZ(8px);
}

/* Solapa superior abatible en 3D */
.env-flap-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px;
  transform-origin: top center;
  transform-style: preserve-3d;
  transform: rotateX(0deg) translateZ(12px);
  transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 10;
}

.env-flap-triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 110px 155px 0 155px;
  border-color: #f12c36 transparent transparent transparent;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.25));
}

.envelope-wrapper.open .env-flap-top {
  transform: rotateX(180deg) translateZ(-6px);
  z-index: 1;
  transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1), z-index 0.01s linear 0.4s;
}

/* Sello de Llanta Lightyear */
.env-seal-tire {
  position: absolute;
  top: 92px;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(14px);
  width: 78px;
  height: 78px;
  z-index: 12;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.seal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.5));
}

.seal-glow-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 18px 4px rgba(255, 215, 0, 0.7);
  animation: pulseGlow 1.8s infinite ease-in-out;
  pointer-events: none;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

.envelope-wrapper.open .env-seal-tire {
  transform: translate(-50%, -50%) translateZ(14px) scale(0.8);
  opacity: 0;
  pointer-events: none;
}

.env-call-to-open {
  position: absolute;
  bottom: 14px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 8;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  animation: pulseText 1.5s infinite;
}

@keyframes pulseText {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.env-mcqueen-bottom {
  width: 100%;
  max-width: 320px;
  margin-top: -38px;
  z-index: 20;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.4));
  pointer-events: none;
}

.mcqueen-peeking-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   2. TARJETA PRINCIPAL (FLYER CANVA MÓVIL)
   ========================================================================== */
.flyer-viewport {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 410px;
  margin: 0 auto;
}

.canva-card {
  position: relative;
  width: 100%;
  background: linear-gradient(
    180deg, 
    rgba(215, 25, 33, 0.72) 0%, 
    rgba(182, 16, 23, 0.76) 45%, 
    rgba(128, 10, 15, 0.82) 100%
  );
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  border: 1.5px solid rgba(255, 215, 0, 0.4);
  border-radius: 54px 54px 32px 32px;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.7),
    0 2px 0 rgba(255, 255, 255, 0.35) inset,
    0 -3px 0 rgba(0, 0, 0, 0.4) inset;
  padding: 18px 14px 14px 14px;
  text-align: center;
  overflow: hidden;
}

/* Brillo superior curvo */
.canva-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

/* Cintas a cuadros en los hombros */
.checkered-shoulder-left,
.checkered-shoulder-right {
  position: absolute;
  top: 100px;
  width: 82px;
  height: 42px;
  background: repeating-conic-gradient(#111111 0% 25%, #ffffff 0% 50%) 50% / 12px 12px;
  opacity: 0.9;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
  pointer-events: none;
}

.checkered-shoulder-left {
  left: -14px;
  transform: rotate(18deg) skewY(-8deg);
  border-radius: 0 18px 18px 0;
}

.checkered-shoulder-right {
  right: -14px;
  transform: rotate(-18deg) skewY(8deg);
  border-radius: 18px 0 0 18px;
}

/* Bordes temáticos de carreras con ribete dorado (Inspirados en la propuesta) */
.card-racing-border-top,
.card-racing-border-bottom {
  position: relative;
  width: calc(100% + 28px);
  margin-left: -14px;
  height: 14px;
  background: repeating-conic-gradient(#111111 0% 25%, #ffffff 0% 50%) 50% / 12px 12px;
  border-top: 2px solid var(--color-cars-gold);
  border-bottom: 2px solid var(--color-cars-gold);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.card-racing-border-top {
  margin-top: -6px;
  margin-bottom: 10px;
}

.card-racing-border-bottom {
  margin-top: 14px;
  margin-bottom: -14px;
}

/* ENCABEZADO: Emblema Cars + Señales */
.card-header {
  position: relative;
  z-index: 3;
  margin-bottom: 0px;
}

.cars-badge-box {
  width: 100%;
  max-width: 255px;
  margin: 0 auto -4px auto;
  filter: drop-shadow(0 5px 8px rgba(0,0,0,0.4));
}

.emblema-cars-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Grupo de Señales con Cono y Trofeo GRANDES */
.signs-cluster {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -12px;
  min-height: 130px;
}

/* Arco a cuadros detrás de las señales */
.signs-checkered-arch {
  position: absolute;
  top: 30px;
  left: 20px;
  right: 20px;
  height: 28px;
  background: repeating-conic-gradient(#111111 0% 25%, #ffffff 0% 50%) 50% / 14px 14px;
  border-radius: 6px;
  opacity: 0.95;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 1;
}

/* Cono 3D GRANDE (92px) */
.sticker-cone-wrap {
  position: absolute;
  left: -8px;
  bottom: 8px;
  width: 92px;
  z-index: 5;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.5));
  animation: floatGentle 3s ease-in-out infinite alternate;
}

.sticker-cone {
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(-14deg);
}

.signpost-center-wrap {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  z-index: 3;
}

.senales-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Trofeo Dorado GRANDE (98px) */
.sticker-trophy-wrap {
  position: absolute;
  right: -8px;
  bottom: 6px;
  width: 98px;
  z-index: 5;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.5));
  animation: floatGentle 3s ease-in-out 0.8s infinite alternate;
}

.sticker-trophy {
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(14deg);
}

/* FOTO DEL FESTEJADO CON MARCO A CUADROS */
.photo-section {
  position: relative;
  z-index: 4;
  margin: 6px auto 16px auto;
}

.checkered-photo-frame {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
  padding: 10px;
  background: repeating-conic-gradient(#111111 0% 25%, #ffffff 0% 50%) 50% / 18px 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  border-radius: 4px;
}

.photo-inner-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.child-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sticker Luigi 3D (Subido para no cortar jamás el título) */
.sticker-luigi-pos {
  position: absolute;
  top: 22%;
  left: -44px;
  width: 82px;
  z-index: 6;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.5));
  animation: floatGentle 3.2s ease-in-out infinite alternate;
}

.sticker-luigi-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sticker Bandera 3D */
.sticker-flag-pos {
  position: absolute;
  top: -8px;
  right: -46px;
  width: 82px;
  z-index: 6;
  filter: drop-shadow(0 5px 8px rgba(0,0,0,0.45));
  animation: floatGentle 2.8s ease-in-out 0.5s infinite alternate;
}

.sticker-flag-img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes floatGentle {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-6px); }
}

@keyframes floatSlow {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* FECHA Y HORA */
.date-section {
  position: relative;
  z-index: 3;
  margin: 6px 0 8px 0;
}

.invite-callout {
  font-family: var(--font-callout);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: var(--color-text-white);
  text-transform: uppercase;
  margin-top: 6px;
  margin-bottom: 8px;
  opacity: 0.98;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.date-banner-wrap {
  display: inline-block;
  width: 100%;
}

.dayname-flame-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 4px;
}

.flame-left {
  width: 48px;
  height: auto;
  transform: scaleX(-1);
}

.flame-right {
  width: 48px;
  height: auto;
}

.day-bubble-text {
  font-family: var(--font-script);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-text-white);
  line-height: 1;
  text-shadow: 1px 2px 4px rgba(0,0,0,0.5);
}

.date-pills-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.date-pill-white {
  background: #ffffff;
  color: #c41820;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 0.94rem;
  text-transform: lowercase;
  padding: 5px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
  letter-spacing: 0.5px;
}

.date-bignum-14 {
  font-family: var(--font-race);
  font-size: 2.9rem;
  line-height: 0.9;
  color: #ffeb3b;
  text-shadow: 
    2px 2px 0 #cf9000,
    3px 3px 0 #111111;
  padding: 0 4px;
}

/* ==========================================================================
   DIVISOR TEMÁTICO DE CARRERAS (SEMÁFORO CON BANDERAS Y ACEITERAS)
   ========================================================================== */
.race-decor-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px auto 6px auto;
  max-width: 320px;
  position: relative;
  z-index: 4;
}

.decor-divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0) 0%, rgba(255, 215, 0, 0.85) 60%, var(--color-cars-yellow) 100%);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.decor-divider-line.right-line {
  background: linear-gradient(90deg, var(--color-cars-yellow) 0%, rgba(255, 215, 0, 0.85) 40%, rgba(255, 215, 0, 0) 100%);
}

.decor-stoplight-wrap {
  width: 64px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.45));
  animation: floatGentle 3s ease-in-out infinite alternate;
}

.stoplight-img {
  width: 100%;
  height: auto;
  display: block;
}

.decor-oil-can-wrap {
  width: 32px;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.4));
  animation: floatGentle 3.2s ease-in-out 0.4s infinite alternate;
}

.decor-oil-can-wrap.right-oil {
  transform: scaleX(-1);
}

.oil-can-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   4. CLUSTER DE CONFIRMACIÓN Y UBICACIÓN CON GUIDO Y BANDERA FLANQUEANDO
   ========================================================================== */
.rsvp-location-cluster {
  position: relative;
  z-index: 5;
  margin: 8px 0 6px 0;
  padding: 0 10px;
}

.side-flag-wa {
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-30%);
  width: 70px;
  z-index: 6;
  filter: drop-shadow(0 5px 8px rgba(0,0,0,0.45));
  animation: floatGentle 2.9s ease-in-out infinite alternate;
}

.wa-side-flag-img {
  width: 100%;
  height: auto;
  display: block;
}

.side-guido-wa {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-30%);
  width: 82px;
  z-index: 6;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.5));
  animation: floatGentle 3.1s ease-in-out 0.4s infinite alternate;
}

.wa-side-guido-img {
  width: 100%;
  height: auto;
  display: block;
}

.rsvp-inner-content {
  position: relative;
  z-index: 2;
  max-width: 290px;
  margin: 0 auto;
}

.rsvp-instruction {
  font-size: 0.76rem;
  line-height: 1.38;
  color: rgba(255, 255, 255, 0.96);
  margin-bottom: 10px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.btn-confirm-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 250px;
  background: linear-gradient(180deg, #ffc400 0%, #ff9800 100%);
  border: none;
  border-radius: 36px;
  padding: 12px 22px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  box-shadow: 
    0 8px 22px rgba(255, 152, 0, 0.45),
    0 2px 0 rgba(255, 255, 255, 0.5) inset;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  animation: pulseWaBtn 2.2s infinite ease-in-out;
}

@keyframes pulseWaBtn {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 18px rgba(255, 152, 0, 0.45);
  }
  50% {
    transform: scale(1.035);
    box-shadow: 0 10px 28px rgba(255, 152, 0, 0.7);
  }
}

.btn-confirm-wa:hover {
  transform: translateY(-2px) scale(1.05);
  filter: brightness(1.08);
  box-shadow: 0 10px 28px rgba(255, 152, 0, 0.65);
}

.btn-confirm-wa:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 3px 8px rgba(255, 152, 0, 0.4);
}

.cars-rsvp-form {
  display: grid;
  gap: 0.45rem;
  margin: 0 auto 0.8rem;
  text-align: left;
}

.cars-rsvp-form label {
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.cars-rsvp-form input,
.cars-rsvp-form select {
  min-height: 44px;
  width: 100%;
  border: 2px solid rgba(255, 215, 0, 0.72);
  border-radius: 12px;
  background: rgba(15, 9, 9, 0.74);
  color: #fff;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.cars-rsvp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.cars-rsvp-grid > div {
  display: grid;
  gap: 0.35rem;
}

.cars-rsvp-form .btn-confirm-wa {
  width: 100%;
  margin-top: 0.25rem;
}

.btn-confirm-web {
  background: linear-gradient(180deg, #ffd83d, #ff9f0a);
  color: #20120c;
}

.cars-rsvp-status {
  min-height: 1.4em;
  color: #fff;
  font-size: 0.72rem;
  text-align: center;
}

:where(button, a, input, select, [tabindex]):focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.wa-badge-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-wa-label {
  display: inline-block;
}

/* Mini bloque de ubicación con Caja de Herramientas y Llantas */
.location-mini-block {
  margin-top: 12px;
}

.loc-flanked-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  max-width: 320px;
  margin: 0 auto;
}

.loc-decor-side {
  flex-shrink: 0;
}

.loc-decor-side.left-side {
  width: 44px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.35));
  animation: floatGentle 3.4s ease-in-out infinite alternate;
}

.decor-toolbox-img {
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(-6deg);
}

.loc-decor-side.right-side {
  width: 48px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4));
  animation: floatGentle 3.1s ease-in-out 0.6s infinite alternate;
}

.decor-tires-img {
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(6deg);
}

.loc-center-content {
  flex: 1;
  text-align: center;
}

.loc-pin-icon {
  margin-bottom: 2px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.loc-caption {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2px;
}

.loc-venue-link {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  line-height: 1.35;
  display: inline-block;
  transition: color 0.15s ease, transform 0.15s ease;
}

.loc-venue-link:hover {
  color: var(--color-cars-yellow);
  transform: scale(1.02);
}

/* ==========================================================================
   5. PIE DE TARJETA: DIVERSIONES, CITA Y MCQUEEN CON MATE
   ========================================================================= */
.card-footer {
  position: relative;
  z-index: 3;
  margin-top: 8px;
  padding-top: 4px;
}

.games-fun-note {
  font-family: var(--font-race);
  font-size: 0.94rem;
  color: #ffeb3b;
  text-shadow: 1px 2px 3px rgba(0,0,0,0.6);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.heartfelt-quote {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-style: italic;
  line-height: 1.38;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 auto 6px auto;
  max-width: 300px;
}

.see-you-title {
  font-family: var(--font-script);
  font-size: 2.1rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 1px 2px 4px rgba(0,0,0,0.6);
  margin-bottom: 2px;
}

/* Rayo McQueen y Mate 3D oficiales llenando la base de la tarjeta */
.bottom-cars-wrap {
  position: relative;
  width: 100%;
  max-width: 345px;
  margin: 2px auto -10px auto;
  z-index: 4;
}

.mcqueen-mate-bot-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.45));
}
