/* ================================================
   Enjoys Attention — enjoysattention.link
   Mobile-first link-in-bio | Brand v3.0 — Seductive Edition
   ================================================= */

/* ── Brand tokens ── */
:root {
  --ea-black:      #070405;
  --ea-ink:        #11080A;
  --ea-charcoal:   #1A1113;
  --ea-burgundy:   #4A0D1A;
  --ea-wine:       #6E1423;
  --ea-red:        #C1121F;
  --ea-crimson:    #E5093C;
  --ea-hot-red:    #FF1744;
  --ea-rose-gold:  #B76E79;
  --ea-ivory:      #FFF2E8;
  --ea-muted-rose: #CBB6B3;
  --ea-blush:      #F2B8C6;

  --font-display:  'Quicksand', system-ui, sans-serif;
  --font-body:     'Quicksand', system-ui, sans-serif;
  --font-accent:   'Playfair Display', Georgia, serif;

  --radius-pill:   999px;
  --radius-card:   24px;
  --max-card:      420px;
  --gap:           0.625rem;
  --ring-size:     3px;
  --avatar-size:   120px;
}

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

/* ── Background & atmosphere ── */
html { height: 100%; }

body {
  min-height: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ea-ivory);
  background-color: var(--ea-black);
  overflow-x: hidden;

  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2.5rem 1.25rem 3.5rem;
}

/* Ambient glow layers — midnight velvet */
.ambient-glow {
  position: fixed;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 120vw;
  height: 70vh;
  background: radial-gradient(
    ellipse 70% 60% at 50% 40%,
    rgba(74, 13, 26, 0.55) 0%,
    rgba(110, 20, 35, 0.18) 45%,
    transparent 80%
  );
  pointer-events: none;
  z-index: -2;
  animation: ambient-drift 18s ease-in-out infinite alternate;
}

.ambient-glow-secondary {
  position: fixed;
  top: 30%;
  right: -20%;
  width: 80vw;
  height: 60vh;
  background: radial-gradient(
    ellipse 50% 50% at 70% 50%,
    rgba(229, 9, 60, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -2;
  animation: ambient-drift 22s ease-in-out infinite alternate-reverse;
}

@keyframes ambient-drift {
  0%   { transform: translateX(-50%) translateY(0) scale(1); }
  50%  { transform: translateX(-48%) translateY(-2%) scale(1.02); }
  100% { transform: translateX(-50%) translateY(0) scale(1); }
}

/* ── Card ── */
.bio-wrap {
  width: 100%;
  max-width: var(--max-card);
}

.bio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: relative;
}

/* ── Avatar ── */
.avatar-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-ring {
  width: calc(var(--avatar-size) + var(--ring-size) * 2 + 8px);
  height: calc(var(--avatar-size) + var(--ring-size) * 2 + 8px);
  border-radius: 50%;
  padding: var(--ring-size);
  background: conic-gradient(
    from 0deg,
    var(--ea-crimson),
    var(--ea-rose-gold),
    var(--ea-wine),
    var(--ea-crimson)
  );
  filter: drop-shadow(0 0 18px rgba(229, 9, 60, 0.4));
}

.avatar {
  width: var(--avatar-size);
  height: var(--avatar-size);
  border-radius: 50%;
  background: var(--ea-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow:
    inset 0 0 20px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(183, 110, 121, 0.15);
}

.avatar-silhouette {
  width: 65%;
  height: 65%;
  color: var(--ea-rose-gold);
  opacity: 0.55;
}

/* ── Header text ── */
.bio-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  animation: fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bio-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bio-name {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--ea-ivory);

  /* Soft gradient text shimmer */
  background: linear-gradient(165deg, var(--ea-ivory) 25%, var(--ea-blush) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Decorative wordmark divider */
.bio-name + .bio-tagline::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--ea-rose-gold), transparent);
  margin: 0.5rem auto;
}

.bio-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--ea-muted-rose);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* ── Separator ── */
.separator {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  animation: fade-up 0.7s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.separator-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(183, 110, 121, 0.35) 50%,
    transparent
  );
}

.separator-icon {
  color: var(--ea-rose-gold);
  font-size: 0.75rem;
  opacity: 0.7;
  animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ── Links nav ── */
.bio-links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

/* ── Base button ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;

  animation: fade-up 0.6s calc(var(--i, 0) * 80ms) cubic-bezier(0.22, 1, 0.36, 1) both;

  transition:
    transform 120ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 150ms ease,
    box-shadow 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease;

  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn:active { transform: scale(0.97); }

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
}

/* ── Primary — seductive crimson fill ── */
.btn-primary {
  background: linear-gradient(135deg, var(--ea-crimson) 0%, var(--ea-hot-red) 60%, var(--ea-red) 100%);
  color: #fff;
  border: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;

  animation:
    fade-up 0.6s calc(var(--i, 0) * 80ms) cubic-bezier(0.22, 1, 0.36, 1) both,
    pulse-glow 3s 1.2s ease-in-out infinite;

  box-shadow:
    0 4px 24px rgba(229, 9, 60, 0.35),
    0 1px 4px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: left 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.btn-primary:hover {
  filter: brightness(1.12) saturate(1.1);
  transform: translateY(-1px);
  box-shadow:
    0 8px 32px rgba(229, 9, 60, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow:
      0 4px 24px rgba(229, 9, 60, 0.35),
      0 1px 4px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
  50% {
    box-shadow:
      0 6px 40px rgba(229, 9, 60, 0.6),
      0 2px 8px rgba(0, 0, 0, 0.4),
      0 0 80px rgba(229, 9, 60, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
}

/* ── Secondary — glassmorphism ── */
.btn-secondary {
  background: rgba(26, 17, 19, 0.45);
  color: var(--ea-ivory);
  border: 1px solid rgba(110, 20, 35, 0.5);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
}

.btn-secondary:hover {
  background: rgba(74, 13, 26, 0.5);
  border-color: var(--ea-rose-gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(74, 13, 26, 0.3);
}

/* ── Ghost — minimal ── */
.btn-ghost {
  background: transparent;
  color: var(--ea-muted-rose);
  border: 1px solid rgba(183, 110, 121, 0.2);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  padding: 0.75rem 1.5rem;
}

.btn-ghost:hover {
  color: var(--ea-ivory);
  border-color: rgba(183, 110, 121, 0.45);
  background: rgba(183, 110, 121, 0.05);
}

/* ── Two-column row ── */
.btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  animation: fade-up 0.6s calc(var(--i, 0) * 80ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}

.btn-row .btn {
  animation: none;
  font-size: 0.8rem;
  padding: 0.85rem 1rem;
}

.btn-row .btn-icon {
  width: 16px;
  height: 16px;
}

/* ── Footer ── */
.bio-footer {
  font-size: 0.65rem;
  color: var(--ea-wine);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.6;
  animation: fade-up 0.55s calc(7 * 80ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── Shared entrance animation ── */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Focus (accessibility) ── */
.btn:focus-visible {
  outline: 2px solid var(--ea-rose-gold);
  outline-offset: 3px;
  border-radius: var(--radius-pill);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .bio-header,
  .separator,
  .btn,
  .btn-row,
  .bio-footer,
  .ambient-glow,
  .ambient-glow-secondary {
    animation: none !important;
  }

  .avatar-ring {
    background: conic-gradient(
      from 0deg,
      var(--ea-crimson),
      var(--ea-rose-gold),
      var(--ea-wine),
      var(--ea-crimson)
    );
  }
}

/* ── Desktop refinement ── */
@media (min-width: 480px) {
  body {
    padding: 3rem 1.5rem 4rem;
  }

  .bio-card {
    gap: 2.25rem;
  }

  .bio-name {
    font-size: 2.75rem;
  }

  .btn {
    font-size: 0.9rem;
  }

  .btn-primary {
    font-size: 1rem;
    padding: 1.05rem 1.5rem;
  }

  .btn-row .btn {
    font-size: 0.85rem;
  }
}
