/* Jasmine Rose — link-in-bio landing page */

:root {
  --pink: #f9a8d4;
  --pink-deep: #f472b6;
  --pink-glow: rgba(249, 168, 212, 0.45);
  --yellow-soft: #fef9c3;
  --yellow-glow: rgba(254, 249, 195, 0.35);
  --green-deep: #166534;
  --green-glow: rgba(22, 101, 52, 0.25);
  --gold: #d4a853;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.28);
  --text: #fafafa;
  --text-muted: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--text);
  background: #1a0f14;
  overflow-x: hidden;
}

/* ── Background ── */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg__image {
  position: absolute;
  inset: -5%;
  background:
    linear-gradient(160deg, rgba(40, 20, 30, 0.35) 0%, rgba(30, 15, 25, 0.55) 100%),
    url("../images/hero.png") center / cover no-repeat,
    url("../images/hero.jpg") center / cover no-repeat,
    url("../images/hero.svg") center / cover no-repeat,
    linear-gradient(145deg, #e8b4bc 0%, #d4899a 50%, #c47080 100%);
  background-position: center center;
  transform: scale(1.03);
  animation: slowZoom 20s ease-in-out infinite alternate;
}

.bg__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 50%, rgba(255, 200, 210, 0.08), transparent 65%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(236, 72, 153, 0.2), transparent 55%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, transparent 35%, rgba(0, 0, 0, 0.35) 100%);
  backdrop-filter: blur(0px);
}

.bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 12s ease-in-out infinite;
}

.bg__glow--yellow {
  width: 280px;
  height: 280px;
  top: 8%;
  left: -10%;
  background: rgba(255, 180, 200, 0.3);
}

.bg__glow--pink {
  width: 320px;
  height: 320px;
  bottom: 15%;
  right: -12%;
  background: var(--pink-glow);
  animation-delay: -4s;
}

.bg__glow--green {
  width: 240px;
  height: 240px;
  top: 45%;
  right: 5%;
  background: rgba(255, 150, 170, 0.2);
  animation-delay: -8s;
}

@keyframes slowZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(12px, -18px); }
}

/* ── Layout ── */

.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
}

.card {
  width: 100%;
  max-width: 420px;
  padding: 40px 28px 32px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  animation: fadeUp 0.7s ease-out both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Profile ── */

.profile {
  text-align: center;
  margin-bottom: 32px;
}

.profile__ring {
  position: relative;
  width: 124px;
  height: 124px;
  margin: 0 auto 20px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--pink), var(--yellow-soft));
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.08),
    0 8px 32px var(--pink-glow);
}

.profile__photo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: linear-gradient(145deg, #3d2a35, #2a1f28);
}

.profile__name {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 8vw, 2.75rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.profile__tagline {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Links ── */

.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 1.05rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.link:active {
  transform: scale(0.98);
}

.link--primary {
  position: relative;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px 16px 18px;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 4px 24px var(--pink-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.link--primary:hover,
.link--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px var(--pink-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  outline: none;
}

.link__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
}

.link__label {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.link__emojis {
  letter-spacing: -0.08em;
  filter: drop-shadow(0 0 1px #7a0c24) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.link__arrow {
  position: absolute;
  right: 18px;
  opacity: 0.7;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.link--primary:hover .link__arrow,
.link--primary:focus-visible .link__arrow {
  transform: translateX(4px);
}

.footer-note {
  margin-top: 24px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── Larger screens ── */

@media (min-width: 480px) {
  .card {
    padding: 48px 36px 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg__image,
  .bg__glow,
  .card {
    animation: none;
  }

  .link {
    transition: none;
  }
}
