/* ===== Renkler ve fontlar — vurgu rengini değiştirmek için sadece --accent'i değiştir ===== */
/* Koyu tema varsayılandır. Açık tema: <html data-theme="light"> (theme.js). */
:root {
  --bg: #0c0c0d;
  --text: #dcd9d2;          /* mat kırık beyaz */
  --text-2: #b4b1aa;
  --muted: #85837e;
  --dim: #55534f;
  --line: rgba(255,255,255,.07);
  --line-2: rgba(255,255,255,.13);
  --accent: #9cb4c2;        /* mat buz mavisi — parlak hali: #7fd4ff, turuncu: #ff4d00 */

  /* cam efekti */
  --accent-rgb: 156,180,194;
  --text-rgb: 220,217,210;
  --bar: rgba(20,20,22,.45);          /* üst menü zemini */
  --grid: rgba(255,255,255,.02);      /* sayfa ızgara çizgileri */
  --shadow: rgba(0,0,0,.6);
  --glass: rgba(255,255,255,.035);
  --glass-2: rgba(255,255,255,.06);
  --glass-border: rgba(255,255,255,.09);
  --glass-blur: blur(22px) saturate(115%);
  --glass-shine: inset 0 1px 0 rgba(255,255,255,.06);
  --radius: 18px;

  --f-logo: "Michroma", "Archivo", sans-serif;   /* sadece ICY yazısı */
  --f-display: "Archivo", "Arial Black", sans-serif;
  --f-body: "Archivo", system-ui, sans-serif;
  --f-mono: "Space Mono", ui-monospace, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
}
html[data-theme="light"] {
  --bg: #e9e7e2;            /* sıcak kâğıt beyazı */
  --text: #151516;
  --text-2: #3b3a3c;
  --muted: #6a6862;
  --dim: #9b988f;
  --line: rgba(0,0,0,.09);
  --line-2: rgba(0,0,0,.18);
  --accent: #3f6f8a;        /* buz mavisinin açık zeminde okunan koyu hali */
  --accent-rgb: 63,111,138;
  --text-rgb: 21,21,22;
  --glass: rgba(255,255,255,.42);
  --glass-2: rgba(255,255,255,.58);
  --glass-border: rgba(0,0,0,.1);
  --glass-shine: inset 0 1px 0 rgba(255,255,255,.75);
  --bar: rgba(244,243,240,.6);
  --grid: rgba(0,0,0,.035);
  --shadow: rgba(40,38,34,.22);
  color-scheme: light;
}
html { color-scheme: dark; }
/* tema değişirken renkler yumuşak geçsin (theme.js kısa süreliğine ekler) */
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .5s ease, color .5s ease, border-color .5s ease, box-shadow .5s ease !important;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  /* ince ızgara dokusu */
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
}
/* camın arkasında bulanıklaşacak mat ışık lekeleri */
body::before {
  content: ""; position: fixed; inset: -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 32% at 18% 22%, rgba(120,145,160,.20), transparent 70%),
    radial-gradient(30% 28% at 82% 38%, rgba(150,140,128,.13), transparent 70%),
    radial-gradient(42% 30% at 55% 88%, rgba(100,118,132,.16), transparent 70%);
  filter: blur(40px);
}
/* WebGL akışkan arka plan (bg.js) — desteklenmezse yukarıdaki CSS arka planı görünür */
#bg {
  position: fixed; inset: 0; width: 100%; height: 100%; height: 100lvh; z-index: -1;   /* lvh: adres çubuğu oynasa da sabit */
  pointer-events: none; opacity: .85;
}
/* film greni (mat yüzey) */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .09;
  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");
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--bg); }

/* ===== Ortak parçalar ===== */
.label, .role, nav, .status, .mono-muted, .hero-meta, .hero-side, .btn,
.tags span, .stage-hud, .skills, .links a, footer, .list small, .barcode-wrap small {
  font-family: var(--f-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
}
.label { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.accent { color: var(--accent); }
.plus { color: var(--dim); font-weight: 400; margin-left: 6px; }
.mono-muted { font-size: 12px; color: var(--muted); }
.mono-muted b { color: var(--text); font-weight: 700; }

/* cam panel */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shine), 0 20px 50px -20px var(--shadow);
  border-radius: var(--radius);
}

/* köşe işaretleri */
.corner { position: absolute; width: 14px; height: 14px; border: 0 solid var(--line-2); pointer-events: none; z-index: 2; }
.corner.tl { top: 12px; left: 12px; border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: 12px; right: 12px; border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: 12px; left: 12px; border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: 12px; right: 12px; border-bottom-width: 1px; border-right-width: 1px; }

/* barkod */
.barcode {
  display: block; width: 150px; height: 26px;
  background: repeating-linear-gradient(90deg,
    var(--text) 0 1px, transparent 1px 3px, var(--text) 3px 5px, transparent 5px 6px,
    var(--text) 6px 7px, transparent 7px 10px, var(--text) 10px 13px, transparent 13px 14px);
  opacity: .6;
}
.barcode.small { width: 90px; height: 16px; opacity: .4; }

/* cam hap buton */
.btn {
  display: inline-flex; align-items: center; gap: 28px;
  padding: 14px 22px; border-radius: 99px; font-size: 12px;
  background: var(--glass-2);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); box-shadow: var(--glass-shine);
  transition: border-color .2s, background .2s, color .2s;
}
.btn span { transition: transform .2s; }
.btn:hover { border-color: rgba(var(--accent-rgb),.45); background: rgba(var(--accent-rgb),.1); color: var(--text); }
.btn:hover span { transform: translateX(4px); }

/* ===== Üst menü (yüzen cam bar) ===== */
.top {
  position: sticky; top: 12px; z-index: 20;
  display: grid; grid-template-columns: auto 1fr auto; column-gap: 20px; align-items: center;
  max-width: 1400px; margin: 12px auto 0; width: calc(100% - 2 * var(--gutter));
  padding: 10px 20px;
  background: var(--bar);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: 99px;
  box-shadow: var(--glass-shine), 0 10px 30px -10px var(--shadow);
}
.logo { justify-self: start; font-family: var(--f-logo); font-size: 20px; letter-spacing: .08em; line-height: 1; padding: 6px 0; }
nav { display: flex; gap: clamp(16px, 3vw, 40px); font-size: 12px; color: var(--muted); }
nav a { transition: color .2s; }
nav a:hover { color: var(--text); }
nav { justify-self: center; }
.top-right { justify-self: end; display: flex; align-items: center; gap: 14px; }
.status { white-space: nowrap; }
@media (max-width: 1180px) { .top .status { display: none; } }   /* menü + dil + tema sığsın */
@media (max-width: 480px) { .nav-mid { display: none !important; } }   /* küçük telefonda menü taşmasın */
/* üst bardaki TR / EN seçici (i18n.js) */
.lang-top { padding: 2px; }
.lang-top button { padding: 5px 9px; font-size: 10px; letter-spacing: .1em; }
@media (max-width: 640px) { .lang-top { background: var(--bar); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); } .top-right { gap: 8px; } }
/* tema düğmesi (theme.js) */
.theme-toggle {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center; cursor: pointer; color: var(--muted);
  background: var(--glass-2); border: 1px solid var(--glass-border); border-radius: 50%; box-shadow: var(--glass-shine);
  transition: color .2s, border-color .2s, background .2s;
}
.theme-toggle:hover { color: var(--text); border-color: rgba(var(--accent-rgb),.5); }
.theme-toggle svg { width: 14px; height: 14px; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
html[data-theme="light"] .theme-toggle svg { transform: rotate(180deg); }
/* telefonda menü dolu: düğme menünün sağ altına asılır */
@media (max-width: 640px) {
  .top-right { position: absolute; right: 6px; top: calc(100% + 10px); }
  .theme-toggle { width: 34px; height: 34px; background: var(--bar); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.status { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }

 }
.status i, .stage-hud i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

/* ===== Hero ===== */
.hero {
  position: relative; max-width: 1400px; margin: 0 auto;
  padding: clamp(64px, 10vw, 120px) var(--gutter) clamp(48px, 7vw, 90px);
  border-bottom: 1px solid var(--line);
}
.hero-meta {
  position: absolute; top: 28px; left: var(--gutter);
  display: flex; flex-direction: column; font-size: 10px; color: var(--dim);
}
h1 {
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(64px, 15vw, 210px); line-height: .86; letter-spacing: -.01em;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--f-logo); font-weight: 400; font-stretch: normal;
  font-size: clamp(88px, 19vw, 280px); line-height: .9; letter-spacing: .04em;
  margin-left: -.04em;
}
.hero-title .cursor { width: .32em; height: .05em; margin-left: .1em; vertical-align: baseline; }
.cursor {
  display: inline-block; width: .06em; height: .78em; margin-left: .06em;
  background: var(--accent); vertical-align: baseline; animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.role { margin-top: 28px; font-size: clamp(11px, 1.3vw, 14px); font-weight: 700; color: var(--muted); }
.sub { margin-top: 12px; max-width: 560px; font-size: clamp(16px, 1.6vw, 20px); color: var(--text-2); }
.hero-actions { margin-top: 40px; display: flex; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.barcode-wrap small { display: block; margin-top: 6px; font-size: 10px; color: var(--dim); }
/* canlı sayaç (live.js): şu an sitede olanlar + toplam ziyaret */
.live {
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.live[hidden] { display: none; }
.live span { display: flex; align-items: center; gap: 8px; }
.live span:last-child { padding-left: 14px; }   /* üst satırdaki noktayla hizala */
.live b { color: var(--text-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s infinite; }
.hero-side {
  position: absolute; right: var(--gutter); bottom: clamp(48px, 7vw, 90px);
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
  font-size: 11px; color: var(--muted);
}

/* ===== Bölüm başlıkları ===== */
.section { max-width: 1400px; margin: 0 auto; padding: clamp(56px, 8vw, 100px) var(--gutter) 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--line);
}
h2 {
  font-family: var(--f-display); font-weight: 800; font-stretch: 125%;
  font-size: clamp(18px, 2vw, 24px); text-transform: uppercase; letter-spacing: .02em;
}

/* ===== Projeler (projects.js) — her oyun bir cam kart: solda kapak, sağda bilgi ===== */
.projects { display: grid; gap: 16px; min-height: 120px; }
.project {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); overflow: hidden;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  box-shadow: var(--glass-shine), 0 30px 60px -30px var(--shadow);
}
.project-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: rgba(0,0,0,.35); }
.project-media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.92); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s;
}
.project:hover .project-media img { transform: scale(1.035); filter: none; }
.project-hud {
  position: absolute; top: 14px; left: 14px; display: flex; gap: 6px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
}
.project-hud span {
  padding: 4px 8px; border-radius: 4px; color: var(--text);
  background: rgba(12,12,13,.72); border: 1px solid rgba(255,255,255,.09);
}
.project-hud span { color: #dcd9d2; }                   /* görselin üstünde: her temada koyu etiket */
.project-hud span:first-child { color: #9cb4c2; }
.project-body {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(22px, 3vw, 44px); border-left: 1px solid var(--line);
}
.project-body h3 {
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(24px, 3vw, 40px); text-transform: uppercase; line-height: 1;
}
.project-role { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.project-role span { color: var(--dim); }
.project-role b { color: var(--accent); font-weight: 700; }
.project-desc { margin-top: 14px; color: var(--text-2); font-size: 16px; max-width: 460px; }
.project-body .tags { margin-top: 18px; }
.project-body .btn { margin-top: 28px; }
@media (max-width: 960px) {
  .project { grid-template-columns: 1fr; }
  .project-body { border-left: 0; border-top: 1px solid var(--line); }
}

/* ===== 3D görüntüleyici (tek büyük cam kart) ===== */
.viewer-wrap {
  display: grid; grid-template-columns: 1fr 320px; overflow: hidden;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  box-shadow: var(--glass-shine), 0 30px 60px -30px var(--shadow);
}
.stage {
  position: relative; min-height: 600px; display: flex; flex-direction: column;
  background: radial-gradient(ellipse 55% 50% at 50% 42%, rgba(255,255,255,.045), transparent 75%);
  overflow: hidden;
}
.orbit {
  position: absolute; left: 50%; top: 44%; width: 78%; aspect-ratio: 3 / 1;
  transform: translate(-50%, -50%) rotate(-12deg);
  border: 1px solid rgba(var(--text-rgb),.1); border-radius: 50%; pointer-events: none;
}
.orbit::after {
  content: "✦"; position: absolute; right: 9%; top: 6%; color: var(--accent); font-size: 12px;
}
model-viewer { position: relative; width: 100%; flex: 1; min-height: 480px; --poster-color: transparent; background: transparent; }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; }
.progress .bar { height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.stage-hud {
  position: absolute; top: 24px; left: 34px; right: 160px; z-index: 3;
  display: flex; justify-content: space-between; font-size: 10px; color: var(--muted);
}
.stage-hud span { display: flex; align-items: center; gap: 8px; }
.stage-info {
  position: relative; z-index: 3;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap;
  margin: 0 14px 14px; padding: 18px 22px 20px;
  background: rgba(255,255,255,.04);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border); border-radius: 12px; box-shadow: var(--glass-shine);
}
.stage-info h3 {
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(22px, 3vw, 34px); text-transform: uppercase; line-height: 1;
}
.stage-info p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tags span {
  font-size: 10px; padding: 5px 10px; border-radius: 99px; color: var(--text-2);
  background: var(--glass-2); border: 1px solid var(--glass-border);
}
.stage-tools { position: absolute; top: 16px; right: 20px; z-index: 3; display: flex; gap: 6px; }
.stage-tools button {
  width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-size: 16px; color: var(--muted);
  background: var(--glass-2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border); box-shadow: var(--glass-shine);
  transition: color .2s, border-color .2s, background .2s;
}
.stage-tools button:hover, .stage-tools button.on { color: var(--text); border-color: rgba(var(--accent-rgb),.4); background: rgba(var(--accent-rgb),.1); }

.list { border-left: 1px solid var(--line); padding: 24px 12px 12px; max-height: 600px; overflow: auto; background: rgba(0,0,0,.12); }
.list .label { padding: 0 12px; }
.list ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.list li button {
  width: 100%; display: grid; grid-template-columns: 34px 1fr; align-items: baseline; row-gap: 4px;
  padding: 16px 14px; text-align: left; cursor: pointer;
  background: none; border: 1px solid transparent; border-radius: 12px; color: var(--muted);
  font-family: var(--f-display); font-weight: 700; font-stretch: 112%; font-size: 15px; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
}
.list li button .num { font-family: var(--f-mono); font-size: 11px; font-weight: 400; color: var(--dim); }
.list li button small { grid-column: 2; font-size: 10px; color: var(--dim); }
.list li button:hover { color: var(--text); background: rgba(255,255,255,.03); }
.list li button.active {
  color: var(--text); background: var(--glass-2);
  border-color: var(--glass-border); box-shadow: var(--glass-shine);
}
.list li button.active .num { color: var(--accent); }

/* ===== Fiyatlar: üç cam kart (VFX / Models / Builds) + altta not ve DM butonu ===== */
.pricing { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; align-items: start; }
.price-card {
  position: relative; padding: 28px 28px 26px;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  box-shadow: var(--glass-shine), 0 20px 50px -25px var(--shadow);
}
.price-card header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.price-card h3 {
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(22px, 2.4vw, 30px); text-transform: uppercase; line-height: 1;
}
.price-card .num { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--accent); }
.price-list { list-style: none; }
.price-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text-2);
}
.price-list li:last-child { border-bottom: 0; }
.price-list small { display: block; margin-top: 2px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.price-list b {
  flex: none; font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--text);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.price-foot { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 13px; color: var(--muted); }
.price-note { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.price-note p { max-width: 560px; font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .nav-wide { display: none !important; } }   /* dar ekranda menüye sığmaz */

.price-list b i { margin-right: 2px; font-style: normal; font-weight: 400; font-size: 10px; letter-spacing: .08em; color: var(--accent); }

/* Robux / TL düğmesi (app.js): seçili olmayan para birimi gizlenir */
.cur-switch[hidden] { display: none; }
.cur-switch button { white-space: nowrap; }
.cur-try { display: none; }
#pricing[data-cur="try"] .cur-rbx { display: none; }
#pricing[data-cur="try"] .cur-try { display: inline; }

/* ===== SSS: açılır sorular (JS yok, <details>) ===== */
.faq {
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  box-shadow: var(--glass-shine), 0 20px 50px -25px var(--shadow);
  padding: 6px clamp(20px, 3vw, 34px);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-weight: 700; font-stretch: 112%; font-size: clamp(15px, 1.5vw, 18px); text-transform: uppercase;
  color: var(--text-2); transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item[open] summary { color: var(--text); }
.faq-item summary i { position: relative; flex: none; width: 12px; height: 12px; }   /* + işareti; açılınca − olur */
.faq-item summary i::before, .faq-item summary i::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: var(--accent);
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0deg); }
.faq-item p { padding: 0 0 22px; max-width: 760px; color: var(--text-2); font-size: 16px; }

.section-note a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.section-note a:hover { text-decoration-color: var(--accent); }
/* model bilgisindeki "X'te tam kaliteli hali" linki */
.post-link { display: inline-flex; gap: 8px; margin-top: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.post-link[hidden] { display: none; }
.post-link span { transition: transform .2s; }
.post-link:hover span { transform: translateX(4px); }
/* bölüm altı küçük not (ör. modellerin dokuları hakkında) */
.section-note { margin-top: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.section-note::before { content: "// "; color: var(--accent); }

/* ===== Bento: About / Skills / Contact (ayrı cam kartlar) ===== */
.bento { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.bento .cell {
  position: relative; padding: 30px 28px 34px;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  box-shadow: var(--glass-shine), 0 20px 50px -25px var(--shadow);
}
.bento h2 { margin-bottom: 22px; }
.bento p { color: var(--text-2); font-size: 16px; max-width: 520px; }
.skills { list-style: none; font-size: 12px; color: var(--muted); }
.skills li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.skills li::before { content: "+ "; color: var(--dim); }
.links { display: flex; flex-direction: column; }
.links a {
  display: flex; justify-content: space-between; padding: 12px 0;
  border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text-2); transition: color .2s, padding .2s;
}
.links a:hover { color: var(--accent); padding-left: 6px; }
/* iletişim satırı: link + kopyala düğmesi */
.link-row { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.link-row a { flex: 1; border-bottom: 0; }
.contact-card .links .link-row:first-child { border-top: 1px solid var(--line); }
.contact-card .links .link-row a:first-child { border-top: 0; }
.copy-btn {
  position: relative; overflow: hidden; flex: none; width: 30px; height: 30px; display: grid; place-items: center; cursor: pointer; color: var(--muted);
  background: var(--glass-2); border: 1px solid var(--glass-border); border-radius: 8px; box-shadow: var(--glass-shine);
  transition: color .2s, border-color .2s;
}
.copy-btn:hover { color: var(--text); border-color: rgba(var(--accent-rgb),.5); }
.copy-btn svg { width: 14px; height: 14px; }

/* küçük bildirim (fx.js): "Link kopyalandı" */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 96; transform: translate(-50%, 14px); opacity: 0; pointer-events: none;
  padding: 10px 16px; border-radius: 99px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text);
  background: var(--bar); border: 1px solid var(--glass-border); box-shadow: var(--glass-shine), 0 10px 30px -10px var(--shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  transition: opacity .25s, transform .25s cubic-bezier(.2,.7,.2,1);
}
.toast::before { content: "> "; color: var(--accent); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* yukarı çık düğmesi (fx.js) */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 30; overflow: hidden; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer;
  color: var(--muted); background: var(--bar); border: 1px solid var(--glass-border); border-radius: 50%;
  box-shadow: var(--glass-shine), 0 10px 30px -10px var(--shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .3s, transform .3s cubic-bezier(.2,.7,.2,1), color .2s, border-color .2s;
}
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: var(--text); border-color: rgba(var(--accent-rgb),.5); }
.to-top svg { width: 15px; height: 15px; }
html.loading .to-top { display: none; }

.bento.two { grid-template-columns: 1.4fr 1fr; }

/* ===== İletişim (sayfanın kapanışı): solda çağrı, sağda bağlantılar ===== */
.contact-card {
  position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 56px; align-items: center;
  padding: clamp(26px, 4vw, 52px);
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  box-shadow: var(--glass-shine), 0 20px 50px -25px var(--shadow);
}
.contact-card h2 { font-size: clamp(30px, 5vw, 60px); font-weight: 900; line-height: 1; }
.contact-text > p:last-child { margin-top: 16px; max-width: 460px; color: var(--text-2); font-size: 16px; }
.contact-card .links a { padding: 16px 0; font-size: 14px; }
.contact-card .links a:first-child { border-top: 1px solid var(--line); }
@media (max-width: 760px) { .contact-card { grid-template-columns: 1fr; } }

/* ===== Footer ===== */
footer { max-width: 1400px; margin: clamp(56px, 8vw, 100px) auto 0; padding: 0 var(--gutter) 28px; text-transform: none; }
.footer-big {
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%;
  font-size: min(calc((100vw - 2 * var(--gutter)) / 8.8), 150px); line-height: .9; letter-spacing: -.01em;
  border-top: 1px solid var(--line); padding-top: 28px; white-space: nowrap; overflow: hidden;
  color: var(--text);
}
.footer-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 24px; font-size: 11px; color: var(--muted); text-transform: uppercase;
}

/* ===== Model üstü VFX katmanı (modelfx.js) ===== */
#model-vfx { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; }
#btn-vfx[hidden] { display: none; }
.stage-tools button svg { width: 15px; height: 15px; vertical-align: middle; }
.stage:fullscreen { background-color: var(--bg); }
#btn-vfx:not(.on) { color: var(--muted); background: var(--glass-2); border-color: var(--glass-border); }
.stage:not(.vfx-stage) .stage-hud { right: 335px; }

/* ===== VFX önizleme (vfx.js) ===== */
#vfx-canvas { position: relative; display: block; width: 100%; flex: 1; min-height: 480px; touch-action: pan-y; }
.vfx-stage { background: radial-gradient(ellipse 55% 50% at 50% 45%, rgba(255,255,255,.03), transparent 75%), rgba(0,0,0,.35); }
.vfx-stage .stage-hud b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.vfx-stage .stage-hud { right: 330px; }
.stage-tools button.wide {
  width: auto; padding: 0 14px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bg); background: var(--text); border-color: var(--text);
}
.stage-tools button.wide:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.vfx-label {
  position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; white-space: nowrap; opacity: 0;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  transition: opacity .2s;
}
#vfx-origin { color: var(--muted); }
@media (max-width: 640px) { .vfx-stage .stage-hud { right: 22px; top: 62px; } .vfx-stage .stage-hud span:last-child { display: none; } }
.vfx-fallback { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; padding: 24px; text-align: center; color: var(--muted); font-size: 14px; }
.vfx-stage.no-gl .vfx-fallback { display: flex; }
.vfx-stage.no-gl #vfx-canvas { visibility: hidden; }
@media (max-width: 640px) { #vfx-canvas { min-height: 340px; } }

/* ===== Footer yasal linkler ===== */
.legal-links {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.legal-links a { color: var(--muted); transition: color .2s; }
.legal-links a:hover, .legal-links a[aria-current="page"] { color: var(--text); }
.disclaimer { margin-top: 12px; font-size: 12px; color: var(--dim); }

/* ===== Yasal sayfalar (data-protection, privacy, cookies, imprint) ===== */
.legal { max-width: 900px; margin: 0 auto; padding: clamp(48px, 7vw, 90px) var(--gutter) 0; }
.legal-card {
  position: relative; padding: clamp(24px, 4vw, 48px);
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  box-shadow: var(--glass-shine), 0 30px 60px -30px var(--shadow);
}
.legal-top { display: flex; justify-content: flex-end; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.legal h1 {
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(28px, 5vw, 52px); line-height: 1; text-transform: uppercase; margin-bottom: 10px;
}
.legal .meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.legal h2 {
  font-size: clamp(15px, 1.6vw, 18px); margin: 36px 0 12px; padding-top: 20px; border-top: 1px solid var(--line);
}
.legal p, .legal li { color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 8px 0 0 0; padding-left: 20px; }
.legal li { margin: 4px 0; }
.legal li::marker { color: var(--dim); }
.legal a:not(.btn) { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.legal a:not(.btn):hover { text-decoration-color: var(--accent); }
.legal code { font-family: var(--f-mono); font-size: 13px; color: var(--text); background: rgba(255,255,255,.05); padding: 1px 6px; border-radius: 4px; }
.legal dl { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 10px 20px; margin-top: 8px; }
.legal dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.legal dd { color: var(--text-2); }
.legal .tldr {
  margin-top: 4px; padding: 16px 18px; border-radius: 12px;
  background: rgba(var(--accent-rgb),.07); border: 1px solid rgba(var(--accent-rgb),.18);
}
.legal .tldr p { color: var(--text); }

/* TR / EN seçici — JS yoksa iki dil de görünür */
.lang-switch { display: inline-flex; padding: 3px; border-radius: 99px; background: var(--glass-2); border: 1px solid var(--glass-border); }
.lang-switch button {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--muted);
  background: none; border: 0; padding: 6px 14px; border-radius: 99px; cursor: pointer; transition: color .2s, background .2s;
}
.lang-switch button[aria-pressed="true"] { color: var(--bg); background: var(--text); }
html[data-lang="tr"] [lang="en"].l10n, html[data-lang="en"] [lang="tr"].l10n { display: none; }

/* kod tarzı başlık + numaralı bölümler */
.legal-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap;
  padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--text);
}
.legal-head h1 { margin-bottom: 0; }
.legal-head .meta { margin-top: 10px; }
.legal .updated { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); white-space: nowrap; }
.legal .l10n { counter-reset: sec; }
.legal h2 {
  font-family: var(--f-mono); font-weight: 700; font-stretch: normal;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text);
  border-top: 1px dashed var(--line-2);
}
.legal h2::before { counter-increment: sec; content: counter(sec) ". "; color: var(--accent); }
.legal .legal-head + h2 { border-top: 0; }
.legal .legal-head + p, .legal .legal-head + .tldr { margin-top: 24px; }
.legal ul { list-style: none; padding-left: 0; }
.legal li { position: relative; padding-left: 20px; }
.legal li::before {
  content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px; background: var(--accent);
}
.legal-status {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 16px; border-top: 1px dashed var(--line-2);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.legal-status span { display: inline-flex; align-items: center; gap: 8px; }
.legal-status i { width: 6px; height: 6px; border-radius: 50%; background: #6fcf97; animation: pulse 2.4s infinite; }
.legal-status a { color: var(--text) !important; text-decoration: none !important; }

/* doldurulmamış bilgi (yayından önce değiştirilmeli) */
.todo { color: #ffd27a; background: rgba(255,190,60,.12); padding: 0 4px; border-radius: 3px; }

@media (max-width: 640px) {
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
}

/* ===== 404 sayfası ===== */
.lost { min-height: calc(100vh - 220px); display: flex; flex-direction: column; justify-content: center; border-bottom: 0; }
.lost-status i { background: #d98a6a; }                 /* "bağlantı koptu": buz mavisi yerine sönük turuncu */
.lost-log {
  margin-top: 26px; max-width: 100%; display: inline-flex; align-items: baseline; gap: 10px; align-self: flex-start;
  padding: 9px 14px; border-radius: 8px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--muted);
  background: var(--glass-2); border: 1px solid var(--glass-border); box-shadow: var(--glass-shine);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.lost-log b { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--text); font-weight: 400; }
.lost-log span { flex: none; }
.lost-log span:last-child { color: #d98a6a; }
.lost .hero-actions { margin-top: 30px; }

/* ===== Yükleme ekranı (loader.js) =====
   Siyah perde; ortasında maskeyle açılan bir delik var, içinden arkadaki sıvı krom görünür.
   --r (delik yarıçapı) ve --f (kenar yumuşaklığı) loader.js tarafından her karede ayarlanır. */
#loader { display: none; }
html.loading #loader, html.revealing #loader {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--bg);
  -webkit-mask-image: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), transparent calc(var(--r, 0px) - var(--f, 10px)), #000 var(--r, 0px));
          mask-image: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), transparent calc(var(--r, 0px) - var(--f, 10px)), #000 var(--r, 0px));
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: opacity .4s ease;
}
html.revealing #loader { pointer-events: none; }
#loader > * { transition: opacity .35s ease; }
#loader.out > * { opacity: 0; }
.loader-orb {
  position: relative; width: clamp(150px, 26vmin, 220px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--line-2);
}
.loader-orb::before {                                   /* dönen ✦ işareti */
  content: "✦"; position: absolute; inset: -7px; display: flex; justify-content: center;
  color: var(--accent); font-size: 11px; line-height: 12px; animation: loader-spin 5s linear infinite;
}
@keyframes loader-spin { to { transform: rotate(360deg); } }
.loader-logo { margin-top: 30px; font-family: var(--f-logo); font-size: 26px; letter-spacing: .12em; line-height: 1; color: var(--text); text-indent: .12em; }
.loader-bar { width: min(240px, 60vw); height: 1px; margin-top: 22px; background: var(--line-2); }
.loader-bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.loader-meta { width: min(240px, 60vw); margin-top: 10px; display: flex; justify-content: space-between; gap: 12px; }
.loader-meta span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--dim); }
.loader-meta b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.loader-top { position: absolute; top: 28px; left: var(--gutter); display: flex; flex-direction: column; color: var(--dim); }
.loader-foot { position: absolute; bottom: 28px; right: var(--gutter); }

/* yükleme sırasında sayfa gizli; perde açılırken yumuşakça belirir */
html.loading { overflow: hidden; }
.top, .hero, .section, footer { transition: opacity 1s ease; }
html.loading .top, html.loading .hero, html.loading .section, html.loading footer { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .loader-orb::before { animation: none; } }

/* ===== Etkileşimler (fx.js) ===== */

/* kaydırınca belirme — sadece JS çalışıyorsa gizlenir */
.js [data-reveal] {
  opacity: 0; transform: translateY(26px); filter: blur(6px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--d, 0s),
              transform .9s cubic-bezier(.2,.7,.2,1) var(--d, 0s),
              filter .9s cubic-bezier(.2,.7,.2,1) var(--d, 0s);
}
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
.js [data-reveal].settled { transition: transform .35s cubic-bezier(.2,.7,.2,1); }

/* mıknatıs */
[data-magnetic] { transition: transform .35s cubic-bezier(.2,.7,.2,1), color .2s, background .2s, border-color .2s; }
nav a, .logo { display: inline-block; }

/* cam üstünde fareyi takip eden ışık: yüzey + kenar */
.btn, .viewer-wrap { position: relative; }
.spot::before, .spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .35s;
}
.spot::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.055), transparent 65%); }
.spot::after {
  padding: 1px; z-index: 5;
  background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb),.6), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* tıklama dalgası */
.btn, .stage-tools button, .list li button { overflow: hidden; }
.stage-tools button, .list li button { position: relative; }
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--text-rgb),.22), transparent 60%);
  transform: scale(0); animation: ripple .6s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* menü: aktif bölüm + hover alt çizgisi */
.top nav a { position: relative; }
.top nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.top nav a:hover::after, .top nav a.active::after { transform: scaleX(1); }
.top nav a.active { color: var(--text); }

/* kaydırma ilerleme çizgisi */
.scroll-line {
  position: absolute; left: 24px; right: 24px; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--accent));
  transform: scaleX(var(--p, 0)); transform-origin: left; opacity: .8;
}

/* HUD koordinatları */
#hud-xy { margin-top: 6px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (hover: none), (max-width: 640px) { #hud-xy { display: none; } }   /* farenin olmadığı cihazlarda anlamsız */

/* model değişince yumuşak geçiş */
model-viewer { transition: opacity .45s ease; }

/* HUD imleci (fx.js) — fare olan cihazlarda normal imleç gizlenir, yerine + ve braketler gelir */
html.has-hud, html.has-hud * { cursor: none !important; }
.c-hud { position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: 0; transition: opacity .25s; }
.c-hud.on { opacity: 1; }

/* + : farenin tam ucu */
.c-dot { position: fixed; left: 0; top: 0; width: 0; height: 0; }
.c-dot::before, .c-dot::after { content: ""; position: absolute; background: var(--text); }
.c-dot::before { width: 11px; height: 1px; left: -5px; top: 0; }
.c-dot::after  { width: 1px; height: 11px; left: 0; top: -5px; }
.c-hud.lock .c-dot::before, .c-hud.lock .c-dot::after { background: var(--accent); }

/* braket kutusu */
.c-box { position: fixed; left: 0; top: 0; width: 26px; height: 26px; will-change: transform, width, height; }
.c-box i {
  position: absolute; width: 7px; height: 7px;
  border: 0 solid rgba(var(--text-rgb),.55);
  transition: border-color .25s, width .25s, height .25s;
}
.c-box i:nth-child(1) { left: 0;  top: 0;    border-top-width: 1px;    border-left-width: 1px; }
.c-box i:nth-child(2) { right: 0; top: 0;    border-top-width: 1px;    border-right-width: 1px; }
.c-box i:nth-child(3) { left: 0;  bottom: 0; border-bottom-width: 1px; border-left-width: 1px; }
.c-box i:nth-child(4) { right: 0; bottom: 0; border-bottom-width: 1px; border-right-width: 1px; }
.c-hud.lock .c-box i { border-color: var(--accent); width: 10px; height: 10px; }
.c-hud.zone .c-box i { border-color: rgba(var(--text-rgb),.8); width: 10px; height: 10px; }
.c-hud.press .c-box i { border-color: var(--text); }

/* yanındaki kod/koordinat yazısı */
.c-read {
  position: absolute; left: calc(100% + 6px); top: calc(100% + 4px);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .04em; line-height: 1;
  color: var(--dim); white-space: nowrap; font-variant-numeric: tabular-nums;
  padding: 3px 0; transition: color .2s, background .2s, padding .2s, border-color .2s;
  border: 1px solid transparent; border-radius: 4px;
}
.c-hud.lock .c-read, .c-hud.zone .c-read {
  color: var(--text); padding: 4px 7px;
  background: rgba(12,12,13,.7); border-color: var(--glass-border);
}
.c-hud.lock .c-read::before, .c-hud.zone .c-read::before { content: "> "; color: var(--accent); }
.c-hud.flip-x .c-read { left: auto; right: calc(100% + 6px); }
.c-hud.flip-y .c-read { top: auto; bottom: calc(100% + 4px); }

/* ===== Mobil ===== */
@media (max-width: 960px) {
  .viewer-wrap { grid-template-columns: 1fr; }
  .list { border-left: 0; border-top: 1px solid var(--line); max-height: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .cell:first-child { grid-column: 1 / -1; }
  .bento.two { grid-template-columns: 1fr; }
  .hero-side { display: none; }
}
@media (max-width: 640px) {
  .top { grid-template-columns: auto 1fr; padding: 8px 16px; }
  .status { display: none; }
  nav { justify-self: end; gap: 14px; font-size: 11px; }
  .logo { font-size: 17px; }
  .hero-meta { top: 18px; }
  .stage { min-height: 460px; }
  model-viewer { min-height: 360px; }
  .stage-hud { left: 22px; right: 22px; top: 60px; }
  .stage-tools { right: 14px; }
  .stage-info { margin: 0 10px 10px; padding: 16px 18px 18px; }
  .bento { grid-template-columns: 1fr; }
}
/* dar telefon: beş menü linki tek satıra sığsın */
@media (max-width: 480px) {
  nav { gap: 10px; font-size: 10px; letter-spacing: .06em; }
}
/* hareketi azalt: kendiliğinden oynayan/büyük hareketler kapanır, küçük hover geri bildirimleri kalır */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor, .status i, .stage-hud i, .live i { animation: none; }
  .js [data-reveal] { transform: none; filter: none; transition: opacity .5s ease var(--d, 0s); }
}

/* ===== Açık tema: değişkenlerle çözülemeyen ayrıntılar ===== */
html[data-theme="light"] #bg { opacity: 1; }
html[data-theme="light"] body::after { opacity: .06; }
html[data-theme="light"] .legal code { background: rgba(0,0,0,.06); }
html[data-theme="light"] .spot::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.5), transparent 65%); }
/* 3D / VFX panelleri */
html[data-theme="light"] .stage { background: radial-gradient(ellipse 55% 50% at 50% 42%, rgba(255,255,255,.55), transparent 75%); }
html[data-theme="light"] .vfx-stage { background: radial-gradient(ellipse 55% 50% at 50% 45%, rgba(255,255,255,.5), transparent 75%), rgba(0,0,0,.03); }
html[data-theme="light"] .stage-info { background: rgba(255,255,255,.5); }
html[data-theme="light"] .list { background: rgba(0,0,0,.035); }
html[data-theme="light"] .list li button:hover { background: rgba(0,0,0,.04); }
/* HUD imleci: açık zeminde koyu, koyu panellerin üstünde açık görünsün diye "fark" karışımı */
html[data-theme="light"] .c-hud { mix-blend-mode: difference; }
html[data-theme="light"] .c-dot::before, html[data-theme="light"] .c-dot::after { background: #fff !important; }
html[data-theme="light"] .c-box i { border-color: rgba(255,255,255,.75) !important; }
html[data-theme="light"] .c-read, html[data-theme="light"] .c-hud.lock .c-read, html[data-theme="light"] .c-hud.zone .c-read {
  color: #fff; background: none; border-color: transparent; padding: 3px 0;
}
html[data-theme="light"] .c-hud.lock .c-read::before, html[data-theme="light"] .c-hud.zone .c-read::before { color: #fff; }
