/*
  HammerDown — Luxury Interactions
  Every touchpoint is a brand moment.
  No sterile hover states. No computer-engineer buttons.
*/

/* ============================================================
   PRIMARY BUTTON — weight, shimmer, press feedback
   ============================================================ */
.btn-primary, .btn-gold, button.btn-primary {
  display: inline-block;
  position: relative;
  background: #C9A96E;
  color: #080808;
  font-family: 'Switzer', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 44px;
  border: none;
  cursor: pointer;
  -webkit-transition: background 0.2s ease, transform 0.15s ease;
  transition: background 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary:hover, .btn-gold:hover {
  background: #e0c08a;
  transform: translateY(-1px);
}

.btn-primary:active, .btn-gold:active {
  transform: translateY(0);
}

/* ============================================================
   GHOST / TEXT LINKS — underline draws in from left
   ============================================================ */
.link-draw, .nav-link-draw {
  position: relative;
  text-decoration: none;
  color: #888880;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.link-draw::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #C9A96E;
  -webkit-transition: width 0.3s ease;
  transition: width 0.3s ease;
}

.link-draw:hover {
  color: #e8e2d8;
}

.link-draw:hover::after {
  width: 100%;
}

/* ============================================================
   FILTER PILLS — gold underbar draws in, warm active state
   ============================================================ */
.filter-pill {
  position: relative;
  display: inline-block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888880;
  background: transparent;
  border: 1px solid #222222;
  padding: 9px 18px 8px;
  cursor: pointer;
  font-family: 'Switzer', sans-serif;
  font-weight: 500;
  -webkit-transition: color 0.2s, border-color 0.2s, background 0.2s;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}

.filter-pill::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #C9A96E, transparent);
  -webkit-transition: width 0.3s ease, left 0.3s ease;
  transition: width 0.3s ease, left 0.3s ease;
}

.filter-pill:hover {
  color: #e8e2d8;
  border-color: #2a2a2a;
  background: #111111;
}

.filter-pill.active {
  color: #C9A96E;
  border-color: rgba(201,169,110,0.3);
  background: rgba(201,169,110,0.05);
}

.filter-pill.active::after,
.filter-pill:hover::after {
  width: 100%;
  left: 0;
}

/* ============================================================
   FORM INPUTS — warm gold inner glow on focus
   ============================================================ */
.luxury-input, .luxury-textarea {
  background: #131313;
  border: 1px solid #222222;
  color: #f0ece4;
  font-family: 'Switzer', sans-serif;
  font-size: 14px;
  font-weight: 300;
  padding: 16px 20px;
  outline: none;
  width: 100%;
  -webkit-transition: border-color 0.25s ease, box-shadow 0.25s ease;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  -webkit-appearance: none;
}

.luxury-input::placeholder, .luxury-textarea::placeholder {
  color: #3a3a36;
}

.luxury-input:focus, .luxury-textarea:focus {
  border-color: rgba(201,169,110,0.4);
  box-shadow: 0 0 0 1px rgba(201,169,110,0.12), inset 0 1px 8px rgba(201,169,110,0.04);
}

.luxury-textarea {
  resize: vertical;
  min-height: 90px;
}

/* ============================================================
   CARDS — lift with shadow bloom, not just a color tick
   ============================================================ */
.luxury-card {
  -webkit-transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border: 1px solid #222222;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.luxury-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,169,110,0.15);
  border-color: rgba(201,169,110,0.25);
}

.luxury-card:active {
  transform: translateY(-1px);
}

/* ============================================================
   SEARCH INPUT WITH ICON — refined
   ============================================================ */
.search-wrapper {
  position: relative;
}

.search-input {
  background: #131313;
  border: 1px solid #222222;
  border-bottom: 2px solid #222222;
  color: #f0ece4;
  font-family: 'Switzer', sans-serif;
  font-size: 15px;
  font-weight: 300;
  padding: 18px 24px;
  outline: none;
  width: 100%;
  -webkit-transition: border-color 0.25s ease, box-shadow 0.25s ease;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  -webkit-appearance: none;
  letter-spacing: 0.5px;
}

.search-input::placeholder { color: #3a3a36; }

.search-input:focus {
  border-color: rgba(201,169,110,0.3);
  border-bottom-color: #C9A96E;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

/* ============================================================
   SELECT / DROPDOWN — styled consistently
   ============================================================ */
.luxury-select {
  background: #131313;
  border: 1px solid #222222;
  color: #888880;
  font-family: 'Switzer', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 36px 12px 16px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888880'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  -webkit-transition: border-color 0.2s, color 0.2s;
  transition: border-color 0.2s, color 0.2s;
}

.luxury-select:focus {
  border-color: rgba(201,169,110,0.3);
  color: #e8e2d8;
}

/* ============================================================
   TABLE ROWS — subtle hover
   ============================================================ */
.luxury-row {
  -webkit-transition: background 0.15s ease;
  transition: background 0.15s ease;
}

.luxury-row:hover {
  background: rgba(201,169,110,0.03);
}

/* ============================================================
   NAV ITEMS — elegant hover (use .lux-nav, not .nav-item to avoid sidebar collision)
   ============================================================ */
.lux-nav {
  position: relative;
  text-decoration: none;
  color: #888880;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 8px 0;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.lux-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #C9A96E;
  -webkit-transition: width 0.25s ease;
  transition: width 0.25s ease;
}

.lux-nav:hover { color: #e8e2d8; }
.lux-nav:hover::after { width: 100%; }
.lux-nav.active { color: #C9A96E; }
.lux-nav.active::after { width: 100%; }

/* ============================================================
   BADGE / PILL TAGS
   ============================================================ */
.badge-gold {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C9A96E;
  border: 1px solid rgba(201,169,110,0.3);
  padding: 3px 10px;
  font-weight: 500;
}

.badge-white {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888880;
  border: 1px solid #222222;
  padding: 3px 10px;
  font-weight: 500;
}

/* ============================================================
   LOADING STATE
   ============================================================ */
.loading-pulse {
  animation: pulse 1.8s ease-in-out infinite;
  -webkit-animation: pulse 1.8s ease-in-out infinite;
}

@-webkit-keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* ============================================================
   SCORE BAR — animated fill
   ============================================================ */
.score-bar-track {
  height: 2px;
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #8a6f3a, #C9A96E, #e0c08a);
  -webkit-transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
