@font-face {
  font-family: Bricolage;
  src: url('assets/bricolage-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Bricolage;
  src: url('assets/bricolage-latin-ext.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4;
}
@font-face {
  font-family: DMSans;
  src: url('assets/dm-sans-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: DMSans;
  src: url('assets/dm-sans-latin-ext.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4;
}

:root {
  --bg: #111214;
  --panel: #1c1d20;
  --ink: #f3f2ee;
  --muted: #a2a2a5;
  --line: #ffffff1f;
  --orange: #ff6b35;
  --live: #bfeec0;
  --display: Bricolage, Arial, sans-serif;
  --body: DMSans, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
h1,
h2,
p,
dl,
dd {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* üst bar */
.w-header {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
  padding: 0 22px;
}
.w-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 22px/1 var(--display);
  letter-spacing: -0.03em;
}
.w-logo {
  width: 40px;
  height: 23px;
  color: var(--orange);
}
.w-light {
  font-weight: 500;
  color: var(--muted);
}
.w-world {
  padding: 5px 10px 6px;
  border-radius: 99px;
  background: var(--orange);
  color: var(--bg);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.w-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.w-back {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
}
.w-back::before {
  content: '← ';
}
.w-back:hover {
  color: var(--ink);
  border-color: #ffffff44;
}
.w-lang {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  font-weight: 700;
  font-size: 14px;
}
.w-lang span {
  color: var(--muted);
  font-weight: 500;
}

/* düzen */
.w-main {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 16px;
  padding: 0 16px 16px;
}
.w-stage {
  position: relative;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #cfe2e8;
  isolation: isolate;
}
.w-svg {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.w-svg.night ~ .w-legend,
.w-svg.night ~ .w-hint {
  background: #111214d9;
}
.w-svg.dragging {
  cursor: grabbing;
}
.w-svg:focus {
  outline: none;
}
.w-svg:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: -3px;
}
.w-svg *:focus {
  outline: none;
}

.w-controls {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  gap: 8px;
}
.w-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff26;
  border-radius: 14px;
  background: #111214e6;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 18px #0003;
}
.w-controls button:hover:not(:disabled) {
  background: var(--orange);
  color: var(--bg);
}
.w-controls button:disabled {
  opacity: 0.4;
  cursor: default;
}

.w-legend {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 9px 14px;
  list-style: none;
  border-radius: 99px;
  background: #111214cc;
  font-size: 13px;
  font-weight: 600;
}
.w-legend li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.lg {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}
.lg-live {
  background: var(--live);
}
.lg-testing {
  background: var(--orange);
}
.lg-soon {
  border: 1.5px dashed var(--muted);
}
.w-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 9px 14px;
  border-radius: 99px;
  background: #111214cc;
  color: #d6d5d0;
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
}

/* SVG içi */
.w-svg text {
  font-family: var(--display);
}
.pill-bg {
  fill: #111214;
  stroke: #ffffff26;
  stroke-width: 1;
}
.pill-t {
  fill: #f3f2ee;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pill-d .pill-t {
  font-size: 17px;
  font-weight: 800;
}
.pill-hq .pill-t {
  font-size: 18px;
  font-weight: 800;
}
.pill-lot .pill-bg {
  fill: #2c2d33;
  stroke-dasharray: 4 4;
  stroke: #ffffff55;
}
.labels .pill,
.landmark,
.lot-sign,
.hq-tower,
.plate,
.res {
  cursor: pointer;
}
.rlabel {
  opacity: 0;
  transition: opacity 0.18s ease;
}
.rlabel .pill-t {
  font-size: 12px;
}
.w-svg.zoomed .rlabel,
.rlabel.show,
.rlabel.pinned {
  opacity: 1;
}
.rlabel .lift {
  transition: transform 0.2s ease;
}
.rlabel.pinned .lift {
  transform: translateY(-46px);
}
.rlabel.pinned .pill-bg {
  fill: #111214;
  stroke: var(--orange);
  stroke-width: 1.6;
}
.rlabel.pinned .pill-t {
  fill: #f3f2ee;
  font-size: 13px;
}
.sign-t {
  fill: #111214;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.sign-lg {
  font-size: 12px;
}
.hq-moustache {
  color: var(--orange);
}
.hit {
  fill: transparent;
  stroke: none;
}
.res {
  transition: filter 0.15s ease;
}
.res:hover,
.res:focus-visible,
.landmark:hover,
.hq-tower:hover {
  filter: brightness(1.1);
}
.res:focus-visible .hit {
  stroke: var(--orange);
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
}
.ring {
  fill: none;
  stroke: none;
}
.plate.selected .ring {
  stroke: var(--orange);
  stroke-width: 3;
  stroke-linejoin: round;
}
.plate:focus-visible .ring {
  stroke: var(--orange);
  stroke-width: 2;
  stroke-dasharray: 6 6;
}
.sel-ring {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
}
.stem {
  stroke: var(--orange);
  stroke-width: 1.6;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.stem-dot {
  fill: var(--orange);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.rlabel.pinned .stem,
.rlabel.pinned .stem-dot {
  opacity: 1;
}
.fx,
.rlabels,
.pin {
  pointer-events: none;
}

/* hareket */
.spin {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 32s linear infinite;
}
.spin-wind {
  animation-duration: 8s;
}
.spin-fast {
  animation-duration: 5s;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.6s ease-out infinite;
  opacity: 0;
}
@keyframes pulse {
  0% {
    transform: scale(0.25);
    opacity: 0.95;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
.blink {
  animation: blink 1.4s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0.15;
  }
}
.cloud {
  animation: drift 90s linear infinite;
  transition: opacity 0.4s ease;
}
.w-svg.closeup .cloud {
  opacity: 0.15;
}
@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--dx));
  }
}
.pin-bob {
  animation: bob 0.9s ease-in-out infinite alternate;
}
.flutter {
  transform-box: fill-box;
  transform-origin: left center;
  animation: flutter 2.2s ease-in-out infinite alternate;
}
@keyframes flutter {
  to {
    transform: skewY(-6deg) scaleX(0.9);
  }
}
.float {
  animation: float 3.2s ease-in-out infinite alternate;
}
@keyframes float {
  to {
    transform: translateY(-10px);
  }
}
.wave {
  animation: wave 5s ease-in-out infinite alternate;
}
@keyframes wave {
  to {
    transform: translateX(8px);
    opacity: 0.35;
  }
}
.ripple {
  animation-duration: 2.6s;
}
.spray {
  animation: spray 1.1s ease-in-out infinite alternate;
}
@keyframes spray {
  to {
    opacity: 0.55;
  }
}
.w-svg .glow {
  pointer-events: none;
}
.w-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 80px #0b1a2433;
}
.w-svg.night ~ .w-controls,
.w-controls {
  z-index: 2;
}
@keyframes bob {
  to {
    transform: translateY(-7px);
  }
}

/* panel */
.w-panel {
  min-height: 0;
  overflow-y: auto;
  padding: 26px 24px 28px;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: #3a3b42 transparent;
}
.p-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--c, var(--orange));
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.p-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c, var(--orange));
}
.p-title {
  font: 800 34px/1.04 var(--display);
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}
.p-tagline {
  font: 700 19px/1.3 var(--display);
  margin-bottom: 8px;
}
.p-lead {
  color: var(--muted);
  margin-bottom: 20px;
}
.p-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.p-stats div {
  padding: 12px 12px 10px;
  border-radius: 14px;
  background: #ffffff0a;
  border: 1px solid var(--line);
}
.p-stats dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.p-stats dd {
  font: 800 30px/1.1 var(--display);
}
.p-sub {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.p-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.p-list button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff08;
  text-align: left;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}
.p-list button:hover {
  border-color: var(--c);
  background: #ffffff10;
}
.p-list button > span:not(.badge) {
  flex: 1;
  min-width: 0;
  display: grid;
}
.p-list b {
  font-weight: 700;
}
.p-list small {
  color: var(--muted);
  font-size: 13px;
}
.p-list em {
  font-style: normal;
  color: var(--muted);
}
.p-lotbtn {
  border-style: dashed !important;
}
.p-status {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 3px;
}
.p-status-live {
  background: var(--live);
}
.p-status-testing {
  background: var(--orange);
}
.p-status-soon {
  border: 1.5px dashed var(--muted);
}
.p-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.badge {
  flex: none;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-live {
  background: var(--live);
  color: #14331b;
}
.badge-testing {
  background: var(--orange);
  color: var(--bg);
}
.badge-soon {
  border: 1px dashed #ffffff55;
  color: var(--muted);
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 20px;
  border-radius: 99px;
  background: var(--orange);
  color: var(--bg);
  font-weight: 800;
}
.cta:hover {
  filter: brightness(1.08);
}
.p-back {
  margin: -6px 0 16px -8px;
  padding: 6px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.p-back:hover {
  color: var(--ink);
}
.p-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 22px;
}
.p-nav button {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.p-nav button:last-child {
  text-align: right;
}
.p-nav button:hover {
  border-color: #ffffff55;
}
.p-note {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  body {
    overflow: auto;
    height: auto;
  }
  .w-header {
    height: 58px;
    padding: 0 16px;
  }
  .w-brand {
    font-size: 19px;
  }
  .w-main {
    grid-template-columns: 1fr;
    padding: 0 12px 16px;
  }
  .w-stage {
    height: 56vh;
    min-height: 340px;
    border-radius: 20px;
  }
  .w-panel {
    overflow: visible;
    padding: 22px 18px 24px;
  }
  .w-hint {
    display: none;
  }
  .w-controls {
    grid-auto-flow: column;
    top: 10px;
    left: 10px;
    gap: 6px;
  }
  .w-controls button {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 18px;
  }
}
@media (max-width: 520px) {
  .w-back {
    display: none;
  }
  .w-legend {
    gap: 10px;
    padding: 8px 12px;
    font-size: 12px;
  }
  .p-title {
    font-size: 29px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .spin,
  .pulse,
  .blink,
  .cloud,
  .pin-bob,
  .flutter,
  .float,
  .wave,
  .spray {
    animation: none;
  }
  .pulse {
    opacity: 0.5;
  }
}

/* tam ekran düğmesi ve tekerlek ipucu */
.w-full {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff26;
  border-radius: 14px;
  background: #111214e6;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  box-shadow: 0 6px 18px #0003;
}
.w-full:hover {
  background: var(--orange);
  color: var(--bg);
}
.w-wheel-hint {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 12px 18px;
  border-radius: 14px;
  background: #111214e6;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.w-wheel-hint.show {
  opacity: 1;
}

/* ana sayfaya gömülü görünüm (world.html?embed) */
.embed body {
  background: transparent;
}
.embed .w-header,
.embed .w-hint {
  display: none;
}
.embed .w-full {
  display: grid;
}
.embed .w-main {
  padding: 0;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 340px;
}
.embed .w-panel {
  padding: 22px 20px 24px;
}
.embed .p-title {
  font-size: 30px;
}
.embed .w-svg {
  touch-action: pan-y;
}
@media (max-width: 900px) {
  .embed body {
    overflow: hidden;
    height: 100%;
  }
  .embed .w-main {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 8px;
  }
  .embed .w-stage {
    flex: 1;
    height: auto;
    min-height: 0;
  }
  .embed .w-legend {
    display: none;
  }
  .embed .w-panel {
    flex: none;
    max-height: 46%;
    overflow-y: auto;
    padding: 14px 14px 16px;
    border-radius: 18px;
  }
  .embed .p-lead,
  .embed .p-stats,
  .embed .p-note,
  .embed .p-sub,
  .embed .p-tagline {
    display: none;
  }
  .embed .p-title {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .embed .p-eyebrow {
    margin-bottom: 6px;
  }
  .embed .p-back {
    margin: -4px 0 6px -8px;
  }
  .embed .p-list {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .embed .p-list li {
    flex: none;
  }
  .embed .p-list button {
    padding: 8px 12px;
    gap: 8px;
  }
  .embed .p-list small,
  .embed .p-list em {
    display: none;
  }
  .embed .cta {
    padding: 10px 16px;
    font-size: 14px;
  }
  .embed .p-nav {
    margin-top: 12px;
  }
  .embed .w-full {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
}

/* marka ikonları */
.p-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
}
.p-title-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.p-title-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  object-fit: cover;
}
.p-back-icon {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  border-radius: 5px;
  vertical-align: -4px;
  object-fit: cover;
}
@media (max-width: 900px) {
  .embed .p-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }
  .embed .p-title-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }
}
.sign-light {
  fill: #fff6e6;
}
