@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --love-primary: #ff6b96;
  --love-secondary: #ff8fab;
  --love-deep: #e91e63;
  --love-light: #ffeef2;
  --love-gradient: linear-gradient(135deg, #ff6b96 0%, #ff8fab 50%, #ffa8c0 100%);
  --neutral-white: #ffffff;
  --neutral-gray: #6c757d;
  --neutral-dark: #343a40;
  --shadow-soft: 0 2px 20px rgba(255, 107, 150, 0.1);
  --shadow-medium: 0 4px 30px rgba(255, 107, 150, 0.15);
  --shadow-strong: 0 8px 40px rgba(255, 107, 150, 0.2);
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #ffeef2 0%, #fff5f7 25%, #ffffff 50%, #fff9fa 75%, #ffeef2 100%);
  color: var(--neutral-dark);
  font-family: Inter, "Liberation Sans", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 107, 150, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 139, 171, 0.04) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

.dating-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 107, 150, 0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: var(--shadow-soft);
}

.dating-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.dating-logo {
  font-family: Poppins, Inter, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--love-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dating-logo svg { color: var(--love-primary); flex: 0 0 auto; }

.dating-menu { display: flex; gap: 2rem; align-items: center; }
.dating-menu a {
  color: var(--neutral-gray);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
}
.dating-menu a:hover { color: var(--love-primary); background: var(--love-light); }

.dating-container { max-width: 1200px; margin: 2rem auto 6rem; padding: 0 1.5rem; }

.dating-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.dating-stat-card,
.profile-card {
  background: var(--neutral-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 107, 150, 0.1);
}

.dating-stat-card { padding: 2rem; text-align: center; }
.dating-stat-value {
  font-family: Poppins, Inter, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--love-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}
.dating-stat-label { color: var(--neutral-gray); font-weight: 500; }

.profiles-header { text-align: center; margin-bottom: 3rem; }
.profiles-title {
  font-family: Poppins, Inter, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, #ff6b96, #ff8fab);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.profile-card { overflow: hidden; }
.profile-image {
  height: 300px;
  background: var(--love-gradient);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-fallback {
  font-family: Poppins, Inter, sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: white;
}
.profile-status, .profile-verified {
  position: absolute;
  top: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}
.profile-status { right: 1rem; }
.profile-verified { left: 1rem; background: rgba(255, 107, 150, 0.9); }
.status-online { background: rgba(40, 167, 69, 0.9); }
.status-recently_active { background: rgba(255, 193, 7, 0.9); color: #343a40; }
.profile-info { padding: 1.5rem; }
.profile-name { font-family: Poppins, Inter, sans-serif; font-size: 1.3rem; font-weight: 600; margin-bottom: 0.3rem; }
.profile-details { color: var(--neutral-gray); font-size: 0.95rem; margin-bottom: 1rem; display: flex; gap: 0.35rem; align-items: center; }
.profile-interests { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.interest-tag {
  background: var(--love-light);
  color: var(--love-deep);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}
.profile-action {
  width: 100%;
  background: var(--love-gradient);
  color: white;
  border: 0;
  border-radius: var(--border-radius);
  padding: 0.8rem;
  font-weight: 600;
}

#site-root:empty { display: none; }
#site-root { max-width: 1200px; margin: 0 auto 4rem; padding: 0 1.5rem; }
body.is-stub .dating-header,
body.is-stub .dating-container { display: none; }
body.is-stub #site-root { display: block; padding: 48px 20px; }

@media (max-width: 768px) {
  .dating-menu { display: none; }
  .dating-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .profiles-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .profile-image { height: 200px; }
  .profile-info { padding: 1rem; }
  .profiles-title { font-size: 2rem; }
}

@media (max-width: 480px) {
  .dating-stats, .profiles-grid { grid-template-columns: 1fr; }
  .profile-image { height: 250px; }
}
