/* ==========================================================
   namefinder.css - Auspicious Baby Names Finder & Harmonizer
   Kuuthi.in Luxury Astrology Theme (Full Dark & Light Support)
   ========================================================== */

/* Container wrapper */
.nf-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 80px;
}

/* Hero Badge and Titles */
.nf-hero {
  text-align: center;
  padding: 30px 16px 20px;
}

.nf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 152, 0, 0.12);
  border: 1px solid rgba(255, 152, 0, 0.35);
  color: #ffb74d;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.nf-hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 2.3rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.nf-hero h1 span {
  background: linear-gradient(135deg, #ff9800 0%, #ffb74d 50%, #e65100 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nf-subtitle {
  font-size: 1rem;
  color: #d4a070;
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.55;
}

/* Custom Live Name Harmonizer Card */
.nf-harmonizer-box {
  background: linear-gradient(135deg, rgba(35, 18, 5, 0.95) 0%, rgba(18, 9, 2, 0.98) 100%);
  border: 1.5px solid rgba(255, 152, 0, 0.4);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 32px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 152, 0, 0.08);
  backdrop-filter: blur(16px);
}

.harmonizer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.harmonizer-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffb74d;
  display: flex;
  align-items: center;
  gap: 8px;
}

.harmonizer-inputs {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  gap: 14px;
  align-items: flex-end;
}

@media (max-width: 768px) {
  .harmonizer-inputs {
    grid-template-columns: 1fr;
  }
}

.harm-input {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 152, 0, 0.35);
  border-radius: 10px;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
}

.harm-input:focus {
  outline: none;
  border-color: #ff9800;
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.25);
}

.harm-live-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(255, 152, 0, 0.15);
  color: #ff9800;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 152, 0, 0.3);
}

.harm-intro-text {
  font-size: 0.86rem;
  color: #d4a070;
  margin-bottom: 14px;
  line-height: 1.45;
}

.harm-field-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #ffb74d;
  display: block;
  margin-bottom: 4px;
}

.harm-analyze-btn {
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 800;
  background: #ff9800;
  color: #000;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.harm-analyze-btn:hover {
  background: #ffa726;
  transform: translateY(-1px);
}

.vibe-tag.vibe-chaldean {
  background: rgba(255, 152, 0, 0.15);
  border-color: rgba(255, 152, 0, 0.35);
  color: #fff;
}

.vibe-tag.vibe-pyth {
  border-color: rgba(144, 202, 249, 0.4);
  background: rgba(33, 150, 243, 0.12);
  color: #90caf9;
}

.vibe-comp-sub {
  font-size: 0.75rem;
  color: #d4a070;
}

.vibe-pyth .vibe-comp-sub {
  color: #90caf9;
}

#harmChaldeanSingleWrap {
  color: #ff9800;
}

#harmPythSingleWrap {
  color: #64b5f6;
}

.suggest-spelling-title {
  font-weight: 700;
  color: #ffb74d;
  margin-bottom: 4px;
}

.results-tip-text {
  font-size: 0.8rem;
  color: #c9b09a;
}

.nf-empty-title {
  color: #ffb74d;
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.nf-empty-desc {
  color: #d4a070;
  font-size: 0.92rem;
}

.primary-pill {
  padding: 10px 18px;
  font-size: 0.88rem;
  background: #ff9800;
  color: #000;
  border: none;
}

.rashi-pill {
  background: rgba(255, 255, 255, 0.06);
  color: #ffe082;
  border: 1px solid rgba(255, 152, 0, 0.25);
}

.chaldean-val-badge {
  color: #ff9800;
}

.pyth-val-badge {
  color: #90caf9;
}

.card-copy-btn {
  padding: 2px 8px;
  font-size: 0.75rem;
}

.harmony-perfect-badge {
  color: #81c784;
  font-weight: 700;
}

.suggest-empty-hint {
  color: #d4a070;
}

.fav-empty-state {
  text-align: center;
  padding: 30px;
  color: #d4a070;
}

.fav-item-name {
  font-size: 1.1rem;
  color: #fff;
}

.fav-item-origin {
  font-size: 0.75rem;
  color: #ffb74d;
  margin-left: 8px;
}

.fav-item-meaning {
  font-size: 0.8rem;
  color: #c9b09a;
  margin-top: 2px;
}

.fav-del-btn {
  background: none;
  border: none;
  color: #f44336;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
}

/* Search & Filter Control Panel */
.nf-control-panel {
  background: rgba(22, 12, 3, 0.9);
  border: 1px solid rgba(255, 152, 0, 0.28);
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.search-main-row {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

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

.nf-search-icon {
  position: absolute;
  left: 14px;
  font-size: 1.1rem;
  pointer-events: none;
  opacity: 0.7;
}

.nf-search-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1.5px solid rgba(255, 152, 0, 0.35);
  border-radius: 12px;
  padding: 13px 40px 13px 44px;
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.nf-search-input:focus {
  outline: none;
  border-color: #ff9800;
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.22);
}

.nf-clear-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #d4a070;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
}

/* Filter Sections */
.filter-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.filter-group-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffb74d;
  margin-bottom: 6px;
}

.nf-select {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 152, 0, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
}

.nf-select:focus {
  outline: none;
  border-color: #ff9800;
}

/* Alphabet Quick Strip */
.alphabet-strip {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding: 10px 0 4px;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 152, 0, 0.15);
  scrollbar-width: thin;
}

.alpha-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 152, 0, 0.2);
  color: #ded0c0;
  min-width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.alpha-btn:hover {
  background: rgba(255, 152, 0, 0.2);
  border-color: #ff9800;
  color: #fff;
}

.alpha-btn.active {
  background: #ff9800;
  border-color: #ffb74d;
  color: #000;
  font-weight: 900;
}

/* Results Stats & Info Bar */
.results-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 0 4px;
  flex-wrap: wrap;
  gap: 12px;
}

.count-badge-text {
  font-size: 0.94rem;
  color: #ffb74d;
  font-weight: 700;
}

.count-badge-text strong {
  color: #ffffff;
  font-size: 1.05rem;
}

/* Names Grid */
.names-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.name-card {
  background: linear-gradient(145deg, rgba(30, 16, 4, 0.88) 0%, rgba(16, 8, 2, 0.94) 100%);
  border: 1px solid rgba(255, 152, 0, 0.22);
  border-radius: 16px;
  padding: 18px 20px;
  position: relative;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.name-card:hover {
  border-color: rgba(255, 152, 0, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 152, 0, 0.18);
}

.card-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.name-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
}

.fav-heart-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 2px;
  transition: transform 0.2s ease;
  line-height: 1;
}

.fav-heart-btn:hover {
  transform: scale(1.25);
}

.fav-heart-btn.is-fav {
  filter: drop-shadow(0 0 6px rgba(244, 67, 54, 0.8));
}

.card-badges-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.culture-pill {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 6px;
}

.culture-meitei {
  background: rgba(230, 81, 0, 0.25);
  border: 1px solid rgba(255, 152, 0, 0.45);
  color: #ffb74d;
}

.culture-vedic {
  background: rgba(142, 36, 170, 0.25);
  border: 1px solid rgba(186, 104, 200, 0.45);
  color: #e1bee7;
}

.culture-modern {
  background: rgba(0, 137, 123, 0.25);
  border: 1px solid rgba(77, 182, 172, 0.45);
  color: #b2dfdb;
}

.gender-pill {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}

.gender-boy {
  background: rgba(33, 150, 243, 0.2);
  color: #90caf9;
  border: 1px solid rgba(33, 150, 243, 0.35);
}

.gender-girl {
  background: rgba(233, 30, 99, 0.2);
  color: #f48fb1;
  border: 1px solid rgba(233, 30, 99, 0.35);
}

.gender-unisex {
  background: rgba(156, 39, 176, 0.2);
  color: #ce93d8;
  border: 1px solid rgba(156, 39, 176, 0.35);
}

.name-meaning {
  font-size: 0.88rem;
  color: #ded0c0;
  line-height: 1.45;
  margin-bottom: 12px;
  flex: 1;
}

.card-astrology-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 152, 0, 0.15);
  font-size: 0.76rem;
  color: #c9b09a;
}

.num-badge-small {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 152, 0, 0.3);
  padding: 2px 7px;
  border-radius: 6px;
  color: #ffb74d;
  font-weight: 800;
}

/* Floating Favorites Drawer Trigger */
.floating-fav-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background: linear-gradient(135deg, #e65100 0%, #ff9800 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(230, 81, 0, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.floating-fav-bar:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(255, 152, 0, 0.65);
}

.fav-badge-count {
  background: #ffffff;
  color: #e65100;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
}

/* Favorites Modal */
.fav-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.fav-modal-backdrop.open {
  display: flex;
}

.fav-modal-card {
  background: #180d03;
  border: 2px solid rgba(255, 152, 0, 0.4);
  border-radius: 20px;
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.fav-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 152, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fav-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffb74d;
}

.fav-modal-close {
  background: none;
  border: none;
  color: #d4a070;
  font-size: 1.5rem;
  cursor: pointer;
}

.fav-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

.fav-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fav-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 152, 0, 0.2);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Empty State */
.nf-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #d4a070;
}

.nf-empty-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

/* ==========================================================
   LIGHT MODE OVERRIDES FOR NAME FINDER
   ========================================================== */
[data-theme="light"] .nf-hero h1 {
  color: #0f172a !important;
}

[data-theme="light"] .nf-subtitle {
  color: #475569 !important;
}

[data-theme="light"] .nf-badge {
  background: #fffbe6 !important;
  color: #b45309 !important;
  border-color: #fde68a !important;
}

[data-theme="light"] .nf-harmonizer-box {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .harmonizer-header h3 {
  color: #ea580c !important;
}

[data-theme="light"] .harm-input {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] .harm-input:focus {
  background: #ffffff !important;
  border-color: #ea580c !important;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2) !important;
}

[data-theme="light"] select.harm-input option {
  background: #ffffff !important;
  color: #0f172a !important;
}

[data-theme="light"] .harm-calc-display {
  border-top-color: #e2e8f0 !important;
}

[data-theme="light"] .vibe-tag {
  background: #fff7ed !important;
  border-color: #fdba74 !important;
  color: #0f172a !important;
}

[data-theme="light"] .vibe-tag strong {
  color: #ea580c !important;
}

[data-theme="light"] .suggest-pill {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

[data-theme="light"] .suggest-pill:hover {
  background: #ea580c !important;
  color: #ffffff !important;
  border-color: #ea580c !important;
}

[data-theme="light"] .spelling-suggestions-wrap {
  color: #475569 !important;
}

[data-theme="light"] .nf-control-panel {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .nf-search-input {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] .nf-search-input:focus {
  background: #ffffff !important;
  border-color: #ea580c !important;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2) !important;
}

[data-theme="light"] .filter-group-label {
  color: #1e293b !important;
}

[data-theme="light"] .nf-select {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] select.nf-select option {
  background: #ffffff !important;
  color: #0f172a !important;
}

[data-theme="light"] .alphabet-strip {
  border-top-color: #e2e8f0 !important;
}

[data-theme="light"] .alpha-btn {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #475569 !important;
}

[data-theme="light"] .alpha-btn:hover {
  background: #fff7ed !important;
  border-color: #fdba74 !important;
  color: #ea580c !important;
}

[data-theme="light"] .alpha-btn.active {
  background: #ea580c !important;
  border-color: #ea580c !important;
  color: #ffffff !important;
}

[data-theme="light"] .count-badge-text {
  color: #ea580c !important;
}

[data-theme="light"] .count-badge-text strong {
  color: #0f172a !important;
}

[data-theme="light"] .name-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .name-card:hover {
  border-color: #fdba74 !important;
  box-shadow: 0 10px 25px rgba(234, 88, 12, 0.12) !important;
}

[data-theme="light"] .name-title {
  color: #0f172a !important;
}

[data-theme="light"] .name-meaning {
  color: #475569 !important;
}

[data-theme="light"] .culture-meitei {
  background: #fff7ed !important;
  border-color: #fdba74 !important;
  color: #c2410c !important;
}

[data-theme="light"] .culture-vedic {
  background: #faf5ff !important;
  border-color: #d8b4fe !important;
  color: #7e22ce !important;
}

[data-theme="light"] .culture-modern {
  background: #f0fdfa !important;
  border-color: #99f6e4 !important;
  color: #0f766e !important;
}

[data-theme="light"] .card-astrology-meta {
  border-top-color: #e2e8f0 !important;
  color: #64748b !important;
}

[data-theme="light"] .num-badge-small {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #ea580c !important;
}

[data-theme="light"] .harm-live-badge {
  background: #fffbe6 !important;
  color: #b45309 !important;
  border-color: #fde68a !important;
}

[data-theme="light"] .harm-intro-text {
  color: #334155 !important;
}

[data-theme="light"] .harm-field-label {
  color: #1e293b !important;
}

[data-theme="light"] .harm-analyze-btn {
  background: #ea580c !important;
  color: #ffffff !important;
}

[data-theme="light"] .harm-analyze-btn:hover {
  background: #c2410c !important;
}

[data-theme="light"] .vibe-tag.vibe-chaldean {
  background: #fff7ed !important;
  border-color: #fdba74 !important;
  color: #0f172a !important;
}

[data-theme="light"] .vibe-tag.vibe-pyth {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: #1e40af !important;
}

[data-theme="light"] .vibe-comp-sub {
  color: #64748b !important;
}

[data-theme="light"] .vibe-pyth .vibe-comp-sub {
  color: #3b82f6 !important;
}

[data-theme="light"] #harmChaldeanSingleWrap {
  color: #c2410c !important;
}

[data-theme="light"] #harmPythSingleWrap {
  color: #1d4ed8 !important;
}

[data-theme="light"] .suggest-spelling-title {
  color: #b45309 !important;
}

[data-theme="light"] .results-tip-text {
  color: #64748b !important;
}

[data-theme="light"] .nf-empty-title {
  color: #c2410c !important;
}

[data-theme="light"] .nf-empty-desc {
  color: #475569 !important;
}

[data-theme="light"] .primary-pill {
  background: #ea580c !important;
  color: #ffffff !important;
}

[data-theme="light"] .rashi-pill {
  background: #fff7ed !important;
  color: #b45309 !important;
  border-color: #fed7aa !important;
}

[data-theme="light"] .chaldean-val-badge {
  color: #c2410c !important;
}

[data-theme="light"] .pyth-val-badge {
  color: #1d4ed8 !important;
}

[data-theme="light"] .card-copy-btn {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

[data-theme="light"] .harmony-perfect-badge {
  color: #15803d !important;
}

[data-theme="light"] .suggest-empty-hint {
  color: #475569 !important;
}

[data-theme="light"] .fav-empty-state {
  color: #64748b !important;
}

[data-theme="light"] .fav-item-name {
  color: #0f172a !important;
}

[data-theme="light"] .fav-item-origin {
  color: #b45309 !important;
}

[data-theme="light"] .fav-item-meaning {
  color: #475569 !important;
}

[data-theme="light"] .fav-modal-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="light"] .fav-modal-header {
  border-bottom-color: #e2e8f0 !important;
}

[data-theme="light"] .fav-modal-header h3 {
  color: #ea580c !important;
}

[data-theme="light"] .fav-modal-close {
  color: #64748b !important;
}

[data-theme="light"] .fav-list-item {
  border-bottom-color: #f1f5f9 !important;
}

[data-theme="light"] .fav-list-item strong {
  color: #0f172a !important;
}

[data-theme="light"] .fav-modal-footer {
  border-top-color: #e2e8f0 !important;
}

[data-theme="light"] .nf-empty-state {
  color: #64748b !important;
}

/* ==========================================================
   RESPONSIVE MEDIA QUERIES FOR NAME FINDER
   ========================================================== */
@media (max-width: 768px) {
  .nf-container {
    padding: 0 12px 60px;
  }

  .nf-hero {
    padding: 20px 10px 14px;
  }

  .nf-badge {
    font-size: 0.72rem;
    padding: 5px 12px;
  }

  .nf-hero h1 {
    font-size: clamp(1.7rem, 6vw, 2.3rem);
  }

  .nf-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .nf-harmonizer-box {
    padding: 18px 14px;
    border-radius: 16px;
    margin-bottom: 24px;
  }

  .harmonizer-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .harmonizer-header h3 {
    font-size: 1.1rem;
  }

  .harmonizer-inputs {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .harm-analyze-btn {
    width: 100%;
    padding: 12px;
  }

  .harm-calc-display {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .vibe-tag {
    width: 100%;
    justify-content: space-between;
  }

  .nf-control-panel {
    padding: 18px 14px;
    border-radius: 16px;
    margin-bottom: 22px;
  }

  .search-main-row {
    margin-bottom: 14px;
  }

  .filter-category-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .alphabet-strip {
    gap: 4px;
    padding-top: 10px;
  }

  .alpha-btn {
    min-width: 28px;
    height: 28px;
    font-size: 0.75rem;
    padding: 0 4px;
  }

  .names-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .name-card {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .card-astrology-meta {
    flex-wrap: wrap;
    gap: 8px;
  }

  .card-copy-btn {
    margin-left: auto;
  }

  .floating-fav-bar {
    bottom: 16px;
    right: 16px;
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  .fav-modal-card {
    width: 95%;
    max-height: 90vh;
    border-radius: 18px;
  }

  .fav-modal-header {
    padding: 14px 16px;
  }

  .fav-modal-header h3 {
    font-size: 1.1rem;
  }

  .fav-modal-body {
    padding: 14px 16px;
  }

  .fav-modal-footer {
    flex-direction: column;
    padding: 12px 16px;
    gap: 8px;
  }

  .fav-modal-footer button {
    width: 100%;
    justify-content: center;
  }
}
