/* ── MOBILE BOTTOM NAVIGATION ── */
/* Visible only on mobile (≤767px) via responsive.css */

.bottom-nav {
  display: none; /* shown via @media in responsive.css */
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: linear-gradient(180deg, #0d0a04 0%, #1e1508 100%);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.5);
  /* iPhone home bar safe area */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ── SEARCH ROW ── */
.bottom-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 6px;
}

.bottom-search-icon {
  font-size: 1rem;
  color: var(--gold-light);
  flex-shrink: 0;
  line-height: 1;
}

.bottom-search-input {
  flex: 1;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 12px;
  background: #2d2d2d;
  border: 1px solid rgba(200,169,110,0.45);
  color: #ffffff;
  border-radius: 22px;
  outline: none;
  transition: border 0.2s, background 0.2s;
  min-width: 0;
}
.bottom-search-input::placeholder {
  color: rgba(255,255,255,0.45);
  font-style: italic;
}
.bottom-search-input:focus {
  border-color: var(--gold-light);
  background: #3a3a3a;
}

.bottom-mic-btn {
  background: none;
  border: none;
  font-size: 1.15rem;
  color: var(--gold-light);
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
  line-height: 1;
  border-radius: 50%;
  transition: background 0.2s;
}
.bottom-mic-btn:hover,
.bottom-mic-btn:active {
  background: rgba(184,134,11,0.2);
}
.bottom-mic-btn.listening {
  color: var(--red);
  animation: pulse 1s ease-in-out infinite;
}

/* ── ICON BUTTON ROW ── */
.bottom-nav-buttons {
  display: flex;
  align-items: stretch;
  padding: 2px 6px 8px;
  gap: 2px;
}

.bottom-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  border-radius: 10px;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav-btn:active {
  background: rgba(184,134,11,0.18);
}

.bottom-nav-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.bottom-nav-label {
  font-family: Arial, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: rgba(212,160,23,0.8);
  white-space: nowrap;
}

/* Light mode overrides */
body.light-mode .bottom-nav {
  background: linear-gradient(180deg, #1a1200 0%, #2e2000 100%);
}
body.light-mode .bottom-search-input {
  background: #ffffff;
  border-color: rgba(180,130,20,0.5);
  color: #000000;
}
body.light-mode .bottom-search-input::placeholder {
  color: rgba(0,0,0,0.4);
}
body.light-mode .bottom-search-input:focus {
  background: #fffdf5;
  border-color: var(--gold-light);
}
body.light-mode .bottom-nav-label {
  color: rgba(212,160,23,0.9);
}
