/* ───────────────────────── Tokens ───────────────────────── */
:root {
  color-scheme: dark;
  --bg: #000;
  --fg: #fafafa;
  --fg-2: rgba(250, 250, 250, 0.66);
  --fg-3: rgba(250, 250, 250, 0.42);
  --fg-4: rgba(250, 250, 250, 0.22);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --card: rgba(12, 12, 12, 0.84);
  --card-2: rgba(24, 24, 24, 0.6);
  --hl: rgba(255, 255, 255, 0.06);

  --ok: #8fe3a6;
  --idle: #f1c46b;
  --dnd: #f07a7a;
  --off: #7a7a7a;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 11px;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;

  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body[data-entered="false"] {
  overflow: hidden;
}

::selection {
  background: #fff;
  color: #000;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

svg.fill {
  fill: currentColor;
  stroke: none;
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 8px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: #000;
  font-weight: 500;
}
.skip:focus {
  top: 16px;
}

/* ───────────────────────── Arka plan ───────────────────────── */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
}

/* Videonun içinde üstte ve altta siyah sinema bantları var (görüntü ~2.34:1).
   Videoyu, bantların dışındaki kısım ekranı kaplayacak kadar büyütüp ortalarız. */
.bg video {
  /* Genişlik: bantsız görüntü (≈2.34:1) ekranı kaplasın. Yükseklik videonun kendi oranıyla (16:9). */
  --w: max(100vw, calc(100vh * 2.3415));
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--w);
  height: calc(var(--w) * 9 / 16);
  /* Ortalama transform ile değil margin ile: "animasyonları azalt" açıkken de video ortada kalır */
  margin-left: calc(var(--w) / -2);
  margin-top: calc(var(--w) * 9 / 32 * -1);
  max-width: none;
  object-fit: cover;
  transform: scale(1.06);
  opacity: 0;
  transition: opacity 1.2s var(--ease-out), transform 2.4s var(--ease-out);
}

.bg video.ready {
  opacity: 1;
}

body[data-entered="true"] .bg video {
  transform: scale(1);
}

.bg-shade {
  position: absolute;
  inset: 0;
  /* Video zaten siyah-beyaz kodlandı; karartma için ucuz düz katman (eski brightness(0.5) yerine) */
  background-color: rgba(0, 0, 0, 0.5);
  background-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 30%, rgba(0, 0, 0, 0.55) 70%, transparent 100%),
    radial-gradient(120% 80% at 50% 40%, transparent 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.85) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 30%, transparent 70%, rgba(0, 0, 0, 0.6) 100%);
}

.bg-grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

.spot {
  position: absolute;
  left: 0;
  top: 0;
  width: 760px;
  height: 760px;
  margin: -380px 0 0 -380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.02) 35%, transparent 65%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  body[data-entered="true"] .spot.on {
    opacity: 1;
  }
}

/* ───────────────────────── Giriş ekranı ───────────────────────── */
.gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  cursor: pointer;
  transition: opacity 0.7s var(--ease-out), backdrop-filter 0.7s var(--ease-out), visibility 0s linear 0.7s;
  outline: none;
}

.gate-inner {
  display: grid;
  justify-items: center;
  gap: 14px;
  transition: transform 0.7s var(--ease-out), filter 0.7s var(--ease-out), opacity 0.5s var(--ease-out);
}

.gate-text {
  font-size: clamp(20px, 3.2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0%, #fff 40%, #fff 60%, rgba(255, 255, 255, 0.35) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 2.8s linear infinite;
}

@keyframes shimmer {
  from { background-position: 100% 0; }
  to { background-position: -150% 0; }
}

.gate-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-3);
}

.gate:focus-visible .gate-text {
  outline: 1px solid var(--fg-3);
  outline-offset: 8px;
  border-radius: 6px;
}

body[data-entered="true"] .gate {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body[data-entered="true"] .gate-inner {
  transform: scale(1.06);
  filter: blur(8px);
  opacity: 0;
}

/* ───────────────────────── Ekolayzır ───────────────────────── */
.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.eq i {
  display: block;
  width: 2.5px;
  height: 100%;
  border-radius: 2px;
  background: currentColor;
  transform-origin: bottom;
  transform: scaleY(0.25);
  transition: transform 0.3s var(--ease-out);
}

.eq-sm {
  height: 10px;
}
.eq-sm i {
  width: 2px;
  animation: eq 1.1s linear infinite;
}

.sound[aria-pressed="true"] .eq i {
  animation: eq 1.1s linear infinite;
}

.eq i:nth-child(2) { animation-delay: -0.35s !important; }
.eq i:nth-child(3) { animation-delay: -0.7s !important; }
.eq i:nth-child(4) { animation-delay: -0.2s !important; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.3); }
  25% { transform: scaleY(1); }
  50% { transform: scaleY(0.5); }
  75% { transform: scaleY(0.85); }
}

/* ───────────────────────── Üst bar ───────────────────────── */
.topbar {
  position: fixed;
  top: calc(16px + var(--safe-t));
  left: 16px;
  right: 16px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.topbar > * {
  pointer-events: auto;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto; /* ses butonu gizliyken de sağda kalsın */
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.8);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: var(--fg-2);
  font-size: 13px;
}

.chip-icon {
  width: 38px;
  padding: 0;
  justify-content: center;
  transition: transform 0.16s var(--ease-out), color 0.2s ease, background-color 0.2s ease;
}

.chip-icon:active {
  transform: scale(0.94);
}

.sound[aria-pressed="true"] {
  color: var(--fg);
}

@media (hover: hover) and (pointer: fine) {
  .chip-icon:hover {
    color: var(--fg);
    background: rgba(28, 28, 28, 0.6);
  }
}

/* Hepsi girişten sonra belirir */
.topbar,
.dock {
  opacity: 0;
  transition: opacity 0.6s var(--ease-out) 0.25s, transform 0.6s var(--ease-out) 0.25s;
}

.topbar {
  transform: translateY(-8px);
}

body[data-entered="true"] .topbar,
body[data-entered="true"] .dock {
  opacity: 1;
  transform: none;
}

/* Görüntülenme sayacı — kayan rakamlar */
.views svg {
  width: 16px;
  height: 16px;
  color: var(--fg);
}

.odo {
  display: inline-flex;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.odo-col {
  display: inline-block;
  height: 1em;
  overflow: hidden;
}

.odo-reel {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 1.1s var(--ease-out);
}

.odo-reel span {
  height: 1em;
  line-height: 1;
}

.odo-sep {
  display: inline-block;
  width: 0.4em;
  text-align: center;
}

/* TR / EN */
.seg {
  position: relative;
  padding: 3px;
  gap: 0;
}

.seg button {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 30px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  transition: color 0.2s ease, transform 0.16s var(--ease-out);
}

.seg button:active {
  transform: scale(0.95);
}

.seg button[aria-pressed="true"] {
  color: #000;
}

.seg-thumb {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 38px;
  height: 30px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.26s var(--ease-in-out);
}

.seg[data-lang="en"] .seg-thumb {
  transform: translateX(100%);
}

/* ───────────────────────── Menü (dock) ───────────────────────── */
.dock {
  position: fixed;
  z-index: 20;
  left: 20px;
  top: 50%;
  transform: translate(-8px, -50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  border-radius: 20px;
  background: rgba(12, 12, 12, 0.8);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}

body[data-entered="true"] .dock {
  transform: translate(0, -50%);
}

.dock a {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--fg-3);
  transition: color 0.2s ease, transform 0.16s var(--ease-out);
}

.dock a:active {
  transform: scale(0.94);
}

.dock a[aria-current="page"] {
  color: #000;
}

.dock-ind {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 20px -6px rgba(255, 255, 255, 0.35);
  transition: transform 0.32s var(--ease-in-out);
}

.tip {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  padding: 6px 10px;
  border-radius: 9px;
  background: #fff;
  color: #000;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-4px, -50%) scale(0.97);
  transform-origin: left center;
  transition: opacity 0.14s var(--ease-out), transform 0.14s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .dock a:hover {
    color: var(--fg);
  }
  .dock a[aria-current="page"]:hover {
    color: #000;
  }
  .dock a:hover .tip {
    opacity: 1;
    transform: translate(0, -50%) scale(1);
    transition-delay: 0.35s;
  }
  /* İlk ipucu açıldıktan sonra diğerleri beklemeden, animasyonsuz açılır */
  .dock[data-warm="true"] a:hover .tip {
    transition-delay: 0s;
    transition-duration: 0s;
  }
}

/* ───────────────────────── Sayfa ───────────────────────── */
main {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  padding: calc(110px + var(--safe-t)) 20px 120px;
  outline: none;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

/* Sayfa çıkışı: hızlı */
.page.leaving {
  display: block;
  opacity: 0;
  transform: translateY(-6px);
  filter: blur(4px);
  transition: opacity 0.16s ease, transform 0.16s ease, filter 0.16s ease;
}

/* İçerik girişi: kademeli (stagger) */
.r {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
}

.page.in .r {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.7s var(--ease-out),
    filter 0.55s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 55ms);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--fg-2);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--fg-3);
}

.h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.sub {
  margin: 14px 0 28px;
  color: var(--fg-2);
  max-width: 52ch;
}

/* ── Ana sayfa ── */
.hero {
  padding-top: 4vh;
}

.name {
  margin: 0;
  font-size: clamp(68px, 15vw, 128px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.92;
  padding-bottom: 0.06em;
  display: flex;
}

.name .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(35%) rotate(4deg);
  filter: blur(10px);
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page.in .name .ch {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.9s var(--ease-out),
    filter 0.7s var(--ease-out);
  transition-delay: calc(120ms + var(--c) * 70ms);
}

.role {
  position: relative;
  height: 1.6em;
  margin: 18px 0 0;
  font-size: 17px;
  color: var(--fg);
  overflow: hidden;
}

.role-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.role-text::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fg);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.bio {
  margin: 14px 0 30px;
  max-width: 54ch;
  color: var(--fg-2);
  font-size: 15.5px;
}

/* ── Kart ── */
.card {
  position: relative;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)), var(--card);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 48px -28px rgba(0, 0, 0, 0.9);
}

/* ── Discord durumu ── */
.presence {
  padding: 16px;
}

.p-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

.avatar img,
.avatar .mono {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #161616;
  border: 1px solid var(--line-2);
}

.avatar .mono {
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.status-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #0d0d0d;
  background: var(--off);
  transition: background-color 0.3s ease;
}

.status-dot[data-s="online"] { background: var(--ok); }
.status-dot[data-s="idle"] { background: var(--idle); }
.status-dot[data-s="dnd"] { background: var(--dnd); }

.status-dot[data-s="online"]::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--ok);
  opacity: 0;
  animation: ping 2.4s var(--ease-out) infinite;
}

@keyframes ping {
  0% { transform: scale(0.8); opacity: 0.7; }
  70%, 100% { transform: scale(1.9); opacity: 0; }
}

.p-who {
  min-width: 0;
  flex: 1;
}

.p-name {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.p-handle {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--fg-3);
  letter-spacing: 0;
}

.p-status {
  margin-top: 2px;
  font-size: 13px;
  color: var(--fg-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-act {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 12px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}

.p-act[hidden] {
  display: none;
}

.p-art {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  background: #1a1a1a;
  flex-shrink: 0;
}

.p-art.ph {
  display: grid;
  place-items: center;
  color: var(--fg-3);
}

.p-info {
  min-width: 0;
  flex: 1;
}

.p-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-3);
}

.p-kicker svg {
  width: 12px;
  height: 12px;
}

.p-title,
.p-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-title {
  margin-top: 3px;
  font-weight: 500;
  font-size: 14.5px;
}

.p-line {
  font-size: 13px;
  color: var(--fg-2);
}

.p-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--fg-3);
}

.p-track {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.p-fill {
  height: 100%;
  background: #fff;
  border-radius: inherit;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1s linear;
}

/* ── Butonlar ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.16s var(--ease-out), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.btn svg {
  width: 15px;
  height: 15px;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: #fff;
  color: #000;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  color: var(--fg);
}

.btn[disabled] {
  opacity: 0.4;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: #e6e6e6;
  }
  .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
  }
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: var(--fg-2);
  transition: transform 0.16s var(--ease-out), background-color 0.2s ease, color 0.2s ease;
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

.icon-btn:active {
  transform: scale(0.92);
}

@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--fg);
  }
}

/* ── Sosyal ikonlar ── */
.socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.soc {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--fg-2);
  background: rgba(12, 12, 12, 0.8);
  border: 1px solid var(--line);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  will-change: transform;
}

.soc svg {
  width: 19px;
  height: 19px;
}

.soc:active svg {
  transform: scale(0.9);
}

.soc svg {
  transition: transform 0.16s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .soc:hover {
    color: #000;
    background: #fff;
    border-color: #fff;
  }
}

.commission {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 8px 8px 8px 14px;
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.8);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--fg-2);
  transition: border-color 0.2s ease, transform 0.16s var(--ease-out);
}

.commission:active {
  transform: scale(0.98);
}

.commission b {
  color: var(--fg);
  font-weight: 500;
}

.commission .go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.commission .go svg {
  width: 13px;
  height: 13px;
  transition: transform 0.2s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .commission:hover {
    border-color: var(--line-2);
  }
  .commission:hover .go svg {
    transform: translateX(2px);
  }
}

.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ok);
  animation: ping 2s var(--ease-out) infinite;
}

/* ── Projeler ── */
.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: var(--r-md);
  font-size: 13.5px;
}

.banner-l {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
}

.banner a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--fg-2);
  font-size: 13px;
  transition: color 0.2s ease;
}

.banner a svg {
  width: 14px;
  height: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .banner a:hover {
    color: var(--fg);
  }
}

.projects {
  display: grid;
  gap: 18px;
}

.proj {
  overflow: hidden;
}

.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 16px 16px 0;
  perspective: 900px;
  cursor: pointer;
  text-align: left;
  background: radial-gradient(120% 120% at 50% 0%, rgba(255, 255, 255, 0.07), transparent 60%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.shot-frame {
  position: relative;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-bottom: 0;
  background: #0b0b0b;
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, 0.8);
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  background: #121212;
  border-bottom: 1px solid var(--line);
}

.shot-bar i,
.pv-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.shot-bar span {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--fg-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
  transform: scale(1.001);
  transition: transform 0.6s var(--ease-out), filter 0.4s ease;
}

.shot-cta {
  position: absolute;
  left: 50%;
  top: 55%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transform: translate(-50%, -40%) scale(0.96);
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  pointer-events: none;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6);
}

.shot-cta svg {
  width: 15px;
  height: 15px;
}

.glare {
  position: absolute;
  left: 0;
  top: 0;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

@media (hover: hover) and (pointer: fine) {
  .shot:hover img {
    transform: scale(1.025);
    filter: brightness(0.55);
  }
  .shot:hover .shot-cta {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  .shot:hover .glare {
    opacity: 1;
  }
}

.proj-body {
  padding: 18px 18px 18px;
}

.proj-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.proj-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.proj-kind {
  color: var(--fg-3);
  font-size: 13px;
}

.proj-year {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--fg-3);
}

.proj-body p {
  margin: 8px 0 14px;
  color: var(--fg-2);
  font-size: 14px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-2);
}

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

/* ── Yetenekler ── */
.section-label {
  margin: 30px 0 12px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-3);
}

.langs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lang {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--r-md);
  overflow: hidden;
}

.mono-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: #fff;
  color: #000;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out);
}

.lt b {
  display: block;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.lt span {
  display: block;
  font-size: 12.5px;
  color: var(--fg-2);
  line-height: 1.4;
}

@media (hover: hover) and (pointer: fine) {
  .lang:hover .mono-tile {
    transform: rotate(-6deg) scale(1.04);
  }
}

.areas {
  display: grid;
  gap: 1px;
  overflow: hidden;
  padding: 0;
}

.area {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.area:last-child {
  border-bottom: 0;
}

.area-n {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--fg-3);
  padding-top: 2px;
}

.at b {
  display: block;
  font-weight: 500;
  font-size: 14.5px;
}

.at span {
  display: block;
  font-size: 13px;
  color: var(--fg-2);
}

.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 18px 16px;
}

.flow-line {
  position: absolute;
  left: 34px;
  right: 34px;
  top: 33px;
  height: 1px;
  background: var(--line-2);
  overflow: hidden;
}

.flow-line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: travel 2.6s linear infinite;
}

@keyframes travel {
  from { transform: translateX(-100%); }
  to { transform: translateX(340%); }
}

.step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.step-dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0b0b0b;
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg);
}

.step:last-child .step-dot {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.step b {
  font-weight: 500;
  font-size: 13.5px;
}

.step span {
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--fg-3);
}

/* ── İletişim ── */
.contact-main {
  padding: 18px;
}

.cm-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cm-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff;
  color: #000;
  flex-shrink: 0;
}

.cm-icon svg {
  width: 22px;
  height: 22px;
}

.cm-top b {
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cm-top span {
  font-size: 13px;
  color: var(--fg-2);
}

.cm-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.link {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 14px;
  border-radius: var(--r-md);
  transition: border-color 0.2s ease, transform 0.16s var(--ease-out);
}

.link:active {
  transform: scale(0.98);
}

.link-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--fg-2);
}

.link-top .arr {
  width: 15px;
  height: 15px;
  color: var(--fg-3);
  transition: transform 0.2s var(--ease-out), color 0.2s ease;
}

.link b {
  display: block;
  font-weight: 500;
  font-size: 14px;
}

.link span {
  display: block;
  font-size: 12px;
  color: var(--fg-3);
}

@media (hover: hover) and (pointer: fine) {
  .link:hover {
    border-color: var(--line-2);
  }
  .link:hover .arr {
    transform: translate(2px, -2px);
    color: var(--fg);
  }
}

.footnote {
  margin-top: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--fg-3);
}

.copyright {
  margin-top: 60px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-4);
}

/* ───────────────────────── Önizleme penceresi ───────────────────────── */
.pv {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 28px;
  visibility: hidden;
  transition: visibility 0s linear 0.2s;
}

.pv[data-open="true"] {
  visibility: visible;
  transition: none;
}

.pv-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pv[data-open="true"] .pv-backdrop {
  opacity: 1;
  transition-duration: 0.28s;
}

.pv-window {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1240px, 100%);
  height: min(820px, 100%);
  border-radius: 16px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  transition: opacity 0.16s ease, transform 0.2s var(--ease-out);
}

.pv[data-open="true"] .pv-window {
  opacity: 1;
  transform: none;
  transition: opacity 0.26s var(--ease-out), transform 0.34s var(--ease-out);
}

.pv-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 8px 0 14px;
  background: #111;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.pv-dots {
  display: flex;
  gap: 6px;
}

.pv-url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-2);
}

.pv-url svg {
  width: 13px;
  height: 13px;
  color: var(--fg-3);
}

.pv-url span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pv-actions {
  display: flex;
  gap: 2px;
}

.pv-body {
  position: relative;
  flex: 1;
  background: #000;
}

.pv-body iframe,
.pv-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.pv-shot {
  object-fit: contain;
}

.pv-body iframe {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pv-body iframe.loaded {
  opacity: 1;
}

.pv-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: #fff;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.pv-foot {
  margin: 0;
  padding: 8px 14px;
  font-size: 11.5px;
  color: var(--fg-3);
  background: #0d0d0d;
  border-top: 1px solid var(--line);
  text-align: center;
}

/* ───────────────────────── Bildirim ───────────────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(28px + var(--safe-b));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translate(-50%, 140%);
  transition: opacity 0.2s ease, transform 0.32s var(--ease-drawer);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast svg {
  width: 15px;
  height: 15px;
}

/* ───────────────────────── Mobil ───────────────────────── */
@media (max-width: 820px) {
  /* Dar ekranda içerik videonun tam üstünde: biraz daha koyu */
  .bg-shade {
    background-color: rgba(0, 0, 0, 0.62);
  }

  .dock {
    left: 50%;
    top: auto;
    bottom: calc(14px + var(--safe-b));
    flex-direction: row;
    transform: translate(-50%, 8px);
  }

  body[data-entered="true"] .dock {
    transform: translate(-50%, 0);
  }

  .tip {
    display: none;
  }

  main {
    padding-top: calc(86px + var(--safe-t));
    padding-bottom: calc(120px + var(--safe-b));
  }

  .toast {
    bottom: calc(86px + var(--safe-b));
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14.5px;
  }
  .links {
    grid-template-columns: 1fr;
  }
  .link {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .link-top {
    order: 0;
  }
  .link-top .arr {
    display: none;
  }
  .link > div:last-child {
    flex: 1;
  }
  .langs {
    grid-template-columns: 1fr;
  }
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }
  .flow-line {
    display: none;
  }
  .pv {
    padding: 0;
  }
  .pv-window {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: 0;
  }
  .pv-dots {
    display: none;
  }
  .proj-actions .btn {
    flex: 1;
  }
  .banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ───────────────────────── Azaltılmış hareket ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .bg-grain,
  .gate-text,
  .eq i,
  .eq-sm i,
  .flow-line::after,
  .status-dot::after,
  .pulse::after {
    animation: none !important;
  }
  .bg video {
    transform: none !important;
  }
  .r,
  .name .ch {
    transform: none !important;
    filter: none !important;
  }
  .page.in .r,
  .page.in .name .ch {
    transition: opacity 0.3s ease !important;
    transition-delay: 0s !important;
  }
  .page.leaving {
    transform: none;
    filter: none;
  }
  .pv-window,
  .pv[data-open="true"] .pv-window {
    transform: none;
  }
  .dock-ind,
  .seg-thumb {
    transition-duration: 0s;
  }
}

/* ═════════════════════ Ana sayfa: ortalanmış açılış + Discord kartı ═════════════════════ */
.hero {
  min-height: calc(100dvh - 110px - 120px - var(--safe-t));
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 0;
}

.hero.active {
  display: flex;
}

.eyebrow-c::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--fg-3);
}

.hero .name {
  justify-content: center;
}

.hero .socials {
  justify-content: center;
  margin-top: 20px;
}

.dc {
  width: min(400px, 100%);
  margin-top: 30px;
  overflow: hidden;
  text-align: center;
}

.dc-banner {
  position: relative;
  height: 112px;
  background:
    radial-gradient(120% 140% at 20% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(135deg, #1c1c1c, #0b0b0b);
  overflow: hidden;
  clip-path: inset(0 0 100% 0);
}

.dc-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 10, 0.55));
}

.dc-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dc-body {
  position: relative;
  padding: 0 18px 18px;
}

.dc-avatar {
  position: relative;
  width: 92px;
  height: 92px;
  margin: -48px auto 10px;
  opacity: 0;
  transform: translateY(10px) scale(0.92);
}

.dc-av {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #161616;
  border: 5px solid #0e0e0e;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.9);
}

.dc-av.mono {
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.dc-deco {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  pointer-events: none;
}

.dc-avatar .status-dot {
  right: 2px;
  bottom: 4px;
  width: 22px;
  height: 22px;
  border-width: 4px;
  border-color: #0e0e0e;
}

.dc-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.dc-handle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-3);
}

.dc-handle svg {
  width: 13px;
  height: 13px;
}

.dc-line {
  margin: 12px auto 0;
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--fg-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dc .p-act {
  text-align: left;
}

.dc-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

/* Açılış: banner yukarıdan aşağı açılır, avatar yerine oturur */
.page.in .dc-banner {
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.9s var(--ease-in-out) 0.35s;
}

.page.in .dc-avatar {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease-out) 0.6s, transform 0.7s var(--ease-out) 0.6s;
}

/* ═════════════════════ Hakkımda ═════════════════════ */
.about-text {
  margin: 22px 0 6px;
}

.lede {
  margin: 0 0 18px;
  font-size: clamp(19px, 2.6vw, 23px);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.para {
  margin: 0 0 14px;
  max-width: 60ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--fg-2);
}

@media (prefers-reduced-motion: reduce) {
  .dc-banner {
    clip-path: none;
  }
  .dc-avatar {
    transform: none;
  }
}

/* Önizleme açıkken arkadaki her şey çizilmesin (pencere açıldıktan sonra uygulanır) */
body.pv-open .bg,
body.pv-open main,
body.pv-open .dock,
body.pv-open .topbar {
  visibility: hidden;
}

/* ═════════════════════ Spotify kartı: cam görünüm + hareket ═════════════════════ */
.sp {
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 12px 14px 12px 12px;
  border-radius: 18px;
  overflow: hidden;
  text-align: left;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03) 55%, rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 14px 34px -16px rgba(0, 0, 0, 0.9);
  transform-style: preserve-3d;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

/* Albüm kapağının bulanık hâli cam arkası gibi durur (sabit görsel: bir kez çizilir) */
.sp-bg {
  position: absolute;
  inset: -30%;
  width: 160%;
  height: 160%;
  object-fit: cover;
  filter: blur(26px) saturate(1.25);
  opacity: 0.5;
  z-index: -2;
  pointer-events: none;
}

.sp::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.35), rgba(10, 10, 10, 0.6));
  pointer-events: none;
}

/* İmleci takip eden ışık */
.sp::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.sp-art {
  position: relative;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
}

.sp-art img,
.sp-art-ph {
  width: 100%;
  height: 100%;
  border-radius: 11px;
  object-fit: cover;
  background: #1a1a1a;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.9);
  transition: transform 0.4s var(--ease-out);
}

.sp-art-ph {
  display: grid;
  place-items: center;
  color: var(--fg-3);
}

.sp-play {
  position: absolute;
  inset: 0;
  margin: auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.sp-play svg {
  width: 15px;
  height: 15px;
}

.sp-play:active {
  transform: scale(0.92) !important;
}

.sp.is-playing .sp-play,
.sp-play:focus-visible {
  opacity: 1;
  transform: scale(1);
}

.sp .p-info {
  position: relative;
}

.sp .p-kicker {
  color: rgba(255, 255, 255, 0.6);
}

.sp-open {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: var(--fg-3);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.sp-open svg {
  width: 13px;
  height: 13px;
}

@media (hover: hover) and (pointer: fine) {
  .sp:hover {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      inset 0 -1px 0 rgba(255, 255, 255, 0.06),
      0 22px 44px -18px rgba(0, 0, 0, 0.95);
  }
  .sp:hover::after {
    opacity: 1;
  }
  .sp:hover .sp-play {
    opacity: 1;
    transform: scale(1);
  }
  .sp:hover .sp-art img {
    transform: scale(1.04);
  }
  .sp-open:hover {
    color: var(--fg);
    background: rgba(255, 255, 255, 0.1);
  }
}

/* Dokunmatik ekranlarda oynat tuşu hep görünür */
@media (hover: none) {
  .sp-play {
    opacity: 0.92;
    transform: scale(1);
  }
}

/* Spotify oynatıcı (embed): sesi çalar ama görünmez; kontrol karttaki tuştan */
.sp-player {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 300px;
  height: 80px;
  /* Tamamen kırpılırsa tarayıcı çerçeveyi uyutup sesi durdurabiliyor: yerinde ama saydam */
  opacity: 0.001;
  pointer-events: none;
  z-index: -1;
}

.sp-player iframe {
  display: block;
  border: 0;
}

/* Sitede çalarken kartın altındaki ince ilerleme çizgisi */
.sp-prog {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sp-prog i {
  display: block;
  height: 100%;
  background: #fff;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.5s linear;
}

.sp.is-playing .sp-prog,
.sp.is-paused .sp-prog {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .sp {
    transform: none !important;
  }
}

/* ═════════════════════ Tasarım ayarları (yönetim panelinden) ═════════════════════ */
.bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s var(--ease-out), transform 2.4s var(--ease-out);
}

.bg-img.ready {
  opacity: 1;
}

body[data-entered="true"] .bg-img {
  transform: scale(1);
}

/* Bulanık resimde kenarlar şeffaflaşmasın */
.bg-img.blurred,
body[data-entered="true"] .bg-img.blurred {
  transform: scale(1.1);
}

body.no-grain .bg-grain,
body.hide-views #views,
body.hide-lang .seg,
body.hide-discord #presence,
body.hide-discord #spPlayer,
body.hide-socials .hero .socials {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .bg-img {
    transform: none !important;
  }
}

/* ═════════════════════ Alt bar: şu an çalan (cam görünüm) ═════════════════════ */
.np {
  position: fixed;
  left: 50%;
  bottom: calc(20px + var(--safe-b));
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(520px, calc(100% - 32px));
  padding: 12px 14px 12px 12px;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04) 60%, rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 24px 50px -18px rgba(0, 0, 0, 0.95);
  opacity: 0;
  transform: translate(-50%, 16px) scale(0.98);
  transition: opacity 0.28s var(--ease-out), transform 0.36s var(--ease-out);
}

.np.on {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

/* Cam arkası: kapağın bulanık hâli + koyu katman (bir kez çizilen sabit görsel) */
.np-bg {
  position: absolute;
  inset: -40%;
  width: 180%;
  height: 180%;
  object-fit: cover;
  filter: blur(30px) saturate(1.3);
  opacity: 0.55;
  z-index: -2;
  pointer-events: none;
}

.np::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 10, 10, 0.5);
  pointer-events: none;
}

.np-art {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
  background: #1a1a1a;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.9);
}

.np-main {
  flex: 1;
  min-width: 0;
}

.np-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.np-meta {
  flex: 1;
  min-width: 0;
}

.np-meta b,
.np-meta span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-meta b {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.np-meta span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
}

.np-ctrl {
  display: flex;
  align-items: center;
  gap: 4px;
}

.np-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  transition: transform 0.14s var(--ease-out);
}

.np-btn svg {
  width: 15px;
  height: 15px;
}

.np-btn:active,
.np-x:active {
  transform: scale(0.92);
}

.np-x {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.14s var(--ease-out);
}

.np-x svg {
  width: 15px;
  height: 15px;
}

.np-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.np-time {
  min-width: 34px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
}

.np-time:last-child {
  text-align: right;
}

.np-track {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: height 0.15s ease;
}

/* Tıklama alanı çubuktan büyük */
.np-track::before {
  content: "";
  position: absolute;
  inset: -8px 0;
}

.np-track i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #fff;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.5s linear;
}

.np-note {
  margin: 6px 0 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

@media (hover: hover) and (pointer: fine) {
  .np-track:hover {
    height: 6px;
  }
  .np-x:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 820px) {
  .np {
    bottom: calc(84px + var(--safe-b));
  }
}

@media (prefers-reduced-motion: reduce) {
  .np,
  .np.on {
    transform: translate(-50%, 0);
  }
}
