/* Full-screen landing — reference mockup layout */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  background: none;
  border-bottom: none;
}

.site-header--landing {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.65rem clamp(1.25rem, 3vw, 2.75rem);
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(212, 168, 75, 0.15);
}

.brand--logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: start;
  text-decoration: none;
  line-height: 1;
}

.brand__skull-icon {
  display: block;
  width: clamp(32px, 3.8vw, 42px);
  height: auto;
  aspect-ratio: 53 / 42;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.65));
}

.brand__logo-img {
  display: block;
  width: clamp(150px, 18vw, 220px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.65));
}

.brand__text {
  font-family: "Cinzel Decorative", "Cinzel", serif;
  font-size: clamp(0.82rem, 1.35vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff6dc 0%, #f0d060 35%, #c8942a 70%, #ffe9a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85));
}

.site-header--landing .main-nav {
  justify-self: center;
  gap: 0.35rem 1.75rem;
}

.site-header--landing .main-nav a {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
}

.site-header--landing .lang-switch {
  justify-self: end;
}

.landing {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #060a10;
}

/* Arka plan: referans gibi tam sahne, aşırı zoom yok */
.landing__bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #060a10;
}

.landing__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Sola; dikey hafif küçük, yatay yarısı kadar büyük (5% / 2.5%) */
  object-position: 44% center;
  transform: scale(1.025, 0.95);
  transform-origin: 44% center;
  image-rendering: auto;
}

.landing__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.12) 32%, transparent 52%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.42) 0%, transparent 14%, transparent 92%, rgba(0, 0, 0, 0.28) 100%);
}

.landing__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(260px, 42%) minmax(340px, 58%);
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  width: min(1580px, 97vw);
  margin: 0 auto;
  padding: clamp(4.25rem, 9vh, 5rem) clamp(1rem, 2.5vw, 2.5rem) clamp(5rem, 10vh, 6.5rem);
}

.landing__copy {
  align-self: start;
  max-width: 480px;
  padding-top: 0.25rem;
}

.hero-tag-bar {
  display: inline-flex;
  align-items: stretch;
  margin: 0 0 0.75rem;
  background: rgba(0, 0, 0, 0.82);
  border-top: 1px solid rgba(212, 168, 75, 0.5);
  border-bottom: 1px solid rgba(212, 168, 75, 0.5);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.hero-tag-bar__text {
  padding: 0.38rem 1rem;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gold-light);
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-tag-bar__orn {
  width: 20px;
  flex-shrink: 0;
  background: rgba(212, 168, 75, 0.1);
  border-color: rgba(212, 168, 75, 0.55);
  border-style: solid;
  position: relative;
}

.hero-tag-bar__orn--left {
  border-width: 1px 0 1px 1px;
}

.hero-tag-bar__orn--right {
  border-width: 1px 1px 1px 0;
}

.hero-tag-bar__orn::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(240, 215, 140, 0.3);
}

.hero-tag-bar__orn::after {
  content: "◆";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.32rem;
  color: var(--gold);
}

.landing__title {
  margin: 0 0 0.7rem;
  font-family: "Cinzel Decorative", "Cinzel", serif;
  line-height: 0.9;
  text-transform: uppercase;
}

.landing__title-line {
  display: block;
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
}

.landing__title-line > .landing__title-word {
  background: linear-gradient(180deg, #fff9e8 0%, #f4d06a 18%, #d4a84b 42%, #fff2c2 58%, #b8862a 78%, #f0d78c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 #3d2a08) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.6));
}

.landing__title-word {
  display: inline;
}

.landing__title-line--sails {
  font-size: clamp(2.55rem, 5.5vw, 4.2rem);
  font-weight: 900;
}

.landing__desc {
  margin: 0 0 1.15rem;
  font-family: var(--font-body);
  font-size: clamp(0.62rem, 0.95vw, 0.72rem);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.97);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.88);
  max-width: 380px;
}

.btn-hero-cta {
  position: relative;
  display: inline-block;
  padding: 0.72rem 1.85rem;
  background: linear-gradient(180deg, #e53935 0%, #c62828 45%, #8b0000 100%);
  border: 2px solid var(--gold);
  border-radius: 2px;
  color: #fff;
  font-family: "Cinzel Decorative", "Cinzel", serif;
  font-weight: 700;
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 3px 0 #5c0000, 0 6px 20px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s, filter 0.15s;
}

.btn-hero-cta::before,
.btn-hero-cta::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #f0d78c, #a67c20);
  border: 1px solid var(--gold-light);
  transform: translateY(-50%) rotate(45deg);
}

.btn-hero-cta::before { left: -4px; }
.btn-hero-cta::after { right: -4px; }

.btn-hero-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

/* ─── Sağ: büyük yatay önizleme (mockup) ─── */
.landing__preview {
  justify-self: end;
  align-self: center;
  width: 100%;
  max-width: min(760px, 58vw);
  margin-right: 0;
  transform: translateX(clamp(0.5rem, 3.5vw, 2.5rem));
  perspective: 1200px;
  perspective-origin: 75% 50%;
}

.landing .preview-frame {
  position: relative;
  padding: 5px;
  background: linear-gradient(155deg, #f5e6a8, #d4a84b 35%, #8b6914 70%, #4a3510 100%);
  border-radius: 3px;
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(240, 215, 140, 0.25);
  transform: perspective(1200px) rotateY(-9deg) rotateX(2deg) rotateZ(0.5deg) scaleX(0.94);
  transform-origin: 65% center;
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
}

.landing .preview-frame:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) rotateZ(0deg) scaleX(0.94);
}

.preview-frame__crest {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  background: linear-gradient(180deg, #f0d78c, #a67c20);
  border: 2px solid var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.preview-frame__inner {
  overflow: hidden;
  border-radius: 2px;
  border: 2px solid rgba(20, 14, 8, 0.65);
  aspect-ratio: 16 / 10;
  background: #0a0806;
}

.preview-kenburns {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  will-change: transform;
}

.preview-media--cinematic.is-active .preview-kenburns {
  animation: preview-kenburns 16s ease-in-out infinite alternate;
}

@keyframes preview-kenburns {
  0% {
    transform: scaleX(1.04) translate(0, 0);
  }
  100% {
    transform: scaleX(1.14) translate(-3%, 0);
  }
}

.landing__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(1.25rem, 3.5vh, 2.25rem);
  z-index: 3;
  padding: 0 clamp(1rem, 3vw, 2rem);
  margin-top: 0;
  pointer-events: none;
}

.landing__social-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.35rem);
  max-width: min(920px, 92vw);
  margin: 0 auto;
  pointer-events: auto;
}

.landing__social-line {
  flex: 1;
  height: 1px;
  min-width: 40px;
  max-width: 280px;
  background: linear-gradient(90deg, transparent, var(--gold-dark) 18%, var(--gold-light) 50%, var(--gold-dark) 82%, transparent);
  box-shadow: 0 0 6px rgba(212, 168, 75, 0.35);
  position: relative;
}

.landing__social-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  background: linear-gradient(135deg, #f0d78c, #a67c20);
  border: 1px solid rgba(240, 215, 140, 0.7);
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 0 0 4px rgba(212, 168, 75, 0.5);
}

.landing__social-wrap > .landing__social-line:first-child::after {
  right: -2px;
}

.landing__social-wrap > .landing__social-line:last-child::after {
  left: -2px;
}

.landing .social-row {
  flex-shrink: 0;
  gap: 0.75rem;
}

.landing .social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.landing .social-btn svg {
  width: 21px;
  height: 21px;
}

.download-zone {
  margin-top: 0;
  padding-top: 2rem;
  background: var(--ink);
}

@media (max-width: 1100px) {
  .site-header--landing {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.6rem 1rem;
  }

  .site-header--landing .brand--logo { grid-column: 1; }
  .site-header--landing .lang-switch { grid-column: 2; grid-row: 1; }
  .site-header--landing .main-nav {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .landing__body {
    grid-template-columns: 1fr 1fr;
  }

  .landing__preview {
    max-width: min(620px, 52vw);
  }

  .landing .preview-frame {
    transform: perspective(1200px) rotateY(-7deg) rotateX(2deg) rotateZ(0.5deg) scaleX(0.95);
    transform-origin: 65% center;
  }

  .landing .preview-frame:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) rotateZ(0deg) scaleX(0.95);
  }
}

@media (max-width: 900px) {
  .landing__bg-img {
    object-position: 46% 38%;
    transform: scale(1.02, 0.96);
    transform-origin: 46% 38%;
  }

  .landing__body {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 5rem;
  }

  .landing__copy {
    max-width: none;
  }

  .hero-tag-bar {
    margin-left: auto;
    margin-right: auto;
  }

  .landing__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .landing__preview {
    justify-self: center;
    max-width: min(680px, 94vw);
    margin-right: 0;
    transform: none;
    perspective: none;
  }

  .landing .preview-frame {
    transform: none;
  }

  .landing .preview-frame:hover {
    transform: none;
  }

  .landing__footer {
    position: relative;
    bottom: auto;
    margin-top: auto;
    padding-bottom: 1.5rem;
  }

  .landing__social-line {
    max-width: 120px;
  }
}

@media (max-width: 768px) {
  .landing__title-line {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .landing__title-line--sails {
    font-size: clamp(2.1rem, 11vw, 2.85rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .preview-media--cinematic.is-active .preview-kenburns {
    animation: none;
  }
}
