/* Mekin — bileşenler. erayakbiyik.com/ekstra demo_components*.html'den uyarlandı (#3 Butonlar,
   #119 Service Card, #129 Post Card, #104 Badge, #106 Chip, #102 Progress, #103 Search). */

/* ── header / nav ── */
.header {
  background: rgba(7,16,15,.82);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 72px; position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px);
}
[data-theme="light"] .header { background: rgba(251,249,242,.88); }
@media (max-width: 640px) { .header { height: 60px; padding: 0 16px; } }
.header-left { display: flex; align-items: center; gap: 10px; }
.brand-logo-main { height: 34px; width: auto; display: block; }
.brand-logo-compact { height: 28px; width: auto; display: none; }
@media (max-width: 640px) { .brand-logo-main { display: none; } .brand-logo-compact { display: block; } }
.header-sub { font-size: 11px; color: var(--text3); margin-top: 1px; }
.header-nav { display: flex; align-items: center; gap: 2px; }
.header-nav a {
  font-size: 13px; font-weight: 600; color: var(--text2);
  padding: 8px 12px; border-radius: 8px; transition: all .15s;
}
.header-nav a:hover { background: var(--glass2); color: var(--text); }
.header-nav a.active { color: var(--accent2); background: rgba(22,199,165,0.1); }
.header-right { display: flex; align-items: center; gap: 10px; }
.theme-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg3); color: var(--text2);
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s;
}
.theme-btn:hover { color: var(--text); border-color: var(--border2); }
.header-burger { display: none; }
@media (max-width: 860px) {
  .header-nav { display: none; }
  .header-burger { display: flex; }
}

.mobile-nav {
  display: none; flex-direction: column; background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 8px 16px 14px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 10px 6px; font-size: 14px; font-weight: 600; color: var(--text2); border-bottom: 1px solid var(--border); }
.mobile-nav a.active { color: var(--accent2); }

/* ── footer ── */
.footer { background: var(--bg2); border-top: 1px solid var(--border2); padding: 36px 24px; text-align: center; font-size: 12px; color: var(--text3); }
.footer a { color: var(--accent2); }
.footer a:hover { text-decoration: underline; }
.footer-logo { height: 22px; width: auto; margin: 0 auto 16px; opacity: .9; }
.footer-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }

/* ── yan flamalar (yalnızca >=1600px, dekoratif) ── */
.side-banner {
  display: none; position: fixed; top: 140px; width: 120px; height: auto;
  pointer-events: none; z-index: 5; opacity: .78;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.45));
}
.side-banner-left { left: max(20px, calc((100vw - 1240px) / 2 - 160px)); }
.side-banner-right { right: max(20px, calc((100vw - 1240px) / 2 - 160px)); }
@media (min-width: 1600px) { .side-banner { display: block; } }

/* ── generic card (her yerde tekrar eden kalıp: card + border + r) ── */
.ek-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: 0 2px 12px var(--shadow);
}
.ek-card-pad { padding: 24px; }

/* ── buttons (#3) ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 9px; border: none;
  font-size: 0.84rem; font-weight: 600; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  font-family: inherit; letter-spacing: .01em;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-primary { background: linear-gradient(180deg,#29DCB8,#16C7A5); color: #06110E; box-shadow: 0 8px 24px rgba(22,199,165,.18); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(22,199,165,.28); }
.btn-ghost { background: var(--bg3); color: var(--text2); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg2); color: var(--text); }
.btn-outline { background: transparent; color: var(--gold-soft); border: 1px solid var(--border2); }
.btn-outline:hover { border-color: var(--gold); background: rgba(214,175,88,.08); }
.btn-lg { padding: 13px 26px; font-size: .95rem; border-radius: 11px; }
.btn-sm { padding: 5px 12px; font-size: .75rem; border-radius: 7px; }

/* ── badges (#104) ── */
.bdg { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; border: 1px solid transparent; }
.bdg-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.bdg.ghost { background: transparent; color: var(--text2); border-color: var(--border); }
.bdg.light { background: var(--glass3); color: var(--text2); border-color: var(--border2); }
.bdg.light.su { background: rgba(34,197,94,.15); color: #4ade80; border-color: rgba(34,197,94,.25); }
.bdg.light.in { background: rgba(59,130,246,.15); color: #60a5fa; border-color: rgba(59,130,246,.25); }
.bdg.light.wa { background: rgba(234,179,8,.15); color: #facc15; border-color: rgba(234,179,8,.25); }
.bdg.light.da { background: rgba(239,68,68,.15); color: #f87171; border-color: rgba(239,68,68,.25); }
.bdg.light.ac { background: rgba(22,199,165,.15); color: #5eead4; border-color: rgba(22,199,165,.3); }

/* ── chips (#106) ── */
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 99px; font-size: 12px; font-weight: 600; border: 1px solid var(--border); background: var(--glass); color: var(--text2); cursor: pointer; transition: all .15s; font-family: inherit; }
.chip:hover { background: var(--glass2); border-color: var(--border2); color: var(--text); }
.chip.sel { background: rgba(22,199,165,.15); border-color: rgba(22,199,165,.35); color: #5eead4; }
.chip.sm { padding: 3px 9px; font-size: 10px; }

/* ── service card grid (#119) — kategori kartları ── */
.sv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.sv-card { border-radius: 16px; overflow: hidden; position: relative; min-height: 160px; display: flex; align-items: flex-end; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.sv-card:hover { transform: scale(1.03) translateY(-2px); box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); }
.sv-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.sv-bg svg { width: 64px; height: 64px; opacity: .95; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); transition: transform .2s; }
.sv-card:hover .sv-bg svg { transform: scale(1.08); }
.sv-red-bg { background: linear-gradient(135deg, #b91c1c, #f97316); }
.sv-blue-bg { background: linear-gradient(135deg, #1d4ed8, #38bdf8); }
.sv-gray-bg { background: linear-gradient(135deg, #334155, #64748b); }
.sv-purple-bg { background: linear-gradient(135deg, #6d28d9, #c026d3); }
.sv-amber-bg { background: linear-gradient(135deg, #b45309, #fbbf24); }
.sv-emerald-bg { background: linear-gradient(135deg, #047857, #34d399); }
.sv-teal-bg { background: linear-gradient(135deg, #0e7490, #22d3ee); }
.sv-rose-bg { background: linear-gradient(135deg, #be123c, #fb7185); }
.sv-indigo-bg { background: linear-gradient(135deg, #3730a3, #818cf8); }
.sv-slate-bg { background: linear-gradient(135deg, #1e293b, #94a3b8); }
.sv-footer { position: relative; z-index: 1; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; width: 100%; background: linear-gradient(0deg, rgba(0,0,0,.45), transparent); }
.sv-label { font-size: 14px; font-weight: 700; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.sv-sub { font-size: 11px; color: rgba(255,255,255,.75); margin-top: 2px; }
.sv-arrow { width: 28px; height: 28px; border-radius: 9px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; flex-shrink: 0; }

/* ── post card (#129) — patch notu / duyuru akışı ── */
.post-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.post-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg,#16C7A5,#0C8F76); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.post-author { font-size: 13px; font-weight: 700; color: var(--text); }
.post-time { font-size: 11px; color: var(--text3); }
.post-tag { font-size: 10px; font-weight: 700; border-radius: 20px; padding: 2px 8px; margin-left: 4px; }
.post-tag-up { background: rgba(16,185,129,.15); color: #10b981; }
.post-body-text { font-size: 13px; color: var(--text2); line-height: 1.65; }
.post-body-text :is(h1,h2,h3) { color: var(--text); font-size: 14px; margin: 14px 0 6px; }
.post-body-text p { margin-bottom: 10px; }
.post-body-text img { border-radius: 10px; margin: 10px 0; }
.post-body-text a { color: var(--accent2); }
.post-body-text ul, .post-body-text ol { padding-left: 20px; margin-bottom: 10px; }

/* ── progress indicator (#102) — leveling rota göstergesi ── */
.pi-box { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; }
.pi-steps { display: flex; align-items: flex-start; width: 100%; flex-wrap: wrap; gap: 8px 0; }
.pi-step { display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 1; min-width: 70px; position: relative; }
.pi-step:not(:last-child)::after { content: ''; position: absolute; top: 15px; left: calc(50% + 16px); right: calc(-50% + 16px); height: 1px; background: var(--border2); }
.pi-circ { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--border2); background: var(--bg3); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--text3); position: relative; z-index: 1; transition: all .15s; }
.pi-lbl { font-size: 10.5px; font-weight: 600; color: var(--text3); text-align: center; line-height: 1.3; transition: color .15s; }
.pi-step.done .pi-circ { background: rgba(22,199,165,.15); border-color: rgba(22,199,165,.4); color: var(--accent2); }
.pi-step.done .pi-lbl { color: var(--text2); }
.pi-step-link { cursor: pointer; text-decoration: none; }
.pi-step-link:hover .pi-circ { border-color: var(--accent); background: rgba(22,199,165,.18); color: var(--accent2); transform: translateY(-2px); }
.pi-step-link:hover .pi-lbl { color: var(--text); }

/* ── search bar (#103 basitleştirilmiş) ── */
.gls-outer { position: relative; width: 100%; }
.gls-box { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--card); border: 1px solid var(--border2); border-radius: 13px; transition: border-color .2s; }
.gls-outer:focus-within .gls-box { border-color: rgba(22,199,165,.5); box-shadow: 0 0 0 3px rgba(22,199,165,.12); }
.gls-ic { color: var(--text3); flex-shrink: 0; }
.gls-ic svg { width: 17px; height: 17px; }
.gls-in { flex: 1; background: none; border: none; outline: none; font-size: 14.5px; color: var(--text); font-family: inherit; }
.gls-in::placeholder { color: var(--text3); }

/* ── data table ── */
.ek-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r); background: var(--card); }
table.ek-table { width: 100%; border-collapse: collapse; font-size: 13px; }
table.ek-table th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text3); padding: 10px 14px; border-bottom: 1px solid var(--border2); position: sticky; top: 0; background: var(--card); }
table.ek-table td { padding: 9px 14px; border-bottom: 1px solid var(--border); color: var(--text2); white-space: nowrap; }
table.ek-table tr:last-child td { border-bottom: none; }
table.ek-table tr:hover td { background: var(--glass); color: var(--text); }

/* ── item kart (eşya veritabanı) ── */
.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; align-items: stretch; }
.item-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 12px; cursor: pointer; transition: all .15s;
  display: flex; flex-direction: column; height: 100%;
}
.item-card:hover { border-color: var(--border2); transform: translateY(-2px); box-shadow: 0 6px 20px var(--shadow); }
.ic-icon {
  width: 100%; aspect-ratio: 1; background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px; overflow: hidden; flex-shrink: 0;
}
.ic-icon img { width: 68%; height: 68%; object-fit: contain; image-rendering: pixelated; }
.ic-icon.ic-icon-lg img { width: 60%; height: 60%; }
.ic-icon.ic-icon-hero img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
.item-card .ic-name {
  font-size: 12.5px; font-weight: 600; color: var(--text); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.7em;
}
.item-card .ic-type { font-size: 10.5px; color: var(--text3); margin-top: auto; padding-top: 6px; }
.item-detail { display: none; }
.item-detail.open { display: block; }

/* ── stats strip (hero) ── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.stat { background: var(--card); padding: 16px 14px; text-align: center; }
.stat-num { font-size: 22px; font-weight: 800; color: var(--accent2); }
.stat-label { font-size: 11px; color: var(--text3); margin-top: 4px; }

/* ── countdown (#132 ruhu, sadeleştirilmiş) ── */
.countdown { display: flex; gap: 10px; justify-content: center; }
.cd-box { background: var(--bg3); border: 1px solid var(--border2); border-radius: 10px; padding: 10px 14px; min-width: 62px; text-align: center; }
.cd-num { font-size: 22px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.cd-lbl { font-size: 9.5px; color: var(--text3); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }

/* ── section headings ── */
.section-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent2); margin-bottom: 8px; }
.section-title { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.section-dek { color: var(--text2); font-size: 14px; max-width: 640px; margin-bottom: 28px; }

/* ── hero (anasayfa) ── */
.hero-full {
  position: relative; min-height: clamp(460px, 56vh, 560px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 24px; overflow: hidden;
}
@media (max-width: 640px) { .hero-full { min-height: 420px; padding: 32px 20px; } }
.hero-full-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(640px 420px at 18% 12%, rgba(22,199,165,.22), transparent 70%),
    radial-gradient(560px 420px at 85% 85%, rgba(214,175,88,.18), transparent 70%),
    radial-gradient(900px 600px at 50% 100%, rgba(56,189,248,.10), transparent 70%);
}
.grad-text { background: linear-gradient(135deg, var(--accent2), #D6AF58); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-scroll-cue {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: var(--text3); display: flex; z-index: 1;
  animation: hero-bounce 1.8s ease-in-out infinite;
}
.hero-scroll-cue:hover { color: var(--accent2); }
@keyframes hero-bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .hero-scroll-cue { animation: none; } }

/* ── source tag (kaynak şeffaflığı) ── */
.src-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; color: var(--text3); background: var(--glass); border: 1px solid var(--border); border-radius: 99px; padding: 3px 9px; }

/* ── prose (rehber metinleri) ── */
.prose { color: var(--text2); font-size: 14.5px; line-height: 1.75; }
.prose h1, .prose p, .prose > ul, .prose > ol, .prose blockquote { max-width: 72ch; }
.prose h1 { font-size: 24px; color: var(--text); margin-bottom: 14px; }
.prose h2 { font-size: 19px; color: var(--text); margin: 28px 0 10px; max-width: 72ch; }
.prose h3 { font-size: 16px; color: var(--text); margin: 20px 0 8px; max-width: 72ch; }
.prose p { margin-bottom: 14px; }
.prose img { border-radius: 10px; border: 1px solid var(--border); margin: 14px 0; }
.prose a { color: var(--accent2); }
.prose a:hover { text-decoration: underline; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 14px; }
.prose li { margin-bottom: 5px; }
.prose code { background: var(--glass2); padding: 2px 6px; border-radius: 5px; font-size: .9em; }

/* ── tablo scroll sarmalayıcı (geniş karşılaştırma tabloları) ── */
.table-scroll { width: 100%; overflow-x: auto; margin: 18px 0; border: 1px solid var(--border); border-radius: var(--r-sm, 10px); background: var(--card); -webkit-overflow-scrolling: touch; }
.table-scroll::-webkit-scrollbar { height: 8px; }
.table-scroll::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 99px; }
.prose table, .post-body-text table { border-collapse: collapse; font-size: 13.5px; width: 100%; min-width: 640px; }
.table-scroll table, .table-scroll .post-body-text table { margin: 0; border: none; }
.prose table th, .prose table td, .post-body-text table th, .post-body-text table td { padding: 10px 16px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
.prose table th, .post-body-text table th { background: var(--bg3); color: var(--text); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; position: sticky; top: 0; z-index: 1; }
.prose table td:first-child, .post-body-text table td:first-child { color: var(--text); font-weight: 700; }
.prose table tbody tr:nth-child(even), .post-body-text table tbody tr:nth-child(even) { background: var(--glass2); }
.prose table tbody tr:hover, .post-body-text table tbody tr:hover { background: var(--glass3); }
.prose blockquote { border-left: 3px solid var(--accent); padding-left: 14px; color: var(--text2); margin: 14px 0; }
.prose img, .post-body-text img { max-width: 100%; height: auto; }

/* ── pagination ── */
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager span { padding: 7px 13px; border-radius: 8px; font-size: 13px; font-weight: 600; border: 1px solid var(--border); color: var(--text2); }
.pager a:hover { background: var(--glass2); color: var(--text); }
.pager .cur { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── breadcrumb ── */
.crumb { font-size: 12.5px; color: var(--text3); margin-bottom: 18px; }
.crumb a { color: var(--text3); }
.crumb a:hover { color: var(--accent2); }

/* ── header nav dropdown ("Daha Fazla") ── */
.nav-more { position: relative; }
.nav-more > span { font-size: 13px; font-weight: 600; color: var(--text2); padding: 8px 12px; border-radius: 8px; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; transition: all .15s; }
.nav-more:hover > span, .nav-more:focus-within > span { background: var(--glass2); color: var(--text); }
.nav-more-panel {
  position: absolute; top: 100%; left: 0; margin-top: 6px; min-width: 190px;
  background: var(--bg2); border: 1px solid var(--border2); border-radius: 12px;
  box-shadow: var(--shadow-soft, 0 12px 32px rgba(0,0,0,.4)); padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: all .16s var(--ease-standard, ease);
}
.nav-more:hover .nav-more-panel, .nav-more:focus-within .nav-more-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-more-panel a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text2); }
.nav-more-panel a:hover { background: var(--glass2); color: var(--accent2); }
.nav-more-panel a.active { color: var(--accent2); }

/* ── header mini arama ── */
.header-search { display: flex; align-items: center; gap: 7px; background: #0B1714; border: 1px solid var(--border); border-radius: 10px; padding: 0 12px; height: 38px; width: 210px; transition: border-color .15s; }
[data-theme="light"] .header-search { background: var(--card); }
.header-search:focus-within { border-color: var(--accent); }
.header-search svg { flex-shrink: 0; color: var(--text3); width: 15px; height: 15px; }
.header-search input { background: none; border: none; outline: none; color: var(--text); font-size: 13px; font-family: inherit; width: 100%; }
.header-search input::placeholder { color: var(--text3); }
@media (max-width: 1100px) { .header-right > .header-search { display: none; } }

.gsearch-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--bg2); border: 1px solid var(--border2); border-radius: 12px; box-shadow: 0 16px 36px rgba(0,0,0,.4); max-height: 360px; overflow-y: auto; z-index: 200; display: none; }
.gsearch-results.open { display: block; }
.gsearch-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 13.5px; color: var(--text); border-bottom: 1px solid var(--border); }
.gsearch-row:last-child { border-bottom: none; }
.gsearch-row:hover { background: var(--glass2); }
.gsearch-kind { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--accent2); background: var(--glass2); border-radius: 6px; padding: 2px 7px; flex-shrink: 0; white-space: nowrap; min-width: 52px; text-align: center; }
.gsearch-title { flex: 1; }
.gsearch-empty { padding: 14px; font-size: 13px; color: var(--text3); text-align: center; }

/* ── hero arama kutusu (büyük) ── */
.hero-search-wrap { position: relative; width: min(680px, 100%); margin: 0 auto 16px; }
.hero-search { display: flex; align-items: center; gap: 10px; background: #0B1714; border: 1px solid var(--border); border-radius: 14px; padding: 0 10px 0 18px; height: 56px; transition: border-color .15s, box-shadow .15s; }
[data-theme="light"] .hero-search { background: var(--card); }
.hero-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(22,199,165,.12); }
.hero-search svg { color: var(--text3); flex-shrink: 0; }
.hero-search input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-size: 15px; font-family: inherit; }
.hero-search input::placeholder { color: var(--text3); }
.hero-search-btn { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(180deg,#29DCB8,#16C7A5); border: none; display: flex; align-items: center; justify-content: center; color: #06110E; cursor: pointer; }
.hero-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
.hero-chips a.chip { text-decoration: none; }

/* ── duyuru şeridi ── */
.ann-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg2); }
.ann-inner { display: flex; align-items: center; gap: 18px; padding: 13px 24px; overflow-x: auto; max-width: 1180px; margin: 0 auto; }
.ann-badge { flex-shrink: 0; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; color: #06110E; background: linear-gradient(135deg,var(--gold-soft),var(--gold)); padding: 4px 10px; border-radius: 999px; }
.ann-item { flex-shrink: 0; display: flex; flex-direction: column; gap: 1px; padding-right: 18px; border-right: 1px solid var(--border); }
.ann-item:last-of-type { border-right: none; }
.ann-item a { font-size: 12.5px; font-weight: 600; color: var(--text2); white-space: nowrap; }
.ann-item a:hover { color: var(--accent2); }
.ann-item span { font-size: 10.5px; color: var(--text3); }
.ann-more { flex-shrink: 0; margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--accent2); white-space: nowrap; }

/* ── düz kategori kartı (brief #9 — surface-2, altın ikon) ── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.cat-card { background: linear-gradient(180deg,var(--bg3),var(--card)); border: 1px solid var(--border); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: transform .2s var(--ease-standard,ease), border-color .2s; }
.cat-card:hover { transform: translateY(-4px); border-color: rgba(22,199,165,.4); }
.cat-icon { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; }
.cat-icon svg { width: 28px; height: 28px; color: var(--gold); transition: color .2s; }
.cat-card:hover .cat-icon svg { color: var(--accent); }
.cat-name { font-size: 14.5px; font-weight: 700; color: var(--text); }
.cat-sub { font-size: 11.5px; color: var(--text3); margin-top: 2px; }
.cat-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.cat-arrow { color: var(--text3); font-size: 15px; transition: transform .2s, color .2s; }
.cat-card:hover .cat-arrow { color: var(--accent2); transform: translateX(3px); }

/* ── rehber/highlight kartı (cover + badge) ── */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.guide-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.guide-card:hover { transform: translateY(-3px); border-color: rgba(22,199,165,.35); }
.guide-cover { aspect-ratio: 16/9; position: relative; display: flex; align-items: center; justify-content: center; }
.guide-cover svg { width: 40px; height: 40px; opacity: .85; }
.guide-badge { position: absolute; top: 10px; left: 10px; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: rgba(7,16,15,.72); color: var(--gold-soft); border: 1px solid rgba(214,175,88,.4); backdrop-filter: blur(4px); }
.guide-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.guide-title { font-size: 14.5px; font-weight: 700; color: var(--text); line-height: 1.35; }
.guide-desc { font-size: 12.5px; color: var(--text3); line-height: 1.5; flex: 1; }
.guide-meta { font-size: 11px; color: var(--text3); margin-top: 6px; }

/* ── rehber detay — 3 kolon (TOC + makale + ilgili) ── */
.guide-layout { display: grid; grid-template-columns: 210px minmax(0,780px) 260px; gap: 32px; padding: 36px 24px 80px; align-items: start; justify-content: center; }
.guide-main { min-width: 0; }
.toc-sticky { position: sticky; top: 96px; }
.toc-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-soft); margin-bottom: 12px; }
.toc-link { display: block; font-size: 12.5px; color: var(--text3); padding: 6px 0 6px 12px; border-left: 2px solid var(--border); line-height: 1.4; transition: color .15s, border-color .15s; }
.toc-link:hover { color: var(--text); }
.toc-lvl3 { padding-left: 22px; font-size: 12px; }
.guide-related .related-list { display: flex; flex-direction: column; gap: 10px; }
.related-link { font-size: 12.5px; font-weight: 600; color: var(--text2); background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; line-height: 1.4; transition: border-color .15s, color .15s; }
.related-link:hover { color: var(--accent2); border-color: rgba(22,199,165,.35); }
@media (max-width: 1150px) {
  .guide-layout { grid-template-columns: minmax(0,780px); }
  .guide-toc, .guide-related { display: none; }
}

/* ── özel amblem (premium/öne çıkan alanlarda, sınırlı kullanım) ── */
.page-emblem { position: absolute; top: -18px; right: 28px; width: 76px; height: auto; opacity: .9; pointer-events: none; filter: drop-shadow(0 10px 18px rgba(0,0,0,.4)); }
@media (max-width: 860px) { .page-emblem { display: none; } }

/* ── istatistik şeridi (brief tarzı ikon+sayı) ── */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.stat-cell { background: var(--card); padding: 20px 16px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.stat-cell svg { width: 20px; height: 20px; color: var(--gold); margin-bottom: 2px; }
.stat-cell .stat-num { font-size: 22px; font-weight: 800; color: var(--accent2); font-variant-numeric: tabular-nums; }
.stat-cell .stat-label { font-size: 11px; color: var(--text3); }
