/* ========================================================================
   BITAJANS • Blog UI — styles.css (v4, Ultra)
   Tema: 3D Neon • Finans Yükseliş Oku • Cam/Glass • Particle FX
   Yazar: ChatGPT (Bitajans özel sürüm)
   Amaç: Pürüzsüz, modern, premium bir deneyim — hem masaüstü hem mobil.
   ------------------------------------------------------------------------
   İçerik Haritası
   00) Reset & Base
   01) Tema Değişkenleri
   02) Sinematik Arka Plan Katmanları (grid + grain + glow + neon arrow)
   03) Erişilebilirlik/SEO Yardımcıları (sr-only, skip-link, focus ring)
   04) Genel Yardımcılar (container, text, spacing, badges, buttons)
   05) Navigasyon (sticky, glass, subscribe animated)
   06) Hero (arka plan grafik + vektör dalga)
   07) Anasayfa Grid (sidebar + cards)
   08) Makale Detay (başlık, içerik, tipografi)
   09) Yorumlar
   10) Admin Panel (yüksek kontrast, buton/hücre durumları)
   11) Video Kartları
   12) Footer
   13) Efektler (3D grid taban, neon rise arrow, partiküller)
   14) Animasyonlar (keyframes)
   15) Responsive
   16) Reduce Motion
   ------------------------------------------------------------------------
   Telif: Ticari kullanım: Bitajans için üretildi.
   ======================================================================== */


/* 00) Reset & Base ------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #0a0f14; /* fallback */
  color: #eaf6ff;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
strong, b { font-weight: 800; }
em, i { font-style: italic; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
::selection { background: rgba(33,255,211,.25); color: #f7fffe; }

/* Scrollbar */
*::-webkit-scrollbar { width: 12px; height: 12px; }
*::-webkit-scrollbar-thumb { background: #1a3242; border-radius: 12px; }
*::-webkit-scrollbar-track { background: #0b1620; }

/* 01) Tema Değişkenleri --------------------------------------------------- */
:root{
  /* Ana renkler (daha ferah, finans çağrışımlı mavi/teal/purple) */
  --bg:           #0a0f14;
  --panel:        #0e1620;
  --panel-soft:   #0c1924;
  --panel-2:      #0b1620;
  --stroke:       #132938;
  --stroke-soft:  #173244;
  --text:         #eaf6ff;
  --muted:        #92a9be;

  /* Neon ve vurgu */
  --teal:         #21ffd3;
  --teal-2:       #12e4ff;
  --teal-3:       #00a2ff;
  --violet:       #8a7dff;
  --gold:         #ffd36a;
  --danger:       #ff6b6b;
  --success:      #1cf3d0;

  /* UI */
  --radius:       18px;
  --shadow:       0 10px 30px rgba(0,0,0,.35);
  --ring:         0 0 0 3px rgba(33,255,211,.25);

  /* 3D zemin perspektifi */
  --perspective:  1600px;
}

/* 02) Sinematik Arka Plan Katmanları ------------------------------------- */
/*  Katmanlar:
    A) body::before => Neon parıltı + degrade + color wash
    B) body::after  => İnce grid + hareketli grain
    C) html::before => 3D perspektif grid zemini (aşağıda)
    D) html::after  => Neon finans yükseliş oku (animasyonlu)
    E) #particles   => Yükselen küçük parçacıklar (JS gerektirmez)
*/
body::before,
body::after,
html::before,
html::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
}

/* A) Glow + Color Wash */
body::before{
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(0,200,255,.20), transparent 60%),
    radial-gradient(800px 500px at 92% 0%,   rgba(33,255,211,.16), transparent 55%),
    radial-gradient(700px 300px at 50% 110%, rgba(145, 94, 255, .10), transparent 55%),
    linear-gradient(180deg, rgba(12,24,36,.90), rgba(10,16,24,.85));
  mix-blend-mode: screen;
}

/* B) İnce Izgara + Grain (hafif hareket) */
body::after{
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 59.5H60M59.5 0V60' stroke='%23132938' stroke-opacity='.65'/%3E%3C/svg%3E") 0 0/60px 60px repeat,
    url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22100%22 height=%22100%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.9%22 numOctaves=%222%22 stitchTiles=%22stitch%22/%3E%3CfeColorMatrix type=%22saturate%22 values=%220%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23n)%22 opacity=%220.035%22/%3E%3C/svg%3E') center/280px 280px repeat;
  mix-blend-mode: soft-light;
  animation: bg-pan 48s linear infinite;
  opacity: .95;
}

/* C) 3D Perspektif Grid Zemini (altta ufka doğru) */
html::before{
  z-index: -4;
  bottom: -30vh;
  top: auto;
  transform-origin: center top;
  transform: perspective(var(--perspective)) rotateX(60deg);
  background:
    repeating-linear-gradient( to right, rgba(19,41,56,.9) 0 2px, transparent 2px 120px ),
    repeating-linear-gradient( to top,   rgba(19,41,56,.9) 0 2px, transparent 2px 120px ),
    radial-gradient(1000px 220px at 50% 10%, rgba(0,170,255,.12), rgba(0,0,0,0) 60%);
  filter: drop-shadow(0 -8px 30px rgba(0,170,255,.22));
  opacity: .55;
}

/* D) Neon Finans Yükseliş Oku — aşağıdan yukarı kayan */
html::after{
  z-index: -2;
  background:
    /* alt tarafta dipten gelen glow */
    radial-gradient(1000px 300px at 50% 120%, rgba(0,170,255,.35), transparent 60%),
    /* oku oluşturan SVG pattern */
    url("data:image/svg+xml,%3Csvg viewBox='0 0 800 1600' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='1' x2='0' y2='0'%3E%3Cstop stop-color='%2300e5ff' stop-opacity='0' offset='0'/%3E%3Cstop stop-color='%2321ffd3' stop-opacity='.85' offset='0.35'/%3E%3Cstop stop-color='%2300a2ff' stop-opacity='.95' offset='0.7'/%3E%3Cstop stop-color='%23ffffff' stop-opacity='0.0' offset='1'/%3E%3C/linearGradient%3E%3Cfilter id='glow' x='-50%25' y='-50%25' width='200%25' height='200%25'%3E%3CfeGaussianBlur stdDeviation='8'/%3E%3C/filter%3E%3C/defs%3E%3Cg opacity='.85'%3E%3Cpath d='M20 1450 L220 1250 L360 1390 L620 980 L760 1130 L780 1100 L620 910 L340 1330 L200 1190 L0 1390 Z' fill='url(%23g)' filter='url(%23glow)'/%3E%3Cpath d='M40 1470 L240 1270 L380 1410 L640 1000 L780 1150 L800 1120 L640 930 L360 1350 L220 1210 L20 1410 Z' fill='none' stroke='%2321ffd3' stroke-width='2' stroke-opacity='.55'/%3E%3C/g%3E%3C/svg%3E") center bottom/contain repeat-y;
  animation: rise-arrow 14s linear infinite;
  opacity: .35;
  mix-blend-mode: screen;
}

/* E) Partiküller — JS gerekmez, pseudo container */
#particles,
#particles::before,
#particles::after{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
#particles{
  background:
    radial-gradient(3px 3px at 10% 90%, rgba(33,255,211,.35), transparent 40%),
    radial-gradient(2px 2px at 30% 80%, rgba(0,162,255,.35), transparent 40%),
    radial-gradient(2px 2px at 70% 85%, rgba(255,255,255,.25), transparent 40%),
    radial-gradient(2px 2px at 40% 95%, rgba(33,255,211,.25), transparent 40%),
    radial-gradient(3px 3px at 85% 88%, rgba(255,211,106,.25), transparent 40%);
  animation: sparks 12s linear infinite;
}
#particles::before{
  background:
    radial-gradient(2px 2px at 15% 60%, rgba(255,255,255,.25), transparent 40%),
    radial-gradient(3px 3px at 60% 75%, rgba(33,255,211,.35), transparent 40%),
    radial-gradient(2px 2px at 80% 55%, rgba(0,162,255,.35), transparent 40%);
  animation: sparks-2 16s linear infinite;
  opacity: .8;
}
#particles::after{
  background:
    radial-gradient(2px 2px at 25% 40%, rgba(255,255,255,.22), transparent 40%),
    radial-gradient(3px 3px at 75% 30%, rgba(33,255,211,.30), transparent 40%),
    radial-gradient(2px 2px at 55% 25%, rgba(0,162,255,.30), transparent 40%);
  animation: sparks-3 20s linear infinite;
  opacity: .7;
}

/* 03) Erişilebilirlik/SEO Yardımcıları ----------------------------------- */
.sr-only{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  position:fixed; left:20px; top:20px; width:auto; height:auto; padding:10px 14px;
  background:#001b22; color:#dff; border-radius:10px; outline:var(--ring); z-index:9999;
}
:focus-visible{ outline: var(--ring); border-radius: 6px; }

/* 04) Genel Yardımcılar --------------------------------------------------- */
.container{ max-width: 1200px; margin: 24px auto; padding: 0 16px; }
.muted{ color: var(--muted); }
.center{ text-align: center; }
.right{ text-align: right; }
.row{ display:flex; align-items:center; }
.row.gap{ gap: 10px; }
.row.two{ gap: 20px; }
.row.between{ justify-content: space-between; }

.card{
  background: linear-gradient(180deg, rgba(14,22,32,.80), rgba(10,18,28,.72));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  backdrop-filter: blur(6px) saturate(120%);
}

.badge{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px; font-size: 12px; line-height: 1;
  border: 1px solid var(--stroke); color: var(--muted);
  background: linear-gradient(180deg, rgba(15,27,34,.7), rgba(11,22,32,.6));
}
.badge.ai     { color:#1cf3d0; border-color:#1cf3d0; }
.badge.manual { color:#7aa0c7; border-color:#7aa0c7; }

.btn{
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 16px; border-radius: 12px; cursor: pointer; user-select: none;
  color: #001b22; font-weight: 900; text-decoration: none; border: 0;
  background: linear-gradient(100deg, var(--teal), var(--teal-3));
  box-shadow: 0 8px 22px rgba(0,170,255,.24);
  transition: transform .15s ease, filter .2s ease, box-shadow .2s ease;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.btn:active{ transform: translateY(0); filter: brightness(.98); }
.btn.ghost{ background: transparent; color: var(--text); border: 1px solid var(--stroke); box-shadow: none; }
.btn.danger{ background: linear-gradient(100deg, #ff9b9b, #ff6b6b); color:#2b0e0e; }

/* 05) Navigasyon ---------------------------------------------------------- */
.nav{
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 20px; border-bottom: 1px solid var(--stroke);
  background: rgba(10,15,20,.78);
  backdrop-filter: saturate(120%) blur(8px);
}
.nav .brand{ display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.3px }
.nav .logo{ font-size: 20px; filter: drop-shadow(0 0 6px rgba(33,255,211,.25)); }
.nav nav a{
  color: var(--muted); text-decoration: none; margin: 0 10px; font-weight: 650;
  transition: color .15s ease;
}
.nav nav a.active, .nav nav a:hover{ color: var(--text); }

.nav .subscribe{
  display: flex; gap: 10px; align-items: center;
}
.nav .subscribe input{
  background: var(--panel-2);
  border: 1px solid var(--stroke);
  color: var(--text);
  padding: 11px 12px;
  border-radius: 12px;
  width: 240px;
}
.nav .subscribe input::placeholder{ color: #8ea4b5; }

/* Subscribe özel neon animasyon butonu */
.nav .subscribe button{
  position: relative; overflow: hidden;
  border-radius: 12px; padding: 11px 14px; font-weight: 900;
  background: linear-gradient(100deg, var(--teal), var(--teal-3));
  color:#001b22; border: 0; isolation: isolate;
  box-shadow: 0 10px 26px rgba(0,170,255,.28), inset 0 0 0 1px rgba(255,255,255,.07);
}
.nav .subscribe button::before{
  content:""; position:absolute; inset:-2px; z-index:-1; border-radius: 14px;
  background: conic-gradient(from 0deg, rgba(33,255,211,.0), rgba(33,255,211,.45), rgba(10,162,255,.45), rgba(33,255,211,.0) 65%);
  filter: blur(16px);
  animation: ring 2.2s linear infinite;
}
.nav .subscribe button::after{
  content:""; position:absolute; inset:0; border-radius:12px;
  background: radial-gradient(140% 160% at 8% -20%, rgba(255,255,255,.22), transparent 42%);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* 06) Hero ---------------------------------------------------------------- */
.hero{
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--stroke); padding: 36px;
  background:
    radial-gradient(900px 450px at 10% -10%, rgba(0,200,255,.14), transparent 60%),
    radial-gradient(900px 450px at 92% -10%, rgba(33,255,211,.12), transparent 60%),
    linear-gradient(180deg, rgba(14,22,32,.86), rgba(12,20,30,.78));
}
.hero-bg{
  position:absolute; inset:0; opacity:.65; mix-blend-mode: screen;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 400' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='1200' height='400' fill='%230b1620'/%3E%3Cpath d='M0 300 C 160 160, 380 320, 560 240 S 940 210, 1200 300' stroke='%2321ffd3' stroke-opacity='0.22' stroke-width='3' fill='none'/%3E%3C/svg%3E") center/cover no-repeat;
  filter: blur(1.6px);
  animation: hero-wave 16s ease-in-out infinite alternate;
}
.hero h1{
  margin: 0 0 8px; font-size: 36px; letter-spacing:.2px; color: #adfffb;
  text-shadow: 0 0 18px rgba(33,255,211,.18);
  animation: glow 2.4s ease-in-out alternate infinite;
}
.hero p{ margin: 0; color: var(--muted); }

/* 07) Anasayfa Grid ------------------------------------------------------- */
.grid{ display: grid; grid-template-columns: 300px 1fr; gap: 18px; margin-top: 16px; }
.sidebar .card + .card{ margin-top: 16px; }
.card h3{ margin: 0 0 10px; font-size: 16px; letter-spacing: .2px; }

.list{ list-style: none; margin: 0; padding: 0; }
.list li{ padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.06); }
.list li a{ color: #d7f0ff; text-decoration: none; }
.list li a:hover{ color: #fff; text-decoration: underline; }

.chips{ display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.chips li{
  border: 1px solid var(--stroke); padding: 6px 10px; border-radius: 999px;
  background: var(--panel-2); color: var(--muted); font-size: 12px;
}

.content{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.post-card{
  border: 1px solid var(--stroke); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(11,22,32,.78), rgba(10,15,20,.72));
  padding: 16px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, filter .2s ease;
}
.post-card:hover{
  transform: translateY(-3px);
  border-color: rgba(33,255,211,.35);
  box-shadow: 0 14px 40px rgba(0,170,255,.22);
  filter: saturate(112%);
}
.post-card img{ width: 100%; height: 170px; object-fit: cover; border-radius: 12px; margin-bottom: 12px; opacity: .98; }
.post-card .meta{ display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.post-card h2{ margin: 4px 0 6px; font-size: 21px; letter-spacing: .2px; }
.post-card h2 a{ color: #e7f6ff; text-decoration: none; }
.post-card h2 a:hover{ color: #fff; }
.post-card p{ margin: 0; color: var(--muted); }

/* 08) Makale Detay -------------------------------------------------------- */
.detail{ display: grid; grid-template-columns: 1fr 340px; gap: 20px; }
.detail-left .article-head{
  border: 1px solid var(--stroke); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(11,22,32,.78), rgba(10,15,20,.72));
  padding: 18px;
}
.article-head h1{
  margin: 0 0 8px;
  font-size: 42px; font-weight: 800; line-height: 1.08;
  color: #aefcff; text-shadow: 0 0 18px rgba(33,255,211,.16);
}
.article-meta{ display: flex; gap: 12px; align-items: center; color: var(--muted); }
.avatar{ width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--stroke); }

.article-body{
  margin-top: 16px; padding: 16px;
  border-radius: var(--radius); border: 1px solid var(--stroke);
  background: rgba(11,22,32,.65);
}
.article-body .cover{ width: 100%; border-radius: 12px; margin-bottom: 12px; }

.richtext h2, .richtext h3{
  color: #b9f7ff; margin: 18px 0 8px; scroll-margin-top: 90px;
}
.richtext p{ color: #d2e8f7; margin: 10px 0; font-size: 17px; }
.richtext ul{ padding-left: 18px; margin: 12px 0; color: #cfe6f5; }
.richtext li{ margin: 6px 0; }
.richtext blockquote{
  margin: 14px 0; padding: 12px 14px; border-left: 3px solid var(--success);
  background: linear-gradient(180deg, rgba(33,255,211,.10), rgba(33,255,211,.06));
  border-radius: 10px; color: #b9f7ff;
}
.richtext table{ width: 100%; border-collapse: collapse; margin: 12px 0; color: #cfe6f5; font-size: 14px; }
.richtext th, .richtext td{ border-bottom: 1px dashed rgba(255,255,255,.06); padding: 10px 8px; text-align: left; }
.richtext img{ border-radius: 12px; margin: 10px 0; }

.detail-right .card{ margin-bottom: 16px; }
.detail-right .list.small li{ font-size: 14px; }

/* 09) Yorumlar ------------------------------------------------------------ */
.comments{
  margin-top: 16px; border: 1px solid var(--stroke);
  border-radius: var(--radius); padding: 16px;
  background: rgba(15,27,34,.58);
}
.comments h3{ margin: 0 0 12px; }
.comment{ padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.06); }
.comment:last-child{ border: none; }
.c-head{ color: var(--muted); margin-bottom: 6px; }
.comment-form .grid2{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.comment-form textarea, .comment-form input{
  background: var(--panel-2); border: 1px solid var(--stroke); color: var(--text);
  padding: 12px; border-radius: 12px;
}
.comment-form button{
  margin-top: 8px; border: 0; border-radius: 12px; padding: 10px 14px; font-weight: 900;
  background: linear-gradient(100deg, var(--teal), var(--teal-3)); color:#001b22;
  box-shadow: 0 8px 22px rgba(0,170,255,.24);
}

/* 10) Admin Panel --------------------------------------------------------- */
.admin .form input,
.admin .form textarea,
.admin .form select{
  background: #0f1b25; border: 1px solid #1b3346; color: #e9f7ff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
  border-radius: 12px; padding: 12px; margin: 6px 0;
}
.admin .form input:focus,
.admin .form textarea:focus,
.admin .form select:focus{
  outline: 2px solid rgba(33,255,211,.35); border-color: #2be7d1;
}

.table{
  width: 100%; border-collapse: collapse; border: 1px solid #183040;
  border-radius: 14px; overflow: hidden; background: #0e1b24;
}
.table th{ background: #0e1b24; color: #c8e8ff; font-weight: 800; }
.table th, .table td{ padding: 12px 10px; border-bottom: 1px dashed rgba(255,255,255,.06); }

.btn.admin{
  background: linear-gradient(100deg, #29ffd8, #00b5ff);
  color:#001b22; font-weight: 900; border: 0; border-radius: 12px;
  padding: 10px 14px; box-shadow: 0 10px 26px rgba(0,180,255,.25);
}
.btn.admin.ghost{ background: #0f1b22; color: #dfeaf3; border: 1px solid #1a3242; box-shadow: none; }
.chip{ display:inline-flex; padding: 6px 10px; border-radius: 999px; border:1px solid #1a3242; background:#0f1b22; color:#9fc2d6; }
.chip.on{ border-color:#1cf3d0; color:#1cf3d0; }

/* Yönetim uyarı/başarı kutuları */
.alert{
  background: linear-gradient(180deg, rgba(33,255,211,.12), rgba(33,255,211,.06));
  border: 1px solid #1cf3d0; padding: 10px; border-radius: 12px; margin: 10px 0; color: #b9f7ff;
}
.alert.error{
  background: linear-gradient(180deg, rgba(255,107,107,.14), rgba(255,107,107,.08));
  border-color: #ff7d7d; color: #ffdede;
}

/* 11) Video Kartları ------------------------------------------------------ */
.video-card{
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--stroke); border-radius: 12px;
  padding: 10px; margin-bottom: 10px;
  background: rgba(11,22,32,.64);
}
.video-card video{ width: 240px; border-radius: 8px; }

/* 12) Footer -------------------------------------------------------------- */
.footer{
  margin-top: 28px; padding: 32px 16px; text-align: center;
  color: var(--muted); border-top: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(14,22,32,.5), rgba(10,15,20,.55));
}

/* 13) Efekt Katmanları ---------------------------------------------------- */
/* (İstersen HTML'de <div id="particles"></div> eklemeyi unutma — body’nin hemen içine) */

/* 14) Animasyonlar -------------------------------------------------------- */
@keyframes bg-pan{
  0%   { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-220px,-140px,0); }
}
@keyframes glow{
  0% { text-shadow: 0 0 10px rgba(33,255,211,.10); }
  100%{ text-shadow: 0 0 22px rgba(33,255,211,.22); }
}
@keyframes hero-wave{
  0%   { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}
@keyframes ring{ to{ transform: rotate(360deg); } }
@keyframes rise-arrow{
  0%   { background-position: center 110%; opacity:.20; }
  45%  { background-position: center 20%;  opacity:.40; }
  100% { background-position: center -80%; opacity:.35; }
}
@keyframes sparks{
  0%   { background-position: 0 0,    0 0,    0 0,    0 0,    0 0; }
  100% { background-position: 0 -1200px, 0 -900px, 0 -1000px, 0 -1100px, 0 -950px; }
}
@keyframes sparks-2{
  0%   { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 0 -1000px, 0 -800px, 0 -900px; }
}
@keyframes sparks-3{
  0%   { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 0 -900px, 0 -850px, 0 -1000px; }
}

/* 15) Responsive ---------------------------------------------------------- */
@media (max-width: 1200px){
  .container{ max-width: 1020px; }
}
@media (max-width: 1000px){
  .nav{ flex-wrap: wrap; gap: 10px; }
  .nav .subscribe input{ width: 100%; }
  .grid{ grid-template-columns: 1fr; }
  .content{ grid-template-columns: 1fr; }
  .detail{ grid-template-columns: 1fr; }
  .detail-right{ order: -1; }
  .comment-form .grid2{ grid-template-columns: 1fr; }
  .video-card video{ width: 100%; }
  .hero{ padding: 24px; }
  .article-head h1{ font-size: 34px; }
}
@media (max-width: 560px){
  .post-card img{ height: 150px; }
  .article-head h1{ font-size: 28px; }
  .nav .brand strong{ font-size: 14px; }
}

/* 16) Reduce Motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  * { animation: none !important; transition: none !important; }
}

/* -------------------------------------------------------------------------
   Aşağıda ek görsel incelikler, gradient varyantları, helper efektleri
   (1000+ satıra ulaşmak ve ultra ince ayarlar için geniş alan)
   ------------------------------------------------------------------------- */

/* --- Gradient utility badges (isteğe bağlı) ----------------------------- */
.badge.gold  { color: #ffd36a; border-color:#ffd36a; }
.badge.blue  { color: #79c7ff; border-color:#79c7ff; }
.badge.green { color: #67ffcc; border-color:#67ffcc; }
.badge.red   { color: #ffa1a1; border-color:#ffa1a1; }

/* --- Fancy links -------------------------------------------------------- */
a.fancy-link{
  position: relative; text-decoration: none; color: #dff5ff;
  background:
    linear-gradient(90deg, rgba(33,255,211,.0), rgba(33,255,211,.18), rgba(0,162,255,.0)) bottom/0 1px no-repeat;
  transition: background-size .25s ease, color .2s ease;
}
a.fancy-link:hover{
  color: #ffffff;
  background-size: 100% 1px;
}

/* --- Shadows & depth helpers ------------------------------------------- */
.depth-1 { box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.depth-2 { box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.depth-3 { box-shadow: 0 16px 46px rgba(0,0,0,.42); }

/* --- 3D tilt on hover (cards) ------------------------------------------ */
.tilt{
  transform-style: preserve-3d; perspective: 1400px;
  transition: transform .2s ease;
}
.tilt:hover{ transform: rotateX(2deg) rotateY(-2deg) translateY(-2px); }

/* --- Accent borders ----------------------------------------------------- */
.border-accent { border-color: rgba(33,255,211,.35) !important; }
.border-soft   { border-color: var(--stroke-soft) !important; }

/* --- Custom headings sparkle ------------------------------------------- */
.spark-title{
  position: relative; padding-right: 28px;
  background: linear-gradient(90deg, #baffff, #ffffff); 
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.spark-title::after{
  content:""; position:absolute; right:0; top:50%; width:16px; height:16px;
  transform: translateY(-50%); border-radius:50%;
  background: radial-gradient(circle at 30% 30%, #fff, rgba(255,255,255,0) 60%);
  filter: drop-shadow(0 0 10px rgba(255,255,255,.6));
  animation: sparkle 1.8s ease-in-out infinite;
}
@keyframes sparkle{
  0% { opacity:.2; transform: translateY(-50%) scale(.8); }
  50%{ opacity:1; transform: translateY(-50%) scale(1); }
  100%{ opacity:.2; transform: translateY(-50%) scale(.8); }
}

/* --- CTA glow pulse ----------------------------------------------------- */
.pulse{
  box-shadow: 0 0 0 0 rgba(33,255,211,.3);
  animation: pulse 2.6s infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(33,255,211,.36); }
  70%{ box-shadow: 0 0 0 18px rgba(33,255,211,0); }
  100%{ box-shadow: 0 0 0 0 rgba(33,255,211,0); }
}

/* --- Gradient text utilities ------------------------------------------- */
.text-gradient{
  background: linear-gradient(90deg, #9effff, #79c7ff, #a8ffea);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* --- Glass ring hover --------------------------------------------------- */
.glass-hover{
  position: relative; overflow: hidden; border-radius: var(--radius);
}
.glass-hover::after{
  content:""; position:absolute; inset:-40%; background:
  conic-gradient(from 0deg, rgba(33,255,211,.0), rgba(33,255,211,.25), rgba(10,162,255,.25), rgba(33,255,211,.0) 65%);
  filter: blur(24px); opacity:0; transition: opacity .3s ease, transform .5s ease;
  transform: rotate(0deg);
}
.glass-hover:hover::after{ opacity:.9; transform: rotate(180deg); }

/* --- Admin buttons palette --------------------------------------------- */
.btn.admin.secondary{
  background: linear-gradient(100deg, #8a7dff, #00a2ff); color:#001b22;
  box-shadow: 0 8px 22px rgba(140,120,255,.25);
}
.btn.admin.warning{
  background: linear-gradient(100deg, #ffd36a, #ffac3d); color:#2a1b00;
  box-shadow: 0 8px 22px rgba(255,210,106,.25);
}
.btn.admin.success{
  background: linear-gradient(100deg, #1cf3d0, #21ffd3); color:#001b22;
  box-shadow: 0 8px 22px rgba(33,255,211,.25);
}

/* --- Breadcrumbs (SEO-friendly nav) ------------------------------------ */
.breadcrumb{
  display:flex; gap:8px; align-items:center; font-size:13px; color:#a7bed1;
}
.breadcrumb a{ color:#d7f0ff; text-decoration:none }
.breadcrumb a:hover{ color:#fff; text-decoration:underline }
.breadcrumb .sep{ opacity:.5 }

/* --- Meta chips (date, read-time) -------------------------------------- */
.meta-chips{ display:flex; gap:10px; align-items:center; color:#9db5c8; font-size:13px }
.meta-chip{ display:inline-flex; gap:6px; align-items:center; padding:6px 10px; border-radius:999px; border:1px solid var(--stroke); background:#0d1a24 }

/* --- Table design alt --------------------------------------------------- */
.table.alt{ background: #0f1a24; }
.table.alt th{ background:#0f1a24; }
.table.alt tr:hover td{ background: rgba(33,255,211,.03); }

/* --- Forms helpers ------------------------------------------------------ */
.input-group{ display:flex; gap:10px; align-items:center }
.input-sm{ padding:8px 10px; border-radius:10px; font-size:14px }
.input-lg{ padding:14px 16px; border-radius:14px; font-size:16px }
.select{ appearance:none; background-image: linear-gradient(45deg,transparent 50%,#79c7ff 50%),linear-gradient(135deg,#79c7ff 50%,transparent 50%),linear-gradient(to right,#79c7ff,#79c7ff); background-position: calc(100% - 16px) calc(1em + 2px),calc(100% - 12px) calc(1em + 2px),calc(100% - 2.5em) .5em; background-size: 4px 4px,4px 4px,1px 1.5em; background-repeat:no-repeat }

/* --- Cards grid helpers ------------------------------------------------- */
.grid-3{ display:grid; grid-template-columns: repeat(3, 1fr); gap:16px }
.grid-4{ display:grid; grid-template-columns: repeat(4, 1fr); gap:16px }
@media (max-width: 900px){ .grid-3, .grid-4{ grid-template-columns: 1fr 1fr } }
@media (max-width: 560px){ .grid-3, .grid-4{ grid-template-columns: 1fr } }

/* --- Article TOC (içindekiler) ----------------------------------------- */
.toc{
  position: sticky; top: 92px;
  border:1px solid var(--stroke); border-radius:14px; padding:12px;
  background: linear-gradient(180deg, rgba(14,22,32,.72), rgba(10,18,28,.68));
}
.toc h4{ margin:4px 0 8px; color:#bfeaff }
.toc a{ display:block; padding:6px 8px; border-radius:8px; color:#cfe6f5; text-decoration:none; }
.toc a:hover{ background: rgba(33,255,211,.08); color:white }

/* --- Quote callout ------------------------------------------------------ */
.callout{
  border:1px solid rgba(33,255,211,.35); border-radius:14px; padding:14px;
  background: linear-gradient(180deg, rgba(33,255,211,.08), rgba(33,255,211,.05));
  color:#cfefff
}

/* --- KPI mini cards (analiz tarafı) ------------------------------------ */
.kpi{
  display:flex; gap:12px; align-items:center; padding:12px; border-radius:14px;
  border:1px solid var(--stroke); background: linear-gradient(180deg, rgba(11,22,32,.7), rgba(10,15,20,.65));
}
.kpi .value{ font-size:22px; font-weight:800; color:#bff }
.kpi.up   .value{ color:#69ffd6 }
.kpi.down .value{ color:#ff9b9b }

/* --- Search input style ------------------------------------------------- */
.search{
  display:flex; align-items:center; gap:10px; padding:10px 12px;
  border:1px solid var(--stroke); border-radius:12px; background:#0d1a24;
}
.search input{ background:transparent; border:0; color:#eaf6ff; width:100% }

/* --- Toast/notify (opsiyonel) ------------------------------------------ */
.toast{
  position: fixed; right: 18px; bottom: 18px; min-width: 260px;
  background:#0d1b24; color:#eaf6ff; border:1px solid #1a3242; border-radius:12px; padding:12px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  animation: slide-up .35s ease-out, fade-in .35s ease-out;
}
@keyframes slide-up{ from{ transform: translateY(20px); } to{ transform: translateY(0); } }
@keyframes fade-in{ from{ opacity:0 } to{ opacity:1 } }

/* --- End of ultra stylesheet ------------------------------------------ */
/* Ticker */
.ticker-bar{
  position: fixed; left:0; right:0; bottom:0; z-index:45;
  background: rgba(9, 14, 20, .9); border-top:1px solid var(--stroke);
  backdrop-filter: blur(8px) saturate(120%);
  overflow: hidden; white-space: nowrap;
}
.ticker-bar .track{
  display: inline-flex; gap: 24px; padding: 8px 16px;
}
.ticker-item{ display:inline-flex; gap:8px; align-items:center; padding: 4px 0; color:#cfe6f5; }
.ticker-item strong{ font-weight:900 }
.ticker-item em{ font-style:normal; border-radius:6px; padding:2px 6px; font-weight:800; }
.ticker-item.up em{ color:#0ad69a }
.ticker-item.down em{ color:#ff6b6b }
@keyframes ticker-scroll{
  from{ transform: translateX(0) }
  to  { transform: translateX(-50%) }
}
/* ==== BITAJANS 3D HERO BACKDROP ======================================= */
:root{
  --bg-img:url("../assets/Bitajans.png");
  --bg-sat: 0.95;
  --bg-blur: 3.5px;
  --bg-dim: 0.38;       /* koyuluk: 0 = açık, 1 = çok koyu */
  --bg-tilt: 5deg;
 --bg-zoom-min: 0.98; /* Ken Burns başlangıç ölçeği */
  --bg-zoom-max: 1.06; /* Ken Burns bitiş ölçeği (1.10 yerine) */
  --bg-pos: 50% 60%;   /* daha aşağıdan değil, ortadan */
  --grid-c: rgba(49, 228, 210, .14); /* neon cyan */
  --glow-c: rgba(49, 228, 210, .75);
  --gold-c: #f5c26b;
}

.site-bg{
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 80% 85%, rgba(49,228,210,.08), transparent 60%),
    radial-gradient(900px 600px  at 15% 20%, rgba(245,194,107,.05), transparent 65%),
    #07141a;
  filter: saturate(var(--bg-sat));
}

/* ana illüstrasyon */
.site-bg .bg-img{
  position:absolute;
  inset:0;
  background-image: var(--bg-img);
  background-repeat:no-repeat;
  background-position: center center;
  background-size: 100% 100%;  /* görselin tasarım boyutu birebir */
  filter: brightness(calc(1 - var(--bg-dim))) saturate(var(--bg-sat));
  transform: none;   /* eğiklik yok */
  animation: none;   /* zoom/pulse yok */
  opacity: 1;
}





/* neon grid (finans hissi) */
.site-bg .bg-grid{
  opacity:.25;                         /* .35 idi */
  background-size: 56px 56px, 56px 56px;
  animation: gridDrift 22s linear infinite; /* 18s → 22s, daha sakin */
}


/* kenar karartma + okunurluk */
.site-bg .bg-vignette{
  position:absolute; inset:0;
  background:
    radial-gradient(1300px 900px at 50% 35%, transparent 0 60%, rgba(0,0,0,.28) 78%, rgba(0,0,0,.46) 100%),
    linear-gradient(to bottom, rgba(7,16,21,.48), rgba(7,16,21,.30) 40%, rgba(7,16,21,.56));
  pointer-events:none;
}


/* kartların okunurluğu (cam efekti) */
.card, .post-card, .glass, .nav, .footer, .sidebar, .content, .detail-left, .detail-right{
  backdrop-filter: blur(6px) saturate(1.05);
  -webkit-backdrop-filter: blur(6px) saturate(1.05);
  background-color: rgba(6, 13, 17, .55);
  border: 1px solid rgba(255,255,255,.06);
}

/* neon vurgu: başlıklar */
.spark-title, .article-head h1, .brand strong{
  text-shadow:
    0 0 18px rgba(49,228,210,.25),
    0 0 32px rgba(49,228,210,.14);
}

/* rozetler, butonlar hafif altın ışıltı */
.badge.ai, .btn, .chips li{
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 6px 20px rgba(49,228,210,.08);
}
.badge.ai{ background: linear-gradient(135deg, rgba(49,228,210,.14), rgba(49,228,210,.06)); color:#9ef3ea; }



@keyframes gridDrift{
  0%   { transform: translateY(0); }
  100% { transform: translateY(-48px); }
}

/* Parçacık canvas katmanı */
#bg-particles{
  position:absolute; inset:0;
  z-index:-1; /* gridin altında */
  mix-blend-mode: screen;
  opacity:.65;
}

/* mobil okunurluk */
@media (max-width: 768px){
  :root{
    --bg-blur: 4px;
    --bg-dim: .5;
    --bg-tilt: 3deg;
    --bg-zoom-min: 0.96;
    --bg-zoom-max: 1.03;
    --bg-pos: 50% 65%;
  }
  .site-bg .bg-grid{ opacity:.22; background-size: 60px 60px, 60px 60px; }
}

/* erişilebilirlik: hareket azaltılmışsa animasyonları kapat */
@media (prefers-reduced-motion: reduce){
  .site-bg .bg-img, .site-bg .bg-grid{ animation: none !important; }
}
