@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --deep-plum: #1a0d22;
  --mid-plum: #2e1440;
  --center-mauve: #65466B;
  --rich-purple: #5c2d7a;
  --glow-purple: #8b4fb8;
  --soft-lilac: #c49fd8;
  --cream: #f5ede8;
  --gold: #d4a96a;
  --gold-light: #e8c99a;
  --card-bg: rgba(50, 20, 65, 0.55);
  --border-glow: rgba(196, 159, 216, 0.22);
  --text-main: #f0e6f6;
  --text-muted: rgba(240, 230, 246, 0.65);
}

html, body {
  min-height: 100%;
  width: 100%;
}

body {
  font-family: 'DM Sans', sans-serif;
  /* Radial gradient from center mauve (#65466B) outward to near-black */
  background-color: var(--deep-plum);
  background-image:
    radial-gradient(ellipse 70% 70% at 50% 50%,
      #65466B 0%,
      #4a2e56 25%,
      #321840 50%,
      #1e0d2a 75%,
      #120820 100%
    );
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 16px 64px;
  color: var(--text-main);
  min-height: 100vh;
}

/* Subtle noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* Soft inner glow at page center */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 50% 40%,
    rgba(101, 70, 107, 0.18) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ── Avatar ── */
.avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 20px;
  animation: fadeDown 0.7s ease both;
}

.avatar-wrap::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--gold), var(--glow-purple), var(--gold));
  opacity: 0.75;
  animation: spin 8s linear infinite;
}

.avatar-wrap img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid #1e0d2a;
  display: block;
}

/* ── Header text ── */
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--cream);
  text-align: center;
  line-height: 1.2;
  animation: fadeDown 0.7s 0.1s ease both;
  margin-bottom: 8px;
}

.brand-name sup {
  font-size: 0.65em;
  vertical-align: super;
}

.tagline {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.55;
  max-width: 300px;
  animation: fadeDown 0.7s 0.2s ease both;
  margin-bottom: 32px;
}

/* ── Buttons ── */
.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.btn-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 24px;
  background: rgba(101, 70, 107, 0.28);
  border: 1px solid rgba(196, 159, 216, 0.2);
  border-radius: 50px;
  color: var(--text-main);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.btn-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at center, rgba(212, 169, 106, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-link:hover {
  background: rgba(101, 70, 107, 0.55);
  border-color: rgba(212, 169, 106, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(101, 70, 107, 0.4), 0 0 0 1px rgba(212, 169, 106, 0.18);
}

.btn-link:hover::after {
  opacity: 1;
}

.btn-link:active {
  transform: translateY(0);
}

.btn-thumb {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Staggered animation */
.btn-link:nth-child(1) { animation: fadeUp 0.6s 0.3s ease both; }
.btn-link:nth-child(2) { animation: fadeUp 0.6s 0.42s ease both; }
.btn-link:nth-child(3) { animation: fadeUp 0.6s 0.54s ease both; }

/* ── Divider ── */
.divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 159, 216, 0.3), transparent);
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.64s ease both;
}

/* ── Social icons ── */
.social-icons {
  display: flex;
  align-items: center;
  gap: 20px;
  animation: fadeUp 0.6s 0.72s ease both;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(101, 70, 107, 0.28);
  border: 1px solid rgba(196, 159, 216, 0.2);
  color: var(--soft-lilac);
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: color 0.2s, border-color 0.2s, transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-icon:hover {
  color: var(--gold-light);
  border-color: rgba(212, 169, 106, 0.45);
  background: rgba(101, 70, 107, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(101, 70, 107, 0.45);
}

/* ── Animations ── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Responsive ── */
@media (max-width: 480px) {
  body { padding: 36px 16px 48px; }
  .brand-name { font-size: 1.45rem; }
}
