/* style.css */
/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #080810;
  --surface: #0e0e1a;
  --border: #1e1e30;
  --text: #e0e0f0;
  --dim: #6060a0;
  --green: #1a5c3a;
  --green-light: #2d8a5a;
  --green-glow: rgba(45, 138, 90, 0.4);
  --red: #8b1a2a;
  --red-light: #c42a3a;
  --red-glow: rgba(196, 42, 58, 0.4);
  --yellow: #b8960c;
  --yellow-light: #e5b800;
  --yellow-glow: rgba(229, 184, 0, 0.4);
  --blue: #2a4a8b;
  --purple: #6a2a8b;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ── Custom Cursor ── */
#cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--red-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: normal;
}

#cursorRing {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid var(--red-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.12s ease;
  opacity: 0.5;
}

body.cursor-hover #cursor {
  background: var(--green-light);
}

body.cursor-hover #cursorRing {
  border-color: var(--green-light);
}

/* ── Noise Overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

.status-dot.full { background: var(--green-light); }

/* Çift buton için düzenleme */
.project-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.project-buttons .project-link {
  justify-content: flex-end;
}

/* Wraith Yankee badge - mor tema */
.project-wraith {
  display: inline-block;
  font-family: 'Fira Code', monospace;
  font-size: 10px;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #8b5cf6;
  margin-bottom: 16px;
  transition: all 0.2s;
}

.project-wraith:hover {
  border-color: #8b5cf6;
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.15);
}

/* 3rd Developer badge (Baddiven) - sarı tema */
.project-yellow {
  display: inline-block;
  font-family: 'Fira Code', monospace;
  font-size: 10px;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(229, 184, 0, 0.1);
  border: 1px solid rgba(229, 184, 0, 0.3);
  color: var(--yellow-light);
  margin-bottom: 16px;
  transition: all 0.2s;
}

.project-yellow:hover {
  border-color: var(--yellow-light);
  color: var(--yellow-light);
  background: rgba(229, 184, 0, 0.15);
}

/* Sarı tema (Baddiven - UI/UX Designer) */
.team-card.yellow {
  --theme-color: #e5b800;
  --theme-glow: rgba(229, 184, 0, 0.2);
}

.team-card.yellow .team-role {
  color: var(--yellow-light);
}

.team-card.yellow:hover {
  border-color: var(--yellow-light);
  box-shadow: 0 20px 60px rgba(229, 184, 0, 0.2);
}

.team-card.yellow .team-avatar {
  background: linear-gradient(135deg, rgba(229, 184, 0, 0.3), rgba(229, 184, 0, 0.1));
}

.team-card.yellow .team-github:hover {
  border-color: var(--yellow-light);
  color: var(--yellow-light);
  background: rgba(229, 184, 0, 0.08);
}

/* ── Navbar ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 48px;
  background: rgba(8, 8, 16, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 48px;
  width: auto;
  filter: brightness(1.1) drop-shadow(0 0 8px var(--green-glow));
}

.nav-logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 1px;
}

/* Godly badge - siyah tema */
.project-black {
  display: inline-block;
  font-family: 'Fira Code', monospace;
  font-size: 10px;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.3);
  color: #000000;
  margin-bottom: 16px;
  transition: all 0.2s;
}

.project-black:hover {
  border-color: #000000;
  color: #000000;
  background: rgba(0, 0, 0, 0.15);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  text-decoration: none;
  color: var(--dim);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--green-light);
}

.nav-lang {
  display: flex;
  gap: 8px;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--dim);
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn:hover,
.lang-btn.active {
  border-color: var(--green-light);
  color: var(--green-light);
}

.lang-flag {
  font-size: 14px;
}

/* ── Hero ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 48px 60px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 138, 90, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 138, 90, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
  to { background-position: 0 60px; }
}

.hero-logo {
  position: relative;
  z-index: 2;
  animation: heroIn 0.8s cubic-bezier(0.2, 0, 0, 1) forwards;
  opacity: 0;
  transform: translateY(40px);
  display: flex;
  justify-content: center;
  margin-bottom: -150px;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logo img {
  height: 600px;
  width: auto;
  filter: brightness(1.2) drop-shadow(0 0 80px var(--green-glow));
  user-select: none;
  pointer-events: none;
}

.hero-sub {
  position: relative;
  z-index: 2;
  font-family: 'Fira Code', monospace;
  font-size: 14px;
  color: var(--dim);
  text-align: center;
  margin-top: 20px;
  margin-bottom: 48px;
  animation: heroIn 0.8s 0.2s cubic-bezier(0.2, 0, 0, 1) forwards;
  opacity: 0;
}

.hero-sub .blink {
  color: var(--red-light);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 48px;
  animation: heroIn 0.8s 0.3s cubic-bezier(0.2, 0, 0, 1) forwards;
  opacity: 0;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  display: block;
}

.stat-num.green { color: var(--green-light); }
.stat-num.red { color: var(--red-light); }
.stat-num.mix {
  background: linear-gradient(135deg, var(--green-light), var(--red-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.scroll-hint::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--dim), transparent);
}

/* ── Section ── */
section {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  font-family: 'Fira Code', monospace;
  font-size: 12px;
  color: var(--green-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-tag::before {
  content: '//';
  color: var(--red-light);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 48px;
  line-height: 1.1;
}

/* ── Projects Header ── */
.projects-header {
  position: relative;
  background: linear-gradient(135deg, rgba(45,138,90,0.08), rgba(196,42,58,0.08));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 60px 48px;
  margin-bottom: 48px;
  text-align: center;
  overflow: hidden;
}

.projects-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 35% 50%, var(--green-glow) 0%, transparent 40%),
    radial-gradient(circle at 65% 50%, var(--red-glow) 0%, transparent 40%);
  animation: headerGlow 8s ease-in-out infinite;
  opacity: 0.25;
}

@keyframes headerGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-8%, -8%) scale(1.08); }
}

.projects-header-content {
  position: relative;
  z-index: 2;
}

.projects-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--green-light), var(--red-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.projects-header-desc {
  font-size: 16px;
  color: var(--dim);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 24px;
}

.projects-header-studio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fira Code', monospace;
  font-size: 13px;
  color: var(--green-light);
  background: rgba(45, 138, 90, 0.1);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(45, 138, 90, 0.3);
  text-decoration: none;
  transition: all 0.2s;
}

.projects-header-studio:hover {
  background: rgba(45, 138, 90, 0.2);
  border-color: var(--green-light);
}

.projects-header-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--green-light), var(--red-light));
  margin: 24px auto 0;
  border-radius: 2px;
}

#projects .inner-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 0 48px 0;
}

/* ── Projects Grid ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.project-card:hover {
  border-color: var(--green-light);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px var(--green-glow);
}

/* ── Projects Grid (güncelleme) ── */
.project-thumb {
  height: 200px;
  background: linear-gradient(135deg, #0a0a14, #141428);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Eski grid ve gradient'i kaldır */
.project-thumb::before {
  display: none !important;
}

.project-thumb .thumb-grid {
  display: none !important;
}

/* Resmi tam alana yay */
.project-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.project-thumb img.contain {
  object-fit: contain;
  background: #0a0a14;
}

.project-thumb .fallback-emoji {
  position: relative;
  z-index: 2;
  font-size: 48px;
}

.project-body {
  padding: 24px;
}

.project-name {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.project-desc {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tag {
  font-family: 'Fira Code', monospace;
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid;
}

.tag-green {
  color: var(--green-light);
  border-color: rgba(45, 138, 90, 0.3);
  background: rgba(45, 138, 90, 0.05);
}

.tag-blue {
  color: #6a8fd8;
  border-color: rgba(106, 143, 216, 0.3);
  background: rgba(106, 143, 216, 0.05);
}

.tag-red {
  color: var(--red-light);
  border-color: rgba(196, 42, 58, 0.3);
  background: rgba(196, 42, 58, 0.05);
}

.tag-purple {
  color: #a06ad8;
  border-color: rgba(160, 106, 216, 0.3);
  background: rgba(160, 106, 216, 0.05);
}

.tag-yellow {
  color: var(--yellow-light);
  border-color: rgba(229, 184, 0, 0.3);
  background: rgba(229, 184, 0, 0.05);
}

/* Divider between tags and badges */
.project-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  margin: 16px 0;
}

/* Developer badge (Wrenchiz) - kırmızı tema */
.project-dev {
  display: inline-block;
  font-family: 'Fira Code', monospace;
  font-size: 10px;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(196, 42, 58, 0.1);
  border: 1px solid rgba(196, 42, 58, 0.3);
  color: var(--red-light);
  margin-bottom: 16px;
  transition: all 0.2s;
}

.project-dev:hover {
  border-color: var(--red-light);
  color: var(--red-light);
  background: rgba(196, 42, 58, 0.15);
}

/* Artist badge (Baddeaw) - pembe tema */
.project-artist {
  display: inline-block;
  font-family: 'Fira Code', monospace;
  font-size: 10px;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(255, 79, 163, 0.12);
  border: 1px solid rgba(255, 79, 163, 0.35);
  color: #ff4fa3;
  margin-bottom: 16px;
  transition: all 0.2s;
}

.project-artist:hover {
  border-color: #ff4fa3;
  color: #ff4fa3;
  background: rgba(255, 79, 163, 0.18);
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.project-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--dim);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-light);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.status-dot.beta { background: var(--yellow); }
.status-dot.alpha { background: var(--purple); }
.status-dot.wip { background: var(--red-light); }

.project-link {
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  min-height: 34px;
  max-width: 42px;
  white-space: nowrap;
  margin-left: auto;
}

.project-link:hover {
  transform: translateY(-1px);
}

.project-link-play {
  background: linear-gradient(135deg, rgba(45, 138, 90, 0.2), rgba(45, 138, 90, 0.1));
  border-color: rgba(45, 138, 90, 0.35);
  color: #7ee7a8;
}

.project-link-play:hover {
  background: linear-gradient(135deg, rgba(45, 138, 90, 0.3), rgba(45, 138, 90, 0.18));
  box-shadow: 0 8px 24px rgba(45, 138, 90, 0.18);
}

.project-link-download {
  background: linear-gradient(135deg, rgba(42, 74, 139, 0.22), rgba(42, 74, 139, 0.1));
  border-color: rgba(42, 74, 139, 0.35);
  color: #8eb6ff;
}

.project-link-download:hover {
  background: linear-gradient(135deg, rgba(42, 74, 139, 0.3), rgba(42, 74, 139, 0.16));
  box-shadow: 0 8px 24px rgba(42, 74, 139, 0.18);
}

.project-link-disabled {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  color: var(--dim);
  cursor: not-allowed;
  opacity: 0.8;
}

.project-link-disabled:hover {
  transform: none;
  box-shadow: none;
}

.project-link-windows {
  background: linear-gradient(135deg, rgba(42, 74, 139, 0.22), rgba(42, 74, 139, 0.1));
  border-color: rgba(42, 74, 139, 0.35);
  color: #8eb6ff;
}

.project-link-linux {
  background: linear-gradient(135deg, rgba(45, 138, 90, 0.2), rgba(45, 138, 90, 0.1));
  border-color: rgba(45, 138, 90, 0.35);
  color: #7ee7a8;
}

.project-link-linux:hover {
  background: linear-gradient(135deg, rgba(45, 138, 90, 0.3), rgba(45, 138, 90, 0.18));
  box-shadow: 0 8px 24px rgba(45, 138, 90, 0.18);
}

.project-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-link-icon svg,
.project-link-icon img {
  width: 14px;
  height: 14px;
  display: block;
  object-fit: contain;
}

/* ── Team ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.team-card::after {
  display: none;
}

/* Wrenchiz kartı hover efekti (kırmızı) */
.team-card:hover {
  border-color: var(--red-light);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(196, 42, 58, 0.2);
}

/* Baddeaw kartı için beyaz tema */
.team-card.white .team-role {
  color: #e0e0f0;
}

.team-card.white:hover {
  border-color: #e0e0f0;
  box-shadow: 0 20px 60px rgba(224, 224, 240, 0.2);
}

.team-card.white .team-avatar {
  background: linear-gradient(135deg, rgba(224, 224, 240, 0.3), rgba(224, 224, 240, 0.1));
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: none;
  background: linear-gradient(135deg, var(--green-glow), var(--red-glow));
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  color: var(--red-light);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.team-bio {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.6;
}

.team-github {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

/* Wrenchiz GitHub butonu hover (kırmızı) */
.team-card .team-github {
  color: #000;
  background: #fff;
  border-color: #000;
}

.team-card .team-github:hover {
  color: #fff !important;
  background: linear-gradient(135deg, var(--red-light), #ff5b6a) !important;
  border-color: var(--red-light) !important;
  box-shadow: 0 0 14px rgba(196, 42, 58, 0.25);
}

/* Baddeaw GitHub butonu hover (pembe) */
.team-card.white .team-github {
  color: #000;
  background: #fff;
  border-color: #000;
}

.team-card.white .team-github:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #ff4fa3, #ff7ab8) !important;
  border-color: #ff4fa3 !important;
  box-shadow: 0 0 18px rgba(255, 79, 163, 0.35);
}

.team-card.white .team-role {
  color: #ff4fa3;
}

.team-card.white:hover {
  border-color: #ff4fa3;
  box-shadow: 0 0 30px rgba(255, 79, 163, 0.45), 0 20px 56px rgba(255, 79, 163, 0.24);
}

.team-card.white .team-avatar {
  background: linear-gradient(135deg, rgba(255, 79, 163, 0.22), rgba(255, 79, 163, 0.08));
}

/* Siyah neon tema (Godly - VFX Artist) */
.team-card.black {
  --theme-color: #111111;
  --theme-glow: rgba(0, 0, 0, 0.16);
}

/* Mor tema (Wraith Yankee - Developer) */
.team-card.purple {
  --theme-color: #8b5cf6;
  --theme-glow: rgba(139, 92, 246, 0.16);
}

.team-card.purple .team-role {
  color: #8b5cf6;
}

.team-card.purple .team-name,
.team-card.purple .team-bio,
.team-card.purple .team-github {
  color: #000;
}

.team-card.purple {
  border-color: #000;
}

.team-card.purple:hover {
  border-color: #8b5cf6;
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

.team-card.purple .team-avatar {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0.1));
}

.team-card.purple .team-github {
  color: #000;
  background: #fff;
  border-color: #000;
}

.team-card.purple .team-github:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa) !important;
  border-color: #8b5cf6 !important;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.25);
}

.team-card.black .team-role {
  color: #111111;
}

.team-card.black:hover {
  border-color: #111111;
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.45), 0 20px 60px rgba(0, 0, 0, 0.16);
}

.team-card.black .team-avatar {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.02));
}

.team-card.black .team-github {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  color: #000;
  background: #fff;
  border: 1px solid #000;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.team-card.black .team-github:hover {
  color: #fff !important;
  background: #000 !important;
  border-color: #000 !important;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.25);
}

/* Mavi tema (BurAkdas) */
.team-card.mavi {
  --theme-color: #2a6f9c;
  --theme-glow: rgba(42, 111, 156, 0.2);
}

.team-card.mavi .team-role {
  color: #2a6f9c;
}

.team-card.mavi:hover {
  border-color: #2a6f9c;
  box-shadow: 0 20px 60px rgba(42, 111, 156, 0.2);
}

.team-card.mavi .team-avatar {
  background: linear-gradient(135deg, rgba(42, 111, 156, 0.3), rgba(42, 111, 156, 0.1));
}

.team-card.mavi .team-github {
  color: #000;
  background: #fff;
  border-color: #000;
}

.team-card.mavi .team-github:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #2a6f9c, #4a8ec2) !important;
  border-color: #2a6f9c !important;
  box-shadow: 0 0 14px rgba(42, 111, 156, 0.25);
}

/* Yeşil tema (Baddiven - Developer) */
.team-card.yesil {
  --theme-color: #2d8a5a;
  --theme-glow: rgba(45, 138, 90, 0.2);
}

.team-card.yesil .team-role {
  color: var(--green-light);
}

.team-card.yesil:hover {
  border-color: var(--green-light);
  box-shadow: 0 20px 60px rgba(45, 138, 90, 0.2);
}

.team-card.yesil .team-avatar {
  background: linear-gradient(135deg, rgba(45, 138, 90, 0.3), rgba(45, 138, 90, 0.1));
}

.team-card.yesil .team-github {
  color: #000;
  background: #fff;
  border-color: #000;
}

.team-card.yesil .team-github:hover {
  color: #fff !important;
  background: linear-gradient(135deg, var(--green-light), #4dc47a) !important;
  border-color: var(--green-light) !important;
  box-shadow: 0 0 14px rgba(45, 138, 90, 0.25);
}

/* Sarı tema (Baddiven alternatifi) */
.team-card.yellow {
  --theme-color: #e5b800;
  --theme-glow: rgba(229, 184, 0, 0.2);
}

.team-card.yellow .team-role {
  color: var(--yellow-light);
}

.team-card.yellow:hover {
  border-color: var(--yellow-light);
  box-shadow: 0 20px 60px rgba(229, 184, 0, 0.2);
}

.team-card.yellow .team-avatar {
  background: linear-gradient(135deg, rgba(229, 184, 0, 0.3), rgba(229, 184, 0, 0.1));
}

.team-card.yellow .team-github {
  color: #000;
  background: #fff;
  border-color: #000;
}

.team-card.yellow .team-github:hover {
  color: #fff !important;
  background: linear-gradient(135deg, var(--yellow-light), #ffd54a) !important;
  border-color: var(--yellow-light) !important;
  box-shadow: 0 0 14px rgba(229, 184, 0, 0.25);
}

/* Designer badge (Baddiven) - yeşil tema */
.project-designer {
  display: inline-block;
  font-family: 'Fira Code', monospace;
  font-size: 10px;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(45, 138, 90, 0.1);
  border: 1px solid rgba(45, 138, 90, 0.3);
  color: var(--green-light);
  margin-bottom: 16px;
  transition: all 0.2s;
}

.project-designer:hover {
  border-color: var(--green-light);
  color: var(--green-light);
  background: rgba(45, 138, 90, 0.15);
}

.team-github svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 12px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  height: 48px;
  width: auto;
  filter: brightness(1.1) drop-shadow(0 0 8px var(--green-glow));
}

.footer-logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 1px;
}

/* Footer Sosyal Medya İkonları */
.footer-socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--dim);
  transition: all 0.2s ease;
  border-radius: 50%;
  padding: 4px;
  text-decoration: none;
}

.footer-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.footer-icon:hover {
  color: var(--text);
  transform: translateY(-3px);
}

.footer-copy {
  font-size: 12px;
  color: var(--dim);
  margin: 0;
}

/* ── Divider ── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 auto;
}

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* style.css'ye ekle */
#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}

/* ── Proje Kartları Hover Efekti ── */
.project-card {
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.project-card:hover {
  border-color: var(--green-light);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px var(--green-glow);
}

.project-card:hover::after {
  transform: translateX(100%);
}

.project-card:hover::before {
  opacity: 1;
}

/* Varsayılan imleci kaldır (tıklanabilir öğelerde) */
a, button, .project-link, .team-github, .lang-btn, .projects-header-studio, .project-card, .team-card {
  cursor: none !important;
}

/* ── Monochrome theme ── */
:root { --bg: #080808; --surface: #111111; --border: #2b2b2b; --text: #f5f5f5; --dim: #a3a3a3; --mono-light: #f5f5f5; --mono-muted: #737373; --mono-glow: rgba(255,255,255,.16); }
#cursor { background: #000; } #cursorRing { border-color: #000; }
body.cursor-hover #cursor { background: #000; } body.cursor-hover #cursorRing { border-color: #000; }
nav { background: rgba(8,8,8,.88); }
.nav-logo img, .footer-logo img { filter: grayscale(1) brightness(1.25) drop-shadow(0 0 8px var(--mono-glow)); }
.nav-links a:hover, .lang-btn:hover, .lang-btn.active { color: var(--mono-light); border-color: var(--mono-light); }
.hero-grid { background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); }
.hero-logo img { filter: grayscale(1) brightness(1.35) drop-shadow(0 0 80px var(--mono-glow)); }
.hero-sub .blink, .stat-num.green, .stat-num.red, .section-tag { color: var(--mono-light); }
.stat-num.mix, .projects-header h2 { background: linear-gradient(135deg, var(--mono-light), var(--mono-muted)); -webkit-background-clip: text; background-clip: text; }
.section-tag::before { color: var(--mono-muted); }
.projects-header { background: linear-gradient(135deg, #151515, #0d0d0d); }
.projects-header::before { background: radial-gradient(circle at 35% 50%, var(--mono-glow) 0%, transparent 40%), radial-gradient(circle at 65% 50%, rgba(255,255,255,.07) 0%, transparent 40%); }
.projects-header-studio { color: var(--mono-light); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); }
.projects-header-studio:hover { background: rgba(255,255,255,.12); border-color: var(--mono-light); }
.projects-header-divider { background: linear-gradient(90deg, var(--mono-muted), var(--mono-light)); }
.project-card:hover { border-color: var(--mono-light); box-shadow: 0 20px 60px var(--mono-glow); }
.project-thumb, .project-thumb img.contain { background: #0b0b0b; }
.project-link { color: var(--mono-light); } .team-avatar { background: linear-gradient(135deg, #2b2b2b, #101010); }

/* ── Light hero canvas ── */
#hero { background: #fff; }
.hero-grid { background-image: linear-gradient(rgba(0,0,0,.18) 2px, transparent 2px), linear-gradient(90deg, rgba(0,0,0,.18) 2px, transparent 2px); }
#heroCanvas { opacity: 1; }
.hero-logo img { filter: none; }
#hero .hero-sub, #hero .hero-sub .blink, #hero .stat-num.green, #hero .stat-num.red, #hero .stat-label, #hero .scroll-hint { color: #000; }
#hero .stat-num.mix { background: #000; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
#hero .scroll-hint::after { background: linear-gradient(to bottom, #000, transparent); }

/* ── Light projects section ── */
#projects { max-width: none; background: #fff; color: #000; }
#projects > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
#projects .projects-header { background: #fff; border-color: #000; }
#projects .projects-header::before { display: none; }
#projects .projects-header h2, #projects .section-title, #projects .section-tag, #projects .section-tag::before, #projects .projects-header-desc { color: #000; -webkit-text-fill-color: #000; }
#projects .projects-header-studio { color: #000; background: #fff; border-color: #000; }
#projects .projects-header-studio:hover { color: #fff; background: #000; border-color: #000; }
#projects .projects-header-divider, #projects .inner-divider { background: #000; }
#projects .project-card { background: #fff; border-color: #000; }
#projects .project-card:hover { border-color: #000; box-shadow: 0 16px 36px rgba(0,0,0,.18); }
#projects .project-name, #projects .project-desc, #projects .project-status, #projects .project-link { color: #000; }

/* ── Light developers section ── */
#team { max-width: none; background: #fff; color: #000; }
#team > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
#team .section-tag, #team .section-tag::before, #team .section-title, #team .team-name, #team .team-bio { color: #000; }
#team .team-card { background: #fff; border-color: #000; }
#team .team-github { color: #000; background: #fff; border-color: #000; }
#team .team-avatar { background: #fff; border: none; }

/* Restore developer GitHub hover colours */
#team .team-card .team-github:hover { border-color: var(--red-light); color: var(--red-light); background: rgba(196,42,58,.08); }
#team .team-card.white .team-github:hover { border-color: #e0e0f0; color: #e0e0f0; background: rgba(224,224,240,.08); }
#team .team-card.yellow .team-github:hover { border-color: var(--yellow-light); color: var(--yellow-light); background: rgba(229,184,0,.08); }
#team .team-card.mavi .team-github:hover { border-color: #2a6f9c; color: #2a6f9c; background: rgba(42,111,156,.08); }
#team .team-card.yesil .team-github:hover { border-color: var(--green-light); color: var(--green-light); background: rgba(45,138,90,.08); }
#team .team-card.black { background: #fff; border-color: #000; }
#team .team-card.black .team-name,
#team .team-card.black .team-role,
#team .team-card.black .team-bio,
#team .team-card.black .team-github { color: #000; }
#team .team-card.black .team-github { background: #fff; border-color: #000; }
#team .team-card.black:hover { border-color: #000; box-shadow: 0 0 22px rgba(0,0,0,.45), 0 20px 60px rgba(0,0,0,.16); }
#team .team-card.black .team-avatar { background: #fff; border-color: #000; }

#team .team-card.purple { background: #fff; border-color: #000; }
#team .team-card.purple .team-name,
#team .team-card.purple .team-bio { color: #000; }
#team .team-card.purple .team-role { color: #8b5cf6; }
#team .team-card.purple .team-avatar { background: transparent; }
#team .team-card.purple .team-github { color: #000; background: #fff; border-color: #000; }
#team .team-card.purple .team-github:hover { color: #fff; background: linear-gradient(135deg, #8b5cf6, #a78bfa); border-color: #8b5cf6; box-shadow: 0 0 14px rgba(139,92,246,.25); }
#team .team-card.purple:hover { border-color: #8b5cf6; box-shadow: 0 0 24px rgba(139,92,246,.45), 0 20px 60px rgba(139,92,246,.22); }

.hero-brand { position: relative; z-index: 2; margin: 0 0 4px; color: #000; font-size: 28px; }

/* Stronger developer card hover glow */
#team .team-card:hover { border-color: var(--red-light); box-shadow: 0 0 22px rgba(196,42,58,.55), 0 20px 60px rgba(196,42,58,.3); }
#team .team-card.white:hover { border-color: #ff4fa3; box-shadow: 0 0 22px rgba(255,79,163,.55), 0 20px 60px rgba(255,79,163,.28); }
#team .team-card.yellow:hover { border-color: var(--yellow-light); box-shadow: 0 0 22px rgba(229,184,0,.6), 0 20px 60px rgba(229,184,0,.32); }
#team .team-card.mavi:hover { border-color: #2a6f9c; box-shadow: 0 0 22px rgba(42,111,156,.65), 0 20px 60px rgba(42,111,156,.35); }
#team .team-card.yesil:hover { border-color: var(--green-light); box-shadow: 0 0 22px rgba(45,138,90,.65), 0 20px 60px rgba(45,138,90,.35); }

/* Solid navigation over light sections */
nav { background: rgba(0,0,0,.97); border-bottom-color: #000; }

/* ── Responsive (Mobil ve Tablet) ── */
@media (max-width: 1024px) {
  section {
    padding: 80px 32px;
  }
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }
  .project-thumb {
    height: 180px;
  }
  .project-body {
    padding: 20px;
  }
  .project-name {
    font-size: 20px;
  }
  .project-desc {
    font-size: 12px;
  }
  .tag {
    font-size: 9px;
    padding: 2px 8px;
  }
  .project-dev, .project-artist, .project-designer, .project-yellow, .project-wraith, .project-black {
    font-size: 9px;
    padding: 3px 10px;
  }
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }
  .team-card {
    padding: 24px 20px;
  }
  .team-avatar {
    width: 100px;
    height: 100px;
  }
  .team-name {
    font-size: 16px;
  }
  .team-role {
    font-size: 10px;
  }
  .team-bio {
    font-size: 11px;
  }
  .team-github {
    font-size: 10px;
    padding: 5px 12px;
  }
}

@media (max-width: 768px) {
  /* Navbar */
  nav {
    padding: 10px 20px;
  }
  .nav-logo img {
    height: 36px;
  }
  .nav-logo-text {
    font-size: 14px;
  }
  .nav-links {
    display: none;
  }
  .lang-btn {
    font-size: 10px;
    padding: 3px 8px;
  }
  .lang-flag {
    font-size: 12px;
  }

  /* Hero */
  #hero {
    padding: 80px 20px 60px;
    min-height: 90vh;
  }
  .hero-logo img {
    height: 300px;
  }
  .hero-logo {
    margin-bottom: -80px;
  }
  .hero-sub {
    font-size: 11px;
    margin-top: 10px;
    margin-bottom: 30px;
  }
  .hero-stats {
    gap: 24px;
  }
  .stat-num {
    font-size: 28px;
  }
  .stat-label {
    font-size: 9px;
  }
  .scroll-hint {
    bottom: 20px;
    font-size: 9px;
  }
  .scroll-hint::after {
    height: 30px;
  }

  /* Sections */
  section {
    padding: 60px 20px;
  }
  .section-tag {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .section-title {
    font-size: clamp(28px, 6vw, 40px);
    margin-bottom: 32px;
  }

  /* Projects Header */
  .projects-header {
    padding: 40px 24px;
    margin-bottom: 32px;
  }
  .projects-header h2 {
    font-size: clamp(28px, 6vw, 40px);
  }
  .projects-header-desc {
    font-size: 13px;
    line-height: 1.6;
  }
  .projects-header-studio {
    font-size: 11px;
    padding: 6px 12px;
  }

  /* Projects Grid */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .project-thumb {
    height: 160px;
  }
  .project-body {
    padding: 16px;
  }
  .project-name {
    font-size: 18px;
  }
  .project-desc {
    font-size: 12px;
    margin-bottom: 16px;
  }
  .project-tags {
    margin-bottom: 10px;
  }
  .tag {
    font-size: 9px;
    padding: 2px 8px;
  }
  .project-divider {
    margin: 12px 0;
  }
  .project-dev, .project-artist, .project-designer, .project-yellow, .project-wraith, .project-black {
    font-size: 9px;
    padding: 3px 10px;
    margin-bottom: 12px;
  }
  .project-footer {
    flex-wrap: wrap;
    gap: 10px;
  }
  .project-status {
    font-size: 10px;
  }
  .project-link {
    font-size: 11px;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .team-card {
    padding: 20px 16px;
  }
  .team-avatar {
    width: 90px;
    height: 90px;
  }
  .team-name {
    font-size: 16px;
  }
  .team-role {
    font-size: 10px;
  }
  .team-bio {
    font-size: 11px;
  }
  .team-github {
    font-size: 10px;
    padding: 4px 12px;
    margin-top: 12px;
  }

  /* Footer */
  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 20px;
  }
  .footer-logo img {
    height: 36px;
  }
  .footer-logo-text {
    font-size: 14px;
  }
  .footer-socials {
    justify-content: center;
    gap: 20px;
  }
  .footer-copy {
    font-size: 10px;
  }

  /* Divider */
  .divider {
    margin: 0 20px;
  }
}

/* Mobil cihazlarda imleci gizle */
@media (pointer: coarse) {
  #cursor, #cursorRing {
    display: none !important;
  }
  body {
    cursor: auto !important;
  }
  a, button, .project-link, .team-github, .lang-btn, .projects-header-studio, .project-card, .team-card {
    cursor: pointer !important;
  }
}

@media (max-width: 480px) {
  /* Küçük telefonlar için ekstra iyileştirmeler */
  .hero-logo img {
    height: 220px;
  }
  .hero-stats {
    gap: 16px;
  }
  .stat-num {
    font-size: 24px;
  }
  .stat-label {
    font-size: 8px;
  }
  .project-thumb {
    height: 140px;
  }
  .project-body {
    padding: 14px;
  }
  .project-name {
    font-size: 16px;
  }
  .project-desc {
    font-size: 11px;
  }
  .tag {
    font-size: 8px;
    padding: 2px 6px;
  }
  .project-dev, .project-artist, .project-designer, .project-yellow, .project-wraith, .project-black {
    font-size: 8px;
    padding: 2px 8px;
  }
  .project-status {
    font-size: 9px;
  }
  .project-link {
    font-size: 10px;
  }
  .team-card {
    padding: 16px 12px;
  }
  .team-avatar {
    width: 80px;
    height: 80px;
  }
  .team-name {
    font-size: 15px;
  }
  .team-bio {
    font-size: 10px;
  }
}

/* ── Mobile hero refinements ── */
@media (max-width: 768px) {
  #hero { min-height: 100svh; padding: 82px 16px 46px; justify-content: center; }
  .hero-logo { width: 100%; margin-bottom: -46px; }
  .hero-logo img { width: min(92vw, 360px); max-width: 100%; height: auto; max-height: 46svh; object-fit: contain; }
  .hero-brand { margin-bottom: 6px; font-size: clamp(24px, 6.5vw, 32px); text-align: center; }
  .hero-sub { width: min(100%, 320px); margin: 10px auto 30px; font-size: 11px; line-height: 1.7; }
  .hero-stats { width: min(100%, 310px); justify-content: space-between; gap: 10px; }
  .stat { min-width: 68px; }
  .scroll-hint { bottom: 14px; }
}

@media (max-width: 480px) {
  nav { padding: 8px 12px; }
  .nav-logo { gap: 6px; }
  .nav-logo img { height: 30px; }
  .nav-logo-text { font-size: 13px; }
  .nav-lang { gap: 3px; }
  .lang-btn { padding: 3px 5px; font-size: 9px; gap: 3px; }
  .lang-flag { font-size: 11px; }
  #hero { padding-top: 70px; }
  .hero-logo { margin-bottom: -34px; }
  .hero-logo img { width: min(94vw, 320px); max-height: 44svh; }
  .hero-brand { font-size: 26px; }
  .hero-sub { margin-bottom: 22px; }
  .hero-stats { width: min(100%, 290px); }
  .stat-num { font-size: 27px; }
}

/* Center the desktop hero composition */
@media (min-width: 769px) {
  #hero > .hero-logo,
  #hero > .hero-brand,
  #hero > .hero-sub,
  #hero > .hero-stats { top: -36px; }
}