:root {
  color-scheme: dark;
  --bg: #090d19;
  --panel: #111827;
  --text: #f9fafb;
  --muted: #aeb6c8;
  --pink: #ff4f89;
  --pink-bright: #ff6b9d;
  --violet: #9b6dff;
  --green: #56e39f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  padding-bottom: 86px;
  background:
    radial-gradient(circle at 18% 12%, rgba(155, 109, 255, 0.17), transparent 28rem),
    radial-gradient(circle at 82% 38%, rgba(255, 79, 137, 0.14), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.page-shell {
  width: 100%;
  min-height: 100svh;
  padding: 28px 20px 38px;
}

.hero {
  width: min(100%, 780px);
  margin: 0 auto;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--pink-bright), var(--violet));
  box-shadow: 0 8px 24px rgba(255, 79, 137, 0.26);
}

.brand-mark svg {
  width: 21px;
  fill: white;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #d8ddeb;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(10px);
}

.pulse-dot,
.online-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(86, 227, 159, 0.12);
}

h1 {
  max-width: 760px;
  margin: 18px auto 12px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.35rem, 5.3vw, 4.3rem);
  line-height: 1.01;
  letter-spacing: -0.045em;
}

h1 em {
  color: var(--pink-bright);
  font-style: italic;
}

.intro {
  max-width: 590px;
  margin: 0 auto 27px;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.7vw, 1.03rem);
  line-height: 1.6;
}

.profiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

.profile-card {
  position: relative;
  display: block;
  height: 300px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: var(--panel);
  color: white;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  isolation: isolate;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

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

.profile-card:hover {
  z-index: 3;
  border-color: rgba(255, 107, 157, 0.48);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.42), 0 0 0 4px rgba(255, 79, 137, 0.08);
  transform: translateY(-5px);
}

.profile-card:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 4px;
}

.profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 31%;
  transition: transform 650ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.profile-card:nth-child(3) img {
  object-position: center 25%;
}

.profile-card:hover img {
  transform: scale(1.035);
}

.photo-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(5, 7, 13, 0.06) 35%, rgba(5, 7, 13, 0.9) 100%);
  pointer-events: none;
}

.online-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 12, 21, 0.56);
  font-size: 0.7rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
}

.online-badge i {
  display: block;
  width: 6px;
  height: 6px;
}

.profile-info {
  position: absolute;
  right: 70px;
  bottom: 19px;
  left: 20px;
  z-index: 3;
}

.profile-info strong,
.profile-info small {
  display: block;
}

.profile-info strong {
  margin-bottom: 3px;
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.profile-info small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

.card-arrow {
  position: absolute;
  right: 18px;
  bottom: 20px;
  z-index: 3;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  transition: background 220ms ease, transform 220ms ease;
}

.card-arrow svg,
.button svg,
.privacy-note svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.profile-card:hover .card-arrow {
  background: var(--pink);
  transform: translateX(2px);
}

.actions {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 13px;
  margin-top: 19px;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: white;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(110deg, var(--pink), #ff6b76);
  box-shadow: 0 14px 32px rgba(255, 79, 137, 0.25);
}

.button-primary:hover {
  box-shadow: 0 18px 38px rgba(255, 79, 137, 0.35);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.065);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 17px 0 0;
  color: #7e879a;
  font-size: 0.72rem;
}

.privacy-note svg {
  width: 14px;
}

.redirect-notice {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding: 13px 20px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 13, 25, 0.94);
  box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
}

.redirect-message {
  margin: 0 0 9px;
  color: #d8ddeb;
  font-size: 0.82rem;
  text-align: center;
}

.redirect-message strong {
  color: var(--text);
}

.redirect-progress {
  width: min(100%, 780px);
  height: 6px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.redirect-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--violet));
  box-shadow: 0 0 16px rgba(255, 79, 137, 0.5);
  transform-origin: left center;
  animation: redirect-progress 5s linear forwards;
}

@keyframes redirect-progress {
  to {
    transform: scaleX(0);
  }
}

@media (max-width: 600px) {
  .page-shell {
    padding: 19px 13px 28px;
  }

  .brand {
    margin-bottom: 19px;
  }

  h1 {
    margin-top: 15px;
    font-size: clamp(2.25rem, 12vw, 3.15rem);
  }

  h1 br {
    display: none;
  }

  .intro {
    max-width: 33rem;
    margin-bottom: 22px;
    line-height: 1.5;
  }

  .profiles {
    gap: 10px;
  }

  .profile-card {
    height: 260px;
  }

  .profile-card {
    border-radius: 16px;
  }

  .online-badge {
    top: 10px;
    left: 10px;
    padding: 6px 8px;
    font-size: 0.62rem;
  }

  .profile-info {
    right: 47px;
    bottom: 14px;
    left: 13px;
  }

  .profile-info strong {
    font-size: 1.08rem;
  }

  .profile-info small {
    font-size: 0.66rem;
  }

  .card-arrow {
    right: 10px;
    bottom: 13px;
    width: 31px;
    height: 31px;
  }

  .card-arrow svg {
    width: 15px;
  }

  .actions {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
  }

  .button {
    min-height: 54px;
  }

  .redirect-notice {
    padding: 11px 13px 14px;
  }
}

@media (max-width: 380px) {
  .profiles {
    grid-template-columns: 1fr;
  }

  .profile-card {
    height: 390px;
  }
}

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