/*
Theme Name: Lafci-WP — Modern Mobil Sohbet
Theme URI: https://lafci.com.tr/
Author: Lafçı Topluluk Ekibi
Author URI: https://lafci.com.tr/hakkimizda/
Description: Lafci.com.tr için sıfırdan tasarlanmış Gece Moru & Neon Turkuaz renk paletli, modern mobil sohbet vitrini, dahili GEO (llms.txt, AI bot izinleri, Topluluk JSON-LD şemaları) ve tek tıkla otomatik sayfa kurulumlu özgün WordPress teması.
Version: 1.4.6
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: lafci-wp
*/

:root {
  --bg: #0b1020;
  --bg-alt: #0f162c;
  --surface: #131b33;
  --surface-2: #192342;
  --border: #233052;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #6366f1;
  --cyan: #22d3ee;
  --emerald: #34d399;
  --grad: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; transition: opacity .15s ease, color .15s ease; }
a:hover { opacity: .9; }
img { max-width: 100%; height: auto; display: block; }

.lafci-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Header */
.lafci-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 32, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.lafci-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 12px 20px; max-width: 1240px; margin: 0 auto;
}
.lafci-brand { display: flex; align-items: center; gap: 11px; color: #fff; flex-shrink: 0; white-space: nowrap; }
.lafci-logo-mark {
  width: 42px; height: 42px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(79, 70, 229, .32);
  flex-shrink: 0;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
}
.lafci-logo-svg { width: 42px; height: 42px; display: block; }
.lafci-brand:hover .lafci-logo-mark {
  transform: translateY(-2px) rotate(-3deg) scale(1.04);
  box-shadow: 0 10px 26px rgba(6, 182, 212, .38);
}
.lafci-logo-spark {
  transform-origin: 50px 14px;
  animation: lafciSparkPulse 2.4s ease-in-out infinite;
}
.lafci-brand-name { font-size: 18px; font-weight: 800; letter-spacing: -.3px; line-height: 1.15; }
.lafci-brand-name span { color: var(--cyan); }
.lafci-brand-sub { font-size: 11.5px; color: var(--muted); }

.lafci-nav {
  display: flex; align-items: center; gap: 3px; list-style: none;
  margin: 0; padding: 4px; flex-wrap: nowrap;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.lafci-nav li { flex-shrink: 0; }
.lafci-nav a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 12px; border-radius: 999px;
  color: #cbd5e1; font-size: 13px; font-weight: 600; white-space: nowrap;
  transition: background .18s ease, color .18s ease, transform .15s ease, box-shadow .18s ease;
}
.lafci-nav a:hover {
  background: rgba(255, 255, 255, .09);
  color: #ffffff;
  transform: translateY(-1px);
}
.lafci-nav .current-menu-item > a,
.lafci-nav .current_page_item > a,
.lafci-nav a[aria-current="page"] {
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 55%, #0ea5e9 100%) !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(37, 99, 235, .36), inset 0 1px 0 rgba(255, 255, 255, .32);
}
.lafci-nav .current-menu-item > a:hover,
.lafci-nav .current_page_item > a:hover,
.lafci-nav a[aria-current="page"]:hover {
  color: #ffffff !important;
  filter: brightness(1.06);
}

.lafci-online-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(16, 185, 129, .18) 0%, rgba(5, 150, 105, .10) 100%);
  border: 1px solid rgba(52, 211, 153, .45);
  color: var(--emerald); font-size: 12.5px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(16, 185, 129, .16), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: transform .16s ease, box-shadow .18s ease, border-color .18s ease;
}
.lafci-online-pill:hover {
  transform: translateY(-1px);
  border-color: var(--emerald);
  box-shadow: 0 6px 22px rgba(16, 185, 129, .28), inset 0 1px 0 rgba(255, 255, 255, .2);
  opacity: 1;
}
.lafci-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .65);
  animation: lafciPulse 2s infinite;
}
@keyframes lafciPulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, .65); }
  70%  { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Split Hero */
.lafci-hero {
  background: radial-gradient(circle at 85% 15%, rgba(99, 102, 241, .24), transparent 52%),
              radial-gradient(circle at 15% 80%, rgba(6, 182, 212, .14), transparent 48%),
              var(--bg);
  padding: 52px 0 46px;
  border-bottom: 1px solid var(--border);
}
.lafci-hero-grid {
  display: grid; grid-template-columns: 1.25fr 0.95fr; gap: 36px; align-items: center;
}
.lafci-badge {
  display: inline-block; padding: 5px 13px; border-radius: 999px;
  background: rgba(34, 211, 238, .12); border: 1px solid rgba(34, 211, 238, .32);
  color: var(--cyan); font-size: 12px; font-weight: 700; letter-spacing: .3px;
  margin-bottom: 14px;
}
.lafci-hero h1 {
  font-size: 34px; line-height: 1.22; margin: 0 0 14px; font-weight: 800; color: #f8fafc;
}
.lafci-hero h1 span {
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.lafci-hero-sub { font-size: 15.5px; color: #cbd5e1; margin: 0 0 24px; line-height: 1.7; }
.lafci-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lafci-stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 12px; text-align: center;
}
.lafci-stat strong { display: block; font-size: 20px; color: #fff; font-weight: 800; }
.lafci-stat span { font-size: 12px; color: var(--muted); }

/* Hero Login Card */
.lafci-login-card {
  background: var(--surface); border: 1px solid #2d3e69;
  border-radius: 20px; padding: 26px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.lafci-login-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.lafci-login-head h2, .lafci-login-title { margin: 0; font-size: 17px; color: #fff; font-weight: 700; }
.lafci-tls-tag { font-size: 12px; color: var(--emerald); font-weight: 600; }
.lafci-field { margin-bottom: 14px; }
.lafci-field label { display: block; font-size: 12.5px; font-weight: 600; color: #cbd5e1; margin-bottom: 6px; }
.lafci-field input, .lafci-field select {
  width: 100%; padding: 11px 14px; border-radius: 12px;
  background: var(--bg); border: 1px solid #334155; color: #f8fafc;
  font-size: 14px; outline: none;
}
.lafci-field input:focus, .lafci-field select:focus { border-color: var(--cyan); }
.lafci-btn {
  display: inline-block; width: 100%; padding: 13px 20px; border: 0; border-radius: 13px;
  background: var(--grad); color: #fff; font-size: 14.5px; font-weight: 700;
  cursor: pointer; text-align: center; letter-spacing: .1px;
  box-shadow: 0 8px 24px rgba(99, 102, 241, .36), inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: transform .16s ease, box-shadow .18s ease, filter .18s ease;
}
.lafci-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 12px 28px rgba(99, 102, 241, .46), inset 0 1px 0 rgba(255, 255, 255, .32);
  color: #fff; opacity: 1;
}
.lafci-btn:active { transform: translateY(0); }
.lafci-login-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; }

/* Rooms Bento Section */
.lafci-section { padding: 44px 0; border-bottom: 1px solid var(--border); }
.lafci-section-alt { background: var(--bg-alt); }
.lafci-sec-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 12px; margin-bottom: 22px;
}
.lafci-sec-head h2 { margin: 0 0 4px; font-size: 22px; color: #f8fafc; font-weight: 800; }
.lafci-sec-head p, .lafci-sec-sub { margin: 0; font-size: 13.5px; color: var(--muted); }
.lafci-room-card p, .lafci-room-desc { margin: 5px 0 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
.lafci-post-card p, .lafci-post-desc { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.lafci-cluster-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 14px 0 24px; }
.lafci-cluster-box { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.lafci-cluster-box h3 { margin: 0 0 10px; font-size: 14.5px; color: var(--cyan); font-weight: 700; }
.lafci-cluster-box .lafci-cluster-pills { margin: 0; }
@media (max-width: 900px) { .lafci-cluster-grid { grid-template-columns: 1fr; } }
.lafci-rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lafci-room-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px; color: var(--text);
  transition: transform .15s ease, border-color .15s ease;
}
.lafci-room-card:hover { transform: translateY(-2px); border-color: var(--cyan); }
.lafci-room-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(99, 102, 241, .16); display: flex; align-items: center;
  justify-content: center; font-size: 20px; flex-shrink: 0;
}
.lafci-room-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lafci-room-top strong { font-size: 15px; color: #fff; }
.lafci-room-live { font-size: 11.5px; color: var(--emerald); font-weight: 700; }
.lafci-room-card p { margin: 5px 0 0; font-size: 13px; color: var(--muted); line-height: 1.55; }

/* Built-in GEO Knowledge Hub (<article>) */
.lafci-geo-article {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 34px 30px; margin: 36px auto;
}
.lafci-geo-header { border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 20px; }
.lafci-geo-meta {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--muted); margin-bottom: 10px;
}
.lafci-geo-pill {
  background: rgba(52, 211, 153, .14); color: var(--emerald);
  border: 1px solid rgba(52, 211, 153, .3); padding: 4px 12px;
  border-radius: 999px; font-weight: 700;
}
.lafci-geo-article h2 { font-size: 20.5px; color: #f8fafc; margin: 26px 0 12px; font-weight: 800; }
.lafci-geo-header h2 { margin: 0; font-size: 23px; }
.lafci-geo-article > p { font-size: 15px; line-height: 1.76; color: #cbd5e1; margin: 0 0 15px; }
.lafci-geo-article a { color: var(--cyan); text-decoration: underline; }
.lafci-takeaways {
  background: rgba(99, 102, 241, .10); border: 1px solid rgba(99, 102, 241, .35);
  border-radius: 14px; padding: 18px 22px; margin: 20px 0 24px;
}
.lafci-takeaways h2 { margin: 0 0 10px; font-size: 17.5px; color: #e0e7ff; }
.lafci-takeaways ul { margin: 0 0 0 18px; padding: 0; font-size: 14px; line-height: 1.68; color: #e2e8f0; }
.lafci-takeaways li { margin-bottom: 6px; }

.lafci-cluster-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 22px; }
.lafci-cluster-pill {
  padding: 6px 13px; border-radius: 999px; background: var(--bg);
  border: 1px solid var(--border); color: #e2e8f0 !important;
  text-decoration: none !important; font-size: 13px; font-weight: 600;
}
.lafci-cluster-pill:hover { border-color: var(--cyan); color: var(--cyan) !important; }

.lafci-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--border); margin: 14px 0 24px; }
.lafci-table { width: 100%; border-collapse: collapse; font-size: 13.7px; background: var(--bg); }
.lafci-table th { background: #1e294b; color: #fff; text-align: left; padding: 12px 14px; font-weight: 700; }
.lafci-table td { padding: 11px 14px; border-top: 1px solid var(--border); color: #cbd5e1; vertical-align: top; }

.lafci-glossary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 14px 0 24px; }
.lafci-glossary-item { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 15px 16px; }
.lafci-glossary-item dt { font-weight: 700; color: #f8fafc; font-size: 14.5px; margin-bottom: 6px; }
.lafci-glossary-item dd { margin: 0; font-size: 13.5px; color: #cbd5e1; line-height: 1.62; }

.lafci-quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 18px 0 24px; }
.lafci-quote {
  margin: 0; padding: 16px 20px; background: rgba(34, 211, 238, .08);
  border-left: 4px solid var(--cyan); border-radius: 0 12px 12px 0;
  font-size: 13.8px; line-height: 1.65; color: #e2e8f0;
}
.lafci-quote footer { margin-top: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }

.lafci-faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 14px 0 24px; }
.lafci-faq-card { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.lafci-faq-card h3 { margin: 0 0 8px; font-size: 15.5px; color: #f8fafc; line-height: 1.4; }
.lafci-faq-card p { margin: 0; font-size: 13.7px; color: #cbd5e1; line-height: 1.65; }

.lafci-cite {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 20px; font-size: 13.5px; color: #cbd5e1; line-height: 1.68;
}
.lafci-cite ul { margin: 8px 0 0 18px; padding: 0; }
.lafci-cite li { margin-bottom: 5px; }

/* Latest Posts Grid */
.lafci-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lafci-post-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between;
}
.lafci-post-thumb {
  display: block; margin: -20px -20px 14px; border-radius: 14px 14px 0 0;
  overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg);
}
.lafci-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lafci-single-cover {
  margin: 0 0 22px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border);
}
.lafci-single-cover img { width: 100%; height: auto; display: block; }
.lafci-post-cat { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: .4px; text-decoration: none; }
a.lafci-post-cat:hover { text-decoration: underline; }
.lafci-post-card h3 { margin: 8px 0 10px; font-size: 16.5px; line-height: 1.38; }
.lafci-post-card h3 a { color: #f8fafc; text-decoration: none; }
.lafci-post-card h3 a:hover { color: var(--cyan); }
.lafci-post-card p { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.lafci-post-foot { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 10px; }

/* Single & Page */
.lafci-content-box {
  max-width: 860px; margin: 36px auto; background: var(--surface);
  border: 1px solid var(--border); border-radius: 18px; padding: 34px 32px;
}
.lafci-content-box h1 { margin: 0 0 16px; font-size: 28px; color: #f8fafc; line-height: 1.28; }
.lafci-content-box p { color: #cbd5e1; font-size: 15.5px; line-height: 1.78; }
.lafci-content-box h2 { color: #f8fafc; margin-top: 28px; font-size: 21px; }

/* Chat Room Page */
.lafci-chat-shell {
  max-width: 1060px; margin: 28px auto 44px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
}
.lafci-chat-bar {
  background: var(--surface-2); padding: 14px 20px; border-bottom: 1px solid var(--border);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.lafci-chat-body { padding: 24px; min-height: 440px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.lafci-chat-log {
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px; min-height: 320px; font-size: 14px; color: #cbd5e1;
}
.lafci-chat-input-row { display: flex; gap: 10px; }
.lafci-chat-input-row input {
  flex: 1; padding: 12px 14px; border-radius: 12px;
  background: var(--bg); border: 1px solid #334155; color: #fff; font-size: 14px;
}
.lafci-chat-input-row button {
  padding: 12px 22px; border: 0; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 700; cursor: pointer;
}

/* Footer */
.lafci-footer { background: #070a14; border-top: 1px solid var(--border); padding: 34px 0 24px; margin-top: 24px; }
.lafci-footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; font-size: 13px; color: var(--muted);
}
.lafci-footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.lafci-footer-links a { color: #cbd5e1; }

@media (max-width: 900px) {
  .lafci-hero-grid, .lafci-rooms-grid, .lafci-posts-grid, .lafci-glossary, .lafci-quotes, .lafci-faq-grid {
    grid-template-columns: 1fr;
  }
  .lafci-hero h1 { font-size: 26px; }
  .lafci-nav { display: none; }
  .lafci-geo-article, .lafci-content-box { padding: 22px 18px; }
}

/* Header Actions & 5-Mode Theme Picker */
.lafci-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; position: relative; }
.lafci-theme-wrap { position: relative; }
.lafci-theme-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  color: var(--text); font-size: 12.5px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: transform .16s ease, border-color .18s ease, box-shadow .18s ease;
}
.lafci-theme-btn:hover {
  transform: translateY(-1px);
  border-color: var(--cyan);
  box-shadow: 0 6px 18px rgba(34, 211, 238, .20), inset 0 1px 0 rgba(255, 255, 255, .20);
}
.lafci-theme-btn[aria-expanded="true"] span:last-child { transform: rotate(180deg); display: inline-block; }
.lafci-swatch-mini {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--grad); display: inline-block; flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .18);
}
.lafci-theme-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 120;
  width: 244px; padding: 8px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .35);
  display: none; flex-direction: column; gap: 4px;
}
.lafci-theme-menu.is-open { display: flex; }
.lafci-theme-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 9px 11px; border-radius: 11px; border: 1px solid transparent;
  background: transparent; color: var(--text); font-size: 13px; font-weight: 600;
  cursor: pointer; text-align: left; transition: background .12s ease, border-color .12s ease;
}
.lafci-theme-opt:hover { background: var(--surface-2); border-color: var(--border); }
.lafci-theme-opt.is-active { background: var(--surface-2); border-color: var(--cyan); }
.lafci-theme-opt-left { display: flex; align-items: center; gap: 9px; }
.lafci-theme-dot {
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, .28);
}
.lafci-theme-kind {
  font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px;
  background: var(--bg); color: var(--muted); border: 1px solid var(--border);
}

/* Mode 2: Buz Gündüz (Light Daylight) */
html[data-theme="gunduz"],
html[data-theme="light"] {
  --bg: #f8fafc;
  --bg-alt: #eef2f7;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --border: #cbd5e1;
  --text: #0f172a;
  --muted: #475569;
  --accent: #4f46e5;
  --cyan: #0891b2;
  --emerald: #059669;
  --grad: linear-gradient(135deg, #4f46e5 0%, #0891b2 100%);
}

/* Mode 3: Gün Batımı (Warm Daylight) */
html[data-theme="gunbatimi"] {
  --bg: #fffbeb;
  --bg-alt: #fef3c7;
  --surface: #ffffff;
  --surface-2: #fef9e7;
  --border: #fcd34d;
  --text: #1c1917;
  --muted: #57534e;
  --accent: #ea580c;
  --cyan: #d97706;
  --emerald: #059669;
  --grad: linear-gradient(135deg, #ea580c 0%, #e11d48 100%);
}

/* Mode 4: Zümrüt Gece (Emerald Forest Night) */
html[data-theme="orman"] {
  --bg: #061512;
  --bg-alt: #0a1f1a;
  --surface: #0e2822;
  --surface-2: #14352d;
  --border: #1e4b40;
  --text: #ecfdf5;
  --muted: #94b8ad;
  --accent: #10b981;
  --cyan: #34d399;
  --emerald: #34d399;
  --grad: linear-gradient(135deg, #059669 0%, #14b8a6 100%);
}
html[data-theme="orman"] .lafci-header { background: rgba(6, 21, 18, .92); }
html[data-theme="orman"] .lafci-hero {
  background: radial-gradient(circle at 85% 15%, rgba(16, 185, 129, .24), transparent 52%),
              radial-gradient(circle at 15% 80%, rgba(20, 184, 166, .16), transparent 48%),
              var(--bg);
}
html[data-theme="orman"] .lafci-login-card { border-color: #246354; }
html[data-theme="orman"] .lafci-table th { background: #134e4a; }
html[data-theme="orman"] .lafci-footer { background: #040d0b; }

/* Mode 5: Yakut Gece (Ruby Neon Night) */
html[data-theme="yakut"] {
  --bg: #140918;
  --bg-alt: #1c0d22;
  --surface: #24112c;
  --surface-2: #30173b;
  --border: #4a235a;
  --text: #fdf2f8;
  --muted: #c4a3bd;
  --accent: #f43f5e;
  --cyan: #fb7185;
  --emerald: #34d399;
  --grad: linear-gradient(135deg, #f43f5e 0%, #a855f7 100%);
}
html[data-theme="yakut"] .lafci-header { background: rgba(20, 9, 24, .92); }
html[data-theme="yakut"] .lafci-hero {
  background: radial-gradient(circle at 85% 15%, rgba(244, 63, 94, .24), transparent 52%),
              radial-gradient(circle at 15% 80%, rgba(168, 85, 247, .18), transparent 48%),
              var(--bg);
}
html[data-theme="yakut"] .lafci-login-card { border-color: #6b2b7a; }
html[data-theme="yakut"] .lafci-table th { background: #4c1d4f; }
html[data-theme="yakut"] .lafci-footer { background: #0c050f; }

/* Shared Light-Base Contrast Overrides (for Buz Gündüz & Gün Batımı) */
html[data-theme="gunduz"] .lafci-header,
html[data-theme="light"] .lafci-header,
html[data-theme="gunbatimi"] .lafci-header {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 18px rgba(15, 23, 42, .05);
}
html[data-theme="gunduz"] .lafci-nav,
html[data-theme="light"] .lafci-nav,
html[data-theme="gunbatimi"] .lafci-nav {
  background: rgba(15, 23, 42, .04);
  border-color: #dbe4ef;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .04);
}
html[data-theme="gunduz"] .lafci-nav a:hover,
html[data-theme="light"] .lafci-nav a:hover,
html[data-theme="gunbatimi"] .lafci-nav a:hover {
  background: #ffffff;
  color: var(--accent) !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
}
html[data-theme="gunduz"] .lafci-theme-btn,
html[data-theme="light"] .lafci-theme-btn,
html[data-theme="gunbatimi"] .lafci-theme-btn {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border-color: #cbd5e1;
  box-shadow: 0 3px 10px rgba(15, 23, 42, .08), inset 0 1px 0 #ffffff;
}
html[data-theme="gunduz"] .lafci-online-pill,
html[data-theme="light"] .lafci-online-pill,
html[data-theme="gunbatimi"] .lafci-online-pill {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #6ee7b7;
  color: #047857;
  box-shadow: 0 3px 12px rgba(5, 150, 105, .14), inset 0 1px 0 #ffffff;
}
html[data-theme="gunduz"] .lafci-brand,
html[data-theme="gunduz"] .lafci-hero h1,
html[data-theme="gunduz"] .lafci-stat strong,
html[data-theme="gunduz"] .lafci-sec-head h2,
html[data-theme="gunduz"] .lafci-room-top strong,
html[data-theme="gunduz"] .lafci-geo-article h2,
html[data-theme="gunduz"] .lafci-glossary-item dt,
html[data-theme="gunduz"] .lafci-faq-card h3,
html[data-theme="gunduz"] .lafci-post-card h3 a,
html[data-theme="gunduz"] .lafci-content-box h1,
html[data-theme="gunduz"] .lafci-content-box h2,
html[data-theme="gunduz"] .lafci-login-head h3,
html[data-theme="gunduz"] .lafci-login-title,
html[data-theme="gunduz"] .lafci-chat-bar strong,
html[data-theme="light"] .lafci-brand,
html[data-theme="light"] .lafci-hero h1,
html[data-theme="light"] .lafci-stat strong,
html[data-theme="light"] .lafci-sec-head h2,
html[data-theme="light"] .lafci-room-top strong,
html[data-theme="light"] .lafci-geo-article h2,
html[data-theme="light"] .lafci-glossary-item dt,
html[data-theme="light"] .lafci-faq-card h3,
html[data-theme="light"] .lafci-post-card h3 a,
html[data-theme="light"] .lafci-content-box h1,
html[data-theme="light"] .lafci-content-box h2,
html[data-theme="light"] .lafci-login-head h3,
html[data-theme="light"] .lafci-login-title,
html[data-theme="light"] .lafci-chat-bar strong,
html[data-theme="gunbatimi"] .lafci-brand,
html[data-theme="gunbatimi"] .lafci-hero h1,
html[data-theme="gunbatimi"] .lafci-stat strong,
html[data-theme="gunbatimi"] .lafci-sec-head h2,
html[data-theme="gunbatimi"] .lafci-room-top strong,
html[data-theme="gunbatimi"] .lafci-geo-article h2,
html[data-theme="gunbatimi"] .lafci-glossary-item dt,
html[data-theme="gunbatimi"] .lafci-faq-card h3,
html[data-theme="gunbatimi"] .lafci-post-card h3 a,
html[data-theme="gunbatimi"] .lafci-content-box h1,
html[data-theme="gunbatimi"] .lafci-content-box h2,
html[data-theme="gunbatimi"] .lafci-login-head h3,
html[data-theme="gunbatimi"] .lafci-login-title,
html[data-theme="gunbatimi"] .lafci-chat-bar strong {
  color: var(--text) !important;
}
html[data-theme="gunduz"] .lafci-nav a,
html[data-theme="gunduz"] .lafci-hero-sub,
html[data-theme="gunduz"] .lafci-field label,
html[data-theme="gunduz"] .lafci-geo-article > p,
html[data-theme="gunduz"] .lafci-takeaways ul,
html[data-theme="gunduz"] .lafci-table td,
html[data-theme="gunduz"] .lafci-glossary-item dd,
html[data-theme="gunduz"] .lafci-quote,
html[data-theme="gunduz"] .lafci-faq-card p,
html[data-theme="gunduz"] .lafci-cite,
html[data-theme="gunduz"] .lafci-content-box p,
html[data-theme="gunduz"] .lafci-content-box li,
html[data-theme="gunduz"] .lafci-chat-log,
html[data-theme="gunduz"] .lafci-footer-links a,
html[data-theme="light"] .lafci-nav a,
html[data-theme="light"] .lafci-hero-sub,
html[data-theme="light"] .lafci-field label,
html[data-theme="light"] .lafci-geo-article > p,
html[data-theme="light"] .lafci-takeaways ul,
html[data-theme="light"] .lafci-table td,
html[data-theme="light"] .lafci-glossary-item dd,
html[data-theme="light"] .lafci-quote,
html[data-theme="light"] .lafci-faq-card p,
html[data-theme="light"] .lafci-cite,
html[data-theme="light"] .lafci-content-box p,
html[data-theme="light"] .lafci-content-box li,
html[data-theme="light"] .lafci-chat-log,
html[data-theme="light"] .lafci-footer-links a,
html[data-theme="gunbatimi"] .lafci-nav a,
html[data-theme="gunbatimi"] .lafci-hero-sub,
html[data-theme="gunbatimi"] .lafci-field label,
html[data-theme="gunbatimi"] .lafci-geo-article > p,
html[data-theme="gunbatimi"] .lafci-takeaways ul,
html[data-theme="gunbatimi"] .lafci-table td,
html[data-theme="gunbatimi"] .lafci-glossary-item dd,
html[data-theme="gunbatimi"] .lafci-quote,
html[data-theme="gunbatimi"] .lafci-faq-card p,
html[data-theme="gunbatimi"] .lafci-cite,
html[data-theme="gunbatimi"] .lafci-content-box p,
html[data-theme="gunbatimi"] .lafci-content-box li,
html[data-theme="gunbatimi"] .lafci-chat-log,
html[data-theme="gunbatimi"] .lafci-footer-links a {
  color: #334155 !important;
}
html[data-theme="gunduz"] .lafci-nav .current-menu-item > a,
html[data-theme="gunduz"] .lafci-nav .current_page_item > a,
html[data-theme="gunduz"] .lafci-nav a[aria-current="page"],
html[data-theme="light"] .lafci-nav .current-menu-item > a,
html[data-theme="light"] .lafci-nav .current_page_item > a,
html[data-theme="light"] .lafci-nav a[aria-current="page"],
html[data-theme="gunbatimi"] .lafci-nav .current-menu-item > a,
html[data-theme="gunbatimi"] .lafci-nav .current_page_item > a,
html[data-theme="gunbatimi"] .lafci-nav a[aria-current="page"],
html[data-theme="gunduz"] .lafci-nav .current-menu-item > a:hover,
html[data-theme="gunduz"] .lafci-nav .current_page_item > a:hover,
html[data-theme="light"] .lafci-nav .current-menu-item > a:hover,
html[data-theme="light"] .lafci-nav .current_page_item > a:hover,
html[data-theme="gunbatimi"] .lafci-nav .current-menu-item > a:hover,
html[data-theme="gunbatimi"] .lafci-nav .current_page_item > a:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 55%, #0ea5e9 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, .36), inset 0 1px 0 rgba(255, 255, 255, .32) !important;
}
html[data-theme="gunduz"] .lafci-hero,
html[data-theme="light"] .lafci-hero {
  background: radial-gradient(circle at 85% 15%, rgba(99, 102, 241, .12), transparent 52%),
              radial-gradient(circle at 15% 80%, rgba(6, 182, 212, .10), transparent 48%),
              var(--bg);
}
html[data-theme="gunbatimi"] .lafci-hero {
  background: radial-gradient(circle at 85% 15%, rgba(234, 88, 12, .16), transparent 52%),
              radial-gradient(circle at 15% 80%, rgba(225, 29, 72, .10), transparent 48%),
              var(--bg);
}
html[data-theme="gunduz"] .lafci-login-card,
html[data-theme="light"] .lafci-login-card,
html[data-theme="gunbatimi"] .lafci-login-card {
  background: #ffffff;
  border-color: var(--border);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}
html[data-theme="gunduz"] .lafci-field input,
html[data-theme="gunduz"] .lafci-field select,
html[data-theme="gunduz"] .lafci-chat-input-row input,
html[data-theme="gunduz"] #lafci-city-filter,
html[data-theme="gunduz"] #lafci-country-filter,
html[data-theme="light"] .lafci-field input,
html[data-theme="light"] .lafci-field select,
html[data-theme="light"] .lafci-chat-input-row input,
html[data-theme="light"] #lafci-city-filter,
html[data-theme="light"] #lafci-country-filter,
html[data-theme="gunbatimi"] .lafci-field input,
html[data-theme="gunbatimi"] .lafci-field select,
html[data-theme="gunbatimi"] .lafci-chat-input-row input,
html[data-theme="gunbatimi"] #lafci-city-filter,
html[data-theme="gunbatimi"] #lafci-country-filter {
  background: var(--bg) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}
html[data-theme="gunduz"] .lafci-takeaways,
html[data-theme="light"] .lafci-takeaways { background: rgba(79, 70, 229, .06); border-color: rgba(79, 70, 229, .24); }
html[data-theme="gunduz"] .lafci-takeaways h2,
html[data-theme="light"] .lafci-takeaways h2 { color: #3730a3; }
html[data-theme="gunbatimi"] .lafci-takeaways { background: rgba(234, 88, 12, .08); border-color: rgba(234, 88, 12, .28); }
html[data-theme="gunbatimi"] .lafci-takeaways h2 { color: #9a3412; }
html[data-theme="gunduz"] .lafci-table th,
html[data-theme="light"] .lafci-table th { background: #1e293b; color: #ffffff; }
html[data-theme="gunbatimi"] .lafci-table th { background: #7c2d12; color: #ffffff; }
html[data-theme="gunduz"] .lafci-table,
html[data-theme="light"] .lafci-table,
html[data-theme="gunbatimi"] .lafci-table { background: #ffffff; }
html[data-theme="gunduz"] .lafci-cluster-pill,
html[data-theme="light"] .lafci-cluster-pill,
html[data-theme="gunbatimi"] .lafci-cluster-pill {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text) !important;
}
html[data-theme="gunduz"] .lafci-city-tile,
html[data-theme="light"] .lafci-city-tile,
html[data-theme="gunbatimi"] .lafci-city-tile {
  background: var(--bg) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}
html[data-theme="gunduz"] .lafci-region-block h3,
html[data-theme="light"] .lafci-region-block h3,
html[data-theme="gunbatimi"] .lafci-region-block h3 {
  color: var(--accent) !important;
  border-bottom-color: var(--border) !important;
}
html[data-theme="gunduz"] .lafci-chat-bar select,
html[data-theme="light"] .lafci-chat-bar select,
html[data-theme="gunbatimi"] .lafci-chat-bar select,
html[data-theme="gunduz"] .lafci-chat-bar a[style*="#0b1020"],
html[data-theme="light"] .lafci-chat-bar a[style*="#0b1020"],
html[data-theme="gunbatimi"] .lafci-chat-bar a[style*="#0b1020"] {
  background: #ffffff !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}
html[data-theme="gunduz"] .lafci-footer,
html[data-theme="light"] .lafci-footer { background: #e2e8f0; border-top-color: #cbd5e1; color: #334155; }
html[data-theme="gunbatimi"] .lafci-footer { background: #fde68a; border-top-color: #f59e0b; color: #451a03; }

/* Native-App Mobile Bottom Navigation Dock (visible <= 900px) */
.lafci-mobile-dock {
  display: none;
}
.lafci-pwa-btn {
  position: fixed; right: 16px; bottom: 86px; z-index: 95;
  padding: 10px 16px; border: 0; border-radius: 999px;
  background: var(--grad); color: #ffffff;
  font-size: 13px; font-weight: 700; cursor: pointer;
  box-shadow: 0 10px 26px rgba(99, 102, 241, .42), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.lafci-pwa-btn[hidden] { display: none !important; }

@media (max-width: 900px) {
  body { padding-bottom: 84px; }
  .lafci-mobile-dock {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
    padding: 6px 6px calc(8px + env(safe-area-inset-bottom));
    background: rgba(11, 16, 32, .94);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, .35);
  }
  html[data-theme="orman"] .lafci-mobile-dock { background: rgba(6, 21, 18, .94); }
  html[data-theme="yakut"] .lafci-mobile-dock { background: rgba(20, 9, 24, .94); }
  html[data-theme="gunduz"] .lafci-mobile-dock,
  html[data-theme="light"] .lafci-mobile-dock,
  html[data-theme="gunbatimi"] .lafci-mobile-dock {
    background: rgba(255, 255, 255, .96);
    border-top-color: var(--border);
    box-shadow: 0 -6px 24px rgba(15, 23, 42, .10);
  }
  .lafci-dock-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; padding: 5px 2px; border-radius: 12px;
    color: var(--muted); font-size: 11px; font-weight: 700; text-decoration: none;
  }
  .lafci-dock-item svg { width: 20px; height: 20px; fill: currentColor; }
  .lafci-dock-item.is-active,
  .lafci-dock-item:hover { color: var(--cyan); opacity: 1; }
  html[data-theme="gunduz"] .lafci-dock-item.is-active,
  html[data-theme="light"] .lafci-dock-item.is-active,
  html[data-theme="gunbatimi"] .lafci-dock-item.is-active { color: var(--accent); }

  .lafci-dock-fab {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; margin: -22px auto 0; width: 62px; height: 62px; border-radius: 20px;
    background: var(--grad); color: #ffffff !important;
    font-size: 11px; font-weight: 800; text-decoration: none;
    box-shadow: 0 8px 22px rgba(99, 102, 241, .45), 0 0 0 4px var(--bg);
  }
  .lafci-dock-fab svg { width: 22px; height: 22px; fill: #ffffff; }
}

@media (max-width: 560px) {
  .lafci-online-pill { display: none; }
  .lafci-header-inner { padding: 10px 14px; }
  .lafci-brand-sub { display: none; }
}

/* ==========================================================================
   v1.3.0 — Aesthetic Motion, Ambient Orbs, Micro-Interactions & KVKK Strip
   ========================================================================== */
@media (max-width: 1140px) and (min-width: 901px) {
  .lafci-nav a { padding: 6px 9px; font-size: 12.2px; }
}

@keyframes lafciSparkPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.18); opacity: .88; }
}

@keyframes lafciOrbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(18px, -20px, 0) scale(1.08); }
}

@keyframes lafciCardFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

@keyframes lafciGradFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes lafciShimmer {
  0%   { transform: translateX(-130%) skewX(-18deg); }
  100% { transform: translateX(230%) skewX(-18deg); }
}

@keyframes lafciEqBar {
  0%, 100% { transform: scaleY(.38); }
  50%      { transform: scaleY(1); }
}

/* Hero Ambient Orbs & Animated Gradient Text */
.lafci-hero {
  position: relative;
  overflow: hidden;
}
.lafci-hero-grid {
  position: relative;
  z-index: 2;
}
.lafci-hero-ambient {
  position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden;
}
.lafci-orb {
  position: absolute; border-radius: 50%; filter: blur(58px); opacity: .45;
  animation: lafciOrbFloat 11s ease-in-out infinite;
}
.lafci-orb-1 {
  width: 340px; height: 340px; top: -110px; right: 6%;
  background: radial-gradient(circle, rgba(99, 102, 241, .55), rgba(6, 182, 212, .05) 70%);
}
.lafci-orb-2 {
  width: 280px; height: 280px; bottom: -95px; left: 4%;
  background: radial-gradient(circle, rgba(6, 182, 212, .45), rgba(16, 185, 129, .05) 70%);
  animation-delay: -4s; animation-duration: 14s;
}
.lafci-orb-3 {
  width: 210px; height: 210px; top: 28%; left: 44%;
  background: radial-gradient(circle, rgba(52, 211, 153, .28), transparent 70%);
  animation-delay: -7s; animation-duration: 16s;
}
html[data-theme="gunduz"] .lafci-orb,
html[data-theme="light"] .lafci-orb,
html[data-theme="gunbatimi"] .lafci-orb {
  opacity: .34;
}

.lafci-badge {
  display: inline-flex; align-items: center; gap: 7px;
}
.lafci-badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .22);
}

.lafci-grad-text {
  background: linear-gradient(120deg, #4f46e5 0%, #06b6d4 48%, #10b981 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: lafciGradFlow 6s ease infinite;
}

/* Live Floating Activity Chips & Animated Radio Equalizer */
.lafci-live-chips {
  display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 22px;
}
.lafci-live-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text) !important; font-size: 12.5px; font-weight: 600;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), border-color .2s ease, box-shadow .2s ease;
}
.lafci-live-chip:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 10px 22px rgba(6, 182, 212, .18);
  opacity: 1;
}
.lafci-eq {
  display: inline-flex; align-items: flex-end; gap: 2px; height: 12px;
}
.lafci-eq i {
  display: block; width: 2.5px; height: 12px; border-radius: 2px;
  background: var(--accent); transform-origin: bottom;
  animation: lafciEqBar 1.05s ease-in-out infinite;
}
.lafci-eq i:nth-child(2) { animation-delay: .22s; background: var(--cyan); }
.lafci-eq i:nth-child(3) { animation-delay: .44s; background: var(--emerald); }

/* Floating Quick Join Card & Shimmer CTA */
.lafci-float-card {
  position: relative;
  animation: lafciCardFloat 6.5s ease-in-out infinite;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.lafci-float-card:hover,
.lafci-float-card:focus-within {
  animation-play-state: paused;
  border-color: rgba(6, 182, 212, .55);
  box-shadow: 0 24px 54px rgba(79, 70, 229, .16);
}
.lafci-btn-shimmer {
  position: relative;
  overflow: hidden;
}
.lafci-btn-shimmer::after {
  content: "";
  position: absolute; top: 0; left: 0; width: 42%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .34), transparent);
  transform: translateX(-130%) skewX(-18deg);
  animation: lafciShimmer 4.2s ease-in-out infinite;
  pointer-events: none;
}

/* Enhanced Micro-Interactions on Cards, Stats, Pills & Posts */
.lafci-stat {
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), border-color .2s ease, box-shadow .2s ease;
}
.lafci-stat:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 10px 24px rgba(6, 182, 212, .12);
}
.lafci-room-card {
  position: relative;
  overflow: hidden;
  transition: transform .24s cubic-bezier(.34,1.56,.64,1), border-color .22s ease, box-shadow .24s ease;
}
.lafci-room-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
  box-shadow: 0 16px 34px rgba(15, 23, 42, .10), 0 0 0 1px rgba(6, 182, 212, .18);
}
.lafci-room-icon {
  transition: transform .26s cubic-bezier(.34,1.56,.64,1), background .22s ease;
}
.lafci-room-card:hover .lafci-room-icon {
  transform: scale(1.12) rotate(-5deg);
  background: rgba(6, 182, 212, .18);
}
.lafci-cluster-box {
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.lafci-cluster-box:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, .42);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
}
.lafci-cluster-pill {
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.lafci-cluster-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(6, 182, 212, .14);
}
.lafci-post-card {
  transition: transform .24s cubic-bezier(.34,1.56,.64,1), border-color .22s ease, box-shadow .24s ease;
}
.lafci-post-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
  box-shadow: 0 16px 34px rgba(15, 23, 42, .10);
}
.lafci-post-thumb img {
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.lafci-post-card:hover .lafci-post-thumb img {
  transform: scale(1.05);
}
.lafci-head-link {
  font-size: 13.5px; font-weight: 700;
  transition: transform .18s ease; display: inline-block;
}
.lafci-head-link:hover { transform: translateX(3px); }

/* Scroll-Reveal Stagger Layer */
.lafci-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1) var(--reveal-delay, 0ms),
              transform .55s cubic-bezier(.22,1,.36,1) var(--reveal-delay, 0ms);
}
.lafci-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Compact KVKK Showcase Banner on Homepage & Dedicated KVKK Hero (v1.3.4) */
.lafci-chip-svg { color: var(--cyan); flex-shrink: 0; }
html[data-theme="gunduz"] .lafci-chip-svg,
html[data-theme="light"] .lafci-chip-svg { color: #0284c7; }

.lafci-icon-indigo { background: linear-gradient(135deg, rgba(79, 70, 229, .22), rgba(99, 102, 241, .10)) !important; color: #818cf8 !important; border: 1px solid rgba(99, 102, 241, .28); }
.lafci-icon-cyan   { background: linear-gradient(135deg, rgba(6, 182, 212, .22), rgba(14, 165, 233, .10)) !important; color: #22d3ee !important; border: 1px solid rgba(6, 182, 212, .28); }
.lafci-icon-royal  { background: linear-gradient(135deg, rgba(59, 130, 246, .22), rgba(79, 70, 229, .10)) !important; color: #60a5fa !important; border: 1px solid rgba(59, 130, 246, .28); }
.lafci-icon-amber  { background: linear-gradient(135deg, rgba(245, 158, 11, .22), rgba(249, 115, 22, .10)) !important; color: #fbbf24 !important; border: 1px solid rgba(245, 158, 11, .30); }
.lafci-icon-emerald{ background: linear-gradient(135deg, rgba(16, 185, 129, .22), rgba(20, 184, 166, .10)) !important; color: #34d399 !important; border: 1px solid rgba(16, 185, 129, .28); }
.lafci-icon-violet { background: linear-gradient(135deg, rgba(168, 85, 247, .22), rgba(236, 72, 153, .10)) !important; color: #c084fc !important; border: 1px solid rgba(168, 85, 247, .28); }

html[data-theme="gunduz"] .lafci-icon-indigo,
html[data-theme="light"] .lafci-icon-indigo { color: #4f46e5 !important; }
html[data-theme="gunduz"] .lafci-icon-cyan,
html[data-theme="light"] .lafci-icon-cyan { color: #0284c7 !important; }
html[data-theme="gunduz"] .lafci-icon-royal,
html[data-theme="light"] .lafci-icon-royal { color: #2563eb !important; }
html[data-theme="gunduz"] .lafci-icon-amber,
html[data-theme="light"] .lafci-icon-amber { color: #d97706 !important; }
html[data-theme="gunduz"] .lafci-icon-emerald,
html[data-theme="light"] .lafci-icon-emerald { color: #059669 !important; }
html[data-theme="gunduz"] .lafci-icon-violet,
html[data-theme="light"] .lafci-icon-violet { color: #9333ea !important; }

.lafci-cluster-box h3 {
  display: flex; align-items: center; gap: 9px;
}
.lafci-h3-badge {
  width: 28px; height: 28px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1);
}
.lafci-cluster-box:hover .lafci-h3-badge {
  transform: scale(1.1) rotate(-4deg);
}

.lafci-brand:hover .lafci-logo-bar {
  animation: lafciEqBar .9s ease-in-out infinite;
}

.lafci-kvkk-strip {
  position: relative;
  overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 28px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(16, 185, 129, .08) 0%, rgba(99, 102, 241, .06) 55%, rgba(6, 182, 212, .08) 100%), var(--surface);
  border: 1px solid rgba(16, 185, 129, .26);
  box-shadow: 0 14px 36px rgba(15, 23, 42, .08);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.lafci-kvkk-strip::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #10b981, #06b6d4, #6366f1);
  background-size: 200% 100%;
  animation: lafciGradFlow 6s ease infinite;
}
.lafci-kvkk-strip:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, .45);
  box-shadow: 0 18px 42px rgba(16, 185, 129, .12);
}
.lafci-kvkk-strip-left { display: flex; align-items: flex-start; gap: 18px; flex: 1; min-width: 280px; }
.lafci-kvkk-shield {
  position: relative;
  width: 54px; height: 54px; border-radius: 16px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, .20), rgba(6, 182, 212, .14));
  border: 1px solid rgba(16, 185, 129, .38);
  box-shadow: 0 8px 20px rgba(16, 185, 129, .16);
  display: flex; align-items: center; justify-content: center;
  transition: transform .26s cubic-bezier(.34,1.56,.64,1);
}
.lafci-kvkk-strip:hover .lafci-kvkk-shield {
  transform: scale(1.07) rotate(-3deg);
}
.lafci-kvkk-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 800; letter-spacing: .06em;
  color: var(--emerald); margin-bottom: 4px;
}
html[data-theme="gunduz"] .lafci-kvkk-eyebrow,
html[data-theme="light"] .lafci-kvkk-eyebrow { color: #047857; }
.lafci-kvkk-strip strong { display: block; font-size: 16.5px; color: var(--text); margin-bottom: 4px; line-height: 1.35; }
.lafci-kvkk-strip p { margin: 0 0 10px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.lafci-kvkk-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.lafci-kvkk-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(15, 23, 42, .05);
  border: 1px solid var(--border);
  font-size: 11.5px; font-weight: 600; color: var(--text);
}
html[data-theme="gece"] .lafci-kvkk-pill,
:root:not([data-theme]) .lafci-kvkk-pill,
html[data-theme="orman"] .lafci-kvkk-pill,
html[data-theme="yakut"] .lafci-kvkk-pill {
  background: rgba(255, 255, 255, .05);
}
.lafci-kvkk-actions {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0;
}
@media (max-width: 780px) {
  .lafci-kvkk-actions { align-items: flex-start; width: 100%; }
}
.lafci-kvkk-sublinks {
  display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted);
}
.lafci-kvkk-sublinks a { color: var(--muted); font-weight: 600; }
.lafci-kvkk-sublinks a:hover { color: var(--cyan); }
.lafci-kvkk-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 12px 22px; border-radius: 999px;
  background: linear-gradient(135deg, #4f46e5 0%, #0284c7 55%, #059669 100%);
  color: #ffffff !important;
  font-size: 13.5px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 8px 22px rgba(79, 70, 229, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.lafci-kvkk-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(6, 182, 212, .36);
  opacity: 1;
}
.lafci-kvkk-hero {
  padding: 42px 0 28px;
  background: radial-gradient(circle at 82% 18%, rgba(79, 70, 229, .12), transparent 52%),
              radial-gradient(circle at 14% 80%, rgba(16, 185, 129, .10), transparent 48%),
              var(--bg);
  border-bottom: 1px solid var(--border);
}
.lafci-kvkk-hero h1 {
  margin: 0 0 10px; font-size: 30px; font-weight: 800; color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .lafci-orb, .lafci-float-card, .lafci-grad-text, .lafci-btn-shimmer::after, .lafci-eq i, .lafci-logo-spark, .lafci-pulse {
    animation: none !important;
  }
  .lafci-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Collapsible Homepage Authority & GEO Accordion ---------- */
.lafci-geo-accordion {
  position: relative;
  background: linear-gradient(135deg, rgba(79, 70, 229, .07) 0%, rgba(14, 165, 233, .06) 55%, rgba(16, 185, 129, .05) 100%), var(--surface);
  border: 1px solid rgba(99, 102, 241, .26);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .08);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.lafci-geo-accordion::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #6366f1, #0ea5e9, #10b981);
  background-size: 200% 100%;
  animation: lafciGradFlow 6s ease infinite;
}
.lafci-geo-accordion:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 70, 229, .45);
  box-shadow: 0 18px 42px rgba(79, 70, 229, .12);
}
.lafci-geo-accordion[open] {
  transform: none;
  border-color: rgba(79, 70, 229, .48);
  box-shadow: var(--shadow);
}
.lafci-geo-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  user-select: none;
  transition: background .18s ease;
}
.lafci-geo-summary::-webkit-details-marker { display: none; }
.lafci-geo-summary:hover {
  background: rgba(79, 70, 229, .035);
}
.lafci-geo-summary-left {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex: 1;
  min-width: 0;
}
.lafci-geo-badge {
  position: relative;
  width: 54px; height: 54px; border-radius: 16px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(79, 70, 229, .22), rgba(14, 165, 233, .16));
  border: 1px solid rgba(99, 102, 241, .38);
  box-shadow: 0 8px 20px rgba(79, 70, 229, .18);
  display: flex; align-items: center; justify-content: center;
  transition: transform .26s cubic-bezier(.34,1.56,.64,1);
}
.lafci-geo-accordion:hover .lafci-geo-badge {
  transform: scale(1.07) rotate(-3deg);
}
.lafci-geo-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 800; letter-spacing: .06em;
  color: #6366f1; margin-bottom: 4px;
}
html[data-theme="gece"] .lafci-geo-eyebrow,
:root:not([data-theme]) .lafci-geo-eyebrow,
html[data-theme="orman"] .lafci-geo-eyebrow,
html[data-theme="yakut"] .lafci-geo-eyebrow {
  color: #38bdf8;
}
.lafci-geo-summary-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.lafci-geo-summary-text strong {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
}
.lafci-geo-summary-text small {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 6px;
}
.lafci-geo-chevron {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 55%, #0ea5e9 100%);
  border: 0;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 8px 22px rgba(37, 99, 235, .28), inset 0 1px 0 rgba(255, 255, 255, .26);
  transition: transform .2s ease, box-shadow .2s ease;
}
.lafci-geo-summary:hover .lafci-geo-chevron {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(14, 165, 233, .36);
}
.lafci-geo-chevron svg {
  transition: transform .22s ease;
}
.lafci-geo-accordion[open] .lafci-geo-chevron svg {
  transform: rotate(180deg);
}
.lafci-geo-body {
  padding: 22px 26px 26px;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  line-height: 1.72;
}
.lafci-geo-body h2 {
  font-size: 19px;
  font-weight: 800;
  margin: 26px 0 10px;
  color: var(--text);
  line-height: 1.32;
}
.lafci-geo-body h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 22px 0 10px;
  color: var(--text);
}
.lafci-geo-body a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 720px) {
  .lafci-geo-summary {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }
  .lafci-geo-body {
    padding: 18px;
  }
}

/* v1.4.6 — Pillar Direct-Answer Lead & Semantic Glossary */
.lafci-geo-lead {
  font-size: 16px;
  line-height: 1.72;
  padding: 16px 20px;
  margin: 0 0 20px;
  border-left: 4px solid var(--cyan);
  background: var(--surface-2);
  border-radius: 0 12px 12px 0;
  color: var(--text);
}
.lafci-geo-glossary {
  display: grid;
  gap: 10px;
  margin: 14px 0 24px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.lafci-geo-glossary dt {
  font-weight: 800;
  color: var(--cyan);
  font-size: 14.5px;
  margin-top: 6px;
}
.lafci-geo-glossary dt:first-child { margin-top: 0; }
.lafci-geo-glossary dd {
  margin: 0 0 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.lafci-geo-glossary dd:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
