.hearts{
  position:fixed;
  inset:0;
  pointer-events:none;
  overflow:hidden;
  z-index:0;
}

.heart{
  position:absolute;
  bottom:-40px;
  font-size:22px;
  opacity:0.18;
  animation:floatUp linear infinite;
}

@keyframes floatUp{
  from{transform:translateY(0) scale(1); opacity:.18}
  to{transform:translateY(-110vh) scale(1.25); opacity:0}
}

.wrap{
  position:relative;
  z-index:1;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.card{
  position:relative;
  width:min(760px, 100%);
  background:var(--card);
  backdrop-filter: blur(10px);
  border:1px solid rgba(255,255,255,.55);
  border-radius:28px;
  box-shadow:var(--shadow);
  padding:32px 24px;
  text-align:center;
  animation: cardEntrance 1s ease-out;
}

@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.sticker{
  position:fixed;
  width:80px;
  height:80px;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,.10);
  border:4px solid rgba(255,255,255,.9);
  z-index:2;
  opacity: 0;
}

.sticker img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.sticker-1{ top:15px; left:18px; transform:rotate(-8deg); }
.sticker-2{ top:15px; right:18px; transform:rotate(8deg); }
.sticker-3{ top:870px; left:24px; transform:rotate(6deg); }
.sticker-4{ top:870px; right:24px; transform:rotate(-6deg); }

.sticker-1.visible{ animation: stickerEntrance1 0.8s ease-out forwards; }
.sticker-2.visible{ animation: stickerEntrance2 0.8s ease-out forwards; }
.sticker-3.visible{ animation: stickerEntrance3 0.8s ease-out forwards; }
.sticker-4.visible{ animation: stickerEntrance4 0.8s ease-out forwards; }

@keyframes stickerEntrance1 {
  from { opacity: 0; transform: rotate(-8deg) scale(0.5) translateY(-20px); }
  to { opacity: 1; transform: rotate(-8deg) scale(1) translateY(0); }
}
@keyframes stickerEntrance2 {
  from { opacity: 0; transform: rotate(8deg) scale(0.5) translateY(-20px); }
  to { opacity: 1; transform: rotate(8deg) scale(1) translateY(0); }
}
@keyframes stickerEntrance3 {
  from { opacity: 0; transform: rotate(6deg) scale(0.5) translateY(-20px); }
  to { opacity: 1; transform: rotate(6deg) scale(1) translateY(0); }
}
@keyframes stickerEntrance4 {
  from { opacity: 0; transform: rotate(-6deg) scale(0.5) translateY(-20px); }
  to { opacity: 1; transform: rotate(-6deg) scale(1) translateY(0); }
}

h1{
  margin:0 0 8px;
  font-size:clamp(2rem, 5vw, 3.3rem);
}

.subtitle{
  margin:0 0 22px;
  font-size:1.05rem;
  opacity:.88;
}

.date-badge{
  display:inline-block;
  background:#fff;
  border-radius:999px;
  padding:10px 16px;
  box-shadow:0 8px 24px rgba(0,0,0,.07);
  font-weight:700;
  margin-bottom:22px;
}

.music-player{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-left:12px;
  vertical-align:middle;
}

.music-btn{
  width:36px;
  height:36px;
  border-radius:50%;
  background:linear-gradient(135deg, #ff6b9d, #c44569);
  border:2px solid rgba(255,255,255,.9);
  box-shadow:0 8px 24px rgba(196, 69, 105, 0.3);
  font-size:16px;
  cursor:pointer;
  transition:.2s opacity ease;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
}

.counter{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin:24px 0;
}

.box{
  background:#fff;
  border-radius:22px;
  padding:18px 10px;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}

.num{
  display:block;
  font-size:clamp(1.6rem, 4vw, 2.5rem);
  font-weight:700;
  color:var(--accent);
}

.label{
  font-size:.95rem;
  opacity:.8;
  margin-top:6px;
}

.live{
  margin:18px 0 8px;
  font-size:1.02rem;
  line-height:1.6;
}

.message{
  margin:24px auto 10px;
  max-width:620px;
  line-height:1.8;
  background:#fff;
  padding:18px;
  border-radius:20px;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}

.actions{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:22px;
}

button{
  border:none;
  padding:14px 20px;
  border-radius:999px;
  font-size:1rem;
  font-weight:700;
  cursor:pointer;
  transition:.2s opacity ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

button:focus:not(:focus-visible) {
  outline: none;
}

button:disabled {
  cursor: default;
  opacity: 0.58;
  transform: none;
}

button:focus-visible {
  outline: 3px solid rgba(255, 214, 226, 0.95);
  outline-offset: 3px;
}

.primary{
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  color:#fff;
  box-shadow:0 10px 24px rgba(255,92,138,.35);
}

.secondary{
  background:#fff;
  color:var(--text);
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}

.tertiary{
  background:linear-gradient(135deg, #ff6b9d, #c44569);
  color:#fff;
  box-shadow:0 8px 24px rgba(196, 69, 105, 0.3);
}

@media (max-width:640px){
  .counter{grid-template-columns:repeat(2,1fr)}
  .card{padding:26px 18px}
  .sticker{
    width:62px;
    height:62px;
    border-radius:14px;
  }
  .sticker-1{ top:145px; left:10px; }
  .sticker-2{ top:145px; right:10px; }
  .sticker-3{ top:1050px; left:10px; }
  .sticker-4{ top:1050px; right:10px; }
}

@media (max-width: 768px) {
  .card {
    padding: 24px 16px;
    border-radius: 20px;
  }

  .sticker {
    width: 60px;
    height: 60px;
    border-width: 3px;
  }

  .sticker-1 { top: 15px; left: 15px; }
  .sticker-2 { top: 15px; right: 15px; }
  .sticker-3 { bottom: 80px; left: 15px; top: auto; }
  .sticker-4 { bottom: 80px; right: 15px; top: auto; }

  .counter {
    gap: 8px;
  }

  .box {
    padding: 14px 8px;
    border-radius: 16px;
  }

  .num {
    font-size: 1.4rem;
  }

  .label {
    font-size: 0.85rem;
  }

  .message {
    padding: 14px;
    border-radius: 16px;
    font-size: 0.95rem;
  }

  .date-badge {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .music-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}
