/*
 * No Crumbs — Design System v3
 * Inspired by: Luma event cards, Airbnb listing pages, Partiful social energy
 * Font: Plus Jakarta Sans · Color: deep orange on warm neutral
 */

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: #000;
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-2: #f3f3f1;
  --border: #e5e5e0;
  --border-strong: #cbcbc6;

  --brand: #ff4500;
  --brand-hover: #e53d00;
  --brand-light: #fff3ef;
  --brand-muted: rgba(255, 69, 0, 0.1);

  --text: #111827;
  --text-2: #4b5563;
  --muted: #9ca3af;
  --muted-light: #d1d5db;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-h: 60px;
  --radius-card: 14px;
  --radius: 10px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --t: 0.15s ease;
  --t-up: 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.09), 0 1px 6px rgba(0, 0, 0, 0.05);
  --shadow-hover:
    0 8px 40px rgba(0, 0, 0, 0.13), 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-brand: 0 4px 20px rgba(255, 69, 0, 0.32);
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── NAV ── */
.nc-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  padding: 0 1.75rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nc-nav-left {
  display: flex;
  align-items: center;
}
.nc-nav-mid {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nc-nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.nc-brand {
  display: flex;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.4px;
  transition: opacity var(--t);
}

.nc-brand span {
  color: var(--brand);
}
.nc-brand:hover {
  opacity: 0.72;
  color: var(--text);
}

.nc-nav-link {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition:
    color var(--t),
    background var(--t);
  white-space: nowrap;
}

.nc-nav-link:hover {
  color: var(--text);
  background: var(--surface-2);
}

.nc-nav-link-active {
  color: var(--text) !important;
  background: var(--surface-2);
}

.nc-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-2);
  text-decoration: none;
  font-size: 1.375rem;
  transition:
    color var(--t),
    background var(--t);
}

.nc-nav-icon:hover {
  color: var(--text);
  background: var(--surface-2);
}

.nc-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--brand);
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  transition:
    background var(--t),
    transform var(--t-up),
    box-shadow var(--t);
  white-space: nowrap;
  font-family: var(--font);
}

.nc-nav-cta:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-brand);
}

/* ── LAYOUT ── */
.nc-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.75rem;
}

/* ── FLASH ── */
.nc-flash {
  position: fixed;
  top: calc(var(--nav-h) + 14px);
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  max-width: calc(100% - 2rem);
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  border-radius: var(--radius-pill);
  padding: 11px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  animation: fadeUp 0.3s ease both;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.nc-flash.nc-flash-hide {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.nc-flash-alert {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

/* ── FEED HEADER ── */
.feed-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.feed-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  margin: 0 0 2px;
}

.feed-subtitle {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
}

/* ── COVER GRADIENTS ── */
/* Meal cards: consistent brand orange */
.gc-meal {
  background: linear-gradient(135deg, #ff8a4c 0%, #ff4500 60%, #d93a00 100%);
}

/* User cards: 8 variants by ID */
.gc-0 {
  background: linear-gradient(135deg, #ff6b35 0%, #ffb347 100%);
}
.gc-1 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.gc-2 {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}
.gc-3 {
  background: linear-gradient(135deg, #fc466b 0%, #3f5efb 100%);
}
.gc-4 {
  background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
}
.gc-5 {
  background: linear-gradient(135deg, #4776e6 0%, #8e54e9 100%);
}
.gc-6 {
  background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%);
}
.gc-7 {
  background: linear-gradient(135deg, #cc2b5e 0%, #753a88 100%);
}

/* ── MEAL CARDS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.meal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition:
    transform var(--t),
    box-shadow var(--t),
    border-color var(--t);
  animation: fadeUp 0.38s ease both;
}

.meal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

/* Gradient cover area — acts as the "photo" */
.meal-cover {
  height: 156px;
  position: relative;
  flex-shrink: 0;
}

/* Frosted date chip on the cover */
.meal-cover-date {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  text-align: center;
  min-width: 46px;
}

.meal-cover-date .day {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.meal-cover-date .mon {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 2px;
}

.meal-card-body {
  padding: 14px 16px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meal-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meal-card-when {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-2);
  font-size: 0.8125rem;
  font-weight: 500;
}

.meal-card-desc {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.meal-card-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.meal-host-link {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none !important;
  min-width: 0;
}

.meal-host-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--t);
}

.meal-host-link:hover .meal-host-name {
  color: var(--brand);
}

/* Staggered entrance */
.col:nth-child(1) .meal-card,
.col:nth-child(1) .user-card {
  animation-delay: 0.04s;
}
.col:nth-child(2) .meal-card,
.col:nth-child(2) .user-card {
  animation-delay: 0.09s;
}
.col:nth-child(3) .meal-card,
.col:nth-child(3) .user-card {
  animation-delay: 0.14s;
}
.col:nth-child(4) .meal-card,
.col:nth-child(4) .user-card {
  animation-delay: 0.18s;
}
.col:nth-child(5) .meal-card,
.col:nth-child(5) .user-card {
  animation-delay: 0.22s;
}
.col:nth-child(6) .meal-card,
.col:nth-child(6) .user-card {
  animation-delay: 0.26s;
}

/* ── USER CARDS (cover strip + overlapping avatar) ── */
.user-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition:
    transform var(--t),
    box-shadow var(--t),
    border-color var(--t);
  animation: fadeUp 0.38s ease both;
}

.user-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.user-cover {
  height: 64px;
  flex-shrink: 0;
}

.user-card-body {
  padding: 0 16px 14px;
  flex: 1;
}

.user-avatar-offset {
  margin-top: -22px;
  margin-bottom: 10px;
}

.user-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
  margin: 0 0 2px;
}

.user-card-email {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 8px;
}

.user-card-bio {
  font-size: 0.8375rem;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.user-card-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border);
}

/* ── AVATARS ── */
.avatar {
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8a4c 0%, #ff4500 100%);
  color: #fff;
  font-weight: 800;
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  flex-shrink: 0;
  border: 2.5px solid var(--surface);
}

.avatar-xs {
  width: 24px;
  height: 24px;
  font-size: 0.55rem;
}
.avatar-sm {
  width: 30px;
  height: 30px;
  font-size: 0.68rem;
}
.avatar-md {
  width: 48px;
  height: 48px;
  font-size: 1rem;
}
.avatar-lg {
  width: 64px;
  height: 64px;
  font-size: 1.35rem;
}
.avatar-xl {
  width: 84px;
  height: 84px;
  font-size: 1.8rem;
  border-width: 3px;
}

/* ── TAGS / PILLS ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
}

.tag-brand {
  background: var(--brand-light);
  color: var(--brand);
}

.tag-neutral {
  background: var(--surface-2);
  color: var(--text-2);
  border: 1px solid var(--border);
}

/* ── BUTTONS ── */
.btn-nc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--text);
  color: #fff !important;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition:
    background var(--t),
    transform var(--t-up),
    box-shadow var(--t);
  white-space: nowrap;
}

.btn-nc:hover {
  background: #2d2d2d;
  color: #fff !important;
  transform: translateY(-1px);
}

.btn-brand-nc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand);
  color: #fff !important;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition:
    background var(--t),
    transform var(--t-up),
    box-shadow var(--t);
  white-space: nowrap;
}

.btn-brand-nc:hover {
  background: var(--brand-hover);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-brand);
}

.btn-outline-nc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  color: var(--text-2) !important;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  cursor: pointer;
  text-decoration: none !important;
  transition: all var(--t);
  white-space: nowrap;
}

.btn-outline-nc:hover {
  color: var(--text) !important;
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.btn-sm-nc {
  padding: 6px 13px;
  font-size: 0.8125rem;
}

.btn-danger-nc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #dc2626 !important;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #fecaca;
  cursor: pointer;
  text-decoration: none !important;
  transition: all var(--t);
  white-space: nowrap;
}

.btn-danger-nc:hover {
  background: #fef2f2;
  border-color: #f87171;
}

input[type="submit"].btn-nc,
input[type="submit"].btn-brand-nc,
input[type="submit"].btn-outline-nc {
  display: inline-block;
  cursor: pointer;
}

/* ── DETAIL COVER (meal / event hero) ── */
.detail-cover {
  height: 240px;
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-end;
}

.detail-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.08) 55%,
    transparent 100%
  );
}

.detail-cover-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem 1.75rem;
  width: 100%;
}

.detail-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.detail-title {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: #fff;
  margin: 0;
}

.detail-time-row {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ── CONTENT CARDS (on detail pages) ── */
.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.content-card-header {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.content-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  margin: 0;
}

.content-card-body {
  padding: 16px 18px;
}

/* ── PROFILE PAGE ── */
.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.profile-cover {
  height: 120px;
}

.profile-card-body {
  padding: 0 1.75rem 1.25rem;
}

.profile-avatar-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: -32px;
  margin-bottom: 12px;
}

.profile-actions {
  display: flex;
  gap: 8px;
  padding-bottom: 4px;
}

.profile-username {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text);
  margin: 0 0 3px;
}

.profile-email {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.profile-bio {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
}

.profile-stats-bar {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  padding: 0 1.75rem;
}

.profile-stat {
  padding: 14px 20px 14px 0;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.profile-stat-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}

.profile-stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

/* ── TABLE ── */
.nc-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.nc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.nc-table thead th {
  padding: 10px 18px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  text-align: left;
  background: var(--surface-2);
}

.nc-table tbody td {
  padding: 13px 18px;
  color: var(--text-2);
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
}

.nc-table tbody td:first-child {
  font-weight: 600;
  color: var(--text);
}

.nc-table tbody tr:last-child td {
  border-bottom: none;
}
.nc-table tbody tr {
  transition: background var(--t);
}
.nc-table tbody tr:hover {
  background: var(--surface-2);
}

.nc-table-muted tbody td {
  color: var(--muted) !important;
}
.nc-table-muted tbody td:first-child {
  color: var(--text-2) !important;
}

.user-table-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  transition: color var(--t);
}

.user-table-link:hover {
  color: var(--text-2);
}

/* ── LOCKED MEALS ── */
.locked-meals {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.locked-meals i {
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── FORMS ── */
.form-wrap {
  max-width: 560px;
}

.form-page-title {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text);
  margin: 0 0 4px;
}

.form-page-sub {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 1.75rem;
}

/* Bootstrap overrides — form labels */
.form-label {
  font-family: var(--font) !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  margin-bottom: 6px !important;
}

/* Bootstrap overrides — inputs */
.form-control,
.form-select {
  background: var(--surface) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  font-family: var(--font) !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  color: var(--text) !important;
  padding: 10px 14px !important;
  box-shadow: none !important;
  transition:
    border-color var(--t),
    box-shadow var(--t) !important;
}

.form-control::placeholder {
  color: var(--muted-light) !important;
  font-weight: 400 !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--text) !important;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.07) !important;
  background: var(--surface) !important;
  outline: none !important;
}

.form-select option {
  background: var(--surface);
  color: var(--text);
}

/* Bootstrap override — alert */
.alert-danger {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #991b1b !important;
  border-radius: var(--radius) !important;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ── EMPTY STATE ── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 2rem;
}

.empty-icon {
  font-size: 2.25rem;
  margin-bottom: 14px;
  line-height: 1;
}

.empty-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 5px;
}

.empty-sub {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 1.5rem;
  max-width: 320px;
}

/* ── SECTION HEADER ── */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.section-label:first-of-type {
  margin-top: 0;
}

/* ── HOME PAGE ── */
.home-hero {
  text-align: center;
  padding: 5rem 1rem 3.5rem;
}

.home-hero-inner {
  max-width: 560px;
  margin: 0 auto;
}

.home-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand);
  margin: 0 0 1rem;
}

.home-headline {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.home-headline span {
  color: var(--brand);
}

.home-sub {
  font-size: 1.0625rem;
  color: var(--text-2);
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 2rem;
}

.home-cta-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.home-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  max-width: 760px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.home-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  transition:
    transform var(--t),
    box-shadow var(--t),
    border-color var(--t);
}

.home-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.home-card-icon {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  color: #fff;
}

.home-card-body {
  padding: 1.25rem 1.25rem 0.75rem;
  flex: 1;
}

.home-card-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
  margin: 0 0 6px;
}

.home-card-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}

.home-card-footer {
  padding: 0.875rem 1.25rem;
  border-top: 1px solid var(--border);
}

.home-card-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── FLATPICKR OVERRIDES ── */
.flatpickr-calendar {
  font-family: var(--font);
  font-size: 0.875rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--surface);
  padding: 0;
}

.flatpickr-months {
  background: var(--brand);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  padding: 6px 0;
}

.flatpickr-month {
  color: #fff;
  fill: #fff;
}
.flatpickr-current-month {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
  font-family: var(--font);
  color: #fff;
  background: transparent;
}
.flatpickr-current-month input.cur-year {
  font-family: var(--font);
  color: #fff;
}
.flatpickr-prev-month,
.flatpickr-next-month {
  color: #fff !important;
  fill: #fff !important;
}
.flatpickr-prev-month:hover svg,
.flatpickr-next-month:hover svg {
  fill: rgba(255, 255, 255, 0.75) !important;
}
.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  fill: #fff;
}

.flatpickr-weekdays {
  background: var(--surface-2);
}
span.flatpickr-weekday {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}

.flatpickr-day {
  font-family: var(--font);
  color: var(--text);
  border-radius: var(--radius-sm);
  border: none;
}
.flatpickr-day:hover {
  background: var(--brand-light);
  color: var(--brand);
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 700;
}
.flatpickr-day.today {
  border-color: var(--brand);
  color: var(--brand);
  font-weight: 700;
}
.flatpickr-day.today:hover {
  background: var(--brand-light);
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: var(--muted-light);
}

.flatpickr-time {
  border-top: 1px solid var(--border);
}
.flatpickr-time input,
.flatpickr-time .flatpickr-am-pm {
  font-family: var(--font);
  color: var(--text);
  font-size: 0.95rem;
}
.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
  background: var(--brand-light);
}
.numInputWrapper span.arrowUp:after {
  border-bottom-color: var(--brand);
}
.numInputWrapper span.arrowDown:after {
  border-top-color: var(--brand);
}

/* ── AUTH PAGES ── */
.auth-wrap {
  height: calc(100vh - var(--nav-h));
  margin: -2rem -1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  animation: fadeUp 0.38s ease both;
}

.auth-brand-strip {
  height: 6px;
}

.auth-card-body {
  padding: 2rem 2rem 1.75rem;
}

.auth-logo {
  margin-bottom: 1.5rem;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  margin: 0 0 4px;
}

.auth-sub {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 1.75rem;
}

.auth-hint {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  margin-left: 4px;
}

.auth-errors {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.auth-errors i {
  margin-top: 2px;
  flex-shrink: 0;
}
.auth-errors p {
  margin: 0;
}
.auth-errors p + p {
  margin-top: 4px;
}

.auth-links {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.auth-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  transition: color var(--t);
}

.auth-link:hover {
  color: var(--brand-hover);
  text-decoration: none;
}

.auth-link-muted {
  color: var(--muted);
  font-weight: 500;
}

.auth-link-muted:hover {
  color: var(--text-2);
}

.auth-check-label {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--text-2) !important;
  cursor: pointer;
}

input[type="submit"].btn-brand-nc.w-100,
input[type="submit"].btn-outline-nc.w-100 {
  display: block;
  text-align: center;
}

/* ── CONFIRM MODAL ── */
.nc-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.15s ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.nc-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 380px;
  overflow: hidden;
  animation: fadeUp 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.nc-modal-header {
  padding: 1.25rem 1.5rem 0;
}

.nc-modal-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fef2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #dc2626;
  font-size: 1rem;
}

.nc-modal-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.2px;
  margin: 0 0 6px;
}

.nc-modal-message {
  font-size: 0.875rem;
  color: var(--text-2);
  font-weight: 500;
  margin: 0;
  line-height: 1.55;
}

.nc-modal-footer {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 1.25rem 1.5rem;
}

/* ── FIND PEOPLE BANNER ── */
.find-people-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}

.find-people-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 2px;
}

.find-people-sub {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}

/* ── SEARCH ── */
.nc-search-form {
  margin-bottom: 1.5rem;
}

.nc-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.nc-search-icon {
  position: absolute;
  left: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  pointer-events: none;
}

.nc-search-input {
  width: 100%;
  padding: 10px 42px !important;
  background: var(--surface) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--font) !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  color: var(--text) !important;
  box-shadow: none !important;
  transition:
    border-color var(--t),
    box-shadow var(--t) !important;
}

.nc-search-input::placeholder {
  color: var(--muted-light) !important;
}

.nc-search-input:focus {
  border-color: var(--text) !important;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.07) !important;
  outline: none !important;
}

.nc-search-clear {
  position: absolute;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--muted-light);
  color: var(--text-2);
  font-size: 0.8rem;
  text-decoration: none;
  transition: background var(--t);
}

.nc-search-clear:hover {
  background: var(--border-strong);
}

/* ── HAMBURGER / MOBILE MENU ── */
.nc-nav-mobile-only {
  display: none;
}

.nc-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-2);
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  line-height: 1;
  transition:
    color var(--t),
    background var(--t);
}

.nc-hamburger:hover {
  color: var(--text);
  background: var(--surface-2);
}

.nc-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 199;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 1rem 1rem;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-md);
}

.nc-mobile-menu.open {
  display: flex;
}

.nc-mobile-link {
  display: block;
  padding: 11px 14px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  transition:
    background var(--t),
    color var(--t);
}

.nc-mobile-link:hover {
  background: var(--surface-2);
  color: var(--text);
}
.nc-mobile-link-active {
  background: var(--surface-2);
  color: var(--text) !important;
}
.nc-mobile-link-cta {
  color: var(--brand) !important;
  font-weight: 700;
}

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
  .nc-nav {
    padding: 0 1rem;
  }
  .nc-nav-mid {
    display: none;
  }
  .nc-nav-desktop-only {
    display: none !important;
  }
  .nc-nav-mobile-only {
    display: flex !important;
  }
  .nc-container {
    padding: 1.25rem 1rem;
  }
  .detail-cover {
    height: 200px;
    border-radius: var(--radius);
  }
  .profile-cover {
    height: 90px;
  }
  .profile-card-body {
    padding: 0 1.25rem 1rem;
  }
  .profile-stats-bar {
    padding: 0 1.25rem;
  }
  .auth-wrap {
    margin: -1.25rem -1rem;
    padding: 1rem;
  }
}

/* ── LANDING PAGE ── */

/* Hero */
.lp-hero {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: -2rem;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #0d0906;
  padding: 6rem 2rem 5rem;
}

/* Animated gradient blobs */
.lp-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.lp-blob-1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(
    circle,
    rgba(255, 69, 0, 0.38) 0%,
    transparent 68%
  );
  top: -140px;
  left: -100px;
  animation: lp-blob-drift 14s ease-in-out infinite;
}

.lp-blob-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(255, 140, 0, 0.22) 0%,
    transparent 68%
  );
  bottom: -100px;
  right: -80px;
  animation: lp-blob-drift 18s ease-in-out infinite reverse;
}

.lp-blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 69, 0, 0.15) 0%,
    transparent 70%
  );
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  animation: lp-blob-drift 10s ease-in-out infinite 2s;
}

@keyframes lp-blob-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(45px, -35px) scale(1.06);
  }
  66% {
    transform: translate(-25px, 25px) scale(0.94);
  }
}

/* Floating emojis */
.lp-emoji {
  position: absolute;
  pointer-events: none;
  user-select: none;
  animation: lp-float 6s ease-in-out infinite;
  opacity: 0.8;
  z-index: 1;
  line-height: 1;
}

@keyframes lp-float {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Hero content */
.lp-hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.5rem;
}

.lp-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
  animation: lp-pulse-dot 2.2s ease-in-out infinite;
}

@keyframes lp-pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.7);
  }
  60% {
    box-shadow: 0 0 0 7px rgba(255, 69, 0, 0);
  }
}

.lp-headline {
  font-size: clamp(3rem, 10vw, 5.75rem);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.02;
  color: #fff;
  margin: 0 0 1.5rem;
}

.lp-headline span {
  background: linear-gradient(
    90deg,
    #ff4500 0%,
    #ff8c00 30%,
    #ffcf77 55%,
    #ff8c00 75%,
    #ff4500 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: lp-shimmer 4s linear infinite;
}

@keyframes lp-shimmer {
  to {
    background-position: 200% center;
  }
}

.lp-sub {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  line-height: 1.7;
  margin: 0 0 2.75rem;
}

.lp-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.lp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--brand);
  color: #fff !important;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  transition:
    background var(--t),
    transform var(--t-up),
    box-shadow var(--t);
  white-space: nowrap;
}

.lp-btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 69, 0, 0.5);
}

.lp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88) !important;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  text-decoration: none !important;
  transition:
    background var(--t),
    border-color var(--t),
    transform var(--t-up);
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

/* Marquee */
.lp-marquee-wrap {
  overflow: hidden;
  background: var(--brand);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.lp-marquee {
  overflow: hidden;
}

.lp-marquee-track {
  display: inline-flex;
  animation: lp-marquee 32s linear infinite;
  white-space: nowrap;
}

.lp-marquee-track span {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  padding: 0 2rem;
  letter-spacing: 0.2px;
  white-space: nowrap;
  opacity: 0.95;
}

@keyframes lp-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Features */
.lp-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  padding: 4rem 0 2.5rem;
}

.lp-feature {
  text-align: center;
  padding: 2.25rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow var(--t),
    border-color var(--t);
}

.lp-feature:nth-child(1) {
  animation-delay: 0.1s;
}
.lp-feature:nth-child(2) {
  animation-delay: 0.2s;
}
.lp-feature:nth-child(3) {
  animation-delay: 0.3s;
}

.lp-feature:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow:
    var(--shadow-hover),
    0 0 0 1px var(--brand-muted);
  border-color: transparent;
}

.lp-feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
}

.lp-feature-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
  margin: 0 0 8px;
}

.lp-feature-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
  margin: 0;
}

/* How it works */
.lp-how {
  padding: 0.5rem 0 4rem;
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.lp-section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin: 0 0 2.25rem;
}

.lp-steps {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.lp-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 0;
}

.lp-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(255, 69, 0, 0.35);
}

.lp-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
  margin: 0 0 4px;
}

.lp-step-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  margin: 0;
  line-height: 1.6;
}

.lp-step-line {
  width: 1px;
  height: 28px;
  background: var(--border);
  margin-left: 17px;
}

/* Bottom CTA */
.lp-bottom {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 6rem 2rem 5.5rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: -2rem;
  background: #0d0906;
}

.lp-bottom-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.lp-bottom-blob-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(255, 69, 0, 0.28) 0%,
    transparent 65%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: lp-blob-drift 12s ease-in-out infinite;
}

.lp-bottom-blob-2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(255, 140, 0, 0.18) 0%,
    transparent 65%
  );
  bottom: -40px;
  right: 10%;
  animation: lp-blob-drift 16s ease-in-out infinite reverse 1s;
}

.lp-bottom-inner {
  position: relative;
  z-index: 2;
}

.lp-bottom-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 0.875rem;
}

.lp-bottom-headline {
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -2px;
  color: #fff;
  margin: 0 0 2.25rem;
}

/* Footer */
.nc-footer {
  text-align: center;
  padding: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-2);
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}

/* Responsive overrides */
@media (max-width: 720px) {
  .lp-hero {
    margin-top: -1.25rem;
    min-height: 85vh;
    padding: 4rem 1.5rem 4rem;
  }

  .lp-emoji {
    font-size: 1.5rem !important;
    opacity: 0.6;
  }

  .lp-features {
    padding: 3rem 0 2rem;
  }

  .lp-bottom {
    margin-bottom: -1.25rem;
    padding: 4rem 1.5rem 4rem;
  }

  .lp-br-hide {
    display: none;
  }
}

/* ── RSVP ── */
.rsvp-btn-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rsvp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
}

.rsvp-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--surface-2);
}

.rsvp-btn-active {
  border-color: transparent !important;
  color: #fff !important;
}

.rsvp-btn-going.rsvp-btn-active {
  background: #16a34a;
}

.rsvp-btn-maybe.rsvp-btn-active {
  background: #d97706;
}

.rsvp-btn-not-going.rsvp-btn-active {
  background: var(--muted);
}

.rsvp-group {
  margin-bottom: 12px;
}

.rsvp-group:last-child {
  margin-bottom: 0;
}

.rsvp-group-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  margin: 0 0 8px;
}

.rsvp-avatars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rsvp-avatar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  transition: opacity var(--t);
}

.rsvp-avatar-item:hover {
  opacity: 0.75;
}

.rsvp-avatar-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-2);
}

.rsvp-cant-make-it {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  margin: 8px 0 0;
}

.rsvp-empty {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}

.rsvp-count {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rsvp-count span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

/* ── Like button ──────────────────────────────── */
.like-btn-wrap {
  display: inline-flex;
}

.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.15s,
    color 0.15s,
    background 0.15s;
}

.like-btn:hover {
  border-color: #e11d48;
  color: #e11d48;
}

.like-btn:active {
  transform: none;
}

.like-btn-active {
  border-color: #e11d48;
  color: #e11d48;
  background: #fff1f2;
}

.like-btn .bi-heart-fill {
  color: #e11d48;
}

.like-count {
  font-size: 0.8125rem;
}

.meal-like-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.like-btn-sm {
  padding: 4px 10px;
  font-size: 0.75rem;
  border-width: 1px;
}

.like-btn-sm .bi {
  font-size: 0.7rem;
}

.like-btn-sm .like-count {
  font-size: 0.72rem;
}

/* ── Comments ──────────────────────────────── */
.comment-form {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.comment-input-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.comment-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 0.875rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  resize: none;
  line-height: 1.5;
  transition: border-color var(--t);
}

.comment-input:focus {
  outline: none;
  border-color: var(--brand);
}

.comments-list {
  display: flex;
  flex-direction: column;
}

.comment {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.comment:last-child {
  border-bottom: none;
}

.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 3px;
}

.comment-username {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.comment-username:hover {
  color: var(--brand);
}

.comment-time {
  font-size: 0.75rem;
  color: var(--muted);
}

.comment-text {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
  word-break: break-word;
}

.comment-delete-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 2px 4px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  transition:
    color var(--t),
    background var(--t);
  align-self: flex-start;
  margin-top: 2px;
}

.comment-delete-btn:hover {
  color: #e11d48;
  background: #fff1f2;
}

.comment-count-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.meal-meta-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.comment-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  margin-top: 2px;
}

/* ── Photo covers (Unsplash) ──────────────────────────────── */
.meal-cover-photo {
  background-size: cover;
  background-position: center;
}

.detail-cover-photo {
  background-size: cover;
  background-position: center;
}

/* ── Footer ──────────────────────────────────────────────── */
.nc-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.nc-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.nc-footer-brand {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.3px;
  transition: opacity var(--t);
}
.nc-footer-brand span {
  color: var(--brand);
}
.nc-footer-brand:hover {
  opacity: 0.72;
  color: var(--text);
}

.nc-footer-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nc-footer-link {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  transition:
    color var(--t),
    background var(--t);
}
.nc-footer-link:hover {
  color: var(--text);
  background: var(--surface-2);
}

.nc-footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

/* ── Static pages (about, legal) ──────────────────────────── */
.nc-static-page {
  max-width: 680px;
  margin: 3rem auto;
  padding: 0 1.25rem;
}

.nc-static-hero {
  margin-bottom: 2.5rem;
}

.nc-static-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}
.nc-static-hero h1 span {
  color: var(--brand);
}

.nc-static-lead {
  font-size: 1rem;
  color: var(--text-2);
  margin: 0;
}

.nc-static-body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.nc-static-body section h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.nc-static-body section p,
.nc-static-body section ul {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0 0 0.75rem;
}

.nc-static-body section ul {
  padding-left: 1.25rem;
}

.nc-static-body section ul li {
  margin-bottom: 0.35rem;
}

/* ── LANDING PAGE ENHANCEMENTS ── */

/* Noise grain texture over hero */
.lp-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* 4th amber blob */
.lp-blob-4 {
  width: 380px;
  height: 380px;
  background: radial-gradient(
    circle,
    rgba(251, 191, 36, 0.13) 0%,
    transparent 68%
  );
  top: 45%;
  right: -80px;
  animation: lp-blob-drift 22s ease-in-out infinite 3s;
}

/* Sparkle particles */
.lp-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.lp-spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ff8c00;
  box-shadow: 0 0 6px 2px rgba(255, 140, 0, 0.55);
  animation: lp-sparkle var(--spark-dur, 3s) ease-in-out infinite;
}

.lp-spark-lg {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 10px 3px rgba(255, 140, 0, 0.45);
}

@keyframes lp-sparkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  20% {
    opacity: 1;
    transform: scale(1) rotate(20deg);
  }
  80% {
    opacity: 0.8;
    transform: scale(0.7) rotate(-10deg);
  }
}

/* Scroll hint */
.lp-scroll-hint {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  z-index: 3;
}

.lp-scroll-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.45);
}

.lp-scroll-line {
  width: 2.5px;
  height: 54px;
  background: linear-gradient(to bottom, rgba(255, 69, 0, 1), transparent);
  transform-origin: top;
  animation: lp-scroll-drop 2s ease-in-out infinite;
}

@keyframes lp-scroll-drop {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  60% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}

/* Two-row marquee */
.lp-marquee-wrap-2 {
  position: relative;
  padding: 6px 0 0;
}

.lp-marquee-wrap-2 .lp-marquee {
  padding: 6px 0;
}

.lp-marquee-wrap-2 .lp-marquee-rev {
  padding-bottom: 6px;
}

.lp-marquee-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.lp-marquee-edge-l {
  left: 0;
  background: linear-gradient(to right, var(--brand), transparent);
}

.lp-marquee-edge-r {
  right: 0;
  background: linear-gradient(to left, var(--brand), transparent);
}

.lp-marquee-rev {
  background: rgba(0, 0, 0, 0.15);
}

.lp-marquee-track-rev {
  animation: lp-marquee-rev 36s linear infinite;
}

@keyframes lp-marquee-rev {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Stats section */
.lp-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.lp-stat-item {
  text-align: center;
  padding: 0.75rem 2.75rem;
}

.lp-stat-val {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text);
  line-height: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}

.lp-stat-plus {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand);
  margin-top: 6px;
}

.lp-stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.lp-stat-divider {
  width: 1px;
  height: 52px;
  background: var(--border);
  flex-shrink: 0;
}

/* Scroll reveal — base */
[data-lp-reveal] {
  opacity: 0;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

/* Default: slide up */
[data-lp-reveal]:not([data-lp-reveal="left"]):not([data-lp-reveal="right"]):not(
    [data-lp-reveal="scale"]
  ):not([data-lp-reveal="fade"]) {
  transform: translateY(34px);
}

/* Directional variants */
[data-lp-reveal="left"] {
  transform: translateX(-52px);
}
[data-lp-reveal="right"] {
  transform: translateX(52px);
}
[data-lp-reveal="scale"] {
  transform: scale(0.86);
}
[data-lp-reveal="fade"] {
  transform: none;
}

[data-lp-reveal].lp-revealed {
  opacity: 1;
  transform: none !important;
}

/* Section header */
.lp-section-header {
  text-align: center;
  padding-top: 3.5rem;
  padding-bottom: 0.25rem;
}

/* Perks section */
.lp-perks {
  max-width: 700px;
  margin: 0 auto;
  padding: 1.5rem 0 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.lp-perk {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.75rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow var(--t);
}

.lp-perk:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-hover);
}

.lp-perk-flip {
  flex-direction: row-reverse;
}

.lp-perk-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  flex-shrink: 0;
}

.lp-perk-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
  margin: 0 0 6px;
}

.lp-perk-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
  margin: 0;
}

/* Step number pop on reveal */
.lp-step-num-pop {
  animation: none;
}

[data-lp-reveal="left"].lp-revealed .lp-step-num-pop {
  animation: lp-step-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(var(--reveal-delay, 0s) + 0.2s);
}

@keyframes lp-step-pop {
  0% {
    transform: scale(0.5);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 720px) {
  .lp-perk,
  .lp-perk-flip {
    flex-direction: column;
    text-align: center;
  }
  .lp-perk-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    margin: 0 auto;
  }
}

/* CTA button pulse ring */
.lp-btn-primary {
  position: relative;
}

.lp-btn-primary::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255, 69, 0, 0.45);
  pointer-events: none;
  animation: lp-btn-ring 2.6s ease-out infinite;
}

@keyframes lp-btn-ring {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@media (max-width: 720px) {
  .lp-stat-item {
    padding: 0.75rem 1.5rem;
  }
  .lp-stat-val {
    font-size: 2rem;
  }
  .lp-stat-divider {
    height: 36px;
  }
  .lp-scroll-hint {
    display: none;
  }
}
