/* ================= Nylithra — kişisel site ================= */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --a1: #7C5CFF; --a2: #FF5CAA; --a3: #36D1FF;
  --bg: #07060c; --fg: #F4F2FF; --fg2: #A7A3BD; --fg3: #6E6A85;
  --card: rgba(255, 255, 255, .045); --card2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --ease: cubic-bezier(.22, 1, .36, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --wrap: 1160px;
  color-scheme: dark;
}
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--a1); color: #fff; }
[hidden] { display: none !important; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* ---------- Arka plan katmanları ---------- */
.aurora { position: fixed; inset: -20vmax; z-index: -3; filter: blur(80px) saturate(140%); opacity: .55; pointer-events: none; }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; mix-blend-mode: screen; animation: float 26s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: radial-gradient(closest-side, var(--a1), transparent); left: 10%; top: 0; }
.aurora i:nth-child(2) { background: radial-gradient(closest-side, var(--a2), transparent); right: 0; top: 20%; animation-duration: 32s; animation-delay: -8s; opacity: .7; }
.aurora i:nth-child(3) { background: radial-gradient(closest-side, var(--a3), transparent); left: 30%; bottom: -10%; animation-duration: 38s; animation-delay: -16s; opacity: .5; }
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8vmax, -6vmax) scale(1.12); }
  100% { transform: translate(-6vmax, 8vmax) scale(.92); }
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.no-grain .grain { display: none; }
.glow {
  position: fixed; z-index: -2; left: 0; top: 0; width: 600px; height: 600px; margin: -300px 0 0 -300px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--a1) 22%, transparent), transparent);
  transform: translate(var(--gx, -999px), var(--gy, -999px)); transition: opacity .4s;
}
.no-glow .glow { display: none; }
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--a1), var(--a2), var(--a3)); }

/* ---------- Gezinme ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50; transform: translateX(-50%);
  display: flex; align-items: center; gap: 22px; width: min(var(--wrap), 100% - 24px); height: 58px; padding: 0 14px 0 18px; border-radius: 999px;
  background: rgba(16, 14, 26, .55); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -20px rgba(0, 0, 0, .6);
  transition: width .6s var(--ease), background .4s; animation: drop 1s var(--ease) .1s both;
}
@keyframes drop { from { opacity: 0; transform: translate(-50%, -24px); } }
.nav.scrolled { width: min(820px, 100% - 24px); background: rgba(16, 14, 26, .75); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .14em; font-size: 15px; }
.brand-mark { width: 22px; height: 22px; border-radius: 7px; background: conic-gradient(from 180deg, var(--a1), var(--a2), var(--a3), var(--a1)); animation: spin 8s linear infinite; box-shadow: 0 0 20px color-mix(in srgb, var(--a1) 60%, transparent); }
@keyframes spin { to { transform: rotate(360deg); } }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 8px 13px; border-radius: 999px; font-size: 14px; color: var(--fg2); transition: color .25s, background .25s; }
.nav-links a:hover, .nav-links a.on { color: var(--fg); background: var(--card2); }
.nav-status { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: 13px; color: var(--fg2); background: var(--card); white-space: nowrap; }
.nav-status i, .status-pill i { width: 8px; height: 8px; border-radius: 50%; background: #3BE37F; box-shadow: 0 0 0 0 rgba(59, 227, 127, .6); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(59, 227, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 227, 127, 0); } }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; cursor: pointer; white-space: nowrap; transition: transform .45s var(--spring), box-shadow .3s, background .3s;
}
.btn.primary { color: #fff; background: linear-gradient(135deg, var(--a1), var(--a2)); box-shadow: 0 14px 40px -12px color-mix(in srgb, var(--a1) 80%, transparent); }
.btn.primary:hover { box-shadow: 0 18px 50px -10px color-mix(in srgb, var(--a2) 80%, transparent); }
.btn.ghost { background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.btn.big { height: 56px; padding: 0 30px; font-size: 16.5px; }
.btn:active { transform: scale(.96) !important; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; width: min(var(--wrap), 100% - 40px); margin: 0 auto; padding: 120px 0 80px; }
.status-pill { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.hello { margin: 0; font-size: clamp(18px, 2vw, 22px); color: var(--fg2); }
.name {
  margin: 6px 0 0; font-size: clamp(64px, 11vw, 150px); line-height: .92; font-weight: 900; letter-spacing: -.06em;
  background: linear-gradient(110deg, #fff 20%, var(--a1) 45%, var(--a2) 65%, var(--a3) 85%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 9s ease-in-out infinite alternate;
}
@keyframes shine { to { background-position: 100% 0; } }
.js .name .ch { display: inline-block; opacity: 0; transform: translateY(.4em) rotate(6deg); filter: blur(10px); animation: chIn 1s cubic-bezier(.2, .9, .2, 1) both; animation-delay: calc(var(--i) * 55ms + .15s); background: inherit; -webkit-background-clip: text; background-clip: text; }
@keyframes chIn { to { opacity: 1; transform: none; filter: none; } }
.roles { margin: 18px 0 0; font-size: clamp(22px, 2.8vw, 32px); font-weight: 600; letter-spacing: -.02em; min-height: 1.3em; }
.role { background: linear-gradient(90deg, var(--a2), var(--a3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.caret { display: inline-block; width: 3px; height: 1em; margin-left: 4px; vertical-align: -.12em; border-radius: 2px; background: var(--a2); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bio { margin: 22px 0 0; max-width: 560px; font-size: 18px; line-height: 1.65; color: var(--fg2); white-space: pre-line; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.meta { margin: 22px 0 0; font-size: 14px; color: var(--fg3); }
.meta span:not(:empty)::before { content: "◎ "; }

.hero-art { position: relative; aspect-ratio: 1; width: min(440px, 100%); justify-self: center; display: grid; place-items: center; }
.avatar-ring {
  position: relative; width: 62%; aspect-ratio: 1; border-radius: 50%; padding: 5px;
  background: conic-gradient(from var(--ang, 0deg), var(--a1), var(--a2), var(--a3), var(--a1)); animation: ring 6s linear infinite;
  box-shadow: 0 0 80px -10px color-mix(in srgb, var(--a1) 70%, transparent);
}
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ring { to { --ang: 360deg; } }
.avatar { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #0d0b16; display: grid; place-items: center; border: 5px solid var(--bg); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar .initial { font-size: 110px; font-weight: 900; letter-spacing: -.05em; background: linear-gradient(135deg, var(--a1), var(--a2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Her ikon yörüngede kendi açısıyla döner ve hep dik kalır (yeniden çizimde bozulmaz) */
@property --rot { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes orbitRot { to { --rot: 360deg; } }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .08); --r: calc(min(440px, 40vw) / 2); }
.orbit .sat {
  position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px; border-radius: 15px; display: grid; place-items: center;
  background: rgba(20, 18, 32, .75); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px rgba(0, 0, 0, .4);
  transform: rotate(calc(var(--a) + var(--rot))) translate(var(--r)) rotate(calc(-1 * (var(--a) + var(--rot))));
  animation: orbitRot 40s linear infinite;
}
.orbit .sat img, .orbit .sat svg { width: 26px; height: 26px; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 2px var(--line); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--fg2); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Bölümler ---------- */
.section { position: relative; padding: clamp(80px, 12vw, 140px) 0; }
.section.slim { padding-top: 40px; }
.sec-head { margin-bottom: 48px; }
.kicker { margin: 0 0 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--a1); }
.sec-head h2, .contact h2 { margin: 0; font-size: clamp(36px, 5.5vw, 64px); line-height: 1.02; font-weight: 800; letter-spacing: -.045em; }
.grad { background: linear-gradient(90deg, var(--a1), var(--a2), var(--a3)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Kart temeli + imleç ışığı */
.card {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--spring), box-shadow .35s, background .35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c, var(--a1)) 22%, transparent), transparent 60%);
}
.card:hover::before { opacity: 1; }
.card:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, var(--a1)) 45%, transparent), 0 30px 60px -30px color-mix(in srgb, var(--c, var(--a1)) 60%, transparent); }

/* ---------- Bağlantılar ---------- */
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.social { display: flex; flex-direction: column; justify-content: space-between; gap: 26px; min-height: 160px; padding: 22px; }
.social:hover { transform: translateY(-5px); }
.social .top { display: flex; align-items: center; justify-content: space-between; }
.plat-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent); }
.plat-ico .ico, .plat-ico img, .plat-ico svg { width: 24px; height: 24px; display: block; }
.arrow { font-size: 20px; color: var(--fg3); transition: transform .4s var(--spring), color .3s; }
.social:hover .arrow { transform: translate(4px, -4px); color: var(--fg); }
.social h3 { margin: 0; font-size: 18px; letter-spacing: -.01em; }
.social p { margin: 4px 0 0; font-size: 14px; color: var(--fg2); font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social.off { opacity: .55; cursor: default; }
.social.off .arrow { display: none; }
.soon { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--card2); color: var(--fg3); }

/* Discord kartı */
.discord { grid-column: span 2; grid-row: span 2; --c: #5865F2; padding: 26px; display: flex; flex-direction: column; gap: 20px; }
.discord .d-head { display: flex; align-items: center; gap: 16px; }
.d-avatar { position: relative; width: 76px; height: 76px; flex: none; border-radius: 50%; background: linear-gradient(135deg, #5865F2, var(--a2)); display: grid; place-items: center; font-weight: 800; font-size: 30px; }
.d-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.d-dot { position: absolute; right: 0; bottom: 2px; width: 20px; height: 20px; border-radius: 50%; border: 4px solid #12101c; background: #80848E; }
.d-dot.online { background: #23A55A; } .d-dot.idle { background: #F0B232; } .d-dot.dnd { background: #F23F43; }
.d-name { margin: 0; font-size: 22px; font-weight: 700; }
.d-tag { margin: 2px 0 0; color: var(--fg2); font-size: 14px; }
.d-activity { margin-top: auto; display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px var(--line); min-height: 76px; }
.d-activity img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.d-activity .t1 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg3); font-weight: 600; }
.d-activity .t2 { font-weight: 600; margin-top: 3px; }
.d-activity .t3 { font-size: 13px; color: var(--fg2); margin-top: 2px; }
.d-logo { width: 34px; height: 34px; margin-left: auto; opacity: .9; color: #5865F2; }
.d-logo img { width: 100%; height: 100%; }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; margin-right: 6px; }
.eq i { width: 3px; background: #1ED760; border-radius: 1px; animation: eq .9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { from { height: 3px; } to { height: 12px; } }

/* ---------- Teknolojiler ---------- */
.marquee { display: grid; gap: 14px; margin-bottom: 70px; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.m-row { display: flex; width: max-content; gap: 14px; animation: slide 45s linear infinite; }
.m-row.rev { animation-direction: reverse; animation-duration: 55s; }
.marquee:hover .m-row { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; white-space: nowrap; }
.chip .ico img, .chip .ico svg { width: 22px; height: 22px; }
.tech-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.group { padding: 24px; }
.group h3 { margin: 0 0 18px; font-size: 14px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg2); }
.skill { margin-top: 14px; }
.skill-top { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.skill-top .ico img, .skill-top .ico svg { width: 18px; height: 18px; }
.skill-top b { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--fg3); font-weight: 400; }
.bar { height: 6px; margin-top: 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--a1), var(--a2)); transition: width 1.4s var(--ease); }
.in .bar i { width: var(--lv); }

/* ---------- Projeler ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: row dense; gap: 20px; }
.project { --c: var(--a1); display: flex; flex-direction: column; transform-style: preserve-3d; will-change: transform; }
.project.featured { grid-column: span 2; }
.cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0e0c18; }
.project.featured .cover { aspect-ratio: 21 / 9; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover .cover img { transform: scale(1.05); }
.cover-art { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--c) 70%, #000), transparent 60%), radial-gradient(120% 120% at 100% 100%, color-mix(in srgb, var(--c) 40%, var(--a2)), transparent 55%), #0d0b16; }
.cover-art span { font-size: clamp(60px, 9vw, 120px); font-weight: 900; letter-spacing: -.06em; color: rgba(255, 255, 255, .92); text-shadow: 0 10px 40px rgba(0, 0, 0, .35); transition: transform .8s var(--ease); }
.project:hover .cover-art span { transform: scale(1.06) rotate(-2deg); }
.cover-art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 40px), repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 40px); -webkit-mask: radial-gradient(circle at 50% 50%, #000, transparent 75%); }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(0, 0, 0, .45); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.badge.live::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #3BE37F; vertical-align: 1px; }
.p-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.p-body h3 { margin: 0; font-size: 22px; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 10px; }
.p-body h3 small { font-family: var(--mono); font-size: 12px; color: var(--fg3); font-weight: 400; }
.p-body p { margin: 10px 0 0; color: var(--fg2); line-height: 1.6; font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags span { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-family: var(--mono); background: var(--card2); color: var(--fg2); }
.p-links { display: flex; gap: 10px; margin-top: auto; padding-top: 20px; }
.p-links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--card2); transition: background .25s, transform .3s var(--spring); }
.p-links a:hover { background: color-mix(in srgb, var(--c) 35%, transparent); transform: translateY(-2px); }
.glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .08), transparent 50%); opacity: 0; transition: opacity .3s; }
.project:hover .glare { opacity: 1; }

.project { cursor: pointer; }
.project:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; }
.p-more {
  position: absolute; right: 18px; bottom: 20px; z-index: 2; font-size: 13px; font-weight: 600; color: var(--fg2);
  opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--spring), color .3s;
}
.project:hover .p-more, .project:focus-visible .p-more { opacity: 1; transform: none; color: var(--fg); }

/* ---------- Proje detay penceresi ---------- */
.modal-open { overflow: hidden; }
.pm { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; }
.pm-back { position: absolute; inset: 0; background: rgba(5, 4, 10, .6); backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%); animation: fadeIn .45s var(--ease) both; }
.pm.closing .pm-back { animation: fadeOut .4s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
.pm-card {
  --c: var(--a1);
  position: relative; display: flex; flex-direction: column; width: min(940px, 100%); max-height: min(88vh, 900px); overflow: hidden;
  border-radius: 28px; background: rgba(16, 14, 26, .92); outline: none; transform-origin: top left;
  box-shadow: inset 0 0 0 1px var(--line), 0 50px 120px -30px rgba(0, 0, 0, .8), 0 0 120px -40px color-mix(in srgb, var(--c) 60%, transparent);
}
.pm-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }
.pm-x {
  position: absolute; top: 14px; right: 14px; z-index: 5; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  font-size: 24px; line-height: 1; background: rgba(0, 0, 0, .45); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15);
  transition: transform .4s var(--spring), background .2s;
}
.pm-x:hover { transform: rotate(90deg); background: rgba(0, 0, 0, .65); }
.pm-hero { position: relative; }
.pm-cover { position: relative; aspect-ratio: 21 / 9; overflow: hidden; background: #0e0c18; }
.pm-cover img { width: 100%; height: 100%; object-fit: cover; animation: kb 18s ease-in-out infinite alternate; }
@keyframes kb { to { transform: scale(1.08) translate(-1.5%, 1%); } }
.pm-cover .cover-art span { font-size: clamp(70px, 12vw, 150px); }
.pm-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(16, 14, 26, .95)); pointer-events: none; }
.pm-content { position: relative; padding: 0 clamp(22px, 4vw, 44px) 36px; margin-top: -44px; }
.pm-content > * { animation: up .6s var(--ease) both; }
.pm-content > *:nth-child(2) { animation-delay: .05s; } .pm-content > *:nth-child(3) { animation-delay: .1s; }
.pm-content > *:nth-child(4) { animation-delay: .15s; } .pm-content > *:nth-child(n+5) { animation-delay: .2s; }
@keyframes up { from { opacity: 0; transform: translateY(14px); } }
.pm-head h2 { margin: 0; font-size: clamp(34px, 5vw, 54px); font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.pm-lead { margin: 14px 0 0; font-size: 18px; line-height: 1.6; color: var(--fg2); max-width: 680px; }
.pm-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.pm-meta div { padding: 10px 14px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.pm-meta dt { font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg3); }
.pm-meta dd { margin: 3px 0 0; font-weight: 600; }
.pm-content .tags { margin-top: 18px; }
.pm-sec { margin-top: 34px; }
.pm-sec h3 { margin: 0 0 14px; font: 600 13px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.pm-details { margin: 0; font-size: 16.5px; line-height: 1.75; color: #d6d2ea; white-space: pre-line; }
.pm-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.pm-feats li { position: relative; padding: 14px 16px 14px 46px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); line-height: 1.45; }
.pm-feats li::before {
  content: "✓"; position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--c), var(--a2));
}
.pm-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.pm-shot { padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; aspect-ratio: 16 / 10; background: #0e0c18; box-shadow: inset 0 0 0 1px var(--line); }
.pm-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pm-shot:hover img { transform: scale(1.06); }
.pm-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.pm-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); background: rgba(10, 9, 16, .6); }
.pm-nav { height: 36px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14px; background: var(--card2); transition: background .2s, transform .3s var(--spring); }
.pm-nav:hover { background: rgba(255, 255, 255, .12); }
.pm-nav:active { transform: scale(.94); }
.pm-count { font: 12px var(--mono); color: var(--fg3); }
.pm-light { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; padding: 30px; background: rgba(0, 0, 0, .85); cursor: zoom-out; }
.pm-light.show img { animation: zoomIn .45s cubic-bezier(.2, .9, .25, 1) both; }
.pm-light img { max-width: 100%; max-height: 100%; border-radius: 16px; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
@keyframes zoomIn { from { opacity: 0; transform: scale(.92); } }
@media (max-width: 620px) {
  .pm { padding: 0; align-items: end; }
  .pm-card { max-height: 92vh; border-radius: 24px 24px 0 0; }
  .pm-cover { aspect-ratio: 16 / 10; }
  .pm-nav span { display: none; }
}

/* ---------- Araçlar ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.tool { display: flex; align-items: center; gap: 14px; padding: 18px; }
.tool:hover { transform: translateY(-4px); }
.tool .t-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--card2); flex: none; }
.tool .t-ico img, .tool .t-ico svg { width: 22px; height: 22px; }
.tool h3 { margin: 0; font-size: 16px; }
.tool p { margin: 2px 0 0; font-size: 13.5px; color: var(--fg2); }

/* ---------- İletişim ---------- */
.contact { position: relative; overflow: hidden; padding: clamp(50px, 8vw, 100px) clamp(24px, 6vw, 80px); border-radius: 36px; text-align: center; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.contact-glow { position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, var(--a1), var(--a2), var(--a3), var(--a1)); filter: blur(90px); opacity: .25; animation: spin 18s linear infinite; }
.contact .lead { margin: 22px auto 0; max-width: 520px; color: var(--fg2); font-size: 18px; line-height: 1.6; }
.contact-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

.foot { padding: 30px 0 50px; border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--fg2); }
.foot-dim { color: var(--fg3); }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; background: rgba(30, 27, 46, .92); backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px var(--line); transform: translate(-50%, 30px); opacity: 0; transition: transform .5s var(--spring), opacity .3s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Kaydırınca belirme ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Duyarlı ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 110px; }
  .hero-art { order: -1; width: min(300px, 80%); }
  .bio { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .nav-links { display: none; }
  .nav-status { margin-left: auto; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .orbit { --r: calc(min(300px, 80vw) / 2); }
  .orbit .sat { width: 42px; height: 42px; margin: -21px; }
}
@media (max-width: 620px) {
  .social-grid, .project-grid { grid-template-columns: 1fr; }
  .discord, .project.featured { grid-column: span 1; }
  .discord { grid-row: span 1; }
  .nav-status span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .name .ch { opacity: 1; transform: none; filter: none; }
}
