:root {
  color-scheme: dark;
  --background: #110c13;
  --foreground: #fff7fa;
  --card: #211724;
  --card-foreground: #fff7fa;
  --popover: #211724;
  --popover-foreground: #fff7fa;
  --primary: #f8bfda;
  --primary-foreground: #24121e;
  --secondary: #3b2637;
  --secondary-foreground: #fff7fa;
  --muted: #3b2637;
  --muted-foreground: #d4bfc9;
  --accent: #4a2b41;
  --accent-foreground: #fff7fa;
  --destructive: #f77b8b;
  --border: #765469;
  --input: #765469;
  --ring: #ffb4d7;
  --radius: 1rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #110c13;
    --foreground: #fff7fa;
    --card: #211724;
    --card-foreground: #fff7fa;
    --primary: #f8bfda;
    --primary-foreground: #24121e;
    --ring: #ffb4d7;
  }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: Arial, Helvetica, sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }
a { text-decoration: none; }

.page {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 2.5rem 1.5rem;
  background: radial-gradient(ellipse at 80% 10%, #72304f 0%, transparent 38%),
    radial-gradient(ellipse at 0% 95%, #5d2847 0%, transparent 42%), #110c13;
}
.page::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(1350px, 125vw);
  height: min(900px, 110vh);
  border: 1px solid rgb(255 188 220 / 12%);
  border-radius: 50%;
  transform: rotate(-18deg);
}
.page-glow {
  position: absolute;
  z-index: -1;
  top: 7%;
  right: 3%;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  background: #f779bd;
  filter: blur(140px);
  opacity: .15;
  pointer-events: none;
}
.profile-card {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1fr);
  width: min(940px, 100%);
  min-height: 570px;
  overflow: hidden;
  border: 1px solid rgb(255 211 230 / 23%);
  border-radius: 2rem;
  background: #211724;
  box-shadow: 0 35px 110px rgb(0 0 0 / 46%);
}
.portrait-panel { position: relative; min-width: 0; min-height: 100%; overflow: hidden; background: #e689b6; }
.portrait { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.portrait-shine { position: absolute; inset: 0; background: linear-gradient(120deg, transparent 50%, rgb(37 12 34 / 21%)); pointer-events: none; }
.content-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 4rem clamp(2rem, 5vw, 4.4rem) 2.8rem;
  background: linear-gradient(145deg, #271a29 0%, #1a121e 100%);
}
.language-switcher {
  display: flex;
  align-self: flex-end;
  gap: .2rem;
  margin: 0 0 2.2rem;
  padding: .22rem;
  border: 1px solid rgb(255 211 230 / 25%);
  border-radius: 999px;
  background: rgb(255 255 255 / 5%);
}
.language-button {
  min-width: 2.2rem;
  min-height: 2rem;
  padding: .35rem .42rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ddc4d0;
  font: inherit;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.language-button:hover { background: rgb(255 255 255 / 12%); color: #fff8fb; }
.language-button[aria-pressed="true"], .language-button[aria-pressed="true"]:hover { background: #f8bfda; color: #24121e; }
.language-button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.2rem; color: #ffd0e2; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span[aria-hidden="true"] { display: block; flex: none; width: 1.5rem; height: 1px; background: #f8bfda; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.6rem, 6vw, 5.6rem); font-weight: 400; letter-spacing: -.065em; line-height: .94; }
h1 em { display: block; margin-left: .7em; color: #f9c2d8; font-weight: 400; }
.description { max-width: 25rem; margin: 2rem 0 2.3rem; color: #e6d5de; font-size: 1.07rem; line-height: 1.6; }
.links { display: grid; gap: .85rem; }
.link-button[data-slot="button"] {
  display: grid;
  grid-template-columns: 1.5rem 1fr 1.5rem;
  align-items: center;
  justify-content: stretch;
  width: 100%;
  height: 3.8rem;
  padding: 0 1.25rem;
  border-radius: .9rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.link-button[data-slot="button"]:hover { transform: translateY(-2px); }
.link-button[data-slot="button"]:active { transform: translateY(0); }
.link-button[data-slot="button"]:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.link-button[data-slot="button"] svg { width: 1.3rem; height: 1.3rem; }
.link-arrow { justify-self: end; }
.blog-button[data-slot="button"] { border: 1px solid #a97992; background: rgb(255 255 255 / 4%); color: #fff8fb; }
.blog-button[data-slot="button"]:hover { background: rgb(255 255 255 / 11%); }
.chat-button[data-slot="button"] { background: #f8bfda; color: #24121e; box-shadow: 0 8px 25px rgb(232 115 166 / 17%); }
.chat-button[data-slot="button"]:hover { background: #ffd5e7; box-shadow: 0 10px 30px rgb(232 115 166 / 30%); }
.signature { margin: 2rem 0 0; color: #bda6b3; font-size: .78rem; letter-spacing: .07em; }
.signature span { margin: 0 .55rem; color: #f3aeca; }

@media (max-width: 720px) {
  .page { display: block; min-height: 100svh; padding: 1rem; }
  .profile-card { display: block; max-width: 450px; min-height: 0; margin: 0 auto; border-radius: 1.5rem; }
  .portrait-panel { height: clamp(225px, 46vw, 310px); min-height: 0; }
  .portrait { object-position: center 35%; }
  .content-panel { padding: 2rem 1.6rem 1.75rem; }
  .language-switcher { margin-bottom: 1.8rem; }
  .eyebrow { margin-bottom: 1rem; }
  h1 { font-size: clamp(3.5rem, 14vw, 4.7rem); }
  .description { margin: 1.35rem 0 1.65rem; }
  .signature { margin-top: 1.5rem; }
}
@media (max-width: 375px) {
  .page { padding: .6rem; }
  .content-panel { padding: 1.5rem 1.15rem; }
  h1 { font-size: 3.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .link-button[data-slot="button"], .language-button { transition: none; }
}
