:root {
  --bg: #0d0f12;
  --panel: #14171c;
  --card: #181d24;
  --line: #2b323c;
  --txt: #eceff3;
  --mut: #9aa3ad;
  --acc: #c9a24b;
  --acc2: #8a6d2f;
  --acc-ink: #171204;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 50% -10%, #1a1d22 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--txt);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
a { color: inherit; }
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; max-width: 1200px; margin: 0 auto;
}
.brand { display: flex; gap: 12px; align-items: center; }
.logo {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, #d8b45e, #8a6d2f);
  display: grid; place-items: center; font-weight: 800; color: #171204;
}
.brand h1 { font-size: 18px; margin: 0; }
.brand p { margin: 2px 0 0; color: var(--mut); font-size: 12px; }
.count {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px;
  color: var(--mut); font-size: 13px; background: #10141a;
}
.hero { text-align: center; padding: 10px 20px 0; max-width: 900px; margin: 0 auto; }
.hero h2 { font-size: clamp(26px, 4vw, 42px); margin: 10px 0 8px; letter-spacing: -0.5px; }
.hero h2 span { color: var(--acc); }
.hero p { color: var(--mut); margin: 0 0 4px; }
.hint { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 14px 0 0; }
.hint span { font-size: 12.5px; color: var(--mut); border: 1px solid var(--line); padding: 7px 12px; border-radius: 999px; background: #10141a; }

/* ---- Carousel ---- */
.stage { position: relative; max-width: 1200px; margin: 18px auto 0; padding: 0 64px; }
.viewport { overflow: hidden; border-radius: 20px; }
.track { display: flex; gap: 18px; transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); padding: 14px 4px 20px; }
.card {
  flex: 0 0 calc(33.333% - 12px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; cursor: pointer;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
}
.card:hover, .card.active { transform: translateY(-4px); border-color: var(--acc); box-shadow: 0 14px 34px rgba(0,0,0,0.5); }
.card .cv { width: 100%; height: 250px; display: block; background: #0b0d12; }
.card .meta { padding: 12px 14px 14px; }
.card .no { font-size: 11px; letter-spacing: 2px; color: var(--acc); font-weight: 700; }
.card h3 { margin: 4px 0 6px; font-size: 16px; }
.card p { margin: 0 0 10px; color: var(--mut); font-size: 12.5px; min-height: 32px; }
.row { display: flex; gap: 8px; }
.btn {
  appearance: none; border: 1px solid var(--line); background: #10141a; color: var(--txt);
  border-radius: 10px; padding: 9px 12px; font-size: 13px; cursor: pointer;
}
.btn:hover { border-color: var(--acc); }
.btn.primary { background: #f2f4f7; color: #14171c; font-weight: 700; border: none; }
.btn.primary:hover { background: #ffffff; }
.btn.ghost { background: transparent; }
.badge360 {
  position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 700;
  background: rgba(10,12,15,0.82); border: 1px solid var(--line); color: var(--txt);
  padding: 5px 9px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.err { margin: 0 14px 12px; font-size: 12.5px; color: #e89a90; border: 1px solid #5a2b26; background: #231312; border-radius: 10px; padding: 9px 11px; }
.loadbar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0%; background: var(--acc); }
.card.soon { cursor: default; opacity: 0.85; }
.soonbox { height: 250px; display: grid; place-items: center; color: var(--mut); background: #10141a; font-size: 15px; }
.nav {
  position: absolute; top: 38%; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: #10141a; color: var(--txt);
  font-size: 20px; cursor: pointer; z-index: 2;
}
.nav:hover { border-color: var(--acc); }
#prev { left: 6px; } #next { right: 6px; }
.dots { display: flex; gap: 8px; justify-content: center; padding: 2px 0 8px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: #3a424d; cursor: pointer; padding: 0; }
.dots button.on { background: var(--acc); width: 26px; border-radius: 999px; }
.foot { text-align: center; color: var(--mut); font-size: 12.5px; padding: 14px 20px 30px; }

/* ---- Hover ile büyüyen 360 önizleme ---- */
.quick {
  position: fixed; inset: 0; display: none; place-items: center;
  background: rgba(3,5,10,0.72); backdrop-filter: blur(6px); z-index: 50; padding: 20px;
}
.quick.open { display: grid; }
.quick .box {
  width: min(980px, 94vw); background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; animation: pop 0.22s ease-out;
}
@keyframes pop { from { transform: scale(0.96); opacity: 0.4; } to { transform: scale(1); opacity: 1; } }
.quick header { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.quick header h3 { margin: 0; font-size: 17px; }
.quick header p { margin: 2px 0 0; color: var(--mut); font-size: 12.5px; }
#quickCanvas { width: 100%; height: min(58vh, 520px); display: block; background: #0b0d12; cursor: grab; }
.quick footer { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 18px; flex-wrap: wrap; }
.quick footer small { color: var(--mut); }

/* ---- Detay sayfası ---- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 22px 40px; }
.back { display: inline-block; margin: 6px 0 14px; text-decoration: none; }
.detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; }
.viewer { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
#detailCanvas { width: 100%; height: 560px; display: block; cursor: grab; background: #0b0d12; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 14px; border-top: 1px solid var(--line); align-items: center; }
.toolbar small { color: var(--mut); margin-left: auto; }
.side { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; height: fit-content; }
.side h2 { margin: 4px 0 8px; }
.side p { color: var(--mut); font-size: 14px; }
.files { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.file { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #10141a; font-size: 13px; }
.file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file a { margin-left: auto; text-decoration: none; }
.prog { height: 6px; background: #10141a; border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.prog i { display: block; height: 100%; width: 0%; background: var(--acc); }

@media (max-width: 900px) {
  .stage { padding: 0 46px; }
  .card { flex-basis: calc(100% - 6px); }
  .card .cv { height: 260px; }
  .detail { grid-template-columns: 1fr; }
  #detailCanvas { height: 420px; }
}
