/* İz Teras — Sayfa Turu Motoru stilleri. Tüm sınıflar tk- önekli. */

/* ------------------------------------------------------------- kapı */
.tk-gate {
  --tk-ink: #f4efe8;
  --tk-mute: rgba(244, 239, 232, .72);
  --tk-copper: #e9a46a;
  --tk-copper-hi: #ffd29e;
  --tk-display: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --tk-sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --tk-ease: cubic-bezier(.16, 1, .3, 1);
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #07090d;
  color: var(--tk-ink);
  font-family: var(--tk-sans);
}
.tk-gate[hidden], .tk-gate:empty { display: none; }

.tk-gate-bg {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  animation: tk-kenburns 22s ease-in-out infinite alternate;
  will-change: transform;
}
.tk-gate-bg::after { /* alttan okunabilirlik için karartma */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 9, 13, .82) 0%, rgba(7, 9, 13, .25) 45%, rgba(7, 9, 13, .1) 100%);
}
@keyframes tk-kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

.tk-gate-glow { /* süzülen ışık */
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 35% at 70% 25%, rgba(255, 210, 158, .28), transparent 70%),
    radial-gradient(30% 30% at 20% 60%, rgba(233, 164, 106, .16), transparent 70%);
  mix-blend-mode: screen;
  animation: tk-suzul 14s ease-in-out infinite alternate;
}
@keyframes tk-suzul {
  from { transform: translate3d(-3%, 0, 0); opacity: .7; }
  to   { transform: translate3d(4%, -3%, 0); opacity: 1; }
}

.tk-gate-in {
  position: relative;
  width: 100%;
  padding: 0 max(clamp(16px, 4vw, 56px), env(safe-area-inset-right)) clamp(72px, 12vh, 120px) max(clamp(16px, 4vw, 56px), env(safe-area-inset-left));
  max-width: 920px;
}
.tk-gate-eyebrow {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--tk-copper-hi);
  margin: 0 0 14px;
}
.tk-gate-title {
  font-family: var(--tk-display);
  font-weight: 400;
  font-size: clamp(34px, 7vw, 84px);
  line-height: 1.04;
  margin: 0 0 16px;
}
.tk-gate-title em { font-style: italic; color: var(--tk-copper-hi); }
.tk-gate-line {
  max-width: 46ch;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
  color: var(--tk-mute);
  margin: 0 0 28px;
}
.tk-gate-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  min-height: 48px;
  border: 1px solid var(--tk-copper);
  border-radius: 999px;
  background: rgba(14, 16, 22, .46);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--tk-ink);
  font: 600 16px/1 var(--tk-sans);
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .35s var(--tk-ease), transform .35s var(--tk-ease);
}
.tk-gate-btn:focus-visible { background: var(--tk-copper); color: #1a1208; transform: translateY(-2px); }
@media (hover: hover) { .tk-gate-btn:hover { background: var(--tk-copper); color: #1a1208; transform: translateY(-2px); } }
.tk-gate-btn[hidden] { display: none; }

.tk-gate-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tk-mute);
  animation: tk-hint 2.2s ease-in-out infinite;
}
@keyframes tk-hint {
  0%, 100% { transform: translate(-50%, 0); opacity: .6; }
  50%      { transform: translate(-50%, 6px); opacity: 1; }
}

@media (max-width: 600px) {
  .tk-gate-in { padding-bottom: 88px; }
  .tk-gate-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .tk-gate-bg, .tk-gate-glow, .tk-gate-hint { animation: none; }
  .tk-gate-hint { transform: translateX(-50%); }
}

/* ----------------------------------------------------------- katman */
.tk-layer {
  --tk-ink: #f4efe8;
  --tk-mute: rgba(244, 239, 232, .74);
  --tk-copper: #e9a46a;
  --tk-copper-hi: #ffd29e;
  --tk-display: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --tk-sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: #07090d;
  color: var(--tk-ink);
  font-family: var(--tk-sans);
}
.tk-stage, .tk-img, .tk-hots { position: absolute; inset: 0; }
.tk-img {
  background-size: cover;
  background-position: center;
  will-change: transform, opacity;
}
.tk-stage::after { /* yazı okunurluğu için alt/üst karartma */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(7, 9, 13, .78) 0%, rgba(7, 9, 13, 0) 40%),
    linear-gradient(to bottom, rgba(7, 9, 13, .5) 0%, rgba(7, 9, 13, 0) 18%);
}

.tk-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: max(clamp(12px, 2.4vw, 28px), env(safe-area-inset-top)) max(clamp(16px, 3.4vw, 48px), env(safe-area-inset-right)) clamp(12px, 2.4vw, 28px) max(clamp(16px, 3.4vw, 48px), env(safe-area-inset-left));
}
.tk-meta {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tk-copper-hi);
  text-shadow: 0 1px 8px rgba(7, 9, 13, .85), 0 0 2px rgba(7, 9, 13, .9);
}
.tk-skip {
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid rgba(244, 239, 232, .32);
  border-radius: 999px;
  background: rgba(14, 16, 22, .46);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--tk-ink);
  font: 600 14px/1 var(--tk-sans);
  cursor: pointer;
  transition: background .3s, border-color .3s, color .3s;
}
.tk-skip:focus-visible { background: var(--tk-copper); border-color: var(--tk-copper); color: #1a1208; }
@media (hover: hover) { .tk-skip:hover { background: var(--tk-copper); border-color: var(--tk-copper); color: #1a1208; } }
.tk-skip.is-primary { border-color: var(--tk-copper); background: var(--tk-copper); color: #1a1208; animation: tk-nabiz 1.8s ease-in-out infinite; }
@keyframes tk-nabiz { 50% { box-shadow: 0 0 0 10px rgba(233, 164, 106, 0); } 0% { box-shadow: 0 0 0 0 rgba(233, 164, 106, .55); } }

.tk-cap {
  position: absolute;
  left: 0; bottom: 0;
  max-width: 640px;
  padding: 0 max(clamp(16px, 3.4vw, 48px), env(safe-area-inset-right)) max(clamp(24px, 5vh, 56px), env(safe-area-inset-bottom)) max(clamp(16px, 3.4vw, 48px), env(safe-area-inset-left));
  pointer-events: none;
}
.tk-cap-title {
  font-family: var(--tk-display);
  font-weight: 400;
  font-size: clamp(26px, 4.6vw, 56px);
  line-height: 1.08;
  margin: 0 0 10px;
}
.tk-cap-title em { font-style: italic; color: var(--tk-copper-hi); }
.tk-cap-line { margin: 0; font-size: clamp(14px, 1.5vw, 17px); line-height: 1.55; color: var(--tk-mute); }

/* parlayan noktalar */
.tk-hot {
  position: absolute;
  transform: translate(-22px, -50%); /* halkanın merkezi noktanın üstünde */
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tk-ink);
  font: 600 14px/1 var(--tk-sans);
  cursor: pointer;
}
.tk-hot.is-left { flex-direction: row-reverse; transform: translate(calc(-100% + 22px), -50%); }
.tk-ring { position: relative; flex: none; width: 44px; height: 44px; display: block; }
.tk-ring b {
  position: absolute; left: 50%; top: 50%;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--tk-copper-hi);
  box-shadow: 0 0 18px 4px rgba(255, 210, 158, .8);
}
.tk-ring i {
  position: absolute; inset: 0;
  border: 1.5px solid var(--tk-copper-hi);
  border-radius: 50%;
  animation: tk-halka 2.4s ease-out infinite;
}
.tk-ring i:nth-child(2) { animation-delay: 1.2s; }
@keyframes tk-halka { from { transform: scale(.35); opacity: .95; } to { transform: scale(1.25); opacity: 0; } }
.tk-lbl {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(14, 16, 22, .62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  max-width: calc(100vw - 96px);
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background .3s, color .3s;
}
.tk-hot:focus-visible .tk-lbl { background: var(--tk-copper); color: #1a1208; }
@media (hover: hover) { .tk-hot:hover .tk-lbl { background: var(--tk-copper); color: #1a1208; } }
.tk-hot, .tk-skip, .tk-gate-btn { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

@media (max-width: 1024px) { /* tablet */
  .tk-gate-in { max-width: 680px; }
  .tk-cap { max-width: 520px; }
}
@media (max-width: 600px) { /* telefon */
  .tk-cap { max-width: 100%; }
  .tk-cap-line { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .tk-lbl { font-size: 13px; padding: 8px 12px; }
  .tk-skip { padding: 10px 16px; }
  .tk-meta { font-size: 11px; letter-spacing: .14em; }
}
@media (max-height: 500px) and (orientation: landscape) { /* yatay telefon */
  .tk-gate-in { padding-bottom: 56px; max-width: 560px; }
  .tk-gate-title { font-size: clamp(26px, 5.4vw, 40px); margin-bottom: 8px; }
  .tk-gate-line { display: none; }
  .tk-gate-btn { width: auto; min-height: 44px; padding: 12px 22px; }
  .tk-gate-hint { display: none; }
  .tk-cap { max-width: 55%; padding-bottom: 14px; }
  .tk-cap-title { font-size: clamp(20px, 3.6vw, 30px); margin-bottom: 4px; }
  .tk-cap-line { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-ring i, .tk-skip.is-primary { animation: none; }
}
