/* Empires of Legends tanıtım sayfası — oyun teması: koyu ahşap, altın, parşömen. Dış kaynak yok. */
@font-face { font-family: "Rubik"; src: url("fonts/rubik-500.ttf") format("truetype"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("fonts/rubik-800.ttf") format("truetype"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "Cormorant SC"; src: url("fonts/cormorant-sc-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root { --gold: #e8c26a; --gold-2: #c9a227; --ink: #2b2118; --parch: #f4e6c7; --parch-line: #cfb07a; --wood: #1d140c; --wood-2: #2c1e12; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--wood); color: #f3e7cc; font: 17px/1.6 "Rubik", system-ui, sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--gold); }
h1, h2, h3 { font-family: "Cormorant SC", "Rubik", serif; letter-spacing: .02em; margin: 0; }
.muted { color: #c9b896; }
.small { font-size: 13px; }
.center { text-align: center; }

/* üst menü */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 10px 22px;
  background: linear-gradient(rgba(20,13,7,.92), rgba(20,13,7,.6)); border-bottom: 1px solid rgba(232,194,106,.25); backdrop-filter: blur(6px); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold); font-family: "Cormorant SC", serif; font-size: 24px; font-weight: 700; }
.logo img { width: 40px; height: 40px; }
.nav nav { display: flex; gap: 18px; margin-left: auto; }
.nav nav a { color: #f1e2c2; text-decoration: none; font-weight: 600; }
.nav nav a:hover { color: var(--gold); }
.lang { border: 1px solid var(--gold-2); background: transparent; color: var(--gold); border-radius: 8px; padding: 6px 10px; font: 700 14px "Rubik"; cursor: pointer; }

/* hero */
.hero { min-height: 100vh; display: grid; align-items: center; padding: 110px 22px 60px;
  background: linear-gradient(90deg, rgba(14,9,5,.92) 0%, rgba(14,9,5,.55) 55%, rgba(14,9,5,.2) 100%), url("img/hero.webp") center/cover no-repeat; }
.hero-inner { max-width: 640px; margin-left: max(0px, calc((100vw - 1180px) / 2)); }
.kicker { text-transform: uppercase; letter-spacing: .2em; font-size: 13px; color: var(--gold); margin: 0 0 6px; }
.hero h1 { font-size: clamp(48px, 9vw, 92px); line-height: 1; color: #ffe9b0; text-shadow: 0 4px 0 #6b3d0d, 0 10px 30px rgba(0,0,0,.6); }
.tagline { font-size: clamp(20px, 3vw, 28px); font-weight: 700; color: #fff4dc; margin: 14px 0 8px; }
.lead { color: #e6d6b4; max-width: 560px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: 12px; font-weight: 800; text-decoration: none;
  color: #2b1d0a; border: 2px solid #7a5216; background: linear-gradient(#ffe08a, #e2a92b 55%, #c98a1a); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 3px 0 #5a3a0e; cursor: pointer; font-family: "Rubik"; font-size: 16px; }
.btn:hover { filter: brightness(1.06); }
.store { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 20px; border-radius: 12px; border: 2px dashed var(--gold-2); color: var(--gold); font-weight: 800; }
.stats { list-style: none; padding: 0; margin: 10px 0 0; display: flex; gap: 26px; flex-wrap: wrap; }
.stats b { display: block; font-family: "Cormorant SC", serif; font-size: 40px; color: var(--gold); line-height: 1; }
.stats span { font-size: 14px; color: #d9c8a5; }

/* bölümler */
.section { padding: 90px 22px; max-width: 1240px; margin: 0 auto; }
.section.dark { max-width: none; background: linear-gradient(180deg, var(--wood-2), var(--wood)); border-top: 1px solid rgba(232,194,106,.18); border-bottom: 1px solid rgba(232,194,106,.18); }
.section.dark > * { max-width: 1196px; margin-left: auto; margin-right: auto; }
.ribbon { width: min(560px, 100%); margin: 0 auto 28px; min-height: 92px; display: grid; place-items: center; padding: 0 60px 14px;
  background: url("img/ribbon.webp") center/100% 100% no-repeat; color: #fff6dc; text-align: center; font-size: clamp(24px, 3.4vw, 34px); text-shadow: 0 2px 2px rgba(0,0,0,.45); }
.ribbon.left { margin-left: 0; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { background: var(--parch); color: var(--ink); border: 2px solid var(--parch-line); border-radius: 16px; padding: 22px; box-shadow: 0 0 0 4px rgba(43,29,18,.9), 0 10px 26px rgba(0,0,0,.35); }
.feature img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 10px; }
.feature h3 { color: #7a4a12; font-size: 24px; margin-bottom: 6px; }
.feature p { margin: 0; font-size: 15px; color: #4a3a28; }

.civs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.civ { position: relative; border-radius: 16px; overflow: hidden; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end;
  border: 2px solid var(--gold-2); box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.civ > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.civ:hover > img.bg { transform: scale(1.05); }
.civ .body { position: relative; padding: 18px; background: linear-gradient(transparent, rgba(12,8,4,.92) 40%); }
.civ .head { display: flex; align-items: center; gap: 10px; }
.civ .head img { width: 54px; height: 54px; }
.civ h3 { font-size: 28px; color: #ffe9b0; }
.civ p { margin: 6px 0 0; font-size: 15px; color: #eadbbb; }

.cmds { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.cmd { text-align: center; background: radial-gradient(circle at 50% 30%, #4a3420, #1c130b 70%); border: 2px solid var(--gold-2); border-radius: 16px; padding: 12px 8px 14px; }
.cmd img { height: 230px; width: 100%; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.6)); }
.cmd b { display: block; font-family: "Cormorant SC", serif; font-size: 20px; color: #ffe9b0; margin-top: 6px; line-height: 1.1; }
.cmd span { font-size: 13px; color: #c9b896; }

.split { display: grid; grid-template-columns: 1fr 1.6fr; gap: 30px; align-items: center; }
.split > * { min-width: 0; }
.title { font-size: clamp(30px, 4vw, 44px); color: var(--gold); text-shadow: 0 3px 0 #5a320b; margin-bottom: 10px; }
html, body { overflow-x: hidden; }
.split p { font-size: 18px; color: #e6d6b4; }
.wide { border-radius: 14px; border: 2px solid var(--gold-2); }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery button { padding: 0; border: 2px solid var(--gold-2); border-radius: 12px; overflow: hidden; cursor: zoom-in; background: #000; }
.gallery img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.04); }
dialog { border: 2px solid var(--gold-2); border-radius: 14px; padding: 10px; background: #120c06; max-width: 96vw; }
dialog::backdrop { background: rgba(0,0,0,.8); }
dialog img { max-height: 80vh; margin-bottom: 10px; }

.foot { text-align: center; padding: 50px 22px; border-top: 1px solid rgba(232,194,106,.2); }
.foot img { width: 56px; margin: 0 auto 8px; }
.foot p { margin: 4px 0; }

@media (max-width: 980px) {
  .features, .civs, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { padding: 8px 14px; gap: 10px; }
  .nav nav { display: none; }
  .lang { margin-left: auto; }
  .hero { padding: 90px 16px 40px; background-position: 65% center; }
  .section { padding: 60px 16px; }
  .features, .civs, .gallery { grid-template-columns: 1fr; }
  .cmds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmd img { height: 190px; }
  .ribbon { padding: 0 40px 12px; min-height: 76px; }
}

/* Logo (görsel): şatafatlı altın yazı; hafif parıltı */
.hero-logo { margin: 0; line-height: 0; }
.hero-logo img { width: min(560px, 86vw); height: auto; filter: drop-shadow(0 10px 28px rgba(0,0,0,.55)); animation: logoGlow 4s ease-in-out infinite; }
@keyframes logoGlow { 0%,100% { transform: scale(1); filter: drop-shadow(0 10px 28px rgba(0,0,0,.55)); } 50% { transform: scale(1.02); filter: drop-shadow(0 10px 34px rgba(255,200,90,.35)); } }
@media (prefers-reduced-motion: reduce) { .hero-logo img { animation: none; } }
