body {
  margin: 0;
  overflow: hidden;
  background: radial-gradient(circle at center, #0a0a1a, #000);
  font-family: Arial, sans-serif;
}

/* INTRO */
#intro {
  position: fixed;
  width: 100%;
  height: 100%;
  background: black;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 6vw; /* responsive */
  z-index: 10;
  cursor: pointer;
  transition: opacity 1s ease;
}

.hidden {
  display: none;
}

/* SCENE */
#scene {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ⭐ STARS */
.star {
  position: absolute;
  width: 1.5px;
  height: 1.5px;
  background: white;
  border-radius: 50%;
  animation: twinkle 2s infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.2; }
  to { opacity: 1; }
}

/* CARD */
.card {
  position: absolute;
  width: 28vw;   /* responsive */
  height: 35vw;  /* responsive */
  max-width: 160px;
  max-height: 200px;
  border-radius: 16px;
  overflow: hidden;
  transform-origin: center;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 💖 TEXT */
.love-text {
  position: absolute;
  font-size: 3.5vw; /* responsive */
  max-font-size: 14px;
  color: white;
  pointer-events: none;
  z-index: 5;
  text-align: center;
  transform: translateX(-50%);

  text-shadow:
    0 0 6px pink,
    0 0 12px hotpink,
    0 0 20px deeppink;

  animation: textFloat 3s ease-in-out infinite;
}

@keyframes textFloat {
  0% { transform: translate(-50%, 0px); }
  50% { transform: translate(-50%, -5px); }
  100% { transform: translate(-50%, 0px); }
}

/* 💖 HEARTS */
.heart {
  position: absolute;
  width: 8px;
  height: 8px;
  background: pink;
  transform: rotate(45deg);
  opacity: 0.7;
}

.heart::before,
.heart::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: pink;
  border-radius: 50%;
}

.heart::before { top: -4px; left: 0; }
.heart::after { left: -4px; top: 0; }

/* DEPTH (lighter for mobile performance) */
.layer-far { opacity: 0.5; }
.layer-mid { opacity: 0.8; }
.layer-near { opacity: 1; }