:root {
  --primary: #e11d48;
  --primary-hover: #f43f5e;
  --bg-dark: #0c0c0f;
  --bg-elevated: #131318;
  --bg-card: #18181f;
  --text-main: #f4f4f6;
  --text-muted: #9ca3af;
  --border-subtle: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

body.dark-lounge {
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

h1, h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.3px;
}

/* Clean Top Navigation */
nav {
  background: rgba(12, 12, 15, 0.9);
  backdrop-filter: blur(12px);
  padding: 1.15rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.94rem;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-badge span {
  display: inline-block;
  margin-left: 5px;
  color: #fda4af;
  font-weight: 700;
}

/* Main Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Minimal Page Intro */
.page-intro {
  padding: 2.75rem 0 1.5rem;
  max-width: 620px;
}

.page-intro h1 {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 10px;
}

.page-intro p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Blended Dark-Editorial Hero & Outlined Drop-Shadow Typography */
.pop-hero {
  background: linear-gradient(135deg, #24111a 0%, #141219 55%, #0c0c0f 100%);
  color: #ffffff;
  padding: 3.5rem 0 2.5rem;
  margin-bottom: 2rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.pop-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
}

.pop-hero-copy {
  padding-bottom: 0.5rem;
}

.crazy-headline {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2.4rem, 4.8vw, 3.9rem);
  line-height: 1.03;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: #ffffff;
  -webkit-text-stroke: 1.5px #0c0c0f;
  text-shadow: 4px 4px 0px var(--primary);
  margin-bottom: 1.15rem;
}

.pop-lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: #d4d4d8;
  max-width: 470px;
  line-height: 1.55;
  margin-bottom: 1.65rem;
}

.btn-chunky {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.15s ease, background 0.2s ease;
}

.btn-chunky:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.pop-hero-visual {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  max-height: 410px;
  border: 1px solid var(--border-subtle);
}

.pop-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 12, 15, 0.65), transparent 45%);
  pointer-events: none;
}

.pop-hero-visual img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

@media (max-width: 820px) {
  .pop-hero-grid {
    grid-template-columns: 1fr;
  }

  .pop-hero-visual,
  .pop-hero-visual img {
    height: 340px;
  }
}

/* Tonight's Picks Spotlight Modal */
.spotlight-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 9, 0.84);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}

.spotlight-backdrop.hidden {
  display: none;
}

.spotlight-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  max-width: 760px;
  width: 100%;
  display: grid;
  grid-template-columns: 300px 1fr;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.spotlight-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 12, 15, 0.8);
  color: #ffffff;
  cursor: pointer;
  z-index: 5;
}

.spotlight-photo-wrap img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.spotlight-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.spotlight-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fda4af;
  margin-bottom: 6px;
}

.spotlight-body h2 {
  font-size: 1.75rem;
  margin-bottom: 4px;
}

.spotlight-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.spotlight-bio {
  color: #d4d4d8;
  font-size: 0.94rem;
  margin-bottom: 16px;
}

.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

@media (max-width: 680px) {
  .spotlight-card {
    grid-template-columns: 1fr;
  }

  .spotlight-photo-wrap img {
    height: 300px;
    min-height: 0;
  }
}

/* Clean Underline Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2.25rem;
  overflow-x: auto;
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 2px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.tab-btn:hover {
  color: #ffffff;
}

.tab-btn.active {
  color: #ffffff;
  border-bottom-color: var(--primary);
}

/* Profile Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 4.5rem;
}

/* Uncluttered Photo-First Card */
.card {
  background: var(--bg-card);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.card-img-wrap {
  height: 410px;
  overflow: hidden;
  background: #09090b;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.card:hover .card-img-wrap img {
  transform: scale(1.03);
}

.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-identity {
  margin-bottom: 12px;
}

.card-identity h3 {
  font-size: 1.32rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.subtitle {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.bio-preview {
  color: #d4d4d8;
  font-size: 0.94rem;
  margin-bottom: 16px;
}

.prompt-box {
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid var(--primary);
  padding: 10px 14px;
  margin-top: auto;
  margin-bottom: 20px;
}

.prompt-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.prompt-text {
  font-size: 0.92rem;
  color: #f4f4f6;
}

/* Card Actions */
.card-actions {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 11px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  flex: 1;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-liked {
  background: #27272a;
  color: #fda4af;
  border: 1px solid rgba(225, 29, 72, 0.4);
}

.btn-outline {
  background: transparent;
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Grounded First-Date Ideas Strip */
.date-strip {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 4rem 0;
}

.strip-head {
  margin-bottom: 2rem;
}

.strip-head h2 {
  font-size: 1.75rem;
  margin-bottom: 4px;
}

.strip-head p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.ideas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.idea-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
}

.idea-card h3 {
  font-size: 1.08rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.idea-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Single Profile Detail (profile.html) */
.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  margin: 2.5rem 0 4rem;
}

.detail-gallery {
  width: 100%;
  max-width: 460px;
  background: #09090b;
}

.detail-gallery > img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.thumb-row {
  display: flex;
  gap: 10px;
  padding: 12px;
}

.photo-thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  opacity: 0.65;
  transition: opacity 0.2s, border-color 0.2s;
}

.photo-thumb.active,
.photo-thumb:hover {
  opacity: 1;
  border-color: var(--primary);
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info {
  padding: 36px;
  flex: 1;
  min-width: 300px;
}

.detail-info h1 {
  font-size: 2.1rem;
  margin-bottom: 4px;
}

.full-bio {
  margin: 16px 0 22px;
  color: #e4e4e7;
  font-size: 0.98rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.tag {
  background: rgba(255, 255, 255, 0.06);
  color: #e4e4e7;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 500;
}

.empty-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-muted);
}

/* Minimal Footer */
.site-footer {
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
}

@media (max-width: 640px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .card-img-wrap {
    height: 360px;
  }
}