@font-face {
  font-family: 'Fredoka One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/fredoka-one-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/nunito-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/nunito-700-latin.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  width: 100vw; height: 100vh;
  overflow: hidden;
  font-family: 'Nunito', sans-serif;
  background: linear-gradient(160deg, #ffe4fb 0%, #c6e8ff 48%, #d5f5ea 100%);
  position: relative;
}
body::after {
  content: ''; position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at 15% 25%, rgba(255,180,255,.28) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 72%, rgba(140,210,255,.25) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255,255,180,.12) 0%, transparent 60%);
  pointer-events: none;
}

#trail-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 1; }

/* ── Clouds ── */
.cloud {
  position: absolute;
  background: rgba(255,255,255,.88);
  border-radius: 60px;
  animation: driftCloud linear infinite;
  z-index: 2;
}
.cloud::before, .cloud::after {
  content: ''; position: absolute;
  background: rgba(255,255,255,.88); border-radius: 50%;
}
.c1 { width:145px; height:52px; top:8%;  left:-190px; animation-duration:24s; }
.c1::before { width:72px; height:72px; top:-36px; left:20px; }
.c1::after  { width:52px; height:52px; top:-22px; left:64px; }
.c2 { width:115px; height:40px; top:22%; left:-155px; animation-duration:32s; animation-delay:5s; }
.c2::before { width:58px; height:58px; top:-30px; left:14px; }
.c2::after  { width:42px; height:42px; top:-18px; left:50px; }
.c3 { width:175px; height:60px; top:60%; left:-225px; animation-duration:27s; animation-delay:11s; }
.c3::before { width:88px; height:88px; top:-44px; left:22px; }
.c3::after  { width:62px; height:62px; top:-26px; left:84px; }
.c4 { width:98px;  height:34px; top:80%; left:-135px; animation-duration:37s; animation-delay:16s; }
.c4::before { width:49px; height:49px; top:-25px; left:12px; }
.c4::after  { width:35px; height:35px; top:-15px; left:44px; }
.c5 { width:128px; height:45px; top:42%; left:-170px; animation-duration:29s; animation-delay:21s; }
.c5::before { width:64px; height:64px; top:-32px; left:16px; }
.c5::after  { width:46px; height:46px; top:-20px; left:56px; }
@keyframes driftCloud {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(100vw + 320px)); }
}

/* ── Sparkle stars ── */
#sparkles { position: fixed; inset: 0; pointer-events: none; z-index: 2; }
.star {
  position: absolute;
  animation: starPop ease-in-out infinite;
  text-shadow: 0 0 8px #ff90e8, 0 0 16px #ffe066;
}
@keyframes starPop {
  0%,100% { opacity:.08; transform: scale(.5) rotate(0deg); }
  50%      { opacity:1;   transform: scale(1.3) rotate(180deg); }
}

/* ── Unicorn wrapper ── */
#unicorn-outer { position: fixed; z-index: 6; pointer-events: none; }
#unicorn-flip  { display: flex; align-items: center; justify-content: center; }
#unicorn-tilt  { display: flex; align-items: center; justify-content: center; }
#unicorn-svg   {
  width: 240px;
  filter: drop-shadow(0 8px 24px rgba(160,40,220,.38))
          drop-shadow(0 0 44px rgba(255,130,220,.22));
}

/* ── Content card ── */
.card {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10; text-align: center;
  padding: 42px 50px 46px;
  background: rgba(255,255,255,.52);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 34px; border: 2.5px solid rgba(255,255,255,.85);
  box-shadow: 0 10px 52px rgba(180,60,255,.13), 0 2px 8px rgba(0,0,0,.05);
  max-width: 470px; width: 86vw;
}
.emoji-top { font-size: 2.8rem; display: block; margin-bottom: 6px; }
h1 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2.1rem, 6vw, 3.3rem);
  background: linear-gradient(135deg, #e040fb 0%, #7c4dff 52%, #00bcd4 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1.1; margin-bottom: 3px;
}
.domain {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(.95rem, 3vw, 1.28rem);
  color: #9c4ec8; letter-spacing: 1.5px; margin-bottom: 18px;
}
.divider {
  height: 3px;
  background: linear-gradient(90deg, #f48fb1, #ce93d8, #90caf9, #80cbc4, #f48fb1);
  background-size: 200% 100%; animation: shimDiv 3.5s linear infinite;
  border-radius: 99px; margin: 0 auto 18px; width: 68%;
}
@keyframes shimDiv { from{background-position:0% center} to{background-position:200% center} }
p { font-size: 1.04rem; color: #6a4f7b; line-height: 1.8; margin-bottom: 24px; }
.badge {
  display: inline-block;
  background: linear-gradient(135deg, #f48fb1, #ce93d8, #90caf9);
  background-size: 200% 200%; animation: shimBadge 3s ease infinite;
  color: white; font-weight: 700; font-size: .94rem;
  padding: 11px 30px; border-radius: 99px;
  box-shadow: 0 4px 20px rgba(200,80,255,.32);
}
@keyframes shimBadge {
  0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%}
}

/* ── Rainbow bar ── */
.rainbow-bar {
  position: fixed; bottom: 0; left: 0; right: 0; height: 7px;
  background: linear-gradient(90deg,#ff6b6b,#ffa94d,#ffe066,#69db7c,#74c0fc,#9775fa,#f783ac,#ff6b6b);
  background-size: 200% 100%; animation: rainbowScroll 4s linear infinite;
}
@keyframes rainbowScroll { from{background-position:0% center} to{background-position:200% center} }
