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

:root {
  --pink-50: #fff0f6;
  --pink-200: #fbb6d4;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --rose-900: #4a0d2b;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--rose-900);
  background:
    radial-gradient(circle at 15% 20%, rgba(244, 114, 182, 0.45), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(236, 72, 153, 0.35), transparent 45%),
    linear-gradient(135deg, #ffe4f1 0%, #fdf2f8 50%, #fce7f3 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  max-width: 720px;
  padding: 4rem 3rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  box-shadow:
    0 30px 60px -20px rgba(219, 39, 119, 0.35),
    0 0 0 1px rgba(244, 114, 182, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: fade-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--pink-600), var(--pink-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  border-radius: 999px;
  box-shadow: 0 10px 25px -8px rgba(219, 39, 119, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
}

.button:hover::after {
  left: 125%;
  transition: left 0.7s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(219, 39, 119, 0.7);
  filter: brightness(1.05);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible {
  outline: 3px solid var(--pink-200);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .card {
    animation: none;
  }

  .button::after {
    display: none;
  }
}
