/*
Theme Name: Zihin Prompt Hub
Theme URI: https://example.com/
Author: OpenAI
Author URI: https://openai.com/
Description: Prompt galerisi ve dijital urun odakli WordPress temasi. Prompt ozel icerik tipi, kategori filtreleri, kopyala butonu, premium kutular ve SEO uyumlu yapi ile gelir odakli kullanim icin hazirlanmistir.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: zihin-prompt-hub
*/

:root {
  --bg: #0f1115;
  --bg-soft: #171b22;
  --card: #1c212b;
  --text: #eef2f7;
  --muted: #9ca7b7;
  --line: #2a3140;
  --accent: #f6d27d;
  --accent-dark: #d4ab47;
  --success: #57d6a4;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0,0,0,.25);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #0f1115 0%, #121722 100%);
  color: var(--text);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.site-wrap { min-height: 100vh; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 36px 0; }
.section-title { font-size: clamp(1.6rem, 2vw, 2.2rem); margin: 0 0 10px; }
.section-subtitle { color: var(--muted); margin: 0 0 24px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(15,17,21,.78);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 16px; }
.brand { font-weight: 800; letter-spacing: .02em; font-size: 1.05rem; }
.brand small { display: block; color: var(--muted); font-size: .72rem; font-weight: 500; }
.menu-wrap { display: flex; gap: 14px; align-items: center; }
.main-nav ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a { color: var(--muted); font-weight: 600; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--text); }
.header-cta, .button, button, input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 999px; font-weight: 700;
  background: var(--accent); color: #111; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 12px 28px rgba(246, 210, 125, .18);
}
.header-cta:hover, .button:hover, button:hover, input[type="submit"]:hover {
  transform: translateY(-1px);
  background: #ffe2a4;
}
.button.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.button.ghost:hover { background: rgba(255,255,255,.03); }

.hero {
  padding: 64px 0 34px;
  background:
    radial-gradient(circle at top right, rgba(246,210,125,.18), transparent 28%),
    radial-gradient(circle at top left, rgba(87,214,164,.08), transparent 30%);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .95fr; gap: 26px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.02; margin: 0 0 14px; }
.hero p { color: var(--muted); font-size: 1.02rem; margin: 0 0 22px; max-width: 60ch; }
.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.08);
  padding: 24px; border-radius: 28px; box-shadow: var(--shadow);
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.stat {
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 18px; border-radius: var(--radius);
}
.stat strong { display: block; font-size: 1.35rem; }
.stat span { color: var(--muted); font-size: .9rem; }
.search-box { display: flex; gap: 10px; flex-wrap: wrap; }
.search-box input {
  flex: 1 1 260px; padding: 14px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #0d1016; color: var(--text);
}

.card-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.prompt-card, .feature-card, .price-card, .info-card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow);
}
.prompt-card__thumb {
  aspect-ratio: 4/3; background: linear-gradient(135deg, #202734 0%, #151922 100%);
  overflow: hidden; position: relative;
}
.prompt-card__thumb::after {
  content: "PROMPT"; position: absolute; left: 14px; bottom: 14px;
  font-size: .72rem; letter-spacing: .14em; color: rgba(255,255,255,.85);
  padding: 6px 10px; border-radius: 999px; background: rgba(15,17,21,.62);
  border: 1px solid rgba(255,255,255,.14);
}
.prompt-card__body { padding: 18px; }
.prompt-card h3 { margin: 0 0 10px; font-size: 1.1rem; }
.meta-line, .card-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .88rem; }
.badge {
  display: inline-flex; padding: 7px 11px; border-radius: 999px;
  background: rgba(246,210,125,.1); color: var(--accent); border: 1px solid rgba(246,210,125,.18);
  font-size: .8rem; font-weight: 700;
}
.badge.alt { background: rgba(255,255,255,.05); color: var(--muted); border-color: rgba(255,255,255,.08); }
.card-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px;
}
.filter-chip {
  display: inline-flex; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
  background: rgba(255,255,255,.02); font-weight: 700; font-size: .9rem;
}
.filter-chip:hover, .filter-chip.active { color: var(--text); border-color: rgba(246,210,125,.35); background: rgba(246,210,125,.08); }

.single-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 26px; padding: 34px 0 60px; }
.single-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.08); border-radius: 24px; padding: 24px; box-shadow: var(--shadow);
}
.single-image { border-radius: 18px; overflow: hidden; margin-bottom: 16px; background: #121722; }
.prompt-box {
  position: relative; background: #0b0e13; border: 1px solid var(--line);
  border-radius: 20px; padding: 20px; margin-top: 12px;
}
.prompt-box pre {
  margin: 0; white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .95rem; color: #f3f6fb;
}
.copy-button {
  position: absolute; top: 14px; right: 14px; padding: 10px 14px; font-size: .9rem;
}
.info-list { display: grid; gap: 12px; margin-top: 16px; }
.info-row { padding: 14px 16px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); }
.info-row strong { display: block; margin-bottom: 4px; font-size: .95rem; }
.info-row span, .info-row div { color: var(--muted); }
.premium-box {
  margin-top: 18px; padding: 18px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(246,210,125,.16), rgba(246,210,125,.04));
  border: 1px solid rgba(246,210,125,.25);
}
.premium-box h3 { margin: 0 0 8px; }
.premium-box p { margin: 0 0 14px; color: rgba(255,255,255,.82); }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }

.feature-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.feature-card, .price-card, .info-card { padding: 22px; }
.feature-card h3, .price-card h3, .info-card h3 { margin-top: 0; }
.feature-card p, .price-card p, .info-card p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li::before { content: "✓ "; color: var(--success); font-weight: 700; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.price-card.featured { border-color: rgba(246,210,125,.35); transform: translateY(-4px); }
.price-value { font-size: 2rem; font-weight: 800; margin: 0 0 8px; }

.cta-band {
  padding: 26px; border-radius: 26px; background: linear-gradient(135deg, rgba(246,210,125,.15), rgba(87,214,164,.08));
  border: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; align-items: center;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 28px 0 46px; color: var(--muted);
}
.footer-grid { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }

.archive-head { padding: 36px 0 18px; }
.archive-head h1 { margin-bottom: 8px; }
.empty-state { padding: 28px; border: 1px dashed var(--line); border-radius: 20px; color: var(--muted); }
.pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.pagination .page-numbers {
  min-width: 42px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--muted);
}
.pagination .current, .pagination a:hover { color: var(--text); background: rgba(246,210,125,.08); border-color: rgba(246,210,125,.35); }

@media (max-width: 1024px) {
  .hero-grid, .single-layout, .feature-list, .pricing-grid, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid > :first-child, .single-layout > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .header-inner, .menu-wrap { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 38px; }
  .hero-grid, .card-grid, .feature-list, .pricing-grid, .single-layout, .related-grid, .stats { grid-template-columns: 1fr; }
  .cta-band, .footer-grid { flex-direction: column; align-items: flex-start; }
  .copy-button { position: static; margin-bottom: 14px; }
}

.prompt-content{
    white-space:pre-wrap;
    background:#0f172a;
    border:1px solid rgba(255,255,255,.08);
    border-radius:14px;
    padding:16px;
    line-height:1.6;
    margin-bottom:12px;
}

.copy-prompt-btn{
    cursor:pointer;
}