/* METIN2 RELOAD · İndirme sayfası (style.css + efektler.css üzerine) */
.download-page { position: relative; isolation: isolate; overflow: hidden; }
.download-page > .hero-embers { position: absolute; inset: 0 0 auto; height: 100vh; z-index: -1; width: 100%; pointer-events: none; }

/* ---------- Kahraman ---------- */
.dl-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 30px; min-height: calc(100vh - var(--header-height)); min-height: calc(100svh - var(--header-height)); padding-block: 30px; }
.dl-copy { animation: dl-in .9s cubic-bezier(.2, .8, .2, 1) .1s both; }
@keyframes dl-in { from { opacity: 0; translate: 0 30px; } }
.dl-copy h1 { margin-top: 16px; font-size: clamp(3.4rem, 8vw, 7rem); line-height: .98; color: #f6ead6; text-shadow: 0 4px 2px #000; }
.dl-copy h1 em {
  font-style: normal;
  background: linear-gradient(180deg, #fff3d6 8%, #f2c46e 46%, #c0611d 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px #ff3c1a55) drop-shadow(0 3px 1px #000);
  text-shadow: none;
}
.dl-lead { margin-top: 18px; max-width: 480px; color: #ddd0bb; font: italic clamp(16px, 1.6vw, 20px)/1.55 var(--serif); }
.dl-main { margin-top: 32px; display: grid; justify-items: start; gap: 18px; }
.dl-button { min-height: 66px; padding-inline: 70px; font-size: 20px; letter-spacing: .08em; }
.dl-button > span > svg { width: 20px; height: 20px; }
.dl-button[aria-disabled="true"] { cursor: default; }
.dl-button[aria-disabled="true"] .option-plate { animation: none; filter: drop-shadow(0 4px 6px #050303e6) saturate(.55) brightness(.8); }
.dl-button[aria-disabled="true"]:hover { transform: none; }
.dl-button.is-ready .option-plate { animation: dl-ready 2s ease-in-out infinite; }
@keyframes dl-ready { 50% { filter: drop-shadow(0 0 18px rgba(255, 80, 30, .85)) drop-shadow(0 4px 6px #050303e6); } }
.dl-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.dl-meta div { padding: 9px 16px; border: 1px solid transparent; border-radius: 4px; background: linear-gradient(180deg, #2a1411, #160a08) padding-box, linear-gradient(180deg, #8d5f24, #3a2410) border-box; }
.dl-meta dt { color: #c0573a; font: 700 9.5px var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.dl-meta dd { display: flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--gold-hi); font: 700 15px var(--serif); }
.dl-meta dd svg { width: 14px; height: 14px; color: #6fb6ff; }
.dl-status { display: flex; align-items: center; gap: 10px; color: var(--muted); font: italic 14px var(--serif); }
.dl-status.ok { color: #f2d58e; }

.dl-stage { position: relative; display: flex; justify-content: center; align-items: flex-end; align-self: stretch; }
.dl-stage .class-figure { position: relative; z-index: 1; width: min(100%, 420px); animation: stage-in 1.1s cubic-bezier(.2, .8, .2, 1) .2s both; }
@keyframes stage-in { from { opacity: 0; translate: 10% 0; scale: 1.1; filter: brightness(.3) blur(6px); } }
.dl-ring { position: absolute; left: 50%; top: 52%; width: min(90%, 460px); aspect-ratio: 1; transform: translate(-50%, -50%); }
.dl-ring i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid #c3944455; }
.dl-ring i:nth-child(1) { inset: 0; border-style: dashed; border-color: #c3944444; animation: ring-spin 60s linear infinite; }
.dl-ring i:nth-child(2) { inset: 9%; border: 2px solid transparent; border-top-color: #ff4a24; border-right-color: #ff4a2466; filter: drop-shadow(0 0 8px #ff3c1a); animation: ring-spin 6s linear infinite; }
.dl-ring i:nth-child(3) { inset: 20%; background: radial-gradient(circle, #ff3c1a33, transparent 65%); border-color: #e9c78b33; animation: ring-pulse 3.4s ease-in-out infinite; }
@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes ring-pulse { 50% { transform: scale(1.06); opacity: .6; } }
.dl-stage::after { content: ''; position: absolute; left: 50%; bottom: 14px; width: 70%; height: 30px; transform: translateX(-50%); border-radius: 50%; border: 1px solid #ff6a3a55; box-shadow: 0 0 34px #ff3c1a66, inset 0 0 22px #ff3c1a44; }

/* ---------- İndirme seçenekleri ---------- */
.mirrors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mirror {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 8px;
  padding: 26px 22px 22px;
  border: 1.5px solid transparent;
  border-radius: 6px;
  background: var(--panel-fill), var(--gold-border);
  box-shadow: 0 14px 34px #000b, inset 0 0 50px #6a0d0626;
  transition: transform .3s ease, box-shadow .3s ease;
}
.mirror:hover { transform: translateY(-5px); box-shadow: 0 18px 40px #000c, 0 0 26px #ff3c1a33, inset 0 0 50px #8a140638; }
.mirror[data-mirror="primary"] { box-shadow: 0 0 0 1px #f2d58e66, 0 14px 34px #000b, 0 0 30px #ff3c1a33, inset 0 0 50px #8a140638; }
.mirror-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #ffe0b0; border: 2px solid transparent; background: radial-gradient(circle at 40% 30%, #5e170c, #1f0604 72%) padding-box, linear-gradient(180deg, #f2d58e, #8d5f24 50%, #c39443) border-box; box-shadow: 0 0 18px #ff3c1a33; }
.mirror-icon svg { width: 22px; height: 22px; filter: drop-shadow(0 0 4px #ff5a2a); }
.mirror h3 { margin-top: 8px; font-size: 21px; color: var(--gold-hi); }
.mirror p { color: var(--muted); font-size: 13.5px; }
.mirror-tag { position: absolute; top: 14px; right: 14px; padding: 3px 8px; border-radius: 2px; background: linear-gradient(180deg, #a3200f, #5a0703); color: #ffe7c6; font: 700 9px var(--sans); letter-spacing: .18em; box-shadow: 0 0 10px #ff3c1a66; }
.mirror .status, .mirror-link { margin-top: auto; padding-top: 0; }
.mirror .status { margin-top: 10px; }
.mirror-link { margin-top: 10px; color: var(--gold-hi); }
.checksum { margin-top: 18px; text-align: center; color: var(--muted); font-size: 13px; word-break: break-all; }
.checksum code { color: var(--gold-hi); }

/* ---------- Kurulum adımları ---------- */
.install { padding-top: 0; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps::before { content: ''; position: absolute; left: 12%; right: 12%; top: 34px; height: 2px; background: linear-gradient(90deg, transparent, #8d5f24 10%, #ff4a24 50%, #8d5f24 90%, transparent); box-shadow: 0 0 10px #ff3c1a55; }
.step { position: relative; display: grid; justify-items: center; text-align: center; gap: 8px; padding: 0 8px; }
.step-no { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 6px; color: #fff1d6; font: 700 26px var(--serif); text-shadow: 0 2px 3px #000; }
.step-no::before { content: ''; position: absolute; inset: 8px; z-index: -1; transform: rotate(45deg); border: 2px solid transparent; background: radial-gradient(circle at 40% 30%, #c0311a, #4a0805 72%) padding-box, linear-gradient(135deg, #f2d58e, #8d5f24 50%, #c39443) border-box; box-shadow: 0 0 22px #ff3c1a66, 0 6px 12px #000; }
.step h3 { font-size: 21px; color: var(--gold-hi); }
.step p { color: var(--muted); font-size: 14px; max-width: 260px; }
.step code, .faq code { color: var(--gold-hi); font-size: 13px; }
.step a, .faq a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Gereksinimler ---------- */
.reqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.req { padding: 28px; border: 1.5px solid transparent; border-radius: 6px; background: var(--panel-fill), var(--gold-border); box-shadow: 0 14px 34px #000b, inset 0 0 50px #6a0d0626; }
.req-best { box-shadow: 0 0 0 1px #f2d58e55, 0 14px 34px #000b, 0 0 30px #ff3c1a2a, inset 0 0 50px #8a140638; }
.req h3 { display: flex; align-items: center; gap: 10px; font-size: 24px; color: var(--gold-hi); }
.req h3 svg { color: #ff7a4a; filter: drop-shadow(0 0 4px #ff3c1a); }
.req dl { margin-top: 16px; }
.req dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid transparent; border-image: linear-gradient(90deg, transparent, #6e4719, transparent) 1; }
.req dt { color: var(--muted); font-size: 14px; }
.req dd { color: var(--ink); font: 700 15px var(--serif); text-align: right; }
.req-note { margin-top: 16px; text-align: center; color: #8f7f69; font: italic 13px var(--serif); }

/* ---------- SSS ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { border: 1.5px solid transparent; border-radius: 6px; background: var(--panel-fill), var(--gold-border); box-shadow: 0 10px 26px #000a; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 64px; padding: 14px 20px; cursor: pointer; list-style: none; color: var(--ink); font: 700 17px/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > span { display: flex; align-items: center; gap: 12px; }
.faq summary > span svg { color: #ff7a4a; filter: drop-shadow(0 0 4px #ff3c1a88); }
.faq summary > svg { color: var(--gold); transition: transform .25s ease; }
.faq details[open] summary { color: var(--gold-hi); }
.faq details[open] summary > svg { transform: rotate(180deg); }
.faq details p { padding: 0 20px 18px 52px; color: var(--muted); font-size: 14.5px; }

.dl-cta { margin-top: clamp(20px, 3vw, 40px); }

/* ---------- Duyarlı ---------- */
@media (max-width: 980px) {
  .mirrors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .steps::before { display: none; }
}
@media (max-width: 820px) {
  .dl-hero { grid-template-columns: 1fr; min-height: 0; text-align: center; padding-top: 34px; }
  .dl-copy { display: grid; justify-items: center; }
  .dl-copy .eyebrow { justify-content: center; }
  .dl-main { justify-items: center; }
  .dl-meta { justify-content: center; }
  .dl-stage { order: -1; height: min(64vw, 380px); }
  .dl-stage .class-figure { width: auto; height: 100%; }
  .reqs { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mirrors, .steps { grid-template-columns: 1fr; }
  .dl-button { padding-inline: 52px; font-size: 17px; min-height: 58px; }
  .faq summary { font-size: 15.5px; padding: 12px 14px; }
  .faq details p { padding: 0 14px 16px; }
  .req { padding: 22px 18px; }
}

/* Yabani haydut grubu (indirme sayfası sahnesi) */
.dl-stage .dl-group { position: relative; z-index: 1; width: min(100%, 470px); aspect-ratio: 900 / 1502; animation: stage-in 1.1s cubic-bezier(.2, .8, .2, 1) .2s both; }
.dl-group img { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 16px 22px #000d) drop-shadow(0 0 22px #ff3c1a33); }
@media (max-width: 820px) { .dl-stage .dl-group { width: auto; height: 100%; } }
