:root {
  --black: #050505;
  --black-soft: #0c0a0c;
  --pink: #ff1493;
  --pink-light: #ff73bf;
  --white: #fff8fc;
  --muted: #b7aeb3;
  --line: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--white);
  background: var(--black);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 20, 147, 0.17), transparent 27rem),
    radial-gradient(circle at 85% 65%, rgba(255, 20, 147, 0.07), transparent 22rem),
    linear-gradient(155deg, #090709 0%, #020202 56%, #0b0508 100%);
}

body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

.neon-rail {
  position: fixed;
  z-index: 20;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--pink), #ff8dce, var(--pink), transparent);
  background-size: 180% 100%;
  box-shadow: 0 0 14px var(--pink), 0 0 28px rgba(255, 20, 147, 0.7);
  animation: rail 3s linear infinite;
}

.eyebrow {
  margin: 0;
  color: var(--pink-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.32em;
}

.home-page {
  display: grid;
  place-items: center;
  padding: 3rem 1.25rem;
}

.home {
  width: min(100%, 31rem);
  text-align: center;
}

.portrait-wrap {
  position: relative;
  width: fit-content;
  margin: 0 auto 2rem;
}

.portrait-ring {
  width: clamp(13.5rem, 58vw, 18rem);
  aspect-ratio: 1;
  padding: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 115, 191, 0.7);
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8dce, var(--pink) 50%, #5b0034);
  box-shadow:
    0 0 0 9px rgba(255, 20, 147, 0.06),
    0 0 34px rgba(255, 20, 147, 0.48),
    0 25px 70px rgba(0, 0, 0, 0.8);
}

.portrait-ring img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center 24%;
}

.spark {
  position: absolute;
  z-index: 2;
  width: 1.5rem;
  aspect-ratio: 1;
  filter: drop-shadow(0 0 8px var(--pink));
  animation: sparkle 2.2s ease-in-out infinite;
}

.spark::before,
.spark::after {
  position: absolute;
  inset: 0;
  margin: auto;
  content: "";
  background: var(--white);
  border-radius: 50%;
}

.spark::before {
  width: 2px;
  height: 100%;
}

.spark::after {
  width: 100%;
  height: 2px;
}

.spark-one {
  top: 10%;
  right: -7%;
}

.spark-two {
  bottom: 10%;
  left: -3%;
  scale: 0.55;
  animation-delay: -1.1s;
}

.home h1,
.links-header h1 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.home h1 {
  margin-top: 0.75rem;
  font-size: clamp(3rem, 12vw, 5rem);
  background: linear-gradient(112deg, var(--white) 8%, var(--pink-light) 43%, var(--pink) 72%, var(--white));
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 16px rgba(255, 20, 147, 0.22));
  animation: shine 5s linear infinite;
}

.intro {
  max-width: 23rem;
  margin: 1.1rem auto 2rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.neon-button {
  display: inline-flex;
  min-width: min(100%, 19rem);
  min-height: 4.1rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border: 1px solid rgba(255, 143, 207, 0.9);
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(100deg, #b60065, var(--pink), #d20076);
  box-shadow:
    0 0 10px rgba(255, 20, 147, 0.9),
    0 0 30px rgba(255, 20, 147, 0.45),
    inset 0 1px rgba(255, 255, 255, 0.35);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.neon-button svg,
.back-link svg {
  width: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.neon-button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 14px rgba(255, 20, 147, 1),
    0 0 44px rgba(255, 20, 147, 0.62),
    inset 0 1px rgba(255, 255, 255, 0.4);
}

.official-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 1.5rem 0 0;
  color: #777075;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.official-note span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink);
}

.links-page {
  padding: 2rem 1rem 5rem;
}

.links-header {
  position: relative;
  width: min(100%, 34rem);
  margin: 0 auto;
  padding: 3.25rem 0 3rem;
  text-align: center;
}

.links-header::after {
  position: absolute;
  right: 0;
  bottom: 1.5rem;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 20, 147, 0.6), transparent);
}

.back-link {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--pink-light);
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.back-link:hover {
  border-color: var(--pink);
  background: rgba(255, 20, 147, 0.12);
  transform: translateX(-3px);
}

.links-header h1 {
  margin-top: 0.65rem;
  font-size: clamp(3.25rem, 15vw, 5rem);
}

.links-header h1 span {
  color: var(--pink);
  text-shadow: 0 0 24px rgba(255, 20, 147, 0.55);
}

.links-header > p:last-child {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.link-list {
  display: grid;
  width: min(100%, 32rem);
  gap: 2.25rem;
  margin: 0 auto;
}

.photo-card {
  position: relative;
  isolation: isolate;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.1rem;
  background: var(--black-soft);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  text-decoration: none;
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.photo-card::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  pointer-events: none;
  content: "";
  transition: border-color 250ms ease;
}

.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 700ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 350ms ease;
}

.photo-card:nth-child(1) img {
  object-position: center 28%;
}

.photo-card:nth-child(2) img {
  object-position: center 26%;
}

.photo-card:nth-child(3) img,
.photo-card:nth-child(4) img {
  object-position: center 20%;
}

.photo-card:nth-child(5) img {
  object-position: center 32%;
}

.card-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 25%, transparent 45%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.97) 0%, rgba(0, 0, 0, 0.6) 27%, transparent 58%);
}

.card-number {
  position: absolute;
  z-index: 2;
  top: 1.25rem;
  right: 1.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Oswald", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 8px #000;
}

.card-copy {
  position: absolute;
  z-index: 2;
  right: 1.4rem;
  bottom: 1.45rem;
  left: 1.4rem;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.card-copy small {
  margin-bottom: 0.45rem;
  color: var(--pink-light);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.card-copy strong {
  max-width: 95%;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 18px #000;
}

.card-action {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 600;
}

.card-action b {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  color: var(--black);
  background: var(--pink);
  font-size: 1rem;
  box-shadow: 0 0 14px rgba(255, 20, 147, 0.65);
}

.photo-card:hover {
  border-color: rgba(255, 20, 147, 0.75);
  transform: translateY(-6px);
  box-shadow: 0 22px 70px rgba(255, 20, 147, 0.16);
}

.photo-card:hover::after {
  border-color: rgba(255, 20, 147, 0.55);
}

.photo-card:hover img {
  filter: saturate(1.08) contrast(1.03);
  scale: 1.035;
}

footer {
  width: min(100%, 32rem);
  margin: 4.5rem auto 0;
  padding: 2.25rem 1rem 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

footer span {
  color: var(--pink);
  font-family: "Oswald", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.16em;
}

footer p {
  margin: 0.6rem 0 0;
  color: #746d71;
  font-size: 0.72rem;
}

a:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 5px;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.45; transform: scale(0.65) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(90deg); }
}

@keyframes shine {
  to { background-position: 220% center; }
}

@keyframes rail {
  to { background-position: 180% 0; }
}

@media (min-width: 700px) {
  .links-page {
    padding-top: 3rem;
  }

  .links-header {
    padding-top: 2.5rem;
  }
}

@media (max-width: 420px) {
  .home-page {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .links-page {
    padding-inline: 0.75rem;
  }

  .photo-card {
    border-radius: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
