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

/* El yazısı başlık fontu (Caveat, SIL Open Font License) — projede barınıyor */
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/caveat-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: "Caveat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/caveat-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 {
  /* Arabanın genişliği ve yüksekliği her bölümde aynı */
  --araba-g: clamp(180px, 30vw, 400px);
  --araba-y: calc(var(--araba-g) * 0.404);
  /* Yolun alttan yüksekliği: ekran yüksekliğine göre, ama şarkı düğmesi ve notunun üstünde kalacak kadar */
  --yol-alt: max(12vh, 132px);

  /* Giriş ekranı ve açılışta aynı gece gökyüzü: geçiş fark edilmesin */
  --gece:
    radial-gradient(120% 70% at 50% 100%, #4a3040 0%, transparent 60%),
    linear-gradient(180deg, #141829 0%, #1d2236 55%, #15171c 100%);

  --vurgu: #f3d9a4;
  --el-yazisi: "Caveat", "Segoe Print", "Bradley Hand", cursive;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  color: #ffffff;
  background-color: #15171c;
}

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

/* ---------- Yıldızlar (giriş, açılış ve ilk duraklar) ---------- */

.yildizlar,
.yildizlar::after {
  position: absolute;
  inset: 0 0 40% 0;
  pointer-events: none;
  background-repeat: no-repeat;
}

.yildizlar {
  background-image:
    radial-gradient(1.5px 1.5px at 8% 14%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 18% 42%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 27% 8%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 36% 30%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 47% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 46%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 64% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 73% 6%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 82% 36%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 91% 16%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 4% 58%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 96% 62%, #fff 50%, transparent 51%);
  opacity: 0.7;
}

/* İkinci katman yavaşça yanıp söner */
.yildizlar::after {
  content: "";
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 13% 26%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 31% 52%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 59% 4%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 69% 54%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 87% 8%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 42% 66%, #fff 50%, transparent 51%);
  animation: parilti 3.2s ease-in-out infinite alternate;
}

@keyframes parilti {
  from { opacity: 0.15; }
  to   { opacity: 1; }
}

/* ---------- Yolculuk sahnesi (pist) ---------- */

/*
  Temel düzen dikey: JS/animasyon yoksa ya da hareket azaltma açıksa paneller alt alta durur.
  Animasyon çalışınca animasyon.js .pist'e .yatay ekler: paneller yan yana dizilir ve sahne sabitlenir.
*/
.pist {
  position: relative;
  overflow: hidden;
}

.gok {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gok-0 { background: var(--gece); }

.gok-1 {
  background:
    radial-gradient(130% 80% at 50% 100%, #3a2c47 0%, transparent 65%),
    linear-gradient(180deg, #1a1f35 0%, #15171c 100%);
}

/* Şafak öncesi: mor ve pembe */
.gok-2 {
  background:
    radial-gradient(130% 80% at 50% 100%, #7a4568 0%, transparent 65%),
    linear-gradient(180deg, #262a52 0%, #1e1b2c 100%);
}

/* Gün doğumu: turuncu ufuk, aydınlanan gök */
.gok-3 {
  background:
    radial-gradient(130% 80% at 50% 100%, #f0a060 0%, transparent 65%),
    linear-gradient(180deg, #3c4a82 0%, #3a2836 100%);
}

/* Dikey düzende sadece ilk gökyüzü görünür, her panelin kendi rengi olur */
.gok-1,
.gok-2,
.gok-3 {
  opacity: 0;
}

.panel {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  /* Alt boşluk: içerik arabanın üstünde kalsın */
  padding: 16px 16px calc(var(--yol-alt) + var(--araba-y) + 24px);
  overflow: hidden;
  text-align: center;
}

/* Dikey düzende (animasyonsuz) son ekranın kendi gün doğumu rengi olur */
.pist:not(.yatay) .panel.son {
  background:
    radial-gradient(130% 80% at 50% 100%, #f0a060 0%, transparent 65%),
    linear-gradient(180deg, #3c4a82 0%, #3a2836 100%);
}

/* ----- Yatay mod (animasyon açıkken) ----- */

.pist.yatay {
  height: 100vh;
  height: 100dvh;
}

.pist.yatay .serit {
  position: relative;
  display: flex;
  width: calc(var(--panel-sayisi, 4) * 100%);
  height: 100%;
  will-change: transform;
}

.pist.yatay .panel {
  flex: 0 0 calc(100% / var(--panel-sayisi, 4));
  min-height: 0;
  height: 100%;
  background: none;
}

/* Kaydırdıkça sola kayan ay */
.ay {
  position: absolute;
  top: 16%;
  right: 14%;
  width: clamp(56px, 9vw, 110px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 62% 40%, rgba(210, 190, 150, 0.45) 0 9%, transparent 10%),
    radial-gradient(circle at 38% 64%, rgba(210, 190, 150, 0.35) 0 7%, transparent 8%),
    radial-gradient(circle at 30% 32%, #fffaf0 0%, #f6e8c8 55%, #e3cc9c 100%);
  box-shadow:
    0 0 40px 8px rgba(255, 238, 200, 0.28),
    0 0 140px 50px rgba(255, 238, 200, 0.08);
  will-change: transform;
}

.pist:not(.yatay) .ay,
.pist:not(.yatay) .yildizlar {
  /* Dikey düzende sadece ilk ekranın gökyüzünde dursun */
  inset: 0 0 auto 0;
  height: 60vh;
}

.pist:not(.yatay) .ay {
  inset: 16vh 14% auto auto;
  height: auto;
}

/* ---------- Açılış paneli ---------- */

.acilis-baslik,
.son-icerik {
  margin: 0;
  position: relative;
  z-index: 1;
}

.acilis-baslik {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hitap {
  margin: 0;
  font-family: var(--el-yazisi);
  font-weight: 600;
  font-size: clamp(4.5rem, 15vw, 9.5rem);
  line-height: 1;
  color: #fff6e6;
  text-shadow:
    0 0 24px rgba(255, 230, 180, 0.35),
    0 4px 18px rgba(0, 0, 0, 0.45);
}

.ipucu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
}

.ipucu-ok {
  font-size: 1.4em;
  line-height: 1;
  animation: zipla 1.6s ease-in-out infinite;
}

@keyframes zipla {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(10px); }
}

/* İthaf: başlıkla aynı dil — isimler el yazısıyla, gerisi küçük ve aralıklı harflerle */
.ileti {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 760px;
}

/* İsim bölünmesin */
.ileti-ana .el {
  white-space: nowrap;
}

.ileti-satir {
  display: block;
}

.ileti-kucuk {
  font-size: clamp(0.8rem, 2.2vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.ileti-ana {
  line-height: 1;
}

.el {
  font-family: var(--el-yazisi);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.ileti-ana .el {
  font-size: clamp(3rem, 10vw, 5.5rem);
  color: #fff6e6;
  text-shadow:
    0 0 24px rgba(255, 230, 180, 0.35),
    0 4px 18px rgba(0, 0, 0, 0.45);
}

.ileti-ek {
  margin-left: 0.35em;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.ileti-ayrac {
  margin: 4px 0;
  font-size: 0.9rem;
  color: var(--vurgu);
  opacity: 0.85;
}

.el-imza {
  margin-right: 0.15em;
  font-size: 1.9em;
  vertical-align: -0.12em;
  color: var(--vurgu);
}

.ileti {
  margin: 0;
}

/* Son ekran: ithaf ve altında "Devamı gelecek…" */
.son-icerik {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}

/* Kapanış fotoğrafı: son ekranda ekranı kaplar, kaybolurken üstünde ithaf yazılır */
.panel.son .foto-cerceve {
  will-change: auto; /* büyüyünce bulanık kalmasın (tarayıcı son ölçekte yeniden çizer) */
}

.kapanis-karartma {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at 50% 45%, rgba(8, 8, 18, 0.35), rgba(8, 8, 18, 0.72));
  opacity: 0;
  pointer-events: none;
}

.pist:not(.yatay) .kapanis-karartma {
  display: none;
}

/* "Ben yine burada olacağım sevgilim": fotoğraf kaybolurken ekranın ortasında el yazısıyla belirir */
.kapanis-mesaj {
  margin: 0 0 32px;
  padding: 0 16px;
  font-family: var(--el-yazisi);
  font-weight: 700;
  font-size: clamp(2.2rem, 9vw, 3.8rem);
  line-height: 1.1;
  color: #fff6e6;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
  text-wrap: balance;
}

/* ---------- Karşılama: şifreden sonra Kaan'ın konuşma videosu (tam ekran, yolculuktan önce) ---------- */
html.karsilamada,
html.karsilamada body {
  overflow: hidden;
}

.karsilama {
  position: fixed;
  inset: 0;
  z-index: 90; /* giriş ekranının (100) altında, şarkı alanının (20) üstünde */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  background:
    radial-gradient(120% 70% at 50% 100%, rgba(240, 160, 96, 0.18) 0%, transparent 70%),
    linear-gradient(180deg, #121833 0%, #1d1a2c 100%);
  touch-action: none;
  overscroll-behavior: contain;
  transition: opacity 0.8s ease;
}

.karsilama.kapaniyor {
  opacity: 0;
  pointer-events: none;
}

/* Dikey video: ekranın %80'ine kadar, genişliğe sığacak kadar */
.karsilama-cerceve {
  position: relative;
  width: min(calc(100vw - 32px), calc(80vh * 9 / 16));
  width: min(calc(100vw - 32px), calc(80dvh * 9 / 16));
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.karsilama-kapak,
.karsilama-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.karsilama-video {
  opacity: 0;
}

.karsilama.basladi .karsilama-video {
  opacity: 1;
}

.karsilama.oynuyor .karsilama-oynat {
  opacity: 0;
  pointer-events: none;
}

.karsilama-oynat:disabled {
  cursor: progress;
}

.karsilama-oynat:disabled .video-oynat-simge {
  opacity: 0.5;
}

.karsilama-devam {
  min-height: 44px;
  padding: 10px 26px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: #fff6e6;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.karsilama-devam[hidden] {
  display: none;
}

.karsilama-devam:focus-visible {
  outline: 2px solid var(--vurgu);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .karsilama {
    transition: none;
  }
}

.pist.yatay .kapanis-mesaj {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  margin: 0;
  pointer-events: none;
  opacity: 0;
}

/* Gün sayacı: ithafın altında, "Devamı gelecek"ten önce */
.gun-sayaci {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.gun-satir {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 10px;
}

.gun-sayi {
  font-family: var(--el-yazisi);
  font-weight: 700;
  font-size: clamp(2.6rem, 9vw, 3.6rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--vurgu);
  text-shadow: 0 2px 16px rgba(243, 217, 164, 0.35);
}

.gun-yazi {
  font-family: var(--el-yazisi);
  font-weight: 600;
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1;
  color: #fff6e6;
}

.gun-tarih {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.devami {
  margin: 0;
  font-family: var(--el-yazisi);
  font-weight: 600;
  font-size: clamp(1.9rem, 6vw, 2.8rem);
  line-height: 1;
  color: var(--vurgu);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

/* ---------- Sonraki durak (en sonda, biraz daha kaydırınca) ---------- */
/* Arkada bulanık bir fotoğraf (bulanıklık dosyaya işli), üstünde yalnızca "Sonraki durak" yazısı */
.sonraki {
  position: relative;
  width: 100%;
  min-height: 60vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
}

.sonraki-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 40%; /* dar ekranda atın gövdesi ortada kalsın */
}

/* Fotoğrafı koyulaştırıp yazıyı öne çıkarır */
.sonraki-karartma {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(20, 10, 24, 0.12), rgba(20, 10, 24, 0.5));
}

.sonraki-yazi {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 16px;
  font-family: var(--el-yazisi);
  font-weight: 700;
  font-size: clamp(2.6rem, 11vw, 4.4rem);
  line-height: 1.05;
  color: #fff6e6;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

/* Yatay modda fotoğraf bütün ekranı kaplar; yazı arabanın/yolun üstünde, ekranın ortasına yakın */
.pist.yatay .sonraki {
  position: absolute;
  inset: 0;
  min-height: 0;
  border-radius: 0;
  z-index: 1;
  pointer-events: none;
  padding-bottom: calc(var(--yol-alt) + 24px);
}

.pist.yatay .sonraki-foto,
.pist.yatay .sonraki-karartma,
.pist.yatay .sonraki-yazi {
  opacity: 0;
}

.pist:not(.yatay) .sonraki {
  margin-top: 24px;
}

/* Fotoğraf belirdikten sonra çok yavaş yakınlaşır ("oraya gidiyoruz" hissi). GSAP transform'u yönetir;
   bu ayrı "scale" özelliği onunla çakışmaz. Hareket azaltılmışsa (dikey düzen) çalışmaz. */
.pist.yatay .sonraki-foto {
  animation: sonraki-yaklasma 18s ease-in-out infinite alternate;
}

@keyframes sonraki-yaklasma {
  from { scale: 1; }
  to { scale: 1.06; }
}

/* ---------- Araba ve yol ---------- */

.araba {
  position: absolute;
  left: 0;
  bottom: var(--yol-alt);
  width: var(--araba-g);
  z-index: 2;
  will-change: transform;
}

.beetle {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

/* Arabanın üzerinde gittiği kesikli yol çizgisi; yatay modda şeritle birlikte kayar */
.yol {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--yol-alt);
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.35) 0 28px,
    transparent 28px 52px
  );
}

.pist:not(.yatay) .yol {
  display: none;
}

/* ---------- Anlar ve yerler: ekranı kaplayan fotoğraflar ---------- */

/*
  Her fotoğraf bir .galeri-oge: paneli kaplar; içinde bulanık kopya (.foto-arka) ve fotoğrafın kendisi (.foto).
  Fotoğraf önce arabanın üstündeki alana sığar; kamera kalkınca animasyon.js onu ekranı dolduracak kadar büyütür.
*/
.galeri-oge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px 16px calc(var(--yol-alt) + var(--araba-y) + 24px);
}

/* Fotoğrafın bulanık ve karartılmış kopyası bütün paneli kaplar */
.foto-arka {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(22px) brightness(0.5) saturate(1.1);
  transform: scale(1.15);
  pointer-events: none;
}

/* Fotoğrafın kendisi: kırpılmadan sığar */
.foto {
  position: relative;
  z-index: 1;
  margin: 0;
  display: flex;
  justify-content: center;
}

.foto-cerceve {
  position: relative;
  display: inline-block;
  line-height: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  will-change: transform;
}

.foto-resim {
  /* Fotoğrafın sığacağı kutu: ekran genişliği ve (ekran yüksekliği − yol − araba − boşluklar) */
  --foto-g: calc(100vw - 32px);
  --foto-y: calc(100vh - var(--yol-alt) - var(--araba-y) - 48px);
  --foto-y: calc(100dvh - var(--yol-alt) - var(--araba-y) - 48px);
  display: block;
  width: auto;
  height: auto;
  max-width: var(--foto-g);
  max-height: var(--foto-y);
}

/* Fotoğraflar şifre çözülünce sırayla yüklenir. Oran (--oran = genişlik/yükseklik) biliniyorsa boyut
   baştan hesaplanır; böylece yüklenen her fotoğrafta sayfa yeniden ölçülmez, hiçbir şey kaymaz. */
.foto-resim[style*="--oran"] {
  aspect-ratio: var(--oran);
  width: min(var(--foto-g), var(--foto-y) * var(--oran));
}

/* Tarih ve yazı fotoğrafın altına, hafif karartmanın üstüne */
.foto-yazi {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 48px 14px 12px;
  line-height: 1.25;
  text-align: left;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

.foto-tarih {
  font-family: var(--el-yazisi);
  font-weight: 600;
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  line-height: 1;
  white-space: nowrap;
  color: #fff6e6;
}

.foto-metin {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Fotoğrafın sağ üst köşesinde kaçıncı günümüz olduğu (25 Ocak 2022 = 1. gün) */
.foto-gun {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  max-width: calc(100% - 20px);
  padding: 4px 10px 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(10, 10, 22, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--el-yazisi);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff6e6;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Video oynarken etiket görüntünün önünde durmasın */
.video-oge.etkin .foto-gun {
  opacity: 0;
}

/* ---------- Video: kapak resmi boyutu belirler, video onun üstünde oynar ---------- */

.foto-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-oge.etkin .foto-video {
  opacity: 1;
}

.video-oynat {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 20px 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease, background-color 0.2s ease;
}

.video-oynat:hover {
  background: rgba(0, 0, 0, 0.7);
}

.video-oynat:focus-visible {
  outline: 2px solid var(--vurgu);
  outline-offset: 3px;
}

/* Daire içinde üçgen oynat simgesi */
.video-oynat-simge {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--vurgu);
}

.video-oynat-simge::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #1d1a24;
}

/* Oynarken düğme gizlenir; video duraklatılınca "Devam et" olarak geri gelir */
.video-oge.oynuyor .video-oynat {
  opacity: 0;
  pointer-events: none;
}

/* ---------- Kaan'dan notlar: fotoğrafın yanından kayarak gelen kâğıt notlar ---------- */

/*
  Kullanım (bir .galeri-oge'nin içine, .foto'dan sonra):
    <aside class="not" data-taraf="sol">Notun metni</aside>      (data-taraf: "sol" ya da "sag")
  İsteğe bağlı dikey konum: data-yer="ust" (varsayılan sol için) ya da "alt" (varsayılan sağ için).
*/
.not {
  --egim: -3deg;
  position: absolute;
  z-index: 3;
  width: max-content;
  max-width: min(320px, calc(100% - 64px));
  margin: 0;
  padding: 22px 20px 14px;
  border-radius: 4px 4px 10px 4px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.03) 0%, transparent 30%),
    #fff6e6;
  color: #2a2230;
  font-family: var(--el-yazisi);
  font-weight: 600;
  font-size: clamp(1.25rem, 3.6vw, 1.55rem);
  line-height: 1.2;
  text-align: left;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.2);
  transform: rotate(var(--egim));
  pointer-events: none;
}

/* Üstteki yarı saydam bant */
.not::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 72px;
  height: 22px;
  margin-left: -36px;
  background: rgba(243, 217, 164, 0.75);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transform: rotate(2deg);
}

/* "Kaan'dan not" başlığı ve imza */
.not::after {
  content: "— Kaan";
  display: block;
  margin-top: 8px;
  font-size: 0.8em;
  text-align: right;
  color: #8a5a3c;
}

.not-baslik {
  display: block;
  margin-bottom: 6px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a5a3c;
}

.not[data-taraf="sol"] {
  --egim: -3deg;
  left: 5%;
  top: 12%;
}

.not[data-taraf="sag"] {
  --egim: 3deg;
  right: 5%;
  bottom: 14%;
}

.not[data-yer="ust"] { top: 12%; bottom: auto; }
.not[data-yer="alt"] { top: auto; bottom: 14%; }

/* Telefonda fotoğraf ekran genişliğinde; not fotoğrafın köşesine biner */
@media (max-width: 640px) {
  .not {
    max-width: calc(100% - 48px);
    padding: 18px 16px 12px;
  }

  .not[data-taraf="sol"] { left: 14px; }
  .not[data-taraf="sag"] { right: 14px; }
}

/* Yer tabelası: araba bir yere varınca arabanın üstünde belirir; kamera kalkınca yolla birlikte iner */
.yer-tabela {
  /* left/right + fit-content + auto kenar boşluğu: ortalanır ve ekran genişliğinin tamamını kullanabilir
     (left: 50% ile tabela ekranın yarısına sıkışırdı). Sığmazsa tarih alt satıra, uzun ad iki satıra geçer. */
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(var(--yol-alt) + var(--araba-y) + 20px);
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 10px;
  width: fit-content;
  margin: 0 auto;
  padding: 10px 18px 12px;
  border-radius: 14px;
  background: rgba(14, 16, 28, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.yer-tabela::before {
  content: "";
  flex-shrink: 0; /* yer daralınca konum simgesi sıkışıp kaybolmasın */
  align-self: center;
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 50% 0;
  background: var(--vurgu);
  transform: rotate(-45deg);
}

.yer-adi {
  font-family: var(--el-yazisi);
  font-weight: 600;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  line-height: 1.05;
  text-align: center;
  color: #fff6e6;
}

.yer-tarih {
  white-space: nowrap;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* Dar telefonlarda tarih her zaman adın altında, ortada */
@media (max-width: 400px) {
  .yer-tarih {
    flex-basis: 100%;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .ay {
    top: 10%;
    right: 10%;
  }
}

/* ---------- Yatay tutulan telefon (kısa ekran) ---------- */
/* Araba ve yol küçülür, kart ve ithaf sıkılaşır; böylece içerik arabanın üstüne sığar */
@media (max-height: 500px) and (orientation: landscape) {
  :root {
    --araba-g: 130px;
    --yol-alt: 72px;
  }

  .panel {
    padding-top: 12px;
    padding-bottom: calc(var(--yol-alt) + var(--araba-y) + 12px);
  }

  .hitap {
    font-size: 5rem;
  }

  .acilis-baslik {
    gap: 6px;
  }

  .ileti {
    gap: 2px;
  }

  .ileti-ana .el {
    font-size: 3.2rem;
  }

  .ileti-ayrac {
    margin: 0;
  }

  .el-imza {
    font-size: 1.6em;
  }

  .galeri-oge {
    padding-top: 12px;
    padding-bottom: calc(var(--yol-alt) + var(--araba-y) + 12px);
  }

  .foto-yazi {
    padding: 32px 12px 10px;
  }

  /* Yatayda an fotoğrafları dar kalabilir: tarih küçülür, sığmazsa iki satıra geçer (yıl kesilmez) */
  .foto-tarih {
    max-width: 100%;
    white-space: normal;
    font-size: 1.1rem;
    line-height: 1.05;
  }

  /* Yatayda an fotoğrafları dar: gün etiketi küçülür */
  .foto-gun {
    top: 6px;
    right: 6px;
    max-width: calc(100% - 12px);
    padding: 3px 7px 4px;
    border-radius: 9px;
    font-size: 0.9rem;
    line-height: 1.05;
    white-space: normal;
    text-align: right;
  }

  /* Yatayda video düğmesi sadece simge (44 px daire); yazı ekran okuyucu için kalır */
  .video-oynat {
    padding: 8px;
    gap: 0;
  }

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

  .yer-tabela {
    bottom: calc(var(--yol-alt) + var(--araba-y) + 10px);
    padding: 6px 14px 8px;
  }

  .yer-adi {
    font-size: 1.5rem;
  }


  .son-icerik {
    gap: 8px;
  }

  .devami {
    font-size: 1.8rem;
  }

  /* Kısa ekranda gün sayacı tek satır ve küçük; ithaf bloğu arabanın üstüne sığsın */
  .gun-sayaci {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0 12px;
  }

  .gun-sayi {
    font-size: 2rem;
  }

  .gun-yazi {
    font-size: 1.3rem;
  }

  .gun-tarih {
    font-size: 0.62rem;
  }

  .ay {
    top: 10%;
    right: 8%;
    width: 52px;
  }

  /* Not balonu düğmenin üstüne değil sağına gelir; yola ve karta değmez */
  /* Video oynarken videonun yanında şarkı alanına yetecek boşluk yok: daralır ve yarı saydam olur,
     dokununca/odaklanınca tam görünür */
  /* :not(...) seçicileri özgüllüğü artırır; dosyada aşağıdaki genel .muzik.kucuk.video-acik kuralını ezer */
  .muzik.kucuk.video-acik:not(:hover):not(:focus-within) {
    opacity: 0.6;
  }

  .muzik.video-acik .muzik-ses input {
    width: 72px;
  }

  /* .muzik ön eki: dosyada aşağıdaki temel .muzik-not kurallarını ezsin diye */
  .muzik .muzik-not {
    left: calc(100% + 14px);
    bottom: 50%;
    transform: translateY(50%);
    animation: none;
  }

  .muzik .muzik-not::after {
    left: auto;
    right: 100%;
    top: 50%;
    margin-top: -8px;
    border-top-color: transparent;
    border-right-color: var(--vurgu);
  }
}

/* ---------- Şarkı: düğme, ses ayarı ve hatırlatma notu ---------- */

.muzik {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  padding: 0 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: opacity 0.3s ease;
}

.muzik[hidden] {
  display: none;
}

/* Fotoğraf ekranı kaplarken şarkı alanı küçülür: sadece simge, yarı saydam */
.muzik.kucuk {
  opacity: 0.6;
}

.muzik.kucuk .muzik-yazi,
.muzik.kucuk .muzik-ses,
.muzik.kucuk .muzik-not {
  display: none;
}

.muzik.kucuk:hover,
.muzik.kucuk:focus-within {
  opacity: 1;
}

/* Video oynarken küçük şarkı alanında ses çubuğu kalır: video sesi ayarlanabilsin */
.muzik.kucuk.video-acik {
  opacity: 1;
}

.muzik.kucuk.video-acik .muzik-ses:not([hidden]) {
  display: flex;
}

.muzik-dugme {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.muzik-dugme:hover {
  background: rgba(255, 255, 255, 0.08);
}

.muzik-dugme:active {
  transform: scale(0.97);
}

.muzik-dugme:focus-visible,
.muzik-ses input:focus-visible {
  outline: 2px solid var(--vurgu);
  outline-offset: 2px;
}

.muzik-ses {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px 0 4px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.muzik-ses[hidden] {
  display: none;
}

.muzik-ses input {
  width: 96px;
  /* Parmakla rahat tutulsun: çubuk ince görünür ama dokunma alanı 44px */
  height: 44px;
  margin: 0 0 0 8px;
  accent-color: var(--vurgu);
  cursor: pointer;
}

/* Hatırlatma notu: şarkı ilk kez açılınca kaybolur */
.muzik-not {
  position: absolute;
  left: 0;
  bottom: calc(100% + 14px);
  margin: 0;
  padding: 6px 14px 8px;
  border-radius: 14px;
  background: var(--vurgu);
  color: #1d1a24;
  font-family: var(--el-yazisi);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  animation: suzul 2.4s ease-in-out infinite;
  transition: opacity 0.4s ease;
}

/* Notun düğmeyi gösteren küçük ucu */
.muzik-not::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 100%;
  border: 8px solid transparent;
  border-top-color: var(--vurgu);
}

.muzik.calindi .muzik-not {
  opacity: 0;
}

@keyframes suzul {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* Çalarken hareket eden küçük ses dalgası; dururken sabit çubuklar */
.muzik-dalga {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.muzik-dalga i {
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: bottom;
}

.muzik-dalga i:nth-child(2) { height: 12px; }
.muzik-dalga i:nth-child(3) { height: 9px; }

.muzik.caliyor .muzik-dalga i {
  animation: dalga 0.9s ease-in-out infinite;
}

.muzik.caliyor .muzik-dalga i:nth-child(2) { animation-delay: -0.3s; }
.muzik.caliyor .muzik-dalga i:nth-child(3) { animation-delay: -0.6s; }

@keyframes dalga {
  0%, 100% { transform: scaleY(0.4); }
  50%      { transform: scaleY(1.3); }
}

/* ---------- Tarih göstergesi: yolculukta o anki ay ve yıl, kilometre sayacı gibi ---------- */
/* Sağ altta, yolun altındaki boşlukta durur; fotoğraf ekranı kaplarken, açılışta ve sonda gizlenir */
.tarih-gosterge {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 5px 10px 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(8, 10, 20, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.js .tarih-gosterge.hazir {
  display: flex;
}

.tarih-gosterge.gorunur:not(.izleniyor) {
  opacity: 1;
  transform: none;
}

.tg-ay {
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vurgu);
  transition: opacity 0.2s ease;
}

.tg-ay.degisiyor {
  opacity: 0;
}

/* Yıl: her hane 0-9 şeridi; şerit kayarak yeni rakama döner */
.tg-yil {
  display: flex;
  gap: 2px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff6e6;
}

.tg-hane {
  display: block;
  width: 0.72em;
  height: 1.2em;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.tg-serit {
  display: flex;
  flex-direction: column;
  transition: transform 0.6s cubic-bezier(0.3, 0.7, 0.2, 1);
}

/* ---------- Sondaki harita: duraklar tarih sırasıyla birbirine bağlanır ---------- */
.harita-icerik {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.harita-baslik {
  margin: 0;
  font-family: var(--el-yazisi);
  font-weight: 600;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  line-height: 1;
  color: #fff6e6;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.harita-svg {
  display: block;
  /* Başlık ve özet için ~150px bırakır, kalan yüksekliğe sığar */
  width: min(100%, 520px);
  width: min(100%, 520px, calc((100vh - var(--yol-alt) - var(--araba-y) - 170px) * var(--oran)));
  width: min(100%, 520px, calc((100dvh - var(--yol-alt) - var(--araba-y) - 170px) * var(--oran)));
  height: auto;
  overflow: hidden;
}

.harita-kara {
  fill: rgba(243, 217, 164, 0.13);
  stroke: rgba(243, 217, 164, 0.5);
  stroke-width: 1;
  stroke-linejoin: round;
}

.harita-komsu {
  fill: rgba(255, 255, 255, 0.04);
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 0.8;
  stroke-linejoin: round;
}

.harita-sehir:not([text-anchor]) {
  text-anchor: middle;
}

.harita-sehir {
  font-family: var(--el-yazisi);
  font-size: 21px;
  font-weight: 600;
  fill: rgba(255, 255, 255, 0.72);
  paint-order: stroke;
  stroke: rgba(10, 10, 22, 0.55);
  stroke-width: 3px;
}

.harita-rota {
  fill: none;
  stroke: var(--vurgu);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 4px rgba(243, 217, 164, 0.55));
}

.harita-nokta {
  fill: #fff6e6;
  stroke: rgba(20, 16, 30, 0.85);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
}

.harita-ozet span {
  white-space: nowrap;
}

.harita-ozet {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

/* Yatay telefon: harita solda, başlık ve özet sağında (ana harita kurallarından sonra gelmeli) */
@media (max-height: 500px) and (orientation: landscape) {
  .harita-icerik {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 1fr auto auto 1fr;
    justify-content: center;
    align-items: center;
    column-gap: 24px;
    row-gap: 10px;
  }

  .harita-svg {
    grid-column: 1;
    grid-row: 1 / -1;
    width: min(55vw, calc((100vh - var(--yol-alt) - var(--araba-y) - 28px) * var(--oran)));
    width: min(55vw, calc((100dvh - var(--yol-alt) - var(--araba-y) - 28px) * var(--oran)));
  }

  .harita-baslik {
    grid-column: 2;
    grid-row: 2;
    font-size: 1.9rem;
  }

  /* Yatayda harita küçük çizilir; şehir adları okunur kalsın */
  .harita-sehir {
    font-size: 28px;
  }

  .harita-ozet {
    grid-column: 2;
    grid-row: 3;
    max-width: 16em;
    line-height: 1.6;
  }
}

/* ---------- Durak efektleri: fotoğrafların üstünde hafif, tıklamayı engellemeyen katman ---------- */
.efekt {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

/* Animasyonsuz düzende ve hareket azaltılmışken efekt yok */
.pist:not(.yatay) .efekt {
  display: none;
}

/* Kar: iki katman nokta deseni farklı hızlarda aşağı akar (desen yüksekliğinin katı kadar kayar, dikişsiz döner) */
.efekt-kar::before,
.efekt-kar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -420px;
  bottom: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1.8px, transparent 2.6px),
    radial-gradient(circle, rgba(255, 255, 255, 0.75) 0 1.2px, transparent 2px);
  background-size: 130px 140px, 80px 70px;
  background-position: 0 0, 40px 30px;
  animation: kar-yag 7s linear infinite;
}

.efekt-kar::after {
  background-size: 210px 210px, 150px 140px;
  background-position: 60px 20px, 10px 90px;
  opacity: 0.55;
  filter: blur(0.8px);
  animation-duration: 12s;
}

@keyframes kar-yag {
  to { transform: translateY(420px); }
}

/* Konfeti: üretilen parçalar (i) farklı hız ve gecikmeyle dönerek düşer */
.efekt-konfeti i {
  position: absolute;
  top: -24px;
  left: var(--x);
  width: 7px;
  height: 12px;
  border-radius: 2px;
  background: var(--renk);
  opacity: 0.9;
  animation: konfeti-dus var(--s) linear calc(var(--g) * -1) infinite;
}

.efekt-konfeti i:nth-child(3n) {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

@keyframes konfeti-dus {
  to { transform: translate(var(--d), calc(100vh + 48px)) rotate(720deg); }
}

/* Dalga: altta iki dalga şeridi ters yönlerde akar */
.efekt-dalga::before,
.efekt-dalga::after {
  content: "";
  position: absolute;
  left: -240px;
  right: -240px;
  bottom: 0;
  height: 56px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='56'%3E%3Cpath d='M0 28 Q60 8 120 28 T240 28 V56 H0Z' fill='%238fd3ff' fill-opacity='0.32'/%3E%3C/svg%3E") repeat-x bottom / 240px 56px;
  animation: dalga-ak 6s linear infinite;
}

.efekt-dalga::after {
  height: 40px;
  opacity: 0.7;
  animation-duration: 9s;
  animation-direction: reverse;
}

@keyframes dalga-ak {
  to { transform: translateX(240px); }
}

/* Sahne ışıkları: üst köşelerden iki ışık hüzmesi yavaşça sallanır */
.efekt-isik::before,
.efekt-isik::after {
  content: "";
  position: absolute;
  top: -12%;
  width: 70%;
  height: 125%;
  background: linear-gradient(180deg, rgba(190, 150, 255, 0.42), rgba(190, 150, 255, 0) 78%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  transform-origin: 50% 0;
  mix-blend-mode: screen;
  animation: isik-sal 4.5s ease-in-out infinite alternate;
}

.efekt-isik::before {
  left: -22%;
  --a1: 28deg;
  --a2: -6deg;
}

.efekt-isik::after {
  right: -22%;
  background: linear-gradient(180deg, rgba(255, 150, 200, 0.38), rgba(255, 150, 200, 0) 78%);
  --a1: -28deg;
  --a2: 6deg;
  animation-delay: -2.2s;
}

@keyframes isik-sal {
  from { transform: rotate(var(--a1)); }
  to { transform: rotate(var(--a2)); }
}

/* ---------- JS varken animasyon öncesi başlangıç durumu ---------- */
/* Araba sadece yatay modda görünür; ithaf ve kartlar animasyonla belirir */

.araba {
  display: none;
}

/* Ekrandan uzak paneller çizilmez (animasyon.js işaretler); çok sayıda fotoğrafta telefon zorlanmasın.
   visibility yerleşimi değiştirmez, ölçüler doğru kalır. */
.pist.yatay .panel.uzak {
  visibility: hidden;
}

.pist.yatay .araba {
  display: block;
  transform: translateX(-100%);
}

.pist.yatay .not,
.pist.yatay .efekt,
.pist.yatay .harita-icerik > *,
.pist.yatay .harita-nokta,
.pist.yatay .ileti-satir,
.pist.yatay .gun-sayaci,
.pist.yatay .devami,
.pist.yatay .foto,
.pist.yatay .yer .galeri-oge,
.pist.yatay .yer-tabela {
  opacity: 0;
}

.pist.yatay .harita-rota {
  stroke-dashoffset: 1;
}

/* Dikey düzende (animasyonsuz) fotoğraflar alt alta, her biri bir ekran */
.pist:not(.yatay) .panel.an,
.pist:not(.yatay) .panel.yer {
  display: block;
  padding: 0;
}

.pist:not(.yatay) .galeri-oge {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: 16px;
}

.pist:not(.yatay) .yer-tabela {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 24px auto;
  max-width: calc(100% - 32px);
}

.pist:not(.yatay) .foto-resim {
  --foto-y: calc(100vh - 32px);
  --foto-y: calc(100dvh - 32px);
}

@media (prefers-reduced-motion: reduce) {
  .ipucu-ok,
  .yildizlar::after,
  .muzik-not,
  .muzik.caliyor .muzik-dalga i {
    animation: none;
  }
}
