:root {
  --bg: #000000;
  --surface: #0d0d0d;
  --surface-2: #161616;
  --text: #f5f5f5;
  --muted: #bcbcbc;
  --hot: #ff175a;
  --hot-2: #ff4a7e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.65;
  overflow-x: clip;
}

#kiss-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 40;
}

.kiss {
  position: absolute;
  top: 110vh;
  left: 0;
  transform: translate3d(var(--x), 0, 0);
  font-size: var(--size);
  opacity: 0;
  filter: drop-shadow(0 0 14px rgba(255, 35, 91, 0.45));
  animation: kiss-flight var(--duration) linear infinite;
  animation-delay: var(--delay);
}

@keyframes kiss-flight {
  0% {
    transform: translate3d(var(--x), 0, 0) rotate(0deg) scale(0.85);
    opacity: 0;
  }
  12% {
    opacity: var(--alpha);
  }
  100% {
    transform: translate3d(calc(var(--x) + var(--drift)), -135vh, 0) rotate(340deg) scale(1.2);
    opacity: 0;
  }
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 17, 80, 0.18), transparent 36%),
    radial-gradient(circle at 85% 80%, rgba(255, 39, 97, 0.12), transparent 35%),
    #000;
  isolation: isolate;
  padding: 2.25rem 1.2rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 70%, #000 100%);
  z-index: -1;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.09;
  background-image: radial-gradient(#ffffff 0.65px, transparent 0.65px);
  background-size: 4px 4px;
  animation: noise-shift 1.6s steps(2) infinite;
}

@keyframes noise-shift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(1px, 1px); }
  100% { transform: translate(0, 0); }
}

.hero-content {
  text-align: center;
  width: min(980px, 95vw);
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: min(980px, 93vw);
  max-height: 72svh;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(255, 39, 97, 0.22)) drop-shadow(0 0 14px rgba(90, 60, 180, 0.32));
  animation: logo-pulse 4.5s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.015); }
}

.hero-title {
  margin: 0.3rem 0 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.2rem, 8vw, 5.5rem);
  letter-spacing: 0.12em;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.24);
}

.hero-subtitle {
  margin: 0.4rem auto 1.4rem;
  max-width: 42ch;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.scroll-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.06em;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.86rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  background: rgba(255, 255, 255, 0.03);
}

.scroll-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 45, 95, 0.95);
  background: rgba(255, 45, 95, 0.2);
}

.members {
  width: min(1220px, 92vw);
  margin-inline: auto;
  padding: 5rem 0 4.8rem;
  display: grid;
  gap: 2.2rem;
}

.profile-card {
  --card-tilt-x: 0deg;
  --card-tilt-y: 0deg;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(1rem, 2vw, 2rem);
  padding: clamp(1rem, 2.4vw, 1.6rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(150deg, rgba(255, 28, 89, 0.1), transparent 50%),
    linear-gradient(330deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    var(--surface);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
  transform: perspective(1000px) rotateX(var(--card-tilt-x)) rotateY(var(--card-tilt-y));
  transition: transform 0.25s ease;
}

.profile-card:nth-child(even) {
  grid-template-columns: minmax(280px, 1.1fr) minmax(260px, 0.9fr);
}

.profile-card:nth-child(even) .photo-panel {
  order: 2;
}

.profile-card:nth-child(even) .text-panel {
  order: 1;
}

.photo-panel {
  position: relative;
}

.photo-panel::after {
  content: "";
  position: absolute;
  inset: auto 12% -10% 12%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 31, 91, 0.33), transparent 70%);
  filter: blur(16px);
  pointer-events: none;
}

.profile-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(135deg, #171717, #0e0e0e);
}

.profile-photo[data-state="placeholder"] {
  object-fit: cover;
  opacity: 0.86;
}

.text-panel h2 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  color: #fff;
}

.alias {
  margin: 0 0 0.8rem;
  color: var(--hot-2);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.text-panel p {
  margin: 0 0 0.62rem;
  color: #ececec;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.4rem 1rem 1.7rem;
  text-align: center;
  color: #9f9f9f;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(44px) scale(0.985);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 960px) {
  .members {
    width: min(620px, 93vw);
  }

  .profile-card,
  .profile-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .profile-card:nth-child(even) .photo-panel,
  .profile-card:nth-child(even) .text-panel {
    order: unset;
  }
}

@media (max-width: 620px) {
  .hero-logo {
    width: min(560px, 97vw);
  }

  .hero-title {
    letter-spacing: 0.08em;
  }

  .members {
    padding-top: 3.8rem;
  }

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