/* HOBBA · Çok yakında sayfası
   Renkler ve yazı tipi vitrinle aynı: kömür #191B1F, turuncu #FF7D00, Poppins.
   Poppins dosyaları sayfayla birlikte sunulur; Google'a istek gitmez. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/poppins-800-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/poppins-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --komur: #191B1F;
  --turuncu: #FF7D00;
  --turuncu-buton: #E86A00;
  --yazi: #F5F5F4;
  --soluk: #A9ACB4;
  --cizgi: rgba(255, 255, 255, .1);
}

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

html, body { margin: 0; }

body {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--komur);
  color: var(--yazi);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Zemin: nokta ızgara ve imleci izleyen turuncu ışık ---------- */

.zemin { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.zemin::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.3px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 35%, transparent 100%);
          mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 35%, transparent 100%);
}
.zemin::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(560px circle at var(--mx, 30%) var(--my, 45%), rgba(255, 125, 0, .11), transparent 62%);
}

/* ---------- Yerleşim ---------- */

.sayfa {
  position: relative; z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column;
}

.ust {
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(18px, 3vw, 32px) clamp(20px, 5vw, 64px);
}
.logo { display: block; height: clamp(30px, 3.2vw, 42px); width: auto; }

.dil { display: flex; gap: 2px; padding: 4px; border: 1px solid var(--cizgi); border-radius: 999px; }
.dil button {
  font: 600 13px/1 "Poppins", system-ui, sans-serif;
  letter-spacing: .04em;
  color: var(--soluk);
  background: transparent;
  border: 0; border-radius: 999px;
  padding: 8px 13px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.dil button:hover { color: #fff; }
.dil button[aria-pressed="true"] { background: var(--turuncu-buton); color: var(--komur); }
.dil button:focus-visible { outline: 2px solid var(--turuncu); outline-offset: 2px; }

.sahne {
  flex: 1;
  width: 100%; max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(16px, 4vw, 72px);
}

.alt {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px clamp(20px, 5vw, 64px);
  font-size: 13px;
  color: rgba(255, 255, 255, .58);
}

/* ---------- Maskot ---------- */

.robot-alani {
  position: relative;
  justify-self: center;
  width: min(100%, 430px);
  perspective: 900px;
}
.robot-isik {
  position: absolute; left: 50%; top: 52%;
  width: 115%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 125, 0, .28) 0%, rgba(255, 125, 0, .08) 38%, transparent 66%);
  pointer-events: none;
}

.robot {
  position: relative;
  display: block; width: 100%;
  padding: 0; margin: 0; border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-radius: 32px;
}
.robot:focus-visible { outline: 2px dashed var(--turuncu); outline-offset: 8px; }

.maskot {
  display: block;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.maskot-zipla { display: block; position: relative; }
.robot.zipliyor .maskot-zipla { animation: zipla-maskot .75s cubic-bezier(.3, 1.5, .5, 1); }

.maskot img {
  display: block; width: 100%; height: auto;
  user-select: none; -webkit-user-drag: none;
  pointer-events: none;
}
.maskot .maskot-el {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .18s;
}
.robot.mutlu .maskot-el { opacity: 1; }

/* Vizörün üstüne çizilen yüz. Konumu maskot görseline göre yüzde olarak. */
.yuz {
  position: absolute;
  /* 928×1152 görselde vizör x 267–660, y 203–458. */
  left: 28.77%; top: 17.62%;
  width: 42.46%; height: 22.22%;
  overflow: visible;
  pointer-events: none;
}
.yuz .goz-acik, .yuz .goz-mutlu, .yuz .agiz-normal, .yuz .agiz-mutlu, .yuz .yanak { transition: opacity .15s; }
.yuz .goz-mutlu, .yuz .agiz-mutlu, .yuz .yanak { opacity: 0; }
.robot.mutlu .yuz .goz-acik, .robot.mutlu .yuz .agiz-normal { opacity: 0; }
.robot.mutlu .yuz .goz-mutlu, .robot.mutlu .yuz .agiz-mutlu { opacity: 1; }
.robot.mutlu .yuz .yanak { opacity: .4; }

.golge {
  position: absolute; left: 50%; bottom: -1%;
  width: 52%; height: 22px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .55), transparent 70%);
  pointer-events: none;
}

.balon {
  position: absolute; left: 62%; top: 4%;
  max-width: 230px;
  background: #fff; color: var(--komur);
  font-weight: 600; font-size: 15px; line-height: 1.3;
  padding: 11px 16px;
  border-radius: 18px 18px 18px 4px;
  box-shadow: 5px 5px 0 var(--turuncu);
  transform-origin: 0 100%;
  transform: scale(0) rotate(-8deg);
  opacity: 0;
  transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .2s;
  pointer-events: none;
  z-index: 2;
}
.balon.acik { transform: scale(1) rotate(-3deg); opacity: 1; }

/* ---------- Metin ---------- */

.baslik {
  margin: 0;
  font-weight: 800;
  font-size: clamp(54px, 7.6vw, 118px);
  line-height: .95;
  letter-spacing: -.035em;
  color: #fff;
  user-select: none;
  cursor: default;
}
.satir { display: block; white-space: nowrap; }
.harf { display: inline-block; transform-origin: 50% 60%; will-change: transform; }
.harf > span { display: inline-block; }
.harf.gir > span { animation: gir .8s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--i) * 45ms + 150ms); }
.harf.zipla > span { animation: zipla-harf .7s cubic-bezier(.3, 1.6, .5, 1); }
.bosluk { display: inline-block; width: .28em; }

.isaret { display: inline-block; width: .42em; height: .42em; margin-left: .05em; vertical-align: .62em; overflow: visible; }
.isaret path { stroke: var(--turuncu); stroke-width: 9; stroke-linecap: round; animation: sinyal 2.4s ease-in-out infinite; }
.isaret path:nth-child(2) { animation-delay: .2s; }
.isaret path:nth-child(3) { animation-delay: .4s; }

.aciklama {
  margin: clamp(18px, 2.2vw, 28px) 0 0;
  max-width: 32em;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
  color: var(--soluk);
}

.teslimat {
  display: inline-flex; align-items: center; gap: 12px;
  margin: clamp(20px, 2.2vw, 28px) 0 0;
  padding: 12px 18px;
  font-size: 15px; font-weight: 600; line-height: 1.35;
  color: #fff;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--cizgi);
  border-radius: 14px;
}
.teslimat svg { flex: none; width: 22px; height: 22px; color: var(--turuncu); }

.ipucu {
  display: flex; align-items: center; gap: 8px;
  margin: 26px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .58);
}
.ipucu svg { width: 16px; height: 16px; flex: none; }

/* ---------- Hareketler ---------- */

@keyframes sinyal { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes gir { from { transform: translateY(.6em) rotate(6deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes zipla-harf {
  0% { transform: none; }
  30% { transform: translateY(-.22em) rotate(-8deg); }
  60% { transform: translateY(.04em) rotate(4deg); }
  100% { transform: none; }
}
@keyframes zipla-maskot {
  0% { transform: none; }
  30% { transform: translateY(-9%) rotate(-3deg); }
  60% { transform: translateY(1%) rotate(2deg); }
  100% { transform: none; }
}

/* ---------- Dar ekran ---------- */

@media (max-width: 860px) {
  .sahne {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
    padding-bottom: 12px;
  }
  .robot-alani { width: min(58vw, 250px); margin-top: 4px; }
  .balon { left: 64%; top: -6%; font-size: 13px; max-width: 150px; padding: 9px 13px; }
  .metin { display: flex; flex-direction: column; align-items: center; }
  .baslik { font-size: clamp(46px, 14vw, 92px); }
  .aciklama { margin-left: auto; margin-right: auto; }
  .ipucu { justify-content: center; }
  .alt { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
