:root {
  color-scheme: dark;
  --background: #0b0e0a;
  --surface: #131913;
  --surface-raised: #192119;
  --text: #f6f1e6;
  --muted: #b9b6aa;
  --gold: #d9ad55;
  --gold-bright: #f0cc78;
  --green: #25432c;
  --line: rgba(240, 204, 120, 0.2);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(217, 173, 85, 0.18), transparent 35rem),
    radial-gradient(circle at 10% 70%, rgba(37, 67, 44, 0.3), transparent 25rem),
    linear-gradient(180deg, #10150f 0%, var(--background) 75%);
  font-family: var(--body-font, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
}

.page-shell {
  width: min(100% - 32px, 560px);
  margin-inline: auto;
  padding: 48px 0 32px;
}

.profile {
  text-align: center;
}

.portrait-wrap {
  position: relative;
  width: 112px;
  margin: 0 auto 24px;
}

.portrait-placeholder {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  overflow: hidden;
  color: var(--gold-bright);
  border: 1px solid rgba(240, 204, 120, 0.55);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 30%, rgba(240, 204, 120, 0.22), transparent 36%),
    linear-gradient(145deg, #2f452f, #111811);
  box-shadow: 0 0 0 7px rgba(217, 173, 85, 0.06), var(--shadow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  letter-spacing: 0.08em;
}

.portrait-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-note {
  position: absolute;
  right: -22px;
  bottom: -5px;
  padding: 4px 8px;
  color: #d8d5ca;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: #20251f;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow,
.gift-label {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow span {
  padding-inline: 3px;
  color: rgba(217, 173, 85, 0.48);
}

h1,
h2 {
  font-family: var(--heading-font, Georgia, "Times New Roman", serif);
  font-weight: 500;
}

h1 {
  margin: 10px 0 12px;
  font-size: clamp(34px, 9vw, 48px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.positioning {
  max-width: 440px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.guide-card {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 20px;
  margin-top: 34px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(29, 39, 29, 0.98), rgba(16, 21, 16, 0.96));
  box-shadow: var(--shadow);
}

.guide-art {
  min-height: 205px;
  overflow: hidden;
  border-radius: 15px;
  background: #080b08;
}

.guide-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
}

.guide-copy {
  align-self: center;
}

.guide-copy h2 {
  margin: 7px 0 7px;
  color: var(--text);
  font-size: 28px;
  line-height: 1.05;
}

.guide-copy > p:not(.gift-label) {
  margin: 0;
  color: #cfcdc4;
  font-size: 13px;
  line-height: 1.45;
}

.guide-copy ul {
  display: grid;
  gap: 5px;
  margin: 12px 0 0;
  padding: 0;
  color: #e4e1d8;
  font-size: 12px;
  line-height: 1.35;
  list-style: none;
}

.guide-copy li {
  position: relative;
  padding-left: 15px;
}

.guide-copy li::before {
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--gold);
}

.actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: grid;
  min-height: 58px;
  padding: 0 20px;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  color: inherit;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button:focus-visible {
  outline: 3px solid rgba(240, 204, 120, 0.5);
  outline-offset: 3px;
}

.button svg {
  width: 23px;
  fill: currentColor;
}

.button-primary {
  color: #132016;
  background: linear-gradient(135deg, var(--gold-bright), #c7953e);
  box-shadow: 0 14px 30px rgba(181, 129, 39, 0.18);
}

.button-primary:hover {
  background: linear-gradient(135deg, #f6d98f, #d6a54d);
}

.button-secondary {
  position: relative;
  border-color: rgba(240, 204, 120, 0.28);
  background: rgba(25, 33, 25, 0.92);
}

.button-secondary:hover {
  border-color: rgba(240, 204, 120, 0.52);
  background: #202a20;
}

.button-secondary::before {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 20px;
  height: 20px;
  content: "";
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0 2px, transparent 3px);
  transform: translateY(-50%);
}

.button-arrow {
  font-size: 20px;
  font-weight: 400;
}

.reassurance {
  margin: 16px auto 0;
  color: #8f938b;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

footer {
  margin-top: 26px;
  color: #686e66;
  font-size: 11px;
  text-align: center;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 10;
  max-width: 430px;
  margin-inline: auto;
  padding: 13px 16px;
  color: var(--text);
  border: 1px solid rgba(240, 204, 120, 0.28);
  border-radius: 14px;
  background: rgba(24, 31, 24, 0.97);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 13px;
  text-align: center;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 480px) {
  .page-shell {
    width: min(100% - 24px, 560px);
    padding-top: 32px;
  }

  .guide-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 15px;
    padding: 14px;
    border-radius: 20px;
  }

  .guide-art {
    min-height: 184px;
  }

  .guide-copy h2 {
    font-size: 24px;
  }

  .guide-copy ul {
    font-size: 11px;
  }
}

@media (max-width: 370px) {
  .guide-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
  }

  .guide-copy > p:not(.gift-label) {
    font-size: 12px;
  }

  .guide-copy li:last-child {
    display: none;
  }
}

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