/* ═══════════════════════════════════════════
   utkugokyer.com.tr — Redesign 2025
   Aesthetic: Dark editorial · cool blue accent
═══════════════════════════════════════════ */

:root {
  --bg:        #080809;
  --bg2:       #0e0e10;
  --bg3:       #141416;
  --bg4:       #1a1a1d;
  --line:      rgba(255,255,255,0.06);
  --line2:     rgba(255,255,255,0.1);
  --text:      #e8e6e1;
  --text2:     rgba(232,230,225,0.55);
  --muted:     #4a4a52;
  --faint:     #222226;
  --accent:    #60a5fa;   /* blue-400 */
  --accent2:   #2563eb;   /* blue-600 */
  --accent-glow: rgba(96,165,250,0.15);
  --yt:        #ef4444;
  --green:     #22c55e;
  --font-h:   'DM Serif Display', Georgia, serif;
  --font-b:   'DM Sans', system-ui, sans-serif;
  --font-mono: 'Space Mono', monospace;
  --r-card:    12px;
  --r-icon:    10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  min-height: 100vh;
  cursor: none;
}

/* ── Noise & grid overlay ── */
.noise {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  mix-blend-mode: overlay;
}

.grid-bg {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 70%);
}

/* ── Custom cursor ── */
.cursor {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 28px; height: 28px;
  border: 1px solid rgba(96,165,250,0.4);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: width .3s cubic-bezier(0.22,1,0.36,1),
              height .3s cubic-bezier(0.22,1,0.36,1),
              border-color .3s,
              background .3s;
  mix-blend-mode: difference;
}
.cursor-dot {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%,-50%);
}
body.cursor-hover .cursor {
  width: 52px; height: 52px;
  border-color: var(--accent);
  background: rgba(96,165,250,0.05);
}

/* ── Layout ── */
.layout {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 100vh;
}

/* ── Sidebar ── */
.sidebar {
  position: sticky; top: 0;
  height: 100vh;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  overflow: hidden;
}

/* Ambient glow on sidebar edge */
.sidebar::after {
  content: '';
  position: absolute; right: -1px; top: 20%; bottom: 20%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  opacity: 0.25;
}

.sidebar-inner {
  flex: 1;
  display: flex; flex-direction: column;
  padding: 48px 36px;
  overflow-y: auto;
  scrollbar-width: none;
}
.sidebar-inner::-webkit-scrollbar { display: none; }

/* Avatar */
.avatar-wrap {
  position: relative;
  width: 68px; height: 68px;
  margin-bottom: 28px;
}
.avatar, .avatar-init {
  width: 68px; height: 68px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
  position: relative; z-index: 2;
}
.avatar-init {
  display: none;
  background: var(--faint);
  align-items: center; justify-content: center;
  font-family: var(--font-h);
  font-size: 22px;
  color: var(--accent);
  border-radius: 14px;
}
.avatar-ring {
  position: absolute; inset: -3px;
  border-radius: 17px;
  border: 1px solid rgba(96,165,250,0.25);
  pointer-events: none;
  z-index: 3;
}
.avatar-glow {
  position: absolute; inset: -12px;
  border-radius: 24px;
  background: radial-gradient(ellipse at center, rgba(96,165,250,0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Name */
.sidebar-name {
  display: flex; flex-direction: column;
  margin-bottom: 10px;
  line-height: 1;
}
.name-first {
  font-family: var(--font-h);
  font-size: 40px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1;
}
.name-last {
  font-family: var(--font-h);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent);
  line-height: 1.05;
}

/* Role badge */
.sidebar-role {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.role-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.7); opacity: 0.5; }
}

/* Bio */
.sidebar-bio {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text2);
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  font-weight: 300;
}

/* Socials */
.sidebar-socials {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.s-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  background: var(--bg2);
  transition: color .2s, border-color .2s, background .2s, transform .25s cubic-bezier(0.22,1,0.36,1);
}
.s-icon svg { width: 15px; height: 15px; }
.s-icon:hover {
  color: var(--accent);
  border-color: rgba(96,165,250,0.35);
  background: rgba(96,165,250,0.07);
  transform: translateY(-3px);
}

/* Footer */
.sidebar-footer {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 2px;
}
.footer-domain {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: white;
}
.footer-year {
  font-size: 10px;
  color: white;
  opacity: 0.5;
}

/* ── Content ── */
.content {
  padding: 52px 52px 80px;
  display: flex; flex-direction: column; gap: 60px;
}

/* Section label */
.section-label {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.label-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.label-text {
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.label-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, var(--line2), transparent);
}

/* ── Link Card ── */
.card {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg2);
  text-decoration: none;
  color: var(--text);
  margin-bottom: 8px;
  position: relative; overflow: hidden;
  transition: border-color .3s, background .3s, box-shadow .3s, transform .3s cubic-bezier(0.22,1,0.36,1);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Gradient top border on hover */
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .3s;
}

/* Spotlight */
.card::after {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: var(--my, 50%); left: var(--mx, 50%);
  transform: translate(-50%,-50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}

.card:hover::before { opacity: 1; }
.card:hover::after { opacity: 1; }
.card:hover {
  border-color: rgba(96,165,250,0.2);
  background: var(--bg3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(96,165,250,0.06);
}
.card:hover .card-arrow { color: var(--accent); transform: translate(3px,-3px); }
.card:hover .card-icon { color: var(--accent); border-color: rgba(96,165,250,0.3); }

.card-left { flex-shrink: 0; }
.card-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-icon);
  border: 1px solid var(--line);
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: color .25s, border-color .25s, background .25s;
}
.card-icon svg { width: 19px; height: 19px; }

/* YouTube variant */
.card--yt:hover { border-color: rgba(239,68,68,0.25); }
.card--yt:hover::before { background: linear-gradient(90deg, transparent, rgba(239,68,68,0.6), transparent); }
.card--yt:hover::after { background: radial-gradient(circle, rgba(239,68,68,0.1) 0%, transparent 70%); }
.card--yt:hover .card-icon { color: var(--yt); border-color: rgba(239,68,68,0.3); }
.card--yt:hover .card-arrow { color: var(--yt); }
.card-icon--yt { color: var(--yt) !important; }

/* Contact variant */
.card--contact:hover { border-color: rgba(96,165,250,0.3); }

.card-body { flex: 1; min-width: 0; }
.card-title {
  font-family: var(--font-b);
  font-size: 14.5px; font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
  letter-spacing: 0.02em;
}

.card-arrow {
  flex-shrink: 0;
  color: var(--faint);
  transition: color .25s, transform .3s cubic-bezier(0.22,1,0.36,1);
}
.card-arrow svg { width: 17px; height: 17px; }

/* ── Project Grid (2 kolonlu) ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.project-card {
  display: flex; flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg2);
  text-decoration: none;
  color: var(--text);
  position: relative; overflow: hidden;
  transition: border-color .3s, background .3s, box-shadow .3s, transform .3s cubic-bezier(0.22,1,0.36,1);
  cursor: pointer;
  min-height: 160px;
}

/* Top gradient border */
.project-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .3s;
}

/* Inner glow */
.project-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(96,165,250,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}

.project-card:hover {
  border-color: rgba(96,165,250,0.22);
  background: var(--bg3);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(96,165,250,0.07);
  transform: translateY(-3px);
}
.project-card:hover::before { opacity: 1; }
.project-card:hover::after { opacity: 1; }
.project-card:hover .project-arrow { color: var(--accent); transform: translate(3px,-3px); }
.project-card:hover .project-icon { color: var(--accent); border-color: rgba(96,165,250,0.3); }

.project-card-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 16px;
  position: relative; z-index: 1;
}
.project-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: color .25s, border-color .25s;
  flex-shrink: 0;
}
.project-icon svg { width: 17px; height: 17px; }
.project-arrow {
  color: var(--faint);
  transition: color .25s, transform .3s cubic-bezier(0.22,1,0.36,1);
  flex-shrink: 0;
  margin-top: 2px;
}
.project-arrow svg { width: 16px; height: 16px; }

.project-card-body {
  flex: 1;
  position: relative; z-index: 1;
}
.project-title {
  font-family: var(--font-b);
  font-size: 14px; font-weight: 500;
  color: var(--text);
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}
.project-desc {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text2);
  font-weight: 300;
}

.project-card-footer {
  margin-top: 16px;
  position: relative; z-index: 1;
}
.project-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
  background: var(--bg4);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ── Entry animations ── */
.sidebar-inner > *,
.section,
.card,
.project-card {
  opacity: 0;
  animation: fadeUp .65s cubic-bezier(0.22,1,0.36,1) forwards;
}

.sidebar-inner > *:nth-child(1) { animation-delay: .04s }
.sidebar-inner > *:nth-child(2) { animation-delay: .09s }
.sidebar-inner > *:nth-child(3) { animation-delay: .14s }
.sidebar-inner > *:nth-child(4) { animation-delay: .19s }
.sidebar-inner > *:nth-child(5) { animation-delay: .24s }
.sidebar-inner > *:nth-child(6) { animation-delay: .29s }

.section:nth-child(1) { animation-delay: .10s }
.section:nth-child(2) { animation-delay: .22s }
.section:nth-child(3) { animation-delay: .34s }
.section:nth-child(4) { animation-delay: .46s }

.section:nth-child(1) .card:nth-child(1) { animation-delay: .16s }
.section:nth-child(1) .card:nth-child(2) { animation-delay: .21s }
.section:nth-child(1) .card:nth-child(3) { animation-delay: .26s }
.section:nth-child(2) .card:nth-child(1) { animation-delay: .28s }
.section:nth-child(2) .card:nth-child(2) { animation-delay: .33s }
.section:nth-child(2) .card:nth-child(3) { animation-delay: .38s }
.section:nth-child(3) .project-card:nth-child(1) { animation-delay: .40s }
.section:nth-child(3) .project-card:nth-child(2) { animation-delay: .44s }
.section:nth-child(3) .project-card:nth-child(3) { animation-delay: .48s }
.section:nth-child(3) .project-card:nth-child(4) { animation-delay: .52s }
.section:nth-child(3) .project-card:nth-child(5) { animation-delay: .56s }
.section:nth-child(3) .project-card:nth-child(6) { animation-delay: .60s }
.section:nth-child(3) .project-card:nth-child(7) { animation-delay: .64s }
.section:nth-child(3) .project-card:nth-child(8) { animation-delay: .68s }
.section:nth-child(4) .card { animation-delay: .70s }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Redirect Overlay ── */
#redirect-overlay {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: stretch;
  opacity: 0; pointer-events: none;
  transition: opacity .5s cubic-bezier(0.22,1,0.36,1);
  overflow: hidden;
}
#redirect-overlay.active { opacity: 1; pointer-events: all; }

#redirect-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

.ro-content {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.ro-panel-left {
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 52px 56px;
  border-right: 1px solid rgba(96,165,250,0.12);
  position: relative; overflow: hidden;
}
.ro-panel-left::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(96,165,250,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.ro-panel-right {
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 52px 56px;
  position: relative; overflow: hidden;
}

.ro-top { display: flex; flex-direction: column; gap: 6px; }
.ro-eyebrow {
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
  opacity: 0;
  animation: roFadeUp .4s cubic-bezier(0.22,1,0.36,1) .1s forwards;
}
.ro-line-deco { display: flex; align-items: center; gap: 12px; }
.ro-line-deco::before {
  content: '';
  display: block; width: 28px; height: 1px;
  background: var(--accent); opacity: 0.5;
}

.ro-heading {
  font-family: var(--font-h);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--text);
  margin-top: auto; margin-bottom: auto;
  position: relative;
  opacity: 0;
  animation: roFadeUp .5s cubic-bezier(0.22,1,0.36,1) .2s forwards;
}
.ro-heading[data-text]::before,
.ro-heading[data-text]::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0; width: 100%;
  pointer-events: none;
}
.ro-heading[data-text]::before {
  color: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
  animation: glitch1 5s infinite;
}
.ro-heading[data-text]::after {
  color: #38bdf8;
  clip-path: polygon(0 66%, 100% 66%, 100% 100%, 0 100%);
  animation: glitch2 5s infinite;
}
@keyframes glitch1 {
  0%,90%,100% { transform: translate(0); opacity: 0; }
  92% { transform: translate(-3px,1px); opacity: 0.6; }
  94% { transform: translate(3px,-1px); opacity: 0.4; }
  96% { transform: translate(0); opacity: 0; }
}
@keyframes glitch2 {
  0%,90%,100% { transform: translate(0); opacity: 0; }
  93% { transform: translate(3px,2px); opacity: 0.5; }
  95% { transform: translate(-2px,-1px); opacity: 0.3; }
  97% { transform: translate(0); opacity: 0; }
}

.ro-bottom-left {
  display: flex; align-items: center; justify-content: space-between;
  opacity: 0;
  animation: roFadeUp .5s cubic-bezier(0.22,1,0.36,1) .35s forwards;
}
.ro-cancel {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  background: none; border: 1px solid rgba(255,255,255,0.07);
  padding: 9px 18px; border-radius: 6px;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.ro-cancel svg { width: 11px; height: 11px; }
.ro-cancel:hover { color: var(--text); border-color: rgba(255,255,255,0.16); background: rgba(255,255,255,0.04); }

.ro-ring-section {
  display: flex; flex-direction: column; align-items: flex-end;
  opacity: 0;
  animation: roFadeLeft .5s cubic-bezier(0.22,1,0.36,1) .15s forwards;
}
.ro-ring-wrap {
  position: relative; width: 92px; height: 92px;
  display: flex; align-items: center; justify-content: center;
}
.ro-ring { position: absolute; inset: 0; width: 92px; height: 92px; transform: rotate(-90deg); }
.ro-ring-track { fill: none; stroke: rgba(255,255,255,0.04); stroke-width: 1; }
.ro-ring-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  stroke-linecap: butt;
  stroke-dasharray: 270.2;
  stroke-dashoffset: 270.2;
  transition: stroke-dashoffset 0.05s linear;
  filter: drop-shadow(0 0 6px rgba(96,165,250,0.8));
}
.ro-ring-inner {
  position: relative; z-index: 1;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 2px;
}
.ro-timer {
  font-family: var(--font-h);
  font-size: 24px; font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--text); line-height: 1;
}
.ro-timer-label {
  font-family: var(--font-mono);
  font-size: 8px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}

.ro-center {
  flex: 1;
  display: flex; flex-direction: column;
  justify-content: center; gap: 28px;
  padding: 36px 0;
}
.ro-status-row {
  display: flex; align-items: center; gap: 10px;
  opacity: 0;
  animation: roFadeLeft .5s cubic-bezier(0.22,1,0.36,1) .25s forwards;
}
.ro-status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: dotBlink 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dotBlink {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.ro-status-text {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--green);
}
.ro-dest-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(96,165,250,0.18);
  border-radius: 10px;
  padding: 18px 22px;
  display: flex; flex-direction: column; gap: 7px;
  position: relative; overflow: hidden;
  opacity: 0;
  animation: roFadeLeft .5s cubic-bezier(0.22,1,0.36,1) .3s forwards;
}
.ro-dest-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.5), transparent);
}
.ro-dest-label {
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.ro-dest-url {
  font-family: var(--font-h);
  font-size: 15px; font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.ro-progress-bar-wrap {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.03);
}
.ro-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  width: 0%;
  transition: width 0.05s linear;
  box-shadow: 0 0 10px rgba(96,165,250,0.7);
}

.ro-sub {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.01em;
  line-height: 1.6;
  opacity: 0;
  animation: roFadeLeft .5s cubic-bezier(0.22,1,0.36,1) .38s forwards;
  font-weight: 300;
}
.ro-bottom-right {
  display: flex; justify-content: flex-end;
  opacity: 0;
  animation: roFadeLeft .5s cubic-bezier(0.22,1,0.36,1) .42s forwards;
}
.ro-shield {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.15);
}
.ro-shield svg { width: 11px; height: 11px; opacity: 0.35; }

@keyframes roFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes roFadeLeft {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}

.ro-corner {
  position: absolute; width: 18px; height: 18px;
  pointer-events: none;
}
.ro-corner--tl { top: 20px; left: 20px; border-top: 1px solid rgba(96,165,250,0.25); border-left: 1px solid rgba(96,165,250,0.25); }
.ro-corner--tr { top: 20px; right: 20px; border-top: 1px solid rgba(96,165,250,0.25); border-right: 1px solid rgba(96,165,250,0.25); }
.ro-corner--bl { bottom: 20px; left: 20px; border-bottom: 1px solid rgba(96,165,250,0.25); border-left: 1px solid rgba(96,165,250,0.25); }
.ro-corner--br { bottom: 20px; right: 20px; border-bottom: 1px solid rgba(96,165,250,0.25); border-right: 1px solid rgba(96,165,250,0.25); }

@keyframes pageExit {
  0% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
  100% { opacity: 0; transform: translateY(-20px) scale(0.98); filter: blur(4px); }
}
.page-exiting {
  animation: pageExit .45s cubic-bezier(0.4,0,1,1) forwards;
  pointer-events: none;
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .projects-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .ro-content { grid-template-columns: 1fr; }
  .ro-panel-left { border-right: none; border-bottom: 1px solid rgba(96,165,250,0.12); padding: 40px 28px 32px; }
  .ro-panel-right { padding: 32px 28px 40px; }
  .ro-heading { font-size: 48px; }
  .ro-ring-section { align-items: flex-start; }
}

@media (max-width: 780px) {
  body { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; border-right: none; border-bottom: 1px solid var(--line); }
  .sidebar::after { display: none; }
  .sidebar-inner { padding: 36px 22px; }
  .name-first, .name-last { font-size: 34px; }
  .content { padding: 32px 18px 56px; gap: 44px; }
  .projects-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   Overlay Temaları: first-party / third-party
═══════════════════════════════════════════ */

/* First-party: kendi siteniz — mavi/yeşil, güven hissi */
#redirect-overlay.theme-first .ro-ring-fill {
  stroke: #60a5fa;
  filter: drop-shadow(0 0 6px rgba(96,165,250,0.8));
}
#redirect-overlay.theme-first .ro-progress-bar {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  box-shadow: 0 0 10px rgba(96,165,250,0.7);
}
#redirect-overlay.theme-first .ro-dest-card {
  border-color: rgba(96,165,250,0.25);
}
#redirect-overlay.theme-first .ro-dest-card::before {
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.5), transparent);
}
#redirect-overlay.theme-first .ro-dest-url { color: #60a5fa; }
#redirect-overlay.theme-first .ro-eyebrow  { color: #60a5fa; }
#redirect-overlay.theme-first .ro-line-deco::before { background: #60a5fa; }
#redirect-overlay.theme-first .ro-panel-left  { border-right-color: rgba(96,165,250,0.12); }
#redirect-overlay.theme-first .ro-panel-left::after {
  background: linear-gradient(135deg, rgba(96,165,250,0.04) 0%, transparent 60%);
}
#redirect-overlay.theme-first .ro-status-dot {
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}
#redirect-overlay.theme-first .ro-status-text { color: #22c55e; }
#redirect-overlay.theme-first .ro-corner--tl,
#redirect-overlay.theme-first .ro-corner--tr,
#redirect-overlay.theme-first .ro-corner--bl,
#redirect-overlay.theme-first .ro-corner--br {
  border-color: rgba(96,165,250,0.25);
}

/* Third-party: dış site — amber/turuncu, dikkat hissi */
#redirect-overlay.theme-third .ro-ring-fill {
  stroke: #fb923c;
  filter: drop-shadow(0 0 6px rgba(251,146,60,0.8));
}
#redirect-overlay.theme-third .ro-progress-bar {
  background: linear-gradient(90deg, #ea580c, #fb923c);
  box-shadow: 0 0 10px rgba(251,146,60,0.7);
}
#redirect-overlay.theme-third .ro-dest-card {
  border-color: rgba(251,146,60,0.25);
}
#redirect-overlay.theme-third .ro-dest-card::before {
  background: linear-gradient(90deg, transparent, rgba(251,146,60,0.5), transparent);
}
#redirect-overlay.theme-third .ro-dest-url { color: #fb923c; }
#redirect-overlay.theme-third .ro-eyebrow  { color: #fb923c; }
#redirect-overlay.theme-third .ro-line-deco::before { background: #fb923c; }
#redirect-overlay.theme-third .ro-panel-left  { border-right-color: rgba(251,146,60,0.12); }
#redirect-overlay.theme-third .ro-panel-left::after {
  background: linear-gradient(135deg, rgba(251,146,60,0.04) 0%, transparent 60%);
}
#redirect-overlay.theme-third .ro-status-dot {
  background: #fb923c;
  box-shadow: 0 0 8px #fb923c;
}
#redirect-overlay.theme-third .ro-status-text { color: #fb923c; }
#redirect-overlay.theme-third .ro-corner--tl,
#redirect-overlay.theme-third .ro-corner--tr,
#redirect-overlay.theme-third .ro-corner--bl,
#redirect-overlay.theme-third .ro-corner--br {
  border-color: rgba(251,146,60,0.25);
}

/* ── WhatsApp kart teması ── */
.card-icon--wa { color: #22c55e !important; }
.card--wa:hover { border-color: rgba(34,197,94,0.25); }
.card--wa:hover::before { background: linear-gradient(90deg, transparent, rgba(34,197,94,0.5), transparent); }
.card--wa:hover::after  { background: radial-gradient(circle, rgba(34,197,94,0.08) 0%, transparent 70%); }
.card--wa:hover .card-icon { color: #22c55e; border-color: rgba(34,197,94,0.3); }
.card--wa:hover .card-arrow { color: #22c55e; }