/* ============================================================
   vicdan-telafi.css — Vicdan Telafi Motoru sayfasına özel
   - SADECE vicdan-telafi.php tarafından yüklenir.
   - Mobile-first, eğlenceli pişmanlık teması.
   - Kapsam: tüm seçiciler .vt-page ile başlar (globali ezmez).
   - !important yok, hack'li media query yok.
   ============================================================ */

.vt-page {
  box-sizing: border-box;
  overflow-x: clip;
  background: #f8f9fa;
  color: #1f2937;
  line-height: 1.6;
  font-family: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.vt-page *,
.vt-page *::before,
.vt-page *::after {
  box-sizing: inherit;
}

.vt-page :where(h1, h2, h3, p, figure) {
  margin: 0;
}

.vt-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 16px 40px;
  width: 100%;
}

/* Hero */
.vt-hero {
  text-align: center;
  margin-bottom: 8px;
}

.vt-hero-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1f2937;
}

.vt-hero-sub {
  margin-top: 8px;
  color: #6b7280;
  font-size: 0.95rem;
}

.vt-lead {
  margin-top: 16px;
  line-height: 1.8;
  color: #444;
  font-size: 1em;
  text-align: left;
  background: #fff;
  padding: 22px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

/* YMYL yazar kutusu */
.vt-author-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #166534;
  margin-top: 16px;
}

.vt-author-box svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Arama */
.vt-search-title {
  margin-top: 24px;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
}

.vt-search-field {
  position: relative;
  margin-top: 12px;
}

.vt-search-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.05rem;
  font-family: inherit;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  outline: none;
  background: #fff;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.vt-search-input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.vt-search-input:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.55);
  outline-offset: 2px;
}

/* Kaçamak hapları */
.vt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
  list-style: none;
  padding: 0;
}

.vt-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
  white-space: nowrap;
}

.vt-pill:hover {
  border-color: #f59e0b;
  transform: translateY(-1px);
}

.vt-pill:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.55);
  outline-offset: 2px;
}

.vt-pill[aria-pressed="true"] {
  background: #d97706;
  border-color: #d97706;
  color: #fff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.vt-pill[hidden] {
  display: none;
}

.vt-no-match {
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
  margin-top: 14px;
}

.vt-no-match[hidden] {
  display: none;
}

/* Sonuç */
.vt-result {
  margin-top: 24px;
}

.vt-result-head {
  text-align: center;
  margin-bottom: 18px;
}

.vt-result-emoji {
  font-size: 3rem;
}

.vt-result-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-top: 6px;
}

.vt-result-cal {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #b91c1c;
  background: #fee2e2;
  padding: 6px 18px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.vt-ways {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  list-style: none;
  padding: 0;
}

.vt-way {
  border-radius: 16px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  opacity: 0;
  transform: translateY(18px);
  animation: vt-rise 0.5s ease forwards;
}

.vt-ways .vt-way:nth-child(3) {
  animation-delay: 0.15s;
}

.vt-way-sport {
  border-top: 6px solid #3b82f6;
}

.vt-way-diet {
  border-top: 6px solid #22c55e;
}

.vt-way-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.vt-way-sport .vt-way-badge {
  background: #dbeafe;
  color: #1d4ed8;
}

.vt-way-diet .vt-way-badge {
  background: #dcfce7;
  color: #15803d;
}

.vt-way-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.vt-way-text {
  color: #4b5563;
  font-size: 0.925rem;
  line-height: 1.65;
}

/* VEYA ayracı */
.vt-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
  padding: 10px 0;
  color: #9ca3af;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.vt-or::before,
.vt-or::after {
  content: "";
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: #e5e7eb;
}

.vt-or span {
  background: #1f2937;
  color: #fff;
  border-radius: 999px;
  padding: 4px 18px;
}

/* Paylaş */
.vt-share-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.vt-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.vt-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.45);
}

.vt-share-btn:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.55);
  outline-offset: 3px;
}

.vt-share-note {
  font-size: 0.8125rem;
  color: #15803d;
  font-weight: 600;
  min-height: 20px;
}

.vt-hint {
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
  padding: 30px 10px;
}

/* YMYL uyarı */
.vt-warning {
  margin-top: 26px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  padding: 15px 18px;
  border-radius: 8px;
  color: #92400e;
  font-size: 0.875rem;
  line-height: 1.7;
}

/* SSS */
.vt-faq {
  margin-top: 24px;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.vt-faq-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.vt-faq-item {
  border: 1px solid #e5e9ef;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

.vt-faq-item:last-child {
  margin-bottom: 0;
}

.vt-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1f2937;
  cursor: pointer;
  list-style: none;
}

.vt-faq-question::-webkit-details-marker {
  display: none;
}

.vt-faq-question::after {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fef3c7;
  color: #b45309;
  font-size: 1.25rem;
  line-height: 1;
}

.vt-faq-item[open] .vt-faq-question::after {
  content: "−";
}

.vt-faq-question:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.55);
  outline-offset: -3px;
}

.vt-faq-answer {
  padding: 0 18px 16px;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Kaynakça */
.vt-references {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.75rem;
  color: #718096;
  line-height: 1.6;
}

/* Animasyon */
@keyframes vt-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet/üstü: iki yol yan yana */
@media (min-width: 720px) {
  .vt-hero-title {
    font-size: 2.1rem;
  }

  .vt-ways {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
  }

  .vt-or {
    flex-direction: column;
    margin: 0;
    padding: 0 4px;
  }

  .vt-or::before,
  .vt-or::after {
    width: 2px;
    height: auto;
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vt-page *,
  .vt-page *::before,
  .vt-page *::after {
    animation-duration: 0.01ms;
    transition-duration: 0.01ms;
  }

  .vt-way {
    opacity: 1;
    transform: none;
  }
}
