/* Conquerors web sitesi: oyunun menüleriyle aynı his — koyu lacivert, altın, bordo. */
:root {
  --bg: #0b1220;
  --bg-2: #101a2c;
  --panel: #142036;
  --panel-2: #1a2842;
  --line: rgba(212, 175, 55, 0.22);
  --gold: #d4af37;
  --gold-2: #f0d27a;
  --red: #7a1f26;
  --text: #e7e2d6;
  --muted: #a8a397;
  --radius: 10px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  --serif: "Cinzel", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 32px); }

/* ---------------------------------------------------------------- navigation */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: linear-gradient(to bottom, rgba(8, 13, 24, 0.95), rgba(8, 13, 24, 0.75));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { width: min(1180px, 100% - 32px); margin-inline: auto; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav__brand img { height: 40px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__links a:not(.btn) { color: var(--text); font-weight: 500; font-size: 15px; }
.nav__links a:not(.btn):hover { color: var(--gold-2); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--gold); transition: transform .2s, opacity .2s; }
.lang {
  background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 6px;
  padding: 4px 10px; font: 600 13px var(--sans); cursor: pointer;
}
.lang:hover { color: var(--gold-2); border-color: var(--gold); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 8px;
  background: linear-gradient(180deg, #e2c25a, #b8912a);
  color: #1a1305; font-weight: 700; letter-spacing: .02em;
  border: 1px solid #f3dc8c; box-shadow: 0 6px 18px rgba(212, 175, 55, 0.25);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn:hover { color: #1a1305; transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 10px 24px rgba(212, 175, 55, 0.35); }
.btn--ghost { background: rgba(10, 16, 28, 0.55); color: var(--text); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { color: var(--gold-2); border-color: var(--gold); }
.btn--small { padding: 8px 16px; font-size: 14px; }
.btn--disabled { background: var(--panel-2); color: var(--muted); border-color: var(--line); box-shadow: none; pointer-events: none; }
.btn__meta { font-weight: 500; opacity: .75; font-size: 12px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 92vh; display: grid; align-items: end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 35%; transform: scale(1.04); animation: drift 30s ease-in-out infinite alternate; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(to top, var(--bg) 0%, rgba(11, 18, 32, 0.6) 40%, rgba(11, 18, 32, 0.15) 75%),
  linear-gradient(to right, rgba(11, 18, 32, 0.85) 0%, rgba(11, 18, 32, 0) 65%); }
.hero__content { position: relative; width: min(1180px, 100% - 32px); margin: 0 auto; padding: 140px 0 72px; max-width: 1180px; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 600; margin: 0 0 12px; }
.hero__title { font: 700 clamp(40px, 7vw, 84px)/1.05 var(--serif); margin: 0 0 18px; text-shadow: 0 4px 24px rgba(0, 0, 0, .6); max-width: 14ch; }
.hero__lead { max-width: 58ch; font-size: clamp(16px, 2vw, 19px); color: #ddd6c6; margin: 0 0 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 36px; margin: 44px 0 0; padding: 0; }
.stats li { display: flex; flex-direction: column; }
.stats strong { font: 700 28px var(--serif); color: var(--gold-2); }
.stats span { color: var(--muted); font-size: 14px; }
@keyframes drift { to { transform: scale(1.1) translate(-1.5%, -1%); } }

/* ---------------------------------------------------------------- sections */
.section { padding: 96px 0; }
.section--dark { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid rgba(255, 255, 255, 0.03); }
.section__title { font: 700 clamp(28px, 4vw, 40px) var(--serif); margin: 0 0 10px; color: #f4ecd6; }
.section__title::after { content: ""; display: block; width: 64px; height: 2px; margin-top: 14px; background: linear-gradient(90deg, var(--gold), transparent); }
.section__lead { color: var(--muted); max-width: 68ch; margin: 0 0 40px; }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: rgba(212, 175, 55, 0.5); }
.card__img { aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.card__body { padding: 18px 20px 22px; }
.card h3 { font: 700 19px var(--serif); margin: 0 0 8px; color: var(--gold-2); }
.card p { margin: 0; color: #cfc9ba; font-size: 15px; }
.ticks { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; }
.ticks li { padding-left: 28px; position: relative; color: #d6d0c1; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 10px; height: 10px; transform: rotate(45deg); background: var(--gold); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 28px 16px 12px; background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent); font-size: 14px; color: #eee6d2; }

/* versions */
.versions { display: grid; gap: 16px; }
.version { display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.version--latest { background: linear-gradient(135deg, #1d2b47, #141f35); border-color: rgba(212, 175, 55, 0.55); box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.15), var(--shadow); }
.version__name { font: 700 24px var(--serif); color: #f4ecd6; margin: 0; }
.version__badge { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: var(--red); color: #f6dada; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.version__meta { color: var(--muted); font-size: 14px; margin-top: 6px; }
.version ul { margin: 0; padding-left: 18px; color: #d6d0c1; }
.version li + li { margin-top: 4px; }
.version__actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 170px; }
.version__hash { font: 11px/1.3 ui-monospace, Consolas, monospace; color: var(--muted); word-break: break-all; max-width: 220px; }
.version details { grid-column: 2 / 3; }

/* install steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(s); font: 700 30px var(--serif); color: var(--gold); }
.steps strong { font-size: 17px; }
.steps span { color: var(--muted); font-size: 15px; }

/* faq */
details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; position: relative; padding-right: 48px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 22px; transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { margin: 0; padding: 0 22px 20px; color: #cfc9ba; }

/* call to action */
.cta { position: relative; padding: 110px 0; text-align: center; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(11, 18, 32, .4), var(--bg) 75%); z-index: 1; }
.cta__content { position: relative; z-index: 2; width: min(720px, 100% - 32px); margin: 0 auto; }
.cta h2 { font: 700 clamp(28px, 4vw, 42px) var(--serif); margin: 0 0 8px; }
.cta p { color: #d8d1c0; margin: 0 0 28px; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.socials a { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 8px; background: rgba(20, 32, 54, 0.85); border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.socials a:hover { border-color: var(--gold); color: var(--gold-2); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.socials__empty { color: var(--muted); font-size: 14px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; background: #080d18; }
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.footer__logo { height: 44px; width: auto; opacity: .9; margin-bottom: 6px; }
.footer p { margin: 0; color: var(--muted); font-size: 14px; }
.footer__note { font-size: 12px !important; max-width: 60ch; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(4, 7, 14, 0.94); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 82vh; border-radius: 8px; border: 1px solid var(--line); }
.lightbox__caption { margin: 12px 0 0; color: var(--muted); text-align: center; }
.lightbox__close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: var(--text); font-size: 38px; cursor: pointer; line-height: 1; }

/* ---------------------------------------------------------------- tablet / phone */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .version { grid-template-columns: 1fr; gap: 14px; }
  .version__actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .version details { grid-column: auto; }
}
@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8, 13, 24, 0.98); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    display: none;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
  .nav__links .btn, .nav__links .lang { margin-top: 12px; justify-content: center; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 88vh; }
  .hero__content { padding: 110px 0 48px; }
  .stats { gap: 22px; }
  .section { padding: 64px 0; }
  .cards, .gallery, .steps, .ticks { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none; }
  * { transition: none !important; }
}
