/* Farm Fields Tycoon — strona gry. Kolory z gry (butelkowa zieleń) + złoto zboża. Bez zewnętrznych zasobów. */

:root {
  --bg: #0f3527;
  --bg-deep: #0a251b;
  --panel: #133a2c;
  --panel-2: #1b4a38;
  --edge: rgba(149, 213, 178, 0.35);
  --text: #e7f2ec;
  --muted: #9fc3b0;
  --accent: #2fa36b;
  --accent-light: #7be0aa;
  --gold: #f2b33d;
  --gold-soft: #ffd27a;
  --radius: 12px;
  --max: 1040px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-deep);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--gold-soft); }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; display: block; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

main { flex: 1; }

/* ---------- Pasek języków ---------- */

.top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.top .wrap {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding-top: 12px;
}

.lang {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: rgba(10, 37, 27, 0.7);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.lang[aria-current="page"] { background: var(--accent); border-color: var(--accent-light); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: center;
  background: url("/assets/img/hero.webp") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 37, 27, 0.15) 0%, rgba(10, 37, 27, 0.55) 55%, rgba(10, 37, 27, 0.92) 100%),
              linear-gradient(180deg, rgba(10, 37, 27, 0) 70%, var(--bg-deep) 100%);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 40px;
}

.hero .wrap > * { min-width: 0; }

.hero .logo { width: min(520px, 100%); filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55)); }

.hero-text h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.2;
}

.hero-text p { margin: 0 0 18px; color: var(--text); font-size: 18px; }

.store {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.store img { width: 200px; }



/* ---------- Film (miniatura z linkiem do YouTube — bez osadzania, bez zewnętrznych zasobów) ---------- */

.video {
  position: relative;
  display: block;
  max-width: 820px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  overflow: hidden;
}

.video img { display: block; width: 100%; height: auto; }

.video .play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.video .play::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 24px;
  border-style: solid;
  border-width: 18px 0 18px 28px;
  border-color: transparent transparent transparent #fff;
}

.video:hover .play, .video:focus-visible .play { background: rgba(200, 0, 0, 0.85); }

.video-note { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- Sekcje ---------- */

section { padding: 44px 0; }

.section-title {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
}

.lead { margin: 0 0 24px; color: var(--muted); max-width: 760px; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 18px;
}

.feature h3 { margin: 0 0 6px; font-size: 19px; color: var(--accent-light); }

.feature p { margin: 0; color: var(--text); font-size: 16px; }

.shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.shots figure {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  overflow: hidden;
}

.shots figcaption { padding: 10px 14px; color: var(--muted); font-size: 15px; }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--edge);
  font-size: 15px;
}

.faq details {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 10px;
}

.faq summary { cursor: pointer; font-weight: 700; }

.faq details p { margin: 8px 0 0; color: var(--text); }

.cta {
  text-align: center;
  background: var(--panel);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}

.cta .store { justify-content: center; margin-top: 12px; }

/* ---------- Stopka ---------- */

footer {
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 15px;
}

footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }

footer img { width: 40px; border-radius: 10px; }

footer p { margin: 0; }

/* ---------- Telefon ---------- */

@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero::after { background: linear-gradient(180deg, rgba(10, 37, 27, 0.35) 0%, rgba(10, 37, 27, 0.85) 60%, var(--bg-deep) 100%); }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 64px; }
  .hero .logo { margin: 0 auto; }
  .store { justify-content: center; }
  .features { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
}

@media (min-width: 761px) and (max-width: 980px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
