﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Roboto:wght@400;500;700;900&family=Poppins:wght@400;500;600;700&display=swap');

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

:root {
  --bg: #13141a;
  --bg2: #181a22;
  --card: rgba(90, 73, 202, 0.06);
  --card-border: rgba(90, 73, 202, 0.18);
  --card-hover: rgba(90, 73, 202, 0.12);
  --accent: #5A49CA;
  --accent2: #4148D5;
  --accent-glow: rgba(90, 73, 202, 0.45);
  --blue: #5474F0;
  --blue-glow: rgba(84, 116, 240, 0.35);
  --lavender: #9F9EDA;
  --green: #61CE70;
  --white: #fff;
  --gray: #7A7A7A;
  --gray2: #54595F;
  --light: #ccc;
  --radius: 10px;
  --font: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Montserrat', 'Roboto', sans-serif;
  --font-nav: 'Poppins', 'Roboto', sans-serif;
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.hidden {
  display: none !important
}

/* -- TOP BAR -- */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(24, 26, 26, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
}

.top-bar .logo {
  height: 28px;
  width: auto
}

.online-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 600;
  color: var(--light);
}

.online-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: dotPulse 1.6s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1) }
  50% { opacity: .5; transform: scale(.85) }
}

/* ============ QUIZ ============ */

.progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  transition: width .5s ease;
}

.quiz-step {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px 80px;
  min-height: calc(100vh - 56px);
  justify-content: center;
  animation: fadeUp .4s ease;
}

.quiz-step.active { display: flex }
.quiz-step.done { display: none }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px) }
  to { opacity: 1; transform: translateY(0) }
}

.age-tag {
  display: inline-block;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 20px;
  letter-spacing: .5px;
}

.quiz-step h1 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.quiz-step h1 em {
  font-style: normal;
  color: var(--lavender)
}

.quiz-sub {
  font-size: clamp(14px, 2.5vw, 17px);
  color: var(--gray);
  line-height: 1.55;
  max-width: 480px;
  margin: 0 auto 32px;
  font-weight: 300;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 400px;
}

.quiz-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  padding: 18px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s ease;
  outline: none;
}

.quiz-opt:hover {
  border-color: rgba(84, 116, 240, .5);
  background: rgba(90, 73, 202, .1);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(90, 73, 202, .15);
}

.quiz-opt.selected {
  border-color: var(--blue);
  background: rgba(84, 116, 240, .18);
  transform: scale(.97);
}

.quiz-options-grid {
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 440px;
  justify-content: center;
}

.quiz-opt-sm {
  flex: 0 0 calc(50% - 6px);
  font-size: 14px;
  padding: 14px 16px;
}

/* -- LOADING -- */
.loading-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, .1);
  border-top: 4px solid var(--blue);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg) } }

.loading-wrap h2 {
  font-family: var(--font-heading);
  font-size: clamp(18px, 4vw, 26px);
  font-weight: 700;
}

.loading-status {
  color: var(--gray);
  font-size: 14px;
  font-weight: 300;
  animation: statusFade .5s ease;
}

@keyframes statusFade { from { opacity: 0 } to { opacity: 1 } }

/* ============ RESULTS ============ */

.result-hero {
  text-align: center;
  padding: 50px 20px 36px;
  background: linear-gradient(180deg, #1e1a3a 0%, var(--bg) 100%);
  animation: fadeUp .5s ease;
}

.result-check {
  font-size: 48px;
  margin-bottom: 16px;
}

.result-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 5vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.result-hero h1 em {
  font-style: normal;
  color: var(--lavender)
}

.result-sub {
  font-size: clamp(14px, 2.5vw, 17px);
  color: var(--gray);
  line-height: 1.55;
  max-width: 520px;
  margin: 0 auto 28px;
  font-weight: 300;
}

.photos-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 12px 16px;
  margin: 0 auto 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(90, 73, 202, .45);
  background: rgba(90, 73, 202, .14);
  color: var(--white);
  font-size: clamp(14px, 2.2vw, 17px);
  font-weight: 700;
  line-height: 1.35;
}

.hero-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--light);
  font-weight: 500;
}

.hero-perks span {
  display: flex;
  align-items: center;
  gap: 5px
}

/* -- LIVE BAR -- */
.live-bar {
  display: block;
  padding: 12px 20px;
  background: linear-gradient(90deg, rgba(90, 73, 202, .12), rgba(84, 116, 240, .04));
  border-bottom: 1px solid rgba(90, 73, 202, .15);
  font-size: 14px;
  color: var(--light);
  font-weight: 500;
  text-align: center;
  line-height: 1.45;
}

.live-bar strong {
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
}

/* -- MEMBER FEATURES -- */
.feature-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 16px 10px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

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

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 14px 14px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(84, 116, 240, .45);
  background: var(--card-hover);
}

.feature-card strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}

.feature-card span {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.45;
  font-weight: 300;
}

/* -- PROFILE GRID -- */
.profiles-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 16px 12px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

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

.profile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  opacity: 0;
  transform: translateY(16px) scale(.97);
  animation: cardIn .45s ease forwards;
}

.profile-card:nth-child(1) { animation-delay: .2s }
.profile-card:nth-child(2) { animation-delay: .35s }
.profile-card:nth-child(3) { animation-delay: .5s }
.profile-card:nth-child(4) { animation-delay: .65s }
.profile-card:nth-child(5) { animation-delay: .8s }
.profile-card:nth-child(6) { animation-delay: .95s }

@keyframes cardIn { to { opacity: 1; transform: translateY(0) scale(1) } }

.profile-card:hover {
  transform: translateY(-3px);
  border-color: rgba(84, 116, 240, .45);
  box-shadow: 0 8px 24px rgba(90, 73, 202, .2);
}

.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  background: #1a1a1a;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(12px) brightness(.7);
  transform: scale(1.15);
}

.card-online {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  border: 2px solid rgba(0, 0, 0, .5);
  z-index: 2;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .85) 100%);
  z-index: 1;
}

.card-lock {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.card-lock-icon {
  width: 36px;
  height: 36px;
  background: rgba(90, 73, 202, .85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  backdrop-filter: blur(4px);
}

.card-info {
  padding: 12px 14px 14px;
  position: relative;
  z-index: 2
}

.card-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.card-loc {
  font-size: 12px;
  color: var(--lavender);
  font-weight: 600
}

.card-status {
  font-size: 11px;
  color: var(--gray);
  margin-top: 4px
}

.more-profiles {
  text-align: center;
  padding: 20px 16px 0;
  max-width: 640px;
  margin: 0 auto
}

.more-profiles p {
  font-size: 14px;
  color: var(--gray);
  font-weight: 500
}

.more-profiles strong { color: var(--white) }

/* -- CTA -- */
.cta-section {
  text-align: center;
  padding: 36px 20px 40px;
  background: linear-gradient(180deg, var(--bg) 0%, #1e1a3a 100%);
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-section h2 em {
  font-style: normal;
  color: var(--lavender)
}

.cta-sub {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 28px;
  line-height: 1.5;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(17px, 3vw, 22px);
  font-weight: 800;
  text-decoration: none;
  padding: 18px 48px;
  border-radius: 30px;
  box-shadow: 0 0 30px var(--accent-glow);
  text-shadow: 0px 0px 10px rgba(0,0,0,0.3);
  transition: all .25s ease;
  animation: ctaPulse 2.2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .15), transparent);
  animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
  0% { left: -100% }
  50% { left: 100% }
  100% { left: 100% }
}

.cta-btn::after {
  content: '→';
  font-size: 1.1em;
  transition: transform .25s ease
}

.cta-btn:hover {
  background: linear-gradient(180deg, #6a59da, #5158e5);
  box-shadow: 0 0 40px rgba(90, 73, 202, .65);
  transform: scale(1.04);
}

.cta-btn:hover::after { transform: translateX(5px) }

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 20px var(--accent-glow) }
  50% { box-shadow: 0 0 40px rgba(90, 73, 202, .6) }
}

/* -- TRUST -- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 28px 20px;
  border-top: 1px solid var(--card-border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
}

.trust-item .ti { font-size: 18px }

/* -- BOTTOM BAR -- */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 16px;
  background: rgba(24, 26, 26, .94);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(90, 73, 202, .25);
}

.bottom-bar .bb-text {
  font-size: 13px;
  color: var(--light);
  font-weight: 500;
  display: none;
}

@media(min-width:500px) {
  .bottom-bar .bb-text { display: block }
}

.bb-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 30px;
  box-shadow: 0 0 20px var(--accent-glow);
  text-shadow: 0px 0px 10px rgba(0,0,0,0.3);
  transition: all .2s;
  animation: bbShake 3.5s ease-in-out infinite;
}

.bb-cta:hover {
  background: linear-gradient(180deg, #6a59da, #5158e5);
  box-shadow: 0 0 28px rgba(90, 73, 202, .65)
}

.bb-cta::after {
  content: '→';
  transition: transform .2s
}

.bb-cta:hover::after { transform: translateX(4px) }

@keyframes bbShake {
  0%, 70%, 100% { transform: translateX(0) }
  74% { transform: translateX(-5px) }
  78% { transform: translateX(5px) }
  82% { transform: translateX(-3px) }
  86% { transform: translateX(3px) }
  90% { transform: translateX(0) }
}

/* -- FOOTER -- */
.lp-footer {
  text-align: center;
  padding: 20px 20px 80px;
  background: var(--bg);
  font-size: 11px;
  color: #555;
}

.lp-footer a {
  color: #888;
  text-decoration: none;
  margin: 0 6px
}

.lp-footer a:hover { color: var(--lavender) }

/* -- RESPONSIVE -- */
@media(max-width:480px) {
  .top-bar { padding: 10px 14px }
  .quiz-step { padding: 40px 16px 60px }
  .quiz-opt { font-size: 15px; padding: 16px 20px }
  .quiz-opt-sm { font-size: 13px; padding: 12px 14px }
  .result-hero { padding: 36px 16px 28px }
  .live-bar { padding: 10px 14px; font-size: 13px; }
  .cta-btn { padding: 16px 36px; font-size: 16px }
}
  transform: translateX(-3px)
  }

  86% {
    transform: translateX(3px)
  }

  90% {
    transform: translateX(0)
  }
}

/* ── FOOTER ── */
.lp-footer {
  text-align: center;
  padding: 20px 20px 80px;
  font-size: 11px;
  color: #444;
}

.lp-footer a {
  color: #666;
  text-decoration: none;
  margin: 0 6px
}

.lp-footer a:hover {
  color: #999
}

/* ── RESPONSIVE ── */
@media(max-width:480px) {
  .top-bar {
    padding: 10px 14px
  }

  .quiz-step {
    padding: 40px 16px 60px
  }

  .quiz-opt {
    font-size: 15px;
    padding: 16px 20px
  }

  .quiz-opt-sm {
    font-size: 13px;
    padding: 12px 14px
  }

  .result-hero {
    padding: 36px 16px 28px
  }

  .live-bar {
    padding: 10px 14px;
    font-size: 13px;
  }

  .cta-btn {
    padding: 16px 36px;
    font-size: 16px
  }
}