body {
  background: #050506;
  scroll-behavior: smooth;
  user-select: none;
}
.rich, input, textarea, .selectable { user-select: text; }

#bg-canvas { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

.bg-glow {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw; height: 100vh;
  background: radial-gradient(circle at center, rgba(80, 250, 123, 0.08) 0%, transparent 80%);
  z-index: -2;
  pointer-events: none;
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Terminal vurgu rengi */
.terminal-text { color: #50fa7b; text-shadow: 0 0 10px rgba(80, 250, 123, 0.5); }

/* Yüzen logo (hero) */
.logo-img {
  max-width: 180px;
  filter: drop-shadow(0 0 25px rgba(80, 250, 123, 0.3));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Cam kart */
.glass-card {
  background: rgba(13, 13, 15, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.glass-card:hover {
  border-color: rgba(80, 250, 123, 0.4);
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.7);
}

/* Teknoloji etiketi */
.tech-pill {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.3s ease;
}
.tech-pill:hover {
  border-color: #50fa7b;
  color: #50fa7b;
  background: rgba(80, 250, 123, 0.08);
}

/* Sabit LinkedIn butonu */
.linkedin-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  background: #0077b5;
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 10px 30px rgba(0, 119, 181, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: slideUp 1s ease-out forwards;
}
.linkedin-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 119, 181, 0.5);
}
@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 640px) {
  .linkedin-btn span { display: none; }
  .linkedin-btn { padding: 12px; border-radius: 50%; }
}

/* Sosyal ikonlar (footer) */
.social-icon {
  color: #4b5563;
  transition: all 0.3s;
  display: inline-flex;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}
.social-icon:hover {
  color: #50fa7b;
  border-color: rgba(80, 250, 123, 0.4);
  transform: translateY(-3px);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050506; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #50fa7b; }

/* İçerik alanı (sanitize edilmiş HTML) — tasarımı asla bozamaz */
.rich {
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 300;
}
.rich h1, .rich h2, .rich h3, .rich h4 {
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}
.rich h1 { font-size: 1.6rem; }
.rich h2 { font-size: 1.35rem; }
.rich h3 { font-size: 1.15rem; }
.rich h4 { font-size: 1rem; }
.rich p { margin: 0.85rem 0; }
.rich ul, .rich ol { margin: 0.85rem 0; padding-left: 1.4rem; }
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }
.rich li { margin: 0.3rem 0; }
.rich a { color: #50fa7b; text-decoration: underline; text-underline-offset: 3px; }
.rich blockquote {
  border-left: 3px solid #50fa7b;
  padding: 0.6rem 1rem;
  margin: 1rem 0;
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 10px 10px 0;
  font-style: italic;
}
.rich pre {
  background: #0d0d0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem;
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 1rem 0;
}
.rich code {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(255, 255, 255, 0.07);
  padding: 0.15rem 0.4rem;
  border-radius: 5px;
  font-size: 0.85em;
}
.rich pre code { background: transparent; padding: 0; }
.rich img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 1rem 0;
}
.rich hr { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 2rem 0; }
.rich mark { background: rgba(80, 250, 123, 0.25); color: #fff; padding: 0 0.2rem; border-radius: 4px; }