/* ==========================================================================
   BILETINI ALMADAN - Sana Uygun Ülkeyi Bul (Country Finder CSS)
   Editorial Quiz Aesthetic, Clean Cards & Photo-Driven Recommendations
   ========================================================================== */

/* 1. HOMEPAGE PROMO HERO CARD */
.finder-hero-card {
  position: relative;
  margin: var(--space-md) var(--space-md) var(--space-lg);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.finder-hero-card:hover {
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: var(--shadow-md);
}

.finder-card-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.finder-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(180, 83, 9, 0.08);
  color: var(--accent-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: fit-content;
}

.finder-main-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.finder-text-block {
  flex: 1;
}

.finder-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.25;
}

.finder-subtitle {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.btn-finder-start {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--accent-primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
  border: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
  white-space: nowrap;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-finder-start:hover {
  background: var(--accent-secondary);
  transform: translateY(-1px);
}

/* 2. MODAL OVERLAY & CONTAINER */
.finder-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.finder-modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.finder-modal-header {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.finder-step-dots {
  display: flex;
  gap: 6px;
}

.finder-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-secondary);
  transition: all var(--transition-fast);
}
.finder-step-dot.active {
  background: var(--accent-secondary);
  width: 20px;
  border-radius: 4px;
}

.finder-modal-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.finder-question-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.finder-question-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

.finder-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-sm);
}

.finder-option-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all var(--transition-fast);
  text-align: left;
}

.finder-option-card:hover {
  background: var(--bg-secondary);
  border-color: rgba(15, 23, 42, 0.15);
}

.finder-option-card.selected {
  background: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.1);
}

.finder-opt-icon {
  font-size: 1.5rem;
  margin-bottom: 2px;
}

.finder-opt-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.finder-opt-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.finder-modal-footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* RESULTS SCREEN */
.finder-results-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.finder-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.finder-result-card:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
}

.finder-result-thumb {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}

.finder-result-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.finder-result-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.finder-result-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.finder-result-match {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-secondary);
}

.finder-result-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
