/* ==========================================================================
   Bileşenler: Profil, Gezinme Rayı, Zaman Çizelgesi, Bento Kartlar, Spotify
   ========================================================================== */
.glass-surface {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
}

.avatar-wrapper {
  position: relative;
  width: 92px;
  height: 92px;
}

.profile-avatar {
  width: 92px;
  height: 92px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--border-strong);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  background: var(--bg-elevated);
}

.discord-status-badge {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  border: 3px solid var(--bg-base);
  transition: background-color var(--transition-fast);
}

.status-online { background-color: var(--status-online); }
.status-idle { background-color: var(--status-idle); }
.status-dnd { background-color: var(--status-dnd); }
.status-offline { background-color: var(--status-offline); }

.identity-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.handle-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent);
}

.profile-role {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.profile-location {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.status-note {
  width: fit-content;
  max-width: 100%;
  margin-top: 6px;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-secondary);
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.status-text {
  display: inline-block;
  min-width: 0;
}

.status-pulse {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: var(--radius-full);
  background: var(--status-online);
  box-shadow: 0 0 0 0 rgba(35, 165, 90, 0.5);
  animation: status-pulse 2.4s ease-out infinite;
}

.status-label {
  color: var(--accent);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes status-pulse {
  70%, 100% {
    box-shadow: 0 0 0 7px rgba(35, 165, 90, 0);
  }
}

.utility-row {
  display: flex;
  gap: 8px;
}

.chip-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
}

.chip-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--accent-soft);
}

.chip-btn kbd {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  padding: 1px 5px;
  border-radius: 5px;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
}

/* Apple Tarzı Akışkan Kayan Kapsüllü Gezinme Rayı */
.sidebar-nav {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-active-pill {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(56, 189, 248, 0.06));
  border: 1px solid rgba(56, 189, 248, 0.34);
  box-shadow:
    0 8px 22px -8px rgba(56, 189, 248, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  pointer-events: none;
  z-index: 0;
  transform-origin: center center;
  transition:
    transform 520ms cubic-bezier(0.22, 1.22, 0.36, 1),
    height 380ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
  will-change: transform, height;
}

.nav-link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition:
    color 260ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-index {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  transition: color 260ms ease;
}

.nav-link:hover {
  color: var(--text-primary);
  transform: translateX(3px);
}

.nav-link.is-active {
  color: var(--text-primary);
  font-weight: 600;
  transform: translateX(3px);
}

.nav-link.is-active .nav-index {
  color: var(--accent);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-pill {
  width: 100%;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-pill);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.social-pill:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.social-icons-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.social-link-btn {
  position: relative;
  min-height: 34px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 5px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.social-link-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 20;
  bottom: calc(100% + 8px);
  left: 50%;
  padding: 4px 7px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
  color: var(--text-primary);
  font-size: 0.64rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px) scale(.96);
  transition: opacity 160ms ease, transform 160ms ease;
}

.social-link-btn:hover::after,
.social-link-btn:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.social-link-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.social-link-btn span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-family: "Inter", system-ui, sans-serif;
  font-style: normal;
  background: var(--bg-elevated);
  font-size: 0.72rem;
  line-height: 1;
}

.social-link-btn span svg { width: 13px; height: 13px; display: block; }

.social-link-btn[href*="linkedin"] span { background: #0a66c2; color: #fff; }
.social-link-btn[href*="x.com"] span { background: #111827; color: #fff; }
.social-link-btn[href*="instagram"] span { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); color: #fff; }
.social-link-btn[href*="bionluk"] span { background: #10b981; color: #fff; }
.social-link-btn[href*="kick"] span { background: #53fc18; color: #10200b; }
#copy-discord-btn span { background: #5865f2; color: #fff; }

.download-cv-btn {
  width: 100%; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px;
  color: var(--text-primary); background: linear-gradient(135deg, var(--accent-soft), var(--bg-pill));
  border: 1px solid rgba(56, 189, 248, 0.35); border-radius: var(--radius-sm);
  font-size: 0.8rem; font-weight: 600;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.download-cv-btn small { margin-left: auto; color: var(--accent); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; }
.download-cv-btn:hover { transform: translateY(-2px); border-color: var(--accent); }

.reading-progress { position: fixed; z-index: 100; inset: 0 0 auto; height: 2px; background: transparent; pointer-events: none; }
.reading-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--accent-secondary), var(--accent), #a5e4ff); box-shadow: 0 0 12px var(--accent), 0 0 24px var(--accent-glow); transform-origin: left center; }

/* Spotify Lanyard Bileşeni */
.spotify-card {
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 132px;
  box-shadow: var(--shadow-card);
}

.idle-game-prompt {
  width: 100%;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: radial-gradient(circle at 50% 0%, var(--accent-soft), transparent 65%), var(--bg-pill);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 600;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.idle-game-prompt:hover { transform: translateY(-2px); border-color: var(--accent); background-color: var(--accent-soft); }
.idle-game-play { display: grid; place-items: center; width: 42px; height: 42px; padding-left: 3px; border-radius: 999px; background: var(--accent); color: #fff; box-shadow: 0 8px 22px -8px var(--accent); font-size: 0.9rem; }
.idle-game-prompt small { color: var(--text-muted); font-size: 0.65rem; font-weight: 500; }
.idle-game-prompt[hidden] { display: none; }
.spotify-card.is-idle { min-height: 132px; }
.spotify-card.is-idle > :not(.idle-game-prompt) { display: none; }

.snake-game { display: flex; flex-direction: column; gap: 6px; }
.snake-game[hidden] { display: none; }
.snake-game-head { display: flex; justify-content: space-between; color: var(--text-secondary); font-size: 0.7rem; font-weight: 600; }
#snake-canvas { width: 100%; height: 92px; border: 1px solid var(--border-subtle); border-radius: 10px; background: #0a1019; outline-offset: 3px; }
.snake-help { color: var(--text-muted); font-size: 0.66rem; text-align: center; }
.spotify-card.is-gaming { min-height: 0; }
.spotify-card.is-gaming > :not(.snake-game) { display: none; }

.spotify-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
}

.spotify-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
}

.spotify-card.is-playing .spotify-badge {
  color: var(--accent-secondary);
}

.equalizer {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 12px;
}

.equalizer i {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: var(--radius-full);
  background: currentColor;
  transform-origin: center;
}

.spotify-body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spotify-body.is-compact {
  gap: 10px;
}

.spotify-body.is-compact .spotify-meta {
  flex: 1;
}

.activity-nav {
  width: 24px; height: 30px; flex: 0 0 auto; padding: 0;
  border: 1px solid var(--border-subtle); border-radius: 8px;
  background: var(--bg-pill); color: var(--text-primary); font-size: 1.25rem; line-height: 1;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.activity-nav:hover:not(:disabled) { transform: translateY(-1px); border-color: var(--accent); background: var(--accent-soft); }
.activity-nav:disabled { opacity: 0.4; cursor: default; }

/* Özel imleç: nokta + yumuşak takip eden halka */
.custom-cursor { position: fixed; inset: 0; z-index: 10000; pointer-events: none; opacity: 0; transition: opacity 200ms ease; }
.custom-cursor.is-visible { opacity: 1; }
.cursor-dot, .cursor-ring { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--accent); box-shadow: 0 0 10px var(--accent); transition: width 200ms ease, height 200ms ease, margin 200ms ease, opacity 200ms ease; }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; display: grid; place-items: center;
  border: 1.5px solid color-mix(in srgb, var(--accent) 70%, transparent);
  transition: width 320ms cubic-bezier(.22,1,.36,1), height 320ms cubic-bezier(.22,1,.36,1), margin 320ms cubic-bezier(.22,1,.36,1), background 250ms ease, border-color 250ms ease;
}
.cursor-ring span { font-size: 0; font-weight: 600; letter-spacing: .02em; color: #07101a; opacity: 0; white-space: nowrap; transition: opacity 160ms ease; }
.custom-cursor.is-link .cursor-ring { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: color-mix(in srgb, var(--accent) 16%, transparent); }
.custom-cursor.is-link .cursor-dot { opacity: 0; }
.custom-cursor.is-expanded .cursor-ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--accent); border-color: transparent; }
.custom-cursor.is-expanded .cursor-ring span { font-size: .68rem; opacity: 1; }
.custom-cursor.is-expanded .cursor-dot { opacity: 0; }
.custom-cursor.is-text .cursor-dot { width: 2px; height: 22px; margin: -11px 0 0 -1px; border-radius: 2px; }
.custom-cursor.is-text .cursor-ring { opacity: 0; }

@media (pointer: fine) {
  .has-custom-cursor, .has-custom-cursor * { cursor: none !important; }
}

.spotify-cover-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
}

.spotify-album-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spotify-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.activity-nav:last-child {
  margin-left: auto;
}

.spotify-song {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotify-song:hover {
  color: var(--accent-secondary);
}

.spotify-artist,
.spotify-album {
  font-size: 0.73rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotify-album {
  color: var(--text-muted);
}

.spotify-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spotify-progress-wrap[hidden] {
  display: none;
}

.progress-track {
  width: 100%;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--bg-pill);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--accent-secondary), var(--accent));
  transition: width 0.35s linear;
}

.progress-times {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.mobile-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
}

.mobile-actions {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-pill);
  color: var(--text-primary);
  display: grid;
  place-items: center;
}

/* Bento Kartlar (Hakkımda) */
.bento-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.bento-photo-card {
  padding: 0;
  min-height: 240px;
}

.bento-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bento-photo-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(9, 11, 16, 0.92), transparent);
  color: #f8fafc;
}

.manifesto-quote {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-primary);
}

.bento-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-pill {
  font-size: 0.76rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.tech-pill.accent {
  background: var(--accent-soft);
  border-color: rgba(56, 189, 248, 0.3);
  color: var(--accent);
}

/* Zaman Çizelgesi */
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 22px;
  border-left: 1px solid var(--border-strong);
}

.timeline-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
}

.timeline-content { min-width: 0; display: flex; flex-direction: column; gap: 8px; }

.org-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  object-fit: contain;
  padding: 4px;
  border-radius: 13px;
  border: 1px solid var(--border-strong);
  background: #fff;
}

.org-mark-placeholder {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-elevated));
}

.timeline-card::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 24px;
  width: 11px;
  height: 11px;
  border-radius: var(--radius-full);
  background: var(--bg-base);
  border: 2px solid var(--accent);
}

.timeline-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-org {
  font-size: 1.02rem;
  font-weight: 600;
}

.timeline-date {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-pill);
  color: var(--accent);
}

.timeline-role {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-primary);
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.timeline-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 2px;
}

.timeline-page-btn {
  width: 30px;
  height: 28px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-pill);
  color: var(--text-primary);
  font-size: 1.1rem;
  line-height: 1;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.timeline-page-btn:hover:not(:disabled) { background: var(--accent-soft); border-color: var(--accent); transform: translateY(-1px); }
.timeline-page-btn:disabled { opacity: 0.4; cursor: default; }
.timeline-page-status { min-width: 38px; text-align: center; color: var(--text-muted); font-size: 0.72rem; font-variant-numeric: tabular-nums; }

.certificates-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.cert-card {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.cert-card .org-mark { width: 42px; height: 42px; border-radius: 11px; }

.cert-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.cert-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Proje Filtreleri ve Kartları */
.filter-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.filter-btn.is-active,
.filter-btn:hover {
  color: var(--text-primary);
  background: var(--accent-soft);
  border-color: var(--accent);
}

.project-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.project-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-elevated);
}

.project-card.is-featured .project-media {
  aspect-ratio: auto;
  min-height: 240px;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.project-media.is-framed-thumb {
  display: grid;
  place-items: center;
  padding: 20px;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.16), transparent 60%), var(--bg-elevated);
}

.project-media.is-framed-thumb img {
  width: auto;
  max-width: 100%;
  max-height: 120px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
}

.project-card:hover .project-media img {
  transform: scale(1.04);
}

.project-status-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(9, 11, 16, 0.78);
  color: #f8fafc;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.project-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  flex: 1;
}

.project-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.project-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.project-year {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.project-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

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

.project-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

/* Komut Paleti & Toast */
.cmd-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.65);
  display: grid;
  place-items: start center;
  padding-top: 14vh;
}

.cmd-modal[hidden] {
  display: none;
}

.cmd-dialog {
  width: min(520px, 92vw);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.cmd-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.cmd-input-row input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
}

.cmd-esc {
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: var(--bg-pill);
  color: var(--text-muted);
}

.cmd-list {
  list-style: none;
  margin: 0;
  padding: 8px;
  max-height: 280px;
  overflow-y: auto;
}

.cmd-item {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.cmd-item:hover {
  background: var(--accent-soft);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--accent);
  color: var(--text-primary);
  font-size: 0.82rem;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all var(--transition-fast);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.projects-pagination {
  min-height: 30px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.project-page-btn {
  width: 30px;
  height: 28px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-pill);
  color: var(--text-primary);
  font-size: 1.1rem;
  line-height: 1;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.project-page-btn:hover:not(:disabled) { background: var(--accent-soft); border-color: var(--accent); transform: translateY(-1px); }
.project-page-btn:disabled { opacity: 0.4; cursor: default; }
.project-page-status { min-width: 38px; text-align: center; color: var(--text-muted); font-size: 0.72rem; font-variant-numeric: tabular-nums; }

/* Tema butonu: yalnızca ikon (gündüz / ay) */
.theme-icon-btn svg { width: 18px; height: 18px; display: none; }
:root[data-theme="dark"] .theme-icon-btn .i-sun,
:root[data-theme="light"] .theme-icon-btn .i-moon { display: block; }
.theme-fab {
  position: fixed; top: 18px; right: 22px; z-index: 45;
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  color: var(--text-primary);
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.theme-fab:hover { color: var(--accent); border-color: var(--accent); transform: rotate(12deg); }
@media (max-width: 960px) { .theme-fab { display: none; } }

/* Uygulama ikonları (VS Code vb.) albüm kapağından küçük ve ortalı */
.spotify-cover-wrap.is-app {
  width: 40px; height: 40px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--bg-pill);
}
.spotify-cover-wrap.is-app .spotify-album-art { width: 26px; height: 26px; object-fit: contain; }

/* ==========================================================================
   iOS 26 "Liquid Glass" alt gezinme çubuğu (yalnızca mobil)
   ========================================================================== */
.tabbar { display: none; }

@media (max-width: 960px) {
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

  .tabbar {
    position: fixed; z-index: 38;
    left: 50%; bottom: calc(14px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: min(92vw, 400px);
    display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch;
    padding: 6px; border-radius: 999px; isolation: isolate;
    background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
    -webkit-backdrop-filter: blur(22px) saturate(180%) brightness(1.05);
    backdrop-filter: blur(22px) saturate(180%) brightness(1.05);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.45),
      inset 0 -1px 0 rgba(255,255,255,.08),
      inset 0 0 18px rgba(255,255,255,.05),
      0 12px 32px rgba(0,0,0,.38),
      0 2px 8px rgba(0,0,0,.25);
  }
  /* üst kenar yansıması */
  .tabbar::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
    background: radial-gradient(120% 90% at 30% -30%, rgba(255,255,255,.28), transparent 55%);
    mix-blend-mode: overlay;
  }

  .tab-link {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    padding: 8px 4px 7px; border-radius: 999px;
    color: var(--text-secondary); text-decoration: none; -webkit-tap-highlight-color: transparent;
    font-size: .62rem; font-weight: 600; letter-spacing: .01em;
    transition: color 260ms ease, transform 260ms cubic-bezier(.34,1.56,.64,1);
  }
  .tab-link svg { width: 22px; height: 22px; transition: transform 320ms cubic-bezier(.34,1.56,.64,1); }
  .tab-link.is-active { color: var(--accent); }
  .tab-link.is-active svg { transform: translateY(-1px) scale(1.08); }
  .tab-link:active { transform: scale(.92); }

  /* kayan "sıvı cam" mercek */
  .tabbar-lens {
    position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0;
    border-radius: 999px; pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.08));
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.55),
      inset 0 -1px 1px rgba(255,255,255,.12),
      inset 0 0 12px rgba(255,255,255,.12),
      0 4px 14px rgba(0,0,0,.28);
    transition: transform 520ms cubic-bezier(.34,1.4,.5,1), width 520ms cubic-bezier(.34,1.4,.5,1);
  }
  .tabbar-lens.is-moving { animation: lensStretch 520ms cubic-bezier(.3,.9,.4,1); }
  @keyframes lensStretch { 35% { scale: 1.16 .94; } 100% { scale: 1 1; } }

  :root[data-theme="light"] .tabbar {
    background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.42));
    border-color: rgba(255,255,255,.75);
    box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,.04), 0 12px 30px rgba(30,41,59,.18), 0 2px 6px rgba(30,41,59,.1);
  }
  :root[data-theme="light"] .tabbar-lens {
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.6));
    box-shadow: inset 0 1px 0 #fff, 0 3px 12px rgba(30,41,59,.16);
  }
}
@media print { .tabbar { display: none !important; } }

/* Devam eden iş / okul kartı: hafif parıltı ve süzülen ışık şeridi */
.timeline-card.is-current {
  border-color: var(--accent);
  box-shadow: var(--shadow-card), 0 0 0 1px var(--accent-soft), 0 0 22px -4px var(--accent-glow);
}
.timeline-card.is-current::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline-card.is-current::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(105deg, transparent 35%, var(--accent-glow) 50%, transparent 65%);
  background-size: 250% 100%; background-position: 130% 0; opacity: .7;
  animation: current-sheen 4.5s ease-in-out infinite !important;
}
@keyframes current-sheen { 0%, 20% { background-position: 130% 0; } 80%, 100% { background-position: -30% 0; } }
.timeline-card.is-current .timeline-date { color: var(--accent); font-weight: 600; }
@media print { .timeline-card.is-current::after { display: none; } }
