/* =====================================================================
   ENTRY INTERSTITIAL — AirDrop opener
   Same card design as the AirDrop item already on the desk (.airdrop-mini
   in home.css) — real AirDrop look, just full-screen for the entry moment.
   ===================================================================== */

body.intro-locked{ overflow: hidden; }

.intro-overlay{
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--paper);
  opacity: 1;
  transition: opacity .5s ease;
}
.intro-overlay.intro-exit{ opacity: 0; pointer-events: none; }
.intro-overlay.intro-exit .intro-card{
  animation: none;
  transform: translateY(-14px) scale(.97);
  opacity: 0;
}

.intro-card{
  position: relative;
  width: min(360px, 100%);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 34px rgba(0,0,0,0.22);
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  text-align: left;
  transition: transform .5s cubic-bezier(.3,.9,.3,1), opacity .4s ease;
  animation: intro-float 6s ease-in-out infinite;
}
/* same tactile "picked up" feel as hovering an item on the desk */
.intro-card:hover{
  animation-play-state: paused;
  transform: translateY(-8px) scale(1.015);
}
@keyframes intro-float{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-8px); }
}

.intro-airdrop-top{ padding: 14px 16px 10px; text-align: center; }
.intro-airdrop-title{ font-weight: 700; font-size: 15px; color: #111; }
.intro-airdrop-msg{
  font-size: 11.5px;
  color: #555;
  margin-top: 3px;
  line-height: 1.35;
  min-height: 15px;
  transition: opacity .16s ease;
}
.intro-airdrop-msg.is-swapping{ opacity: 0; }

.intro-airdrop-photo{
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center 30%;
}

/* a small, honest nod — this card's whole shape is a wink at AirDrop,
   not a claim to be it. Sits outside the card entirely, in the corner
   of the screen behind it, not on the card's own paper. */
.intro-credit{
  position: absolute;
  right: 20px;
  bottom: 16px;
  max-width: 240px;
  text-align: right;
  font-size: 10px;
  line-height: 1.3;
  color: #aaa;
}

.intro-airdrop-bottom{
  display: flex;
  justify-content: space-between;
  padding: 11px 16px;
  font-size: 13px;
  color: var(--stampc-pink);
}
.intro-airdrop-bottom[hidden]{ display: none; }
.intro-link{
  background: none;
  border: none;
  padding: 10px 6px;
  margin: -10px -6px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: transform .15s ease;
}
.intro-link:active{ transform: scale(.94); }
.intro-link.is-pressed{ animation: intro-press .3s ease; }
.intro-link--bold{ font-weight: 600; }
.intro-link:disabled{ opacity: .5; cursor: default; pointer-events: none; }

@keyframes intro-press{
  0%{ transform: scale(1); }
  40%{ transform: scale(.88); }
  100%{ transform: scale(1); }
}

@media (prefers-reduced-motion: reduce){
  .intro-overlay,
  .intro-card,
  .intro-airdrop-msg,
  .intro-link{ transition: none !important; }
  .intro-card{ animation: none !important; }
  .intro-link.is-pressed{ animation: none !important; }
}
