@font-face {
  font-family: "TinyaFont";
  src: url("/assets/fonts/YourFont.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #fff5fa;
  --card: rgba(255, 255, 255, 0.74);
  --text: #402540;
  --muted: #7b5c75;
  --pink: #ff88b8;
  --pink-strong: #ff65a8;
  --pink-soft: #ffd6e7;
  --border: rgba(255, 138, 184, 0.28);
  --shadow: 0 22px 70px rgba(173, 83, 130, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 214, 231, 0.9) 0, transparent 30%),
    radial-gradient(circle at top right, rgba(255, 194, 217, 0.88) 0, transparent 28%),
    radial-gradient(circle at bottom center, rgba(255, 232, 242, 0.9) 0, transparent 38%),
    var(--bg);
  color: var(--text);
  font-family: "TinyaFont", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.42) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.12;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 85%);
}

img {
  display: block;
  max-width: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

::selection {
  background: #ff9dc7;
  color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.card {
  width: min(980px, 100%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 220ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.35), transparent 40%, rgba(255,255,255,0.12));
  pointer-events: none;
}

.banner-wrap {
  position: relative;
  aspect-ratio: 16 / 5;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #ffd9e8, #fff1f7);
}

.banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.banner-overlay {
  position: absolute;
  inset: auto 0 0 0;
  height: 62%;
  background: linear-gradient(to top, rgba(255, 245, 250, 0.98), rgba(255, 245, 250, 0));
}

.content {
  position: relative;
  z-index: 1;
  margin-top: -68px;
  padding: 0 28px 28px;
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.avatar-wrap {
  width: 138px;
  height: 138px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(145deg, #fff, #ffd0e3, #fff);
  box-shadow: 0 18px 42px rgba(255, 124, 176, 0.22);
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.96);
}

.text {
  display: grid;
  gap: 10px;
  max-width: 720px;
}

.badge {
  width: fit-content;
  justify-self: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 111, 166, 0.26);
  background: rgba(255, 143, 190, 0.13);
  color: #be2f73;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.subtitle {
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.75;
  color: var(--muted);
  max-width: 58ch;
}

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

.btn {
  min-width: 180px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-strong));
  color: #fff;
  box-shadow: 0 14px 28px rgba(255, 110, 169, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 18px 36px rgba(255, 110, 169, 0.34);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.66);
  color: var(--text);
  border: 1px solid rgba(255, 143, 190, 0.22);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.82);
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}

.orb-a {
  width: 240px;
  height: 240px;
  top: -40px;
  left: -40px;
  background: #ffd4e5;
}

.orb-b {
  width: 280px;
  height: 280px;
  right: -80px;
  top: 16%;
  background: #ffc0d9;
}

.orb-c {
  width: 260px;
  height: 260px;
  left: 12%;
  bottom: -90px;
  background: #ffe4ef;
}

@media (max-width: 640px) {
  .page {
    padding: 16px;
  }

  .card {
    border-radius: 24px;
  }

  .content {
    margin-top: -54px;
    padding: 0 18px 20px;
  }

  .avatar-wrap {
    width: 112px;
    height: 112px;
  }

  .actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}