/* =========================================================
   dana ♡ danaownsu — single page, rich aesthetic
   ========================================================= */

:root {
  --bg: #0d0509;
  --bg-2: #1a0a14;
  --bg-3: #2a0e1f;
  --pink-soft: #ffd1e3;
  --pink: #ff8fc1;
  --pink-hot: #ff3d8b;
  --pink-glow: #ff66a8;
  --lilac: #d9b3ff;
  --white: #fff5fa;
  --text: #ffe4ef;
  --text-dim: #c79bb1;
  --shadow-pink: 0 0 24px rgba(255, 102, 168, 0.45);
  --serif: "Playfair Display", Georgia, serif;
  --script: "Dancing Script", cursive;
  --sans: "Poppins", -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100vw; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.55;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse at 20% 0%,  rgba(255, 143, 193, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(217, 179, 255, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%,rgba(255, 61, 139, 0.20) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
  background-attachment: fixed;
}

@media (hover: none) and (pointer: coarse) {
  body { background-attachment: scroll; }
}

/* ===== floating butterflies ===== */
.bg-butterflies {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-butterflies span {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.32;
  animation: flutter 22s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255, 102, 168, 0.7));
}
.bg-butterflies span:nth-child(1) { top: 8%;  left: 7%;  animation-delay: 0s;  font-size: 1.7rem; }
.bg-butterflies span:nth-child(2) { top: 22%; left: 84%; animation-delay: 3s;  font-size: 1.3rem; }
.bg-butterflies span:nth-child(3) { top: 48%; left: 5%;  animation-delay: 6s;  font-size: 1.9rem; }
.bg-butterflies span:nth-child(4) { top: 62%; left: 85%; animation-delay: 9s;  font-size: 1.5rem; }
.bg-butterflies span:nth-child(5) { top: 78%; left: 12%; animation-delay: 12s; font-size: 1.2rem; }
.bg-butterflies span:nth-child(6) { top: 88%; left: 72%; animation-delay: 15s; font-size: 1.4rem; }
@keyframes flutter {
  0%, 100% { transform: translate(0, 0) rotate(-6deg); }
  25%      { transform: translate(35px, -25px) rotate(8deg); }
  50%      { transform: translate(-15px, -55px) rotate(-4deg); }
  75%      { transform: translate(25px, -15px) rotate(11deg); }
}

/* ===== sparkles rising ===== */
.bg-sparkles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-sparkles i {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, var(--pink-soft) 50%, transparent 100%);
  opacity: 0;
  animation: sparkle 7s linear infinite;
}
.bg-sparkles i:nth-child(1) { left: 5%;  top: 100%; animation-delay: 0s; }
.bg-sparkles i:nth-child(2) { left: 18%; top: 100%; animation-delay: 1s; }
.bg-sparkles i:nth-child(3) { left: 30%; top: 100%; animation-delay: 2.5s; }
.bg-sparkles i:nth-child(4) { left: 45%; top: 100%; animation-delay: 4s; }
.bg-sparkles i:nth-child(5) { left: 58%; top: 100%; animation-delay: 5s; }
.bg-sparkles i:nth-child(6) { left: 72%; top: 100%; animation-delay: 0.7s; }
.bg-sparkles i:nth-child(7) { left: 84%; top: 100%; animation-delay: 3s; }
.bg-sparkles i:nth-child(8) { left: 94%; top: 100%; animation-delay: 6s; }
@keyframes sparkle {
  0%   { opacity: 0; transform: translateY(0)    scale(0.5); }
  10%  { opacity: 1; }
  90%  { opacity: 0.8; }
  100% { opacity: 0; transform: translateY(-105vh) scale(1.2); }
}

/* ===== page wrapper ===== */
.page {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
  padding:
    calc(2.5rem + env(safe-area-inset-top, 0px)) 1.25rem
    calc(2rem   + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

/* ===== hero ===== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}

.video-frame {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 24px 60px rgba(255, 61, 139, 0.35),
    0 0 0 1px rgba(255, 143, 193, 0.2);
}
.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 3px;
  background: linear-gradient(135deg, var(--pink-hot), var(--lilac), var(--pink-soft), var(--pink-hot));
  background-size: 200% 200%;
  animation: frameShimmer 6s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
.video-frame::after {
  content: "🦋";
  position: absolute;
  top: -10px;
  right: -8px;
  font-size: 1.8rem;
  filter: drop-shadow(0 0 10px var(--pink-hot));
  z-index: 3;
  transform: rotate(15deg);
}
@keyframes frameShimmer {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 200%; }
}
.video-frame video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.name {
  font-family: var(--script);
  font-weight: 700;
  font-size: clamp(3rem, 12vw, 4.6rem);
  line-height: 1;
  text-shadow: 0 0 50px rgba(255, 61, 139, 0.4);
}
.tag {
  font-family: var(--script);
  font-size: 1.5rem;
  color: var(--pink-soft);
  text-shadow: 0 0 18px rgba(255, 143, 193, 0.5);
}
.sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}

/* ===== gallery (4 photos: 4-wide desktop / 2x2 mobile) ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.photo-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
  cursor: pointer;
  will-change: transform;
}
.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, var(--pink-hot), var(--lilac), var(--pink-soft), var(--pink-hot));
  background-size: 200% 200%;
  animation: frameShimmer 8s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
.photo-card::after {
  content: "🦋";
  position: absolute;
  top: -6px;
  right: -4px;
  font-size: 1.1rem;
  filter: drop-shadow(0 0 6px var(--pink-hot));
  z-index: 3;
  transform: rotate(15deg);
  transition: transform 0.4s ease;
}
.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(255, 61, 139, 0.38);
}
.photo-card:hover::after {
  transform: rotate(-15deg) scale(1.15);
}
.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 520px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 0.55rem; }
  .photo-card::after { font-size: 0.95rem; top: -4px; right: -2px; }
}

/* ===== $50 fee ===== */
.fee {
  text-align: center;
  padding: 1.9rem 1.5rem;
  background:
    linear-gradient(135deg, rgba(255, 61, 139, 0.28), rgba(217, 179, 255, 0.14)),
    rgba(31, 12, 24, 0.6);
  border: 1px solid rgba(255, 61, 139, 0.55);
  border-radius: 22px;
  box-shadow: 0 0 40px rgba(255, 61, 139, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.fee-eyebrow {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--pink-hot);
  margin-bottom: 0.8rem;
  font-weight: 500;
  text-shadow: 0 0 12px rgba(255, 61, 139, 0.5);
}
.fee-amt {
  display: block;
  font-family: var(--script);
  font-size: clamp(3.5rem, 14vw, 4.6rem);
  line-height: 1;
  text-shadow: 0 0 30px rgba(255, 61, 139, 0.6);
}
.fee-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--pink-soft);
  font-weight: 500;
}
.fee p {
  margin-top: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text);
}

/* ===== payment buttons ===== */
.links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.pay {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background:
    linear-gradient(135deg, rgba(255, 143, 193, 0.18), rgba(217, 179, 255, 0.10)),
    rgba(31, 12, 24, 0.7);
  border: 1px solid rgba(255, 143, 193, 0.45);
  border-radius: 18px;
  color: var(--text);
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-height: 74px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
}
.pay::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  pointer-events: none;
}
.pay:hover, .pay:active {
  transform: translateY(-3px);
  border-color: var(--pink-hot);
  background: linear-gradient(135deg, rgba(255, 61, 139, 0.24), rgba(217, 179, 255, 0.1));
  box-shadow: 0 14px 32px rgba(255, 61, 139, 0.4);
}
.pay .ic {
  width: 50px; height: 50px;
  flex-shrink: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pink-hot), var(--lilac));
  font-size: 1.7rem;
  box-shadow: 0 0 22px rgba(255, 61, 139, 0.4);
}
.pay .tx {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.pay .tx strong { font-size: 1.1rem; color: var(--white); font-weight: 600; letter-spacing: 0.3px; }
.pay .tx small  { font-size: 0.78rem; color: var(--text-dim); }
.pay .ar       { font-size: 1.4rem; color: var(--pink-soft); transition: transform 0.25s ease; }
.pay:hover .ar, .pay:active .ar { transform: translateX(5px); color: var(--white); }

/* ===== social pills ===== */
.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
  background: rgba(31, 12, 24, 0.7);
  border: 1px solid rgba(255, 143, 193, 0.45);
  border-radius: 999px;
  transition: all 0.25s ease;
}
.social a span { font-size: 1rem; }
.social a:hover, .social a:active {
  background: rgba(255, 61, 139, 0.22);
  border-color: var(--pink-hot);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 61, 139, 0.3);
}

/* ===== footer ===== */
.foot {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
}
.foot .small {
  margin-top: 0.3rem;
  font-size: 0.7rem;
  opacity: 0.7;
  letter-spacing: 0.5px;
}

/* ===== shimmer-text (for name + $50) ===== */
.shimmer-text {
  background: linear-gradient(90deg, var(--pink-soft), var(--pink-hot), var(--lilac), var(--pink-soft));
  background-size: 300% auto;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  to { background-position: 300% center; }
}

/* ===== pulsing heart ===== */
.pulse {
  display: inline-block;
  animation: heartPulse 1.6s ease-in-out infinite;
}
@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.2); filter: drop-shadow(0 0 12px var(--pink-hot)); }
}

/* ===== reveal animations ===== */
.reveal-up,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.reveal-up    { transform: translateY(28px); }
.reveal-scale { transform: scale(0.9); }

.reveal-up.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
