/* Velvet After Dark — static lander */
:root {
  --void: #080808;
  --graphite: #121212;
  --crimson: #5b0a1a;
  --neon: #ff1744;
  --luxpink: #ff4d8d;
  --luxpurple: #7b2eff;
  --softviolet: #a855f7;
  --text: rgba(255, 255, 255, 0.88);
  --muted: rgba(255, 255, 255, 0.52);
  --glass: rgba(18, 18, 18, 0.58);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 1.5rem;
  --radius-lg: 1.75rem;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--void);
  overflow-x: hidden;
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 120% 80% at 20% 15%, rgba(123, 46, 255, 0.35), transparent 50%),
    radial-gradient(ellipse 100% 60% at 85% 55%, rgba(255, 23, 68, 0.2), transparent 45%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(91, 10, 26, 0.55), transparent 55%),
    var(--void);
}

.bg-fade {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 0%, var(--void) 55%, var(--void) 100%);
  pointer-events: none;
}

.wrap {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 8, 8, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: #fff;
}

.logo span.gradient {
  background: linear-gradient(90deg, var(--luxpink), var(--neon), var(--luxpurple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--luxpink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--crimson), var(--neon), var(--luxpink));
  box-shadow: 0 0 32px -8px rgba(255, 77, 141, 0.55);
}

.btn-primary:hover {
  box-shadow: 0 0 40px -4px rgba(123, 46, 255, 0.45);
  transform: scale(1.02);
}

.btn-ghost {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: rgba(255, 77, 141, 0.12);
  border-color: rgba(255, 77, 141, 0.35);
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 0.9375rem;
  border-radius: var(--radius-lg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem 1.25rem 4rem;
  text-align: center;
}

.hero-visual {
  position: absolute;
  inset: 0;
  top: 4rem;
  max-width: 56rem;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  z-index: 0;
}

.hero-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 3px;
  width: 100%;
  height: 100%;
  min-height: 50vh;
  background: var(--void);
}

.hero-collage-cell {
  overflow: hidden;
  min-height: 0;
}

.hero-collage-cell img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 14vh;
  object-fit: cover;
  object-position: center;
  opacity: 0.65;
}

@media (min-width: 768px) {
  .hero-collage-cell img {
    min-height: 16vh;
  }
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, var(--void) 100%),
    linear-gradient(90deg, rgba(91, 10, 26, 0.45), transparent 50%, rgba(123, 46, 255, 0.25));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 0.95rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff6ba3;
  border: 1px solid rgba(255, 120, 170, 0.95);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 90, 140, 0.28) 0%, rgba(20, 12, 18, 0.92) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45) inset,
    0 2px 16px rgba(255, 40, 100, 0.35),
    0 0 28px rgba(255, 77, 141, 0.22);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  text-align: center;
}

.section-title .gradient {
  background: linear-gradient(90deg, var(--luxpink), var(--luxpurple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-sub {
  margin: 0 auto 2.5rem;
  max-width: 28rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
}

/* Grid steps */
.grid-3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  padding: 1.5rem;
}

.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--luxpurple);
  letter-spacing: 0.1em;
}

.step h3 {
  margin: 0.75rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.step p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Profile cards */
.grid-profiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-profiles {
    grid-template-columns: repeat(4, 1fr);
  }
}

.profile-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(18, 18, 18, 0.5);
  transition: transform 0.25s, box-shadow 0.25s;
}

.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(123, 46, 255, 0.25);
}

.profile-card .ph {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

/* Карусель фото в анкете (3 снимка) */
.profile-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.profile-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.profile-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.profile-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.profile-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 8;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 0.35rem;
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(8, 8, 8, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s, background 0.2s, color 0.2s;
}

.profile-carousel:hover .profile-carousel-btn,
.profile-carousel-btn:focus {
  opacity: 0.95;
}

.profile-carousel-btn:hover {
  background: rgba(255, 77, 141, 0.22);
  color: #fff;
}

.profile-carousel-btn--prev {
  left: 0.35rem;
}

.profile-carousel-btn--next {
  right: 0.35rem;
}

.profile-carousel-dots {
  position: absolute;
  bottom: 3.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  display: flex;
  gap: 0.35rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.profile-carousel-dot {
  width: 0.35rem;
  height: 0.35rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, width 0.2s;
}

.profile-carousel-dot.is-active {
  background: var(--luxpink);
  box-shadow: 0 0 8px rgba(255, 77, 141, 0.6);
  transform: scale(1.15);
}

.profile-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.65);
}

.profile-card .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 40%, var(--void) 100%);
}

.online {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 0.65rem;
  height: 0.65rem;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.85);
  z-index: 12;
  animation: online-pulse 1.5s ease-in-out infinite;
}

@keyframes online-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow:
      0 0 8px rgba(34, 197, 94, 0.95),
      0 0 0 0 rgba(34, 197, 94, 0.45);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.05);
    box-shadow:
      0 0 16px rgba(52, 211, 153, 0.9),
      0 0 0 5px rgba(34, 197, 94, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .online {
    animation: none;
    opacity: 1;
    transform: none;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.75);
  }
}

.profile-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  z-index: 9;
  pointer-events: none;
}

.profile-meta strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.profile-meta span {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.profile-bio {
  margin: 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid var(--border);
  background: rgba(14, 14, 14, 0.92);
}

.profile-bio-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.4rem;
}

.profile-actions {
  padding: 0.75rem;
  border-top: 1px solid var(--border);
}

.profile-actions button {
  width: 100%;
  padding: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--luxpink);
  background: rgba(255, 77, 141, 0.1);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

.profile-actions button:hover {
  background: rgba(255, 77, 141, 0.18);
}

/* Benefits */
.grid-ben {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-ben {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-ben {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ben {
  padding: 1.25rem;
}

.ben-bar {
  width: 2.5rem;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--neon), var(--luxpurple));
  margin-bottom: 0.75rem;
}

.ben h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.ben p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Quotes */
.grid-q {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .grid-q {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quote {
  padding: 1.5rem;
}

.quote p {
  margin: 0;
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--softviolet);
}

/* Premium band */
.premium {
  margin: 0 1.25rem;
  padding: 2.5rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(123, 46, 255, 0.35);
  background: linear-gradient(135deg, rgba(91, 10, 26, 0.35), var(--graphite), rgba(123, 46, 255, 0.2));
  position: relative;
  overflow: hidden;
}

.premium::before {
  content: "";
  position: absolute;
  right: -20%;
  top: -30%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 77, 141, 0.2), transparent 70%);
  pointer-events: none;
}

.premium-inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.premium h2 {
  margin: 0.5rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.premium ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.premium li::before {
  content: "✦ ";
  color: var(--luxpink);
}

/* Footer */
footer {
  padding: 3rem 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

footer a {
  color: var(--luxpink);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Модальное окно входа (Telegram) */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.auth-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  margin: 0;
  padding: 2.25rem 1.75rem 1.75rem;
  border-radius: var(--radius-lg);
  animation: auth-modal-in 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes auth-modal-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.auth-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  font-size: 1.35rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.auth-modal-close:hover {
  color: #fff;
  background: rgba(255, 77, 141, 0.2);
}

.auth-modal-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.auth-modal-tg-logo {
  display: block;
  filter: drop-shadow(0 3px 10px rgba(34, 158, 217, 0.4));
}

.auth-modal-title {
  margin: 0 2rem 0.75rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: center;
}

.auth-modal-desc {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.auth-modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-modal-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

.auth-modal-input {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s;
}

.auth-modal-input:focus {
  outline: none;
  border-color: rgba(255, 77, 141, 0.45);
  background: rgba(255, 255, 255, 0.09);
}

.auth-modal-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.auth-modal-step2 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
}

.auth-modal-step2[hidden] {
  display: none;
}

.auth-modal-submit {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  border: none;
  cursor: pointer;
  font: inherit;
}

body.auth-modal-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .auth-modal-panel {
    animation: none;
  }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.center-cta {
  text-align: center;
  margin-top: 2rem;
}
