/* ── Swipe Modal (Aromen + Tinder) ── */
.swipe-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.swipe-modal.show { display: flex; }
.swipe-modal .modal-header-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  z-index: 10;
}
.swipe-modal .modal-header-bar h3 { color: #fff; margin: 0; font-size: 18px; }
.swipe-modal .close-modal {
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.swipe-progress {
  position: absolute;
  top: 60px;
  left: 24px;
  right: 24px;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  z-index: 10;
}
.swipe-progress-fill {
  height: 100%;
  background: var(--whic-green);
  border-radius: 2px;
  transition: width .3s;
}

/* ── Swipe Card ── */
.swipe-deck {
  position: relative;
  width: 320px;
  height: 420px;
}
@media (max-width: 400px) { .swipe-deck { width: 280px; height: 380px; } }
.swipe-card {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  transition: transform .3s ease, opacity .3s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.swipe-card:active { cursor: grabbing; }
.swipe-card.dragging { transition: none; }
.swipe-card .card-img {
  width: 100%;
  height: 60%;
  background-size: cover;
  background-position: center;
  background-color: var(--whic-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}
.swipe-card .card-body {
  padding: 20px;
  height: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.swipe-card .card-title {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}
.swipe-card .card-desc { font-size: 14px; color: var(--whic-text-light); line-height: 1.5; }
.swipe-card .card-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.swipe-card .card-tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  background: var(--whic-bg-alt);
  color: var(--whic-text-light);
}
.swipe-overlay {
  position: absolute;
  top: 20px;
  padding: 8px 20px;
  font-size: 20px;
  font-weight: 700;
  border-radius: 8px;
  border: 3px solid;
  opacity: 0;
  transition: opacity .15s;
  pointer-events: none;
  z-index: 5;
}
.swipe-overlay.like { right: 20px; color: var(--whic-green); border-color: var(--whic-green); transform: rotate(15deg); }
.swipe-overlay.nope { left: 20px; color: var(--whic-red); border-color: var(--whic-red); transform: rotate(-15deg); }
.swipe-overlay.skip { left: 50%; transform: translateX(-50%); color: var(--whic-text-light); border-color: var(--whic-text-light); }

/* ── Swipe Buttons ── */
.swipe-buttons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  z-index: 10;
}
.swipe-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  backdrop-filter: blur(4px);
}
.swipe-btn.nope { border-color: var(--whic-red); color: var(--whic-red); }
.swipe-btn.nope:hover { background: var(--whic-red); color: #fff; }
.swipe-btn.like { border-color: var(--whic-green); color: var(--whic-green); }
.swipe-btn.like:hover { background: var(--whic-green); color: #fff; }
.swipe-btn.skip { border-color: var(--whic-text-light); color: var(--whic-text-light); width: 44px; height: 44px; font-size: 18px; }
.swipe-btn.skip:hover { background: var(--whic-text-light); color: #fff; }

/* ── Swipe Result Screen ── */
.swipe-result {
  display: none;
  color: #fff;
  text-align: center;
  padding: 24px;
}
.swipe-result.show { display: block; }
.swipe-result h3 { color: var(--whic-green); font-size: 24px; margin-bottom: 16px; }

/* ── Tinder Category Picker ── */
.tinder-category-picker { color: #fff; text-align: center; padding: 24px; z-index: 10; }
.tinder-category-picker h3 { color: #fff; margin-bottom: 8px; font-size: 22px; }
.tinder-category-picker p { color: rgba(255,255,255,0.7); margin-bottom: 24px; }
.tinder-cat-btn {
  display: block;
  width: 280px;
  margin: 0 auto 12px;
  padding: 16px 24px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: all .2s;
  text-align: left;
}
.tinder-cat-btn:hover { background: var(--whic-green); border-color: var(--whic-green); }
.tinder-cat-btn .cat-count { font-size: 13px; color: rgba(255,255,255,0.6); margin-left: 6px; }
