/* ==========================================================
   Herakles2 tanıtım — HTML tabanlı sistem bölümleri
   Tüm sınıflar "ft-" önekli; herakles2c70.css ile çakışmaz.
   ========================================================== */

:root {
  --ft-gold: #e9bd6c;
  --ft-gold-2: #c99a4c;
  --ft-gold-dim: #8a6a3a;
  --ft-line: #5a4428;
  --ft-text: #d9c9ae;
  --ft-muted: #9c8a70;
  --ft-card: rgba(22, 15, 10, 0.88);
  --ft-card-2: #1d140d;
}

#images.ft-page {
  width: 100%;
  max-width: 1000px;
  margin: 75px auto 0;
  display: block;
  position: relative;
  background:
    linear-gradient(rgba(24, 19, 15, 0.55), rgba(24, 19, 15, 0.55)),
    url("../images/sistem/doku.webp") center top / 100% auto repeat-y,
    #231d18;
  border-left: 2px solid #5c4526;
  border-right: 2px solid #5c4526;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
  padding-bottom: 40px;
  color: var(--ft-text);
  font-family: Bahnschrift, "Segoe UI", sans-serif;
}

.ft-page img { display: block; max-width: 100%; }

/* ---------- Hero ---------- */
.ft-hero img { width: 100%; height: auto; }
/* Açılış tarihi artık resmin içinde değil, yazı: tarihi değiştirmek için
   index.html / klasik.html içindeki .ft-hero-date metnini düzenlemek yeterli.
   Konum ve boyut afişin kendi genişliğine göre (cqw) ölçeklenir. */
.ft-hero { position: relative; container-type: inline-size; }
.ft-hero-date {
  position: absolute;
  left: 47.8%;
  top: 89.9%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-family: Bahnschrift, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: clamp(12px, 3.6vw, 31px);
  font-size: 3.6cqw;
  letter-spacing: 0.05em;
  line-height: 1;
  /* the gradient only paints inside this box: leave room for the dots of
     İ above the caps and the cedillas of Ç/Ş below, or they come out blank */
  padding: 0.3em 0.1em 0.25em;
  color: #f6ecd4;
  background: linear-gradient(180deg, #fffaf0 0%, #f1e2c2 55%, #cdb68c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.85));
  pointer-events: none;
}

/* ---------- Bölüm başlığı (eski webp bandının CSS hali) ---------- */
.ft-band {
  position: relative;
  margin: 46px 0 34px;
  padding: 14px 16px 12px;
  text-align: center;
  border-top: 2px solid var(--ft-gold-2);
  border-bottom: 2px solid var(--ft-gold-2);
  background: linear-gradient(90deg, rgba(20, 14, 10, 0.95), rgba(52, 38, 24, 0.85) 50%, rgba(20, 14, 10, 0.95));
  box-shadow: 0 0 18px rgba(233, 189, 108, 0.12) inset;
}
.ft-band::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -26px;
  width: 180px;
  height: 28px;
  transform: translateX(-50%);
  background: url("../images/sistem/sus.png") center / contain no-repeat;
  pointer-events: none;
}
.ft-band h2 {
  margin: 0;
  font-family: "Cinzel", "Trajan Pro", Georgia, serif;
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 34px);
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(to bottom, #fff2cf, #e2b764 60%, #b8863d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.8));
}

/* ---------- Genel metin paneli ---------- */
.ft-lead {
  max-width: 820px;
  margin: 0 auto 26px;
  padding: 0 22px;
  text-align: center;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ft-text);
  text-shadow: 0 1px 2px #000;
}
.ft-lead p { display: block; margin: 0 0 10px; }
.ft-lead .ft-accent { color: #e08a3c; }

/* ---------- İmparatorluklar / Karakterler ---------- */
.ft-banners {
  display: flex;
  justify-content: center;
  gap: clamp(40px, 12vw, 140px);
  padding: 0 16px;
}
.ft-banners figure { margin: 0; text-align: center; }
.ft-banners img { width: 160px; height: auto; filter: drop-shadow(0 8px 16px rgba(0,0,0,.7)); transition: transform .35s ease; }
.ft-banners figure:hover img { transform: translateY(-6px); }
.ft-banners figcaption {
  margin-top: 10px;
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 3px;
  color: var(--ft-gold);
}

.ft-chars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px;
}
.ft-chars img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
  transition: transform .35s ease, box-shadow .35s ease;
}
.ft-chars img:hover { transform: translateY(-8px); box-shadow: 0 16px 34px rgba(0,0,0,.8), 0 0 18px rgba(233,189,108,.25); }

/* ---------- Özellik kartı (monitör + metin) ---------- */
.ft-list { display: flex; flex-direction: column; gap: 28px; padding: 0 24px; }

.ft-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 38px;
  padding: 42px 40px;
  background: var(--ft-card);
  border: 1px solid var(--ft-line);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.ft-card.ft-rev .ft-media { order: 2; }

/* Monitör */
.ft-monitor { position: relative; }
.ft-screen-frame {
  position: relative;
  padding: 10px;
  background: linear-gradient(#2a2016, #17110b);
  border: 1px solid #7a5d33;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0, 0, 0, 0.6) inset;
}
.ft-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 5px;
  background: #0c0907;
  cursor: zoom-in;
}
/* Görsel en-boy oranı ne olursa olsun: arkada bulanık kopya, önde tam görüntü */
.ft-screen .ft-blur {
  position: absolute; inset: -20px;
  background-size: cover; background-position: center;
  filter: blur(18px) brightness(0.45) saturate(1.1);
}
.ft-screen img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .45s ease, transform .6s ease;
}
.ft-screen img.ft-on { opacity: 1; transform: scale(1); }
.ft-screen:hover img.ft-on { transform: scale(1.03); }
.ft-zoom {
  position: absolute; right: 10px; bottom: 10px;
  padding: 5px 10px;
  font-size: 12px;
  color: #f3dcae;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(233, 189, 108, 0.35);
  border-radius: 3px;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.ft-screen:hover .ft-zoom { opacity: 1; }
.ft-neck {
  width: 16%; height: 22px; margin: 0 auto;
  background: linear-gradient(90deg, #241a10, #5a4428 50%, #241a10);
}
.ft-base {
  width: 42%; height: 10px; margin: 0 auto;
  border-radius: 3px 3px 6px 6px;
  background: linear-gradient(#3b2c1b, #1a130c);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.7);
}

/* Sahne + yüzen pencereler (dikey / çok pencereli sistemler) */
.ft-stage {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border: 1px solid #5a4428;
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}
.ft-stage-bg {
  position: absolute; inset: -20px;
  background-size: cover; background-position: center;
  filter: blur(8px) brightness(0.45);
}
.ft-stage::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 55% 45%, rgba(233, 189, 108, 0.2), transparent 60%);
  pointer-events: none;
}
.ft-win {
  position: absolute;
  z-index: 1;
  height: auto;
  border: 1px solid var(--ft-gold-2);
  box-shadow: 0 0 22px rgba(233, 160, 60, 0.55), 0 20px 40px rgba(0, 0, 0, 0.8);
  transform: rotate(var(--r, 0deg)) translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: transform .45s ease, opacity .45s ease;
  cursor: zoom-in;
}
.ft-win.ft-on { opacity: 1; pointer-events: auto; transform: rotate(var(--r, 0deg)); }
.ft-win.ft-on:hover { transform: rotate(0deg) scale(1.04); z-index: 3; }

/* PC / Mobil düğmeleri (yalnızca mobil görseli olan kartlarda görünür) */
.ft-devices { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.ft-devices[hidden] { display: none; }
.ft-dev {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #d8c5a2;
  background: rgba(10, 7, 5, 0.6);
  border: 1px solid #5a4428;
  border-radius: 3px;
  cursor: pointer;
  transition: all .25s ease;
}
.ft-dev svg { width: 14px; height: 14px; fill: currentColor; }
.ft-dev:hover:not(:disabled) { border-color: var(--ft-gold-2); color: #fff0cf; }
.ft-dev.ft-on { color: #2a1a08; background: linear-gradient(#f0cd83, #c99a4c); border-color: #f0cd83; }
.ft-dev:disabled { opacity: .35; cursor: not-allowed; }

/* Metin tarafı */
.ft-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.ft-tab {
  padding: 9px 16px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #d8c5a2;
  background: rgba(10, 7, 5, 0.6);
  border: 1px solid #5a4428;
  border-radius: 3px;
  cursor: pointer;
  transition: all .25s ease;
}
.ft-tab:hover { border-color: var(--ft-gold-2); color: #fff0cf; }
.ft-tab.ft-on {
  color: #2a1a08;
  background: linear-gradient(#f0cd83, #c99a4c);
  border-color: #f0cd83;
  box-shadow: 0 0 14px rgba(233, 189, 108, 0.3);
}
.ft-meta {
  margin-bottom: 8px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ft-muted);
}
.ft-title {
  margin: 0 0 16px;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ft-gold);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.ft-desc { font-size: 16px; line-height: 1.65; color: var(--ft-text); }
.ft-desc p { display: block; margin: 0 0 12px; }
.ft-desc [data-pane] { display: none; }
.ft-desc [data-pane].ft-on { display: block; animation: ftFade .4s ease; }
.ft-note {
  margin-top: 16px;
  padding: 15px 18px;
  font-size: 15px;
  line-height: 1.55;
  color: #eadbc0;
  background: rgba(58, 42, 26, 0.55);
  border-left: 3px solid var(--ft-gold-2);
  border-radius: 0 4px 4px 0;
}
@keyframes ftFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- Eventler ---------- */
.ft-events {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}
.ft-event {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 15px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase;
  color: #f1e3c6;
  background: linear-gradient(90deg, rgba(10, 7, 5, 0.85), rgba(40, 29, 18, 0.7));
  border: 1px solid #4a3822;
  border-radius: 4px;
  transition: border-color .25s, transform .25s;
}
.ft-event:hover { border-color: var(--ft-gold-2); transform: translateX(4px); }
.ft-event i { font-style: normal; color: var(--ft-gold); font-size: 13px; min-width: 24px; }

/* ---------- Zindanlar ---------- */
.ft-dungeons { padding: 0 20px; }
.ft-dungeons img {
  width: 100%; height: auto;
  cursor: zoom-in;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.7));
  transition: transform .35s ease;
}
.ft-dungeons img:hover { transform: scale(1.015); }

/* ---------- Dönüşümler ---------- */
.ft-trans { padding: 0 24px; }
.ft-trans .ft-tabs { justify-content: center; }
.ft-trans-pane { display: none; }
.ft-trans-pane.ft-on { display: block; animation: ftFade .4s ease; }
.ft-row { margin-bottom: 22px; }
.ft-row h4 {
  margin: 0 0 10px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ft-gold);
  text-align: center;
}
.ft-trans-title {
  margin: 4px 0 18px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  color: #f3dcae;
}
.ft-icons {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 6px;
  padding: 10px;
  background: rgba(8, 10, 12, 0.7);
  border: 1px solid #2c3a3e;
  border-radius: 4px;
}
/* İkonlar 32px genişlikte; 1.25x büyütülerek gösterilir */
.ft-icons img {
  width: 48px; height: auto;
  box-sizing: border-box;
  padding: 4px;
  background: #0b0d0f;
  border: 1px solid #3e8a95;
  border-radius: 3px;
  transition: transform .2s, box-shadow .2s;
}
.ft-icons img:hover { transform: scale(1.3); position: relative; z-index: 2; box-shadow: 0 0 12px rgba(94, 200, 214, .6); }

.ft-farm { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.ft-farm-item {
  padding: 12px;
  text-align: center;
  background: rgba(8, 10, 12, 0.7);
  border: 1px solid #2c3a3e;
  border-radius: 4px;
}
.ft-farm-item h4 { margin-bottom: 12px; font-size: 13px; }
.ft-farm-item .ft-pair { display: flex; align-items: center; justify-content: center; gap: 12px; }
.ft-farm-item img { max-height: 110px; width: auto; padding: 4px; background: #0b0d0f; border: 1px solid #3e8a95; border-radius: 3px; }
.ft-farm-item span { color: #7fd3de; font-weight: 700; font-size: 20px; }

/* ---------- Lightbox ---------- */
.ft-lightbox {
  position: fixed; inset: 0;
  z-index: 100000;
  display: flex; align-items: center; justify-content: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
  cursor: zoom-out;
}
.ft-lightbox.ft-on { opacity: 1; visibility: visible; }
.ft-lightbox img {
  max-width: 100%; max-height: 100%;
  border: 1px solid var(--ft-gold-dim);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.9);
}

/* ---------- Kaydırınca belirme ---------- */
.ft-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.ft-reveal.ft-in { opacity: 1; transform: none; }

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .ft-list { padding: 0 12px; }
  .ft-card { grid-template-columns: 1fr; gap: 26px; padding: 24px 18px; }
  .ft-card.ft-rev .ft-media { order: 0; }
  .ft-chars { grid-template-columns: repeat(2, 1fr); }
  .ft-events { grid-template-columns: 1fr; }
  .ft-banners img { width: 120px; }
  .ft-trans { padding: 0 10px; }
  .ft-icons img { width: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .ft-reveal { opacity: 1; transform: none; transition: none; }
}
