/* ==========================================================================
   Sponsorluk profilleri — herkese açık sayfa (iframe uyumlu, mobil öncelikli)
   Tema: siyah + bordo kadife + altın (hedef sitenin kırmızı perde / altın görünümüyle uyumlu)
   ========================================================================== */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/figtree-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: "Figtree";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/figtree-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: "Cinzel";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/cinzel-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: "Cinzel";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/cinzel-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 {
  /* Zeminler */
  --sp-black: #0a0505;
  --sp-bg: #120405;
  /* Altın */
  --sp-gold: #d9a94e;
  --sp-gold-hi: #f6dc97;
  --sp-gold-grad: linear-gradient(180deg, #f8e2a3 0%, #e2b55c 45%, #b9842f 100%);
  --sp-gold-line: linear-gradient(90deg, transparent 0%, rgba(217, 169, 78, 0.85) 20%, #f3d48a 50%, rgba(217, 169, 78, 0.85) 80%, transparent 100%);
  /* Metin */
  --sp-head: #f3d48a;
  --sp-text: #eadbd0;
  --sp-muted: #b9a08f;

  --sp-radius: 16px;
  --sp-max: 1200px;
  --sp-gutter: clamp(16px, 4vw, 48px);
  --sp-serif: "Cinzel", "Trajan Pro", "Times New Roman", Georgia, serif;
  --sp-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--sp-black); }

body.sp {
  margin: 0;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(142, 16, 24, 0.35) 0%, transparent 70%),
    radial-gradient(70% 50% at 50% 100%, rgba(94, 11, 17, 0.45) 0%, transparent 70%),
    var(--sp-bg);
  color: var(--sp-text);
  font-family: var(--sp-sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

.sp-shell { min-height: 100%; }

/* --------------------------------------------------------------- Sekmeler (hedef sitenin üst menüsü gibi) */
.sp-tabs {
  position: sticky;
  top: 0;
  z-index: 5;
  background: linear-gradient(180deg, #0c0606 0%, #070303 100%);
}
.sp-tabs::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--sp-gold-line);
  opacity: 0.7;
}
.sp-tabs__track {
  display: flex;
  justify-content: center;
  gap: 2px;
  max-width: var(--sp-max);
  margin: 0 auto;
  padding: 0 var(--sp-gutter);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.sp-tabs__track::-webkit-scrollbar { display: none; }

.sp-tab {
  flex: 0 0 auto;
  scroll-snap-align: center;
  position: relative;
  padding: 16px 18px 15px;
  color: #c79f5c;
  font-family: var(--sp-serif);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.sp-tab::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--sp-gold-grad);
  box-shadow: 0 0 12px rgba(246, 220, 151, 0.55);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.sp-tab:hover { color: var(--sp-gold-hi); }
.sp-tab.is-active { color: var(--sp-gold-hi); text-shadow: 0 0 14px rgba(246, 220, 151, 0.35); }
.sp-tab.is-active::after { transform: scaleX(1); }
.sp-tab:focus-visible { outline: 1px solid var(--sp-gold); outline-offset: -6px; border-radius: 6px; }

/* --------------------------------------------------------------- Ana alan */
.sp-main { outline: none; transition: opacity 0.18s ease; }
.sp-main.is-loading { opacity: 0.45; pointer-events: none; }

/* --------------------------------------------------------------- Başlık (hero) — kadife perde zemin */
.sp-hero {
  position: relative;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0) 0px, rgba(0, 0, 0, 0.18) 26px, rgba(255, 255, 255, 0.025) 44px, rgba(0, 0, 0, 0) 62px),
    radial-gradient(120% 140% at 80% 0%, rgba(176, 22, 32, 0.55) 0%, transparent 60%),
    radial-gradient(90% 120% at 10% 100%, rgba(80, 6, 10, 0.9) 0%, transparent 70%),
    linear-gradient(180deg, #2a0407 0%, #4a080d 55%, #2c0508 100%);
  overflow: hidden;
}
.sp-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--sp-gold-line);
}
.sp-hero__inner {
  position: relative;
  max-width: var(--sp-max);
  margin: 0 auto;
  padding: 0 var(--sp-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
  align-items: center;
  min-height: 230px;
}
.sp-hero__text { padding: 34px 0; }
.sp-hero__name {
  margin: 0;
  font-family: var(--sp-serif);
  font-size: clamp(22px, 2.7vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--sp-gold-hi);
  background: var(--sp-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
}
.sp-hero__subtitle {
  margin: 10px 0 0;
  color: var(--sp-text);
  font-size: clamp(12.5px, 1.25vw, 15px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
/* Altın elmaslı ayraç (hedef sitedeki kartların süslemesi gibi) */
.sp-hero__text::after {
  content: "\25C6";
  display: block;
  width: 120px;
  margin-top: 14px;
  color: var(--sp-gold);
  font-family: var(--sp-sans);
  font-size: 9px;
  line-height: 12px;
  text-align: center;
  background: linear-gradient(90deg, rgba(217, 169, 78, 0) 0%, rgba(217, 169, 78, 0.9) 42%, rgba(217, 169, 78, 0) 42.5%, rgba(217, 169, 78, 0) 57.5%, rgba(217, 169, 78, 0.9) 58%, rgba(217, 169, 78, 0) 100%) center / 100% 1px no-repeat;
}

.sp-hero__visual {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  align-self: stretch;
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
/* Fotoğrafın arkasında altın ışık */
.sp-hero__visual::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30%;
  width: 70%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(246, 220, 151, 0.22) 0%, rgba(217, 169, 78, 0.08) 40%, transparent 70%);
  pointer-events: none;
}
.sp-hero__ghost {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: var(--sp-serif);
  font-weight: 900;
  font-size: clamp(18px, 3vw, 38px);
  line-height: 0.98;
  letter-spacing: 0.02em;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}
/* Arka plandaki isim yazısı, isim uzunluğuna göre görsel alanına sığacak şekilde ölçeklenir (Cinzel daha geniştir) */
@container (min-width: 1px) {
  .sp-hero__ghost--xs { font-size: min(44px, 13.5cqi); }
  .sp-hero__ghost--s  { font-size: min(44px, 9.6cqi); }
  .sp-hero__ghost--m  { font-size: min(40px, 7.2cqi); }
  .sp-hero__ghost--l  { font-size: min(38px, 5.5cqi); }
  .sp-hero__ghost--xl { font-size: min(34px, 4.2cqi); }
}
.sp-hero__ghost span:nth-child(1) {
  background: var(--sp-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--sp-gold);
  opacity: 0.95;
}
.sp-hero__ghost span:nth-child(2) { color: transparent; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1px rgba(217, 169, 78, 0.45); }
.sp-hero__ghost span:nth-child(3) { color: transparent; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1px rgba(217, 169, 78, 0.2); }
@supports not (-webkit-text-stroke: 1px #fff) {
  .sp-hero__ghost span:nth-child(2) { color: rgba(217, 169, 78, 0.22); }
  .sp-hero__ghost span:nth-child(3) { color: rgba(217, 169, 78, 0.1); }
}
.sp-hero__img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  height: 230px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.6));
}
.sp-hero__visual.is-textonly .sp-hero__ghost span:nth-child(1) { opacity: 0.6; }

/* --------------------------------------------------------------- İçerik bölümleri */
.sp-blocks {
  max-width: var(--sp-max);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 52px) var(--sp-gutter) clamp(36px, 5vw, 64px);
  display: grid;
  gap: clamp(32px, 4.5vw, 56px);
}
.sp-block { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
.sp-block--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.sp-block--img-left .sp-block__media { order: -1; }
.sp-block--text-only .sp-block__text { max-width: 820px; }

.sp-block__text { display: grid; gap: 24px; }
.sp-item__title {
  position: relative;
  margin: 0 0 10px;
  padding-bottom: 10px;
  font-family: var(--sp-serif);
  color: var(--sp-head);
  font-size: clamp(17px, 1.65vw, 21px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.03em;
}
.sp-item__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--sp-gold) 0%, rgba(217, 169, 78, 0) 100%);
}
.sp-rich { font-weight: 500; }
.sp-rich p { margin: 0 0 0.8em; }
.sp-rich p:last-child { margin-bottom: 0; }
.sp-rich ul, .sp-rich ol { margin: 0 0 0.8em; padding-left: 1.3em; }
.sp-rich li { margin: 0.2em 0; }
.sp-rich li::marker { color: var(--sp-gold); }
.sp-rich strong { color: #fff1df; font-weight: 700; }
.sp-rich a {
  color: var(--sp-gold-hi);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(246, 220, 151, 0.5);
  transition: text-decoration-color 0.15s ease, color 0.15s ease;
}
.sp-rich a:hover { color: #fff; text-decoration-color: var(--sp-gold-hi); }
.sp-rich a:focus-visible { outline: 1px solid var(--sp-gold); outline-offset: 2px; border-radius: 2px; }

/* Fotoğraf: hedef sitedeki kartlar gibi yuvarlak köşe + ince altın çerçeve */
.sp-block__media {
  margin: 0;
  position: relative;
  border-radius: var(--sp-radius);
  overflow: hidden;
  background: #2a0609;
  box-shadow:
    0 0 0 1px rgba(217, 169, 78, 0.45),
    0 0 0 5px rgba(10, 5, 5, 0.6),
    0 22px 44px -18px rgba(0, 0, 0, 0.85),
    0 0 40px -10px rgba(176, 22, 32, 0.45);
  isolation: isolate;
}
.sp-block__media img { width: 100%; height: auto; }

/* Ayarlardan açılan “tek renk” görünüm: siyah-beyaz fotoğraf + bordo ton */
.is-mono .sp-block__media img { filter: grayscale(1) contrast(1.12) brightness(0.86); }
.is-mono .sp-block__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #9b1620;
  mix-blend-mode: color;
  opacity: 0.3;
  pointer-events: none;
}

/* --------------------------------------------------------------- Alt bant (CTA) */
.sp-cta {
  position: relative;
  background:
    radial-gradient(60% 140% at 50% 100%, rgba(176, 22, 32, 0.35) 0%, transparent 70%),
    linear-gradient(180deg, #1d0406 0%, #2a0508 100%);
}
.sp-cta::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--sp-gold-line);
}
.sp-cta__inner {
  max-width: var(--sp-max);
  margin: 0 auto;
  padding: 28px var(--sp-gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 8vw, 110px);
  flex-wrap: wrap;
}
.sp-cta__text {
  margin: 0;
  font-family: var(--sp-serif);
  color: var(--sp-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
}
/* Altın buton (hedef sitedeki altın butonlar gibi) */
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 26px;
  border-radius: 999px;
  background: var(--sp-gold-grad);
  border: 1px solid rgba(255, 236, 180, 0.6);
  color: #2a1404;
  font-family: var(--sp-serif);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 240, 200, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 6px 18px -6px rgba(217, 169, 78, 0.55), 0 0 0 3px rgba(10, 5, 5, 0.55);
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.sp-btn:hover { filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 8px 24px -6px rgba(246, 220, 151, 0.7), 0 0 0 3px rgba(10, 5, 5, 0.55); }
.sp-btn:active { transform: translateY(1px); }
.sp-btn:focus-visible { outline: 2px solid var(--sp-gold-hi); outline-offset: 4px; }
.sp-btn svg { flex: 0 0 auto; opacity: 0.85; }
.sp-btn.is-inactive { cursor: default; }
.sp-btn.is-inactive:hover { filter: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 6px 18px -6px rgba(217, 169, 78, 0.55), 0 0 0 3px rgba(10, 5, 5, 0.55); }
.sp-btn.is-inactive:active { transform: none; }

/* --------------------------------------------------------------- Boş durum / önizleme */
.sp-empty { max-width: 640px; margin: 0 auto; padding: 72px var(--sp-gutter); text-align: center; }
.sp-empty h1 { font-family: var(--sp-serif); color: var(--sp-head); font-size: 22px; margin: 0 0 8px; }
.sp-empty p { margin: 0; color: var(--sp-muted); }

.sp-preview-flag {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--sp-gold-grad);
  color: #2a1404;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 12px;
}

/* --------------------------------------------------------------- Mobil / dar iframe */
@media (max-width: 760px) {
  .sp-tabs__track { justify-content: flex-start; }
  .sp-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 48%); min-height: 180px; }
  .sp-hero__text { padding: 22px 0; }
  .sp-hero__text::after { width: 90px; margin-top: 12px; }
  .sp-hero__visual { min-height: 180px; }
  .sp-hero__img { height: 180px; }

  .sp-block--split { grid-template-columns: 1fr; }
  .sp-block--split .sp-block__media { order: -1; }
  .sp-block__text { gap: 20px; }

  .sp-cta__inner { flex-direction: column; gap: 14px; text-align: center; padding: 24px var(--sp-gutter) 28px; }
  .sp-btn { width: 100%; max-width: 360px; }
}

@media (max-width: 420px) {
  .sp-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); min-height: 156px; }
  .sp-hero__visual { min-height: 156px; }
  .sp-hero__img { height: 156px; }
  .sp-hero__name { font-size: 19px; }
  .sp-hero__subtitle { font-size: 11.5px; letter-spacing: 0.1em; }
  .sp-tab { padding: 13px 12px 12px; font-size: 12.5px; }
}

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

@media print {
  .sp-tabs, .sp-cta { display: none; }
  body.sp { background: #fff; color: #000; }
}
