/* --- hero ----------------------------------------------------------------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(224, 168, 58, .28), transparent 60%),
    linear-gradient(180deg, var(--forest-900) 0%, var(--forest-800) 55%, var(--forest-700) 100%);
  padding: 5.5rem 0 7.5rem;
}
.hero::after { /* linia horyzontu z sylwetkami wzgorz */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23f6f0e2' d='M0 90V52c120-34 220-34 340-6s230 30 360-8 250-36 380-2 240 30 360-6v60z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.hero .eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 600; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.12; margin: .6rem 0 1.2rem; }
.hero h1 span { color: var(--gold); }
.hero .lead { color: #d3dfd6; max-width: 34rem; font-size: 1.2rem; }
.hero .cta-note { color: #a9bbb0; font-size: .9rem; margin-top: .9rem; }

/* karta ze stanem osady - "podglad" gry */
.settlement-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px; padding: 1.4rem 1.5rem; backdrop-filter: blur(4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.settlement-card h2 { font-size: 1.15rem; color: var(--gold); margin: 0 0 .2rem; }
.settlement-card .coords { color: #a9bbb0; font-size: .85rem; margin-bottom: 1rem; }
.res-row { display: flex; align-items: center; margin-bottom: .75rem; }
.res-row .label { width: 5.2rem; color: #d3dfd6; font-size: .9rem; }
.res-row .bar { flex: 1; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.res-row .bar i { display: block; height: 100%; border-radius: 4px; }
.res-row .val { width: 4.2rem; text-align: right; font-variant-numeric: tabular-nums; font-size: .9rem; }
.bar .wood { background: #b5793c; } .bar .stone { background: #9aa5ad; } .bar .food { background: #a7c957; }
.queue-item {
  margin-top: 1.1rem; padding-top: 1rem; border-top: 1px dashed rgba(255, 255, 255, .2);
  font-size: .9rem; color: #d3dfd6;
}
.queue-item strong { color: #fff; }
.queue-item .timer { float: right; color: var(--gold); font-variant-numeric: tabular-nums; }

/* --- sekcje --------------------------------------------------------------- */
.section { padding: 4.5rem 0; }
.section h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 700; color: var(--forest-800); }
.section .section-lead { color: var(--muted); max-width: 40rem; margin: .6rem auto 0; }
.section-title { text-align: center; margin-bottom: 2.8rem; }

.step { text-align: center; padding: 0 .8rem; }
.step .num {
  width: 3.2rem; height: 3.2rem; line-height: 3.2rem; margin: 0 auto 1rem;
  border-radius: 50%; background: var(--forest-800); color: var(--gold);
  font-family: Georgia, serif; font-size: 1.4rem; font-weight: 700;
  box-shadow: 0 0 0 5px rgba(28, 50, 38, .12);
}
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); }

.feature {
  background: #fff; border: 1px solid #e7dfca; border-radius: 12px; padding: 1.5rem;
  height: 100%; transition: transform .15s ease, box-shadow .15s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(28, 50, 38, .12); }
.feature .icon {
  width: 2.8rem; height: 2.8rem; border-radius: 10px; margin-bottom: 1rem;
  background: var(--forest-800); color: var(--gold); display: flex; align-items: center; justify-content: center;
}
.feature .icon svg { width: 1.5rem; height: 1.5rem; }
.feature h3 { font-size: 1.15rem; color: var(--forest-800); }
.feature p { color: var(--muted); margin-bottom: 0; }

.band { background: var(--forest-800); color: #fff; }
.band h2 { color: #fff; }
.band .section-lead { color: #c5d3c9; }
.race {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px; padding: 1.4rem; height: 100%; border-top: 4px solid var(--gold);
}
.race h3 { font-size: 1.25rem; color: #fff; }
.race p { color: #c5d3c9; margin-bottom: .6rem; }
.race .bonus { color: #cfe6a8; font-size: .92rem; font-weight: 600; margin-bottom: .5rem; }
.race .zone { color: var(--gold); font-size: .85rem; letter-spacing: .04em; }
.race.r2 { border-top-color: #6fb3d2; } .race.r3 { border-top-color: #c56b5a; } .race.r4 { border-top-color: var(--moss); }

.soon { color: var(--muted); text-align: center; margin-top: 2.2rem; font-size: .95rem; }
.soon b { color: var(--forest-800); }

.final-cta { text-align: center; padding: 4.5rem 0 5rem; }
.final-cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; color: var(--forest-800); }
.final-cta p { color: var(--muted); }

@media (max-width: 991px) {
  .hero { padding: 3.5rem 0 6rem; }
  .settlement-card { margin-top: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feature { transition: none; }
}

/* TYMCZASOWO: co nowego i historia zmian (index_news.tpl) */
.news .news-latest { max-width: 46rem; margin: 0 auto 2.4rem; background: #fff; border: 1px solid #e7dfca; border-left: 5px solid var(--gold); border-radius: 10px; padding: 1.6rem 1.8rem; box-shadow: 0 10px 26px rgba(28, 50, 38, .08); }
.news .news-latest h3 { color: var(--forest-800); font-size: 1.45rem; margin: .4rem 0 .8rem; }
.news .news-latest li { margin-bottom: .45rem; }
.news .news-badge { display: inline-block; background: var(--gold); color: #24190a; font-weight: 700; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; padding: .15rem .6rem; border-radius: 999px; }
.news .news-date { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.news .news-history-title { text-align: center; font-size: 1.15rem; color: var(--forest-800); margin-bottom: 1rem; }
.news .news-release { max-width: 46rem; margin: 0 auto .6rem; background: #fff; border: 1px solid #e7dfca; border-radius: 8px; padding: .8rem 1.2rem; }
.news .news-release summary { cursor: pointer; font-weight: 600; color: var(--forest-800); }
.news .news-release ul { margin: .7rem 0 0; color: var(--muted); }
