:root {
  color-scheme: dark;
  font-family: "Avenir Next", Avenir, ui-sans-serif, system-ui, sans-serif;
  color: #fff6f4;
  background: #23142d;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(1.1rem, 4vw, 4rem);
  background: #23142d;
}

.scene {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(140deg, #2c133963 0%, #32152e2c 41%, #240f2ed9 100%),
    linear-gradient(0deg, #20102c 3%, #301a3706 65%),
    url("assets/sunset.webp") center 48% / cover;
}

.card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  width: min(100%, 62rem);
  border-radius: clamp(1.6rem, 4vw, 2.6rem);
  padding: .65rem;
  border: 1px solid #ffe1e37a;
  background: linear-gradient(137deg, #ffd0d440, #3a2034e8 46%, #24142ff2 90%);
  box-shadow: 0 2rem 5rem #160b266e, inset 0 1px 0 #fff4e557;
  backdrop-filter: blur(15px);
}

.portrait {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: grid;
  border-radius: clamp(1.2rem, 3.5vw, 2.05rem);
  box-shadow: inset 0 0 0 1px #fff3e38a, 0 1rem 2rem #1a0d2590;
  background: #bd5e68;
}

.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.portrait::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px #fff2cea1; }
.details { min-width: 0; display: grid; align-content: center; gap: 1.8rem; padding: clamp(1.5rem, 4.5vw, 3.3rem); }
h1, h2 { font-family: Georgia, serif; font-weight: 500; }
h1 { margin: 0 0 .25rem; font-size: clamp(3.8rem, 8.2vw, 6.9rem); line-height: .92; letter-spacing: -.075em; text-shadow: 0 .1em .48em #f880a84f; }
h1 span { display: inline-block; font-size: .32em; vertical-align: .87em; letter-spacing: 0; margin-left: .15em; }
.handle { margin: .5rem 0 .8rem; color: #ffd2dd; font-size: .9rem; font-weight: 600; letter-spacing: .025em; }
.bio { color: #ffeced; margin: 0; line-height: 1.55; font-size: 1rem; }
.links { display: grid; gap: .88rem; }

.link {
  border: 1px solid #ffd9e9a8;
  border-radius: 1.2rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem .85rem;
  width: 100%;
  min-height: 4.35rem;
  text-decoration: none;
  text-align: left;
  color: #fff;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 .4rem 0 #180c2670, 0 .8rem 1.4rem #170b2e65, inset 0 1px 0 #fff8ef98;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.link::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(119deg, #fff5ee43, transparent 35%, #ffdfeb19 70%, transparent); }
.instagram { background: radial-gradient(ellipse at 0% 95%, #ed7b64a8, transparent 66%), linear-gradient(125deg, #a3345c, #7e275b 53%, #4e225e); }
.extra { background: radial-gradient(ellipse at 5% 5%, #e36f8eab, transparent 65%), linear-gradient(125deg, #972f68, #681d58 53%, #37205e); }
.link:hover { transform: translateY(-3px); filter: brightness(1.13); box-shadow: 0 .55rem 0 #180c2670, 0 1rem 1.5rem #170b2e70, inset 0 1px 0 #fff8ef98; }
.link:active { transform: translateY(2px); }
.link:focus-visible, .gate button:focus-visible { outline: 3px solid #ffdfa6; outline-offset: 3px; }
.label { display: grid; gap: .12rem; min-width: 0; }
.label strong { font-size: 1rem; font-weight: 750; line-height: 1.2; }
.label small { color: #ffe3ea; font-size: .82rem; line-height: 1.25; }
.icon { width: 2.45rem; height: 2.45rem; flex: none; display: grid; place-items: center; border-radius: .77rem; border: 1px solid #fff7e9a1; background: linear-gradient(150deg, #ffe0be85, #ff8abb45 65%, #fecae130); box-shadow: inset 0 1px 2px #fff2d987, 0 .28rem .5rem #210d395e; }
.camera { display: block; position: relative; border: 2px solid #fff5ed; width: 1.18rem; height: 1.18rem; border-radius: .36rem; }
.camera::before { content: ""; position: absolute; inset: .23rem; border: 1.5px solid #fff5ed; border-radius: 50%; }
.camera::after { content: ""; position: absolute; top: .13rem; right: .13rem; width: .16rem; height: .16rem; border-radius: 50%; background: #fff5ed; }
.gem { width: 1.1rem; height: 1.1rem; transform: rotate(45deg); border: 1px solid #fff2fa; border-radius: .2rem; background: conic-gradient(from 30deg, #ffd6f6, #e76dbe, #fff7ed, #ad64d8, #ffd6f6); box-shadow: 0 0 .8rem #ff9dc997; }
.age-mark { font-size: .72rem; font-weight: 700; margin-left: auto; color: #ffead5; border: 1px solid #ffe6cf65; border-radius: 2rem; padding: .27rem .38rem; }
dialog { width: min(calc(100% - 2rem), 28rem); padding: 0; border: 1px solid #ffd0e3b3; border-radius: 1.6rem; color: #fff8f6; background: linear-gradient(145deg, #713255, #321c43 68%); box-shadow: 0 2rem 6rem #130919c9; }
dialog::backdrop { background: #180d25b5; backdrop-filter: blur(7px); }
.gate { padding: clamp(1.25rem, 7vw, 2.15rem); }
.gate-mark { display: inline-grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: .9rem; border: 1px solid #ffd7ef80; background: linear-gradient(150deg, #b95677, #68285e); font-weight: 800; box-shadow: 0 .3rem .7rem #200c3260; }
.gate h2 { font-size: clamp(1.65rem, 7vw, 2.2rem); margin: .9rem 0 .5rem; }
.gate p { color: #ffe2eb; line-height: 1.5; margin: 0 0 1.4rem; }
.gate-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.gate button { flex: 1 0 8rem; min-height: 2.85rem; padding: .55rem .7rem; border: 1px solid #ffd0e565; border-radius: .7rem; color: #fff8f6; font-weight: 650; cursor: pointer; }
.back { background: #2b193d; }
.confirm { background: linear-gradient(145deg, #ad3c6c, #7d2a73); }
.gate button:hover { filter: brightness(1.2); }

@media (max-width: 690px) {
  .page { align-items: start; padding-top: max(1rem, env(safe-area-inset-top)); }
  .card { grid-template-columns: 1fr; width: min(100%, 28rem); }
  .portrait img { aspect-ratio: 1.27; object-position: center 28%; }
  .details { gap: 1.15rem; padding: 1.15rem clamp(.65rem, 4vw, 1.4rem) 1.35rem; }
  h1 { font-size: clamp(3.4rem, 13vw, 4.75rem); }
}
@media (prefers-reduced-motion: reduce) { .link { transition: none; } .link:hover, .link:active { transform: none; } }
