* { box-sizing: border-box; }

:root {
  color-scheme: dark;
  --text: #eef2ff;
  --blue: #7db7ff;
  --pink: #d677ff;
}

html, body { height: 100%; }

body {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 20%, rgba(125, 183, 255, 0.14), transparent 22%),
    radial-gradient(circle at 82% 16%, rgba(214, 119, 255, 0.16), transparent 18%),
    radial-gradient(circle at 70% 80%, rgba(56, 92, 176, 0.18), transparent 22%),
    linear-gradient(180deg, #02030a 0%, #080b18 52%, #050713 100%);
}

.backdrop,
.mesh,
.halo {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.backdrop {
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.95) 42%, transparent 90%);
  opacity: 0.35;
}

.mesh {
  background:
    linear-gradient(120deg, rgba(125, 183, 255, 0.04), transparent 40%),
    linear-gradient(300deg, rgba(214, 119, 255, 0.06), transparent 42%);
  opacity: 0.8;
}

.halo {
  filter: blur(20px);
  opacity: 0.9;
  animation: float 14s ease-in-out infinite;
}

.halo-left {
  width: 340px;
  height: 340px;
  top: -110px;
  left: -120px;
  border-radius: 28px;
  background: rgba(125, 183, 255, 0.14);
}

.halo-right {
  width: 280px;
  height: 280px;
  right: -100px;
  top: 34%;
  border-radius: 28px;
  background: rgba(214, 119, 255, 0.16);
  animation-delay: -6s;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.love-lockup {
  display: grid;
  justify-items: center;
  gap: 28px;
}

.topline {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  text-shadow: 0 0 18px rgba(125, 183, 255, 0.18), 0 0 24px rgba(214, 119, 255, 0.12);
}


.separator {
  width: min(220px, 44vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 183, 255, 0.72), rgba(214, 119, 255, 0.72), transparent);
  box-shadow: 0 0 16px rgba(125, 183, 255, 0.18);
  opacity: 0.9;
}


.evil-wrap {
  position: relative;
  width: 252px;
  height: 228px;
  display: grid;
  place-items: center;
  overflow: visible;
  filter: drop-shadow(0 0 28px rgba(125, 183, 255, 0.18)) drop-shadow(0 0 40px rgba(214, 119, 255, 0.14));
  animation: pulse 2.8s ease-in-out infinite;
}

.evil {
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(1.15) contrast(1.04);
}

.evil svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.speech-bubble {
  position: absolute;
  top: 6px;
  right: -116px;
  z-index: 4;
  min-width: 150px;
  max-width: 174px;
  padding: 9px 13px 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.18));
  color: rgba(248, 250, 255, 0.95);
  box-shadow: 0 0 18px rgba(125, 183, 255, 0.12), 0 0 28px rgba(214, 119, 255, 0.08), inset 0 0 24px rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  pointer-events: none;
  opacity: 0;
  transform-origin: 30% 80%;
  animation: bubble-drift 8.5s ease-in-out 0.4s infinite;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: -5px;
  width: 13px;
  height: 13px;
  transform: rotate(45deg);
  border-right: 1px solid rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.18));
  box-shadow: 0 0 12px rgba(125, 183, 255, 0.08);
}

.bubble-text {
  display: block;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.18), 0 0 12px rgba(125, 183, 255, 0.08);
}

.bubble-zzz {
  display: block;
  margin-top: 3px;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
  text-shadow: 0 0 8px rgba(214, 119, 255, 0.12);
}

@keyframes bubble-drift {
  0% { opacity: 0; transform: translate3d(0, 8px, 0) scale(0.98); }
  14% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  50% { opacity: 0.96; transform: translate3d(0, -6px, 0) scale(1.01); }
  78% { opacity: 0.92; transform: translate3d(0, 2px, 0) scale(0.995); }
  100% { opacity: 0; transform: translate3d(0, 8px, 0) scale(0.98); }
}


h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 800;
  text-shadow: 0 0 22px rgba(125, 183, 255, 0.16), 0 0 34px rgba(214, 119, 255, 0.16);
}

.title-text {
  display: inline-block;
}

.title-heart {
  display: inline-block;
  margin: 0 0.22em;
  font-size: 0.92em;
  line-height: 1;
  transform-origin: center;
  filter: drop-shadow(0 0 10px rgba(214, 119, 255, 0.32)) drop-shadow(0 0 16px rgba(125, 183, 255, 0.22));
  animation: title-heart-float 4.8s ease-in-out infinite;
}

.title-heart-left {
  color: #7db7ff;
  animation-delay: -1.2s;
}

.title-heart-right {
  color: #ff7fe0;
  animation-delay: -2.1s;
}

@keyframes title-heart-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.07); }
}


@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(12px) scale(1.03); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@media (max-width: 640px) {
  .hero { padding: 18px; }
  .topline { font-size: 1.3rem; letter-spacing: 0.12em; }
  .separator { width: min(180px, 52vw); }
  .evil-wrap { width: 200px; height: 184px; }
  .evil { width: 100%; height: 100%; }
  .evil svg { width: 100%; height: 100%; }
  .speech-bubble { top: 4px; right: -84px; min-width: 130px; max-width: 148px; padding: 6px 10px 5px; }
  .bubble-text { font-size: 1.02rem; }
  .bubble-zzz { font-size: 0.58rem; letter-spacing: 0.12em; }
}

