/* Farm Manager Tycoon Landing Page — 1:1 implementation of the approved visual design */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg-deep: #0e1518;
  --bg-strip: #131b1f;
  --bg-dark: #0f1619;
  --glass: rgba(18, 26, 29, 0.90);
  --glass-border: rgba(124, 150, 156, 0.34);
  --lime: #87e248;
  --lime-2: #68c531;
  --green-btn: linear-gradient(180deg, #74cc34 0%, #4d941e 100%);
  --green-active: linear-gradient(90deg, #549629 0%, #3a6e19 100%);
  --gold: #f5d85a;
  --white: #f4f7f8;
  --muted: #a6b7bc;
  --rust: #ef745c;
  --wrap: 1220px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: Archivo, system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
.ic { width: 1em; height: 1em; fill: currentColor; flex: none; }
.num { font-weight: 800; font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

/* ================= Top Site Nav ================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 64px;
  background: rgba(13, 19, 22, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124, 150, 156, 0.18);
}
.nav-inner {
  max-width: var(--wrap);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-emblem { width: 32px; height: 32px; flex: none; display: inline-flex; }
.brand-emblem svg { width: 100%; height: 100%; display: block; }
.brand-words { display: grid; line-height: 1.04; }
.brand-words b { font-size: 15px; font-weight: 800; color: #ffffff; }
.brand-words small { font-size: 12px; font-weight: 700; color: var(--lime); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a, .nav-link-btn {
  position: relative;
  padding: 6px 2px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color .15s;
}
.nav-links a:hover, .nav-link-btn:hover, .nav-links a.active { color: #ffffff; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
}

.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang {
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(124, 150, 156, 0.34);
  border-radius: 7px;
  background: rgba(22, 31, 35, 0.88);
  color: #e2ecef;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 34px;
  cursor: pointer;
}
.lang option { color: #11171a; background: #fff; }
.btn-ghost {
  height: 36px;
  padding: 0 15px;
  border: 1px solid rgba(124, 150, 156, 0.36);
  border-radius: 7px;
  background: rgba(24, 33, 37, 0.85);
  color: #edf4f6;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.btn-ghost:hover { border-color: var(--lime); background: rgba(33, 46, 51, 0.95); }

.btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid #96ef52;
  border-radius: 7px;
  background: var(--green-btn);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 4px 16px rgba(104, 197, 49, 0.38);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: filter .15s, transform .12s;
}
.btn-green:hover { filter: brightness(1.08); }
.btn-green:active { transform: translateY(1px); }
.btn-green.btn-lg { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 8px; }
.btn-green.btn-xl { height: 52px; padding: 0 32px; font-size: 16.5px; border-radius: 9px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 26px rgba(104, 197, 49, 0.48); }
.play-tri { font-size: 11px; line-height: 1; }

.btn-dark-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(154, 178, 184, 0.36);
  border-radius: 8px;
  background: rgba(16, 23, 26, 0.84);
  backdrop-filter: blur(8px);
  color: #f4f7f8;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s, background .15s;
}
.btn-dark-glass:hover { border-color: var(--lime); background: rgba(24, 34, 38, 0.94); }

/* ================= Hero Section ================= */
.hero {
  position: relative;
  padding: clamp(36px, 4.4vw, 56px) 24px clamp(92px, 10vw, 134px);
  background:
    radial-gradient(ellipse 62% 72% at 22% 38%, rgba(12, 18, 21, 0.78) 0%, rgba(12, 18, 21, 0.34) 62%, transparent 100%),
    linear-gradient(180deg, rgba(12, 18, 21, 0.14) 0%, rgba(12, 18, 21, 0) 64%, rgba(12, 18, 21, 0.24) 100%),
    url("../assets/hero-bg.jpg") center bottom / cover no-repeat;
  border-bottom: 1px solid rgba(124, 150, 156, 0.22);
}
.hero-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.18fr);
  gap: clamp(24px, 3.6vw, 44px);
  align-items: start;
}
.hero-copy { display: grid; gap: 15px; justify-items: start; min-width: 0; padding-top: 8px; }
.hero-pill {
  padding: 5px 12px;
  border: 1px solid rgba(114, 186, 63, 0.58);
  border-radius: 99px;
  background: rgba(22, 39, 21, 0.80);
  color: #9af059;
  font-size: 12px;
  font-weight: 700;
}
.hero-title {
  display: grid;
  font-size: clamp(42px, 4.8vw, 60px);
  font-weight: 850;
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}
.hero-title span { color: #ffffff; }
.hero-title em { font-style: normal; color: var(--lime); }
.hero-desc {
  max-width: 46ch;
  color: #dce6e9;
  font-size: 15.5px;
  line-height: 1.58;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin-top: 2px;
  color: #e4edf0;
  font-size: 13.5px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust i { font-style: normal; color: var(--lime); font-weight: 900; }

/* ================= Framed Interactive Game Preview Window ================= */
.preview-frame {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-rows: 38px minmax(0, 1fr);
  aspect-ratio: 16 / 10.3;
  min-height: 360px;
  border: 1.5px solid rgba(154, 178, 184, 0.48);
  border-radius: 13px;
  background: #11171a;
  overflow: hidden;
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.pv-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  min-width: 0;
  background: linear-gradient(180deg, #1d2629 0%, #131a1d 100%);
  border-bottom: 1px solid #2c383c;
  font-size: 11px;
}
.pv-brand { display: flex; align-items: center; gap: 6px; padding-right: 6px; flex: none; }
.pv-brand svg { width: 20px; height: 20px; }
.pv-brand span { display: grid; line-height: 1; }
.pv-brand b { font-size: 11px; color: #fff; }
.pv-brand small { font-size: 9px; color: var(--lime); font-weight: 700; }

.pv-stats { display: flex; align-items: center; gap: 9px; margin: 0 auto; color: #dce5e8; white-space: nowrap; }
.pv-when, .pv-weather, .pv-clock-wrap { display: inline-flex; align-items: center; gap: 4px; }
.pv-when .ic, .pv-clock-wrap .ic { font-size: 12px; color: var(--muted); }
.pv-weather .ic { font-size: 13px; fill: url(#gold-grad); }
.pv-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.14); }
.pv-clock { font-variant-numeric: tabular-nums; font-weight: 700; }

.pv-right { display: flex; align-items: center; gap: 7px; }
.pv-time {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px 4px;
  border: 1px solid #38474c;
  border-radius: 5px;
  background: #172023;
}
.tbtn {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  font-size: 9.5px;
  color: #d6e1e4;
  cursor: pointer;
}
.tbtn[aria-pressed="true"] { background: var(--green-btn); color: #fff; }
.pips { display: none; }

.cash-wrap { position: relative; }
.cash {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 8px 0 6px;
  border: 1px solid #76aa41;
  border-radius: 5px;
  background: linear-gradient(180deg, #4b6e28 0%, #2a4017 100%);
  color: var(--gold);
  font-size: 11px;
  white-space: nowrap;
}
.cash .ic { font-size: 13px; fill: url(#gold-grad); }
.delta { position: absolute; right: 0; top: 100%; font-size: 10px; color: var(--rust); opacity: 0; }
.delta.show { opacity: 1; }

.pv-body {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  min-height: 0;
}
.pv-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 7px 0;
  background: #12181b;
  border-right: 1px solid #263236;
}
.pv-side-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #b7c6ca;
  font-size: 15px;
  cursor: pointer;
}
.pv-side-btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.pv-side-btn.active, .pv-side-btn[aria-expanded="true"] { background: var(--green-active); color: #fff; }
.pv-side-gold { color: var(--gold); }
.pv-side-last { margin-top: auto; color: #9eb0b5; }
.pv-side .count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 13px;
  height: 13px;
  padding: 0 3px;
  border-radius: 99px;
  background: var(--lime);
  color: #0e1518;
  font-size: 8.5px;
  font-weight: 900;
  line-height: 13px;
}

.map { position: relative; overflow: hidden; background: #232d1c; }
.map > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.light, .glow, .vignette, .marks { position: absolute; inset: 0; pointer-events: none; }
.light { mix-blend-mode: multiply; }
.glow { mix-blend-mode: soft-light; }
.field { fill: transparent; cursor: pointer; transition: fill .15s, stroke .15s; }
.field.sale { stroke: rgba(255, 255, 255, 0.08); stroke-width: 1; }
.field.sale:hover { fill: rgba(244, 214, 88, 0.18); stroke: rgba(255, 240, 175, 0.88); stroke-width: 2; }
.field.own { stroke: rgba(154, 232, 82, 0.36); stroke-width: 1.4; }
.field.own:hover { fill: rgba(135, 226, 72, 0.12); stroke: rgba(166, 255, 89, 0.85); stroke-width: 2; }
.field.selected { fill: rgba(135, 226, 72, 0.14); stroke: #a6ff59; stroke-width: 2.6; filter: drop-shadow(0 0 6px rgba(154, 244, 82, 0.85)); }
.ring-bg { fill: #182225; stroke: #0d1315; stroke-width: 12; }
.ring { fill: none; stroke: #8be04b; stroke-width: 10; stroke-linecap: round; transform-box: fill-box; transform-origin: center; transform: rotate(-90deg); }
.ping { fill: none; stroke: var(--lime); stroke-width: 5; transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-out infinite; }

.badge { position: absolute; display: flex; align-items: center; transform: translate(-4px, -4px) scale(0.76); transform-origin: top left; opacity: 0; transition: opacity .15s; pointer-events: none; }
.badge.is-hover { opacity: 1; }
.badge .no { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green-btn); color: #fff; font-size: 11px; z-index: 1; }
.badge .chip { display: flex; align-items: center; gap: 4px; margin-left: -7px; padding: 3px 7px 3px 11px; border: 1px solid var(--glass-border); border-radius: 0 5px 5px 0; background: var(--glass); font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.badge .chip .ic { font-size: 12px; fill: var(--gold); }
.price { position: absolute; display: flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: 4px; background: rgba(18, 25, 28, 0.92); border: 1px solid rgba(118, 170, 65, 0.65); color: var(--gold); font-size: 9.5px; white-space: nowrap; transform: translate(-50%, -50%); opacity: 0; transition: opacity .15s; pointer-events: none; }
.price.is-hover { opacity: 1; }
.price .ic { font-size: 10px; color: var(--lime); }

.plate {
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: rgba(18, 25, 28, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
}
.inspector, .drawer { position: absolute; z-index: 7; left: 10px; top: 10px; width: min(245px, calc(100% - 20px)); max-height: calc(100% - 88px); overflow: auto; padding: 11px; font-size: 11.5px; }
.inspector[hidden], .drawer[hidden], .coach[hidden] { display: none; }
.head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding-right: 22px; }
.head h3 { font-size: 13.5px; }
.head span { color: var(--muted); font-size: 11px; }
.tile { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 5px; background: #1e292d; font-size: 18px; flex: none; }
.tile .ic { fill: var(--gold); }
.tile.leaf .ic { fill: var(--lime); }
.x { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: 17px; cursor: pointer; }
.x:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.state { color: #d6e1e4; margin-bottom: 8px; font-size: 11.5px; }
.work { display: flex; align-items: center; gap: 8px; margin: 6px 0 8px; padding: 7px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.04); }
.work > .ic { font-size: 20px; fill: var(--lime); flex: none; }
.work-body { flex: 1; min-width: 0; display: grid; gap: 4px; }
.work-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; }
.work-tool { color: var(--muted); font-size: 10px; }
.why { color: var(--rust); font-size: 10.5px; margin-top: 2px; }
.cost b { color: var(--gold); font-size: 16px; margin-right: 6px; }
.cost span { color: var(--muted); font-size: 11px; }
.acts { display: grid; gap: 5px; margin-top: 7px; }
.gbtn { display: flex; align-items: center; gap: 6px; width: 100%; padding: 6px 9px; border: 1px solid #3c4e54; border-radius: 5px; background: #1b262a; color: #fff; font-size: 11px; font-weight: 700; cursor: pointer; }
.gbtn.primary { border-color: #82cc49; background: var(--green-btn); }
.gbtn small { margin-left: auto; opacity: 0.85; }
.meter { height: 6px; border-radius: 99px; background: #263236; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #54a827, #8de34a); }
.meter.mini { height: 4px; }
.drawer h2 { display: flex; align-items: center; gap: 6px; font-size: 14px; margin-bottom: 4px; }
.drawer .lead { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.list { list-style: none; display: grid; gap: 4px; }
.item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 5px; border: 0; border-radius: 5px; background: rgba(255, 255, 255, 0.03); text-align: left; }
button.item { cursor: pointer; }
.item-body { flex: 1; min-width: 0; }
.item-top { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; }
.item p { font-size: 10.5px; color: var(--muted); }
.silo-top { margin-bottom: 5px; font-size: 11px; }
.silo-meter { margin-bottom: 8px; }
.gauges { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 6px; font-size: 10px; margin-top: 4px; }
.prices { width: 100%; border-collapse: collapse; font-size: 11px; }
.prices td { padding: 5px 2px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.prices td:first-child { display: flex; align-items: center; gap: 5px; }
.up { color: var(--lime); }
.down { color: var(--rust); }

.pv-minimap-wrap {
  position: absolute;
  right: 8px;
  bottom: 70px;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  pointer-events: none;
}
.pv-zoom-btns { display: grid; gap: 3px; }
.pv-zoom-btns span {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid var(--glass-border);
  border-radius: 3px;
  background: var(--glass);
  font-size: 11px;
  font-weight: 700;
}
.pv-minimap {
  position: relative;
  width: 96px;
  height: 54px;
  border: 1.5px solid #596c72;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);
}
.pv-minimap img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv-mini-rect { position: absolute; inset: 8px 14px; border: 1.5px solid #ffffff; border-radius: 2px; }

.pv-bottom-hud {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 7px;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  align-items: end;
  gap: 7px;
  pointer-events: none;
}
.pv-hud-card {
  padding: 6px 8px;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  background: rgba(16, 23, 26, 0.92);
  backdrop-filter: blur(6px);
  display: grid;
  align-content: start;
  gap: 5px;
  font-size: 9.5px;
}
.pv-hud-head { display: flex; align-items: center; gap: 4px; color: #e9f0f2; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-bottom: 3px; }
.pv-hud-head .ic { font-size: 10.5px; color: var(--muted); }
.pv-task-row { display: grid; grid-template-columns: 7px 1fr 34px 24px; align-items: center; gap: 4px; padding: 2px 0; }
.pv-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.pv-task-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-store-row { display: flex; justify-content: space-between; gap: 4px; font-weight: 700; padding: 3px 0; white-space: nowrap; }
.pv-store-row span { display: inline-flex; align-items: center; gap: 3px; }
.pv-store-row .ic { font-size: 12px; fill: var(--gold); }
.pv-fin-line { display: flex; justify-content: space-between; font-size: 9px; }
.pv-fin-line.total { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 2px; font-weight: 700; }
.arr-up { font-style: normal; color: var(--lime); }
.arr-down { font-style: normal; color: var(--rust); }
.profit { color: var(--lime); }

.feed { position: absolute; right: 8px; top: 8px; z-index: 8; display: grid; gap: 4px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 6px; padding: 5px 9px; font-size: 11px; }
.toast .ic { font-size: 14px; fill: var(--lime); }

/* ================= 4-Column Feature Strip ================= */
.features-strip {
  background: var(--bg-strip);
  border-bottom: 1px solid rgba(124, 150, 156, 0.16);
  padding: 44px 24px;
}
.wrap { max-width: var(--wrap); margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.feat-item {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
  align-content: start;
}
.feat-ic { width: 38px; height: 38px; display: inline-flex; margin-bottom: 2px; }
.feat-ic svg { width: 100%; height: 100%; display: block; }
.feat-item h2 { font-size: 15.5px; font-weight: 800; color: #ffffff; }
.feat-item p { font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 28ch; }

/* ================= Gameplay Showcase Section ================= */
.gameplay-section {
  padding: clamp(58px, 8vw, 94px) 24px;
  background: radial-gradient(ellipse at 70% 40%, #172429 0%, #0e1518 70%);
}
.gameplay-grid {
  max-width: 1080px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.gameplay-media {
  border-radius: 11px;
  border: 1px solid rgba(124, 150, 156, 0.34);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
.gameplay-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.gameplay-copy { display: grid; gap: 14px; }
.section-eyebrow {
  color: var(--lime);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.gameplay-copy h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #ffffff;
}
.gameplay-lead { color: #b9c8cc; font-size: 15px; line-height: 1.62; }
.gameplay-list { list-style: none; display: grid; gap: 10px; margin-top: 4px; }
.gameplay-list li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; font-weight: 600; color: #e8f0f2; }
.gameplay-list i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(110, 200, 56, 0.2);
  border: 1px solid rgba(135, 226, 72, 0.6);
  color: var(--lime);
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  flex: none;
}

/* ================= Bottom Sunset CTA Banner ================= */
.cta-banner {
  position: relative;
  padding: clamp(68px, 9vw, 108px) 24px;
  text-align: center;
  background:
    radial-gradient(ellipse 68% 72% at 50% 48%, rgba(12, 18, 21, 0.42) 0%, rgba(12, 18, 21, 0.14) 72%),
    linear-gradient(180deg, rgba(14, 21, 24, 0.28) 0%, rgba(14, 21, 24, 0.18) 55%, rgba(12, 18, 20, 0.62) 100%),
    url("../assets/sunset-cta-bg.jpg") center center / cover no-repeat;
  border-top: 1px solid rgba(124, 150, 156, 0.22);
}
.cta-inner { max-width: 680px; margin: 0 auto; display: grid; justify-items: center; gap: 14px; }
.cta-inner h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 850; color: #ffffff; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.65); }
.cta-inner p { font-size: 16px; color: #e4edf0; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75); }
.cta-inner .btn-green { margin-top: 6px; }

/* ================= Footer ================= */
.site-footer {
  background: #0c1214;
  border-top: 1px solid #1e282c;
  padding: 22px 24px;
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a, .footer-links button {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.footer-links a:hover, .footer-links button:hover { color: #ffffff; }
.footer-right { display: flex; align-items: center; gap: 18px; }
.langs { display: inline-flex; gap: 8px; }
.langs button {
  padding: 3px 6px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.langs button[aria-pressed="true"] { border-color: rgba(135, 226, 72, 0.5); color: var(--lime); }
.social-icons { display: inline-flex; gap: 12px; }
.social-icons button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  cursor: pointer;
}
.social-icons button:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.social-icons svg { width: 16px; height: 16px; }

/* ================= Modals (Updates + Calendar / Help / Account) ================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 10, 12, 0.72);
  backdrop-filter: blur(6px);
}
.modal-backdrop[hidden] { display: none; }
.modal-card {
  position: relative;
  width: min(100%, 760px);
  max-height: 88svh;
  overflow: auto;
  padding: 26px 28px;
  display: grid;
  gap: 14px;
}
.modal-card h2 { font-size: 22px; color: #ffffff; padding-right: 34px; }
.modal-card .x { top: 14px; right: 14px; width: 30px; height: 30px; font-size: 21px; }
.modal-desc { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.cal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.region { display: inline-flex; padding: 3px; border-radius: 7px; border: 1px solid var(--glass-border); background: #131b1e; }
.region button { padding: 7px 14px; border: 0; border-radius: 5px; background: none; color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer; }
.region button[aria-pressed="true"] { background: var(--green-btn); color: #ffffff; }
.cal { --label: 142px; padding: 12px 14px; border: 1px solid rgba(124, 150, 156, 0.25); border-radius: 8px; background: rgba(12, 18, 20, 0.75); }
.cal-months, .cal-row { display: grid; grid-template-columns: var(--label) minmax(0, 1fr); align-items: center; }
.months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); padding-bottom: 8px; color: var(--muted); font-size: 11px; }
.m-narrow { display: none; }
.cal-row { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.crop { padding: 8px 8px 8px 0; font-size: 13px; font-weight: 600; }
.track { position: relative; min-height: 32px; background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px); background-size: calc(100% / 12) 100%; }
.span { position: absolute; top: 50%; height: 9px; margin-top: -4.5px; border-radius: 99px; transition: left .4s, width .4s; }
.span.sow { background: linear-gradient(90deg, #54a827, #8de34a); }
.span.harvest { background: linear-gradient(90deg, #d4a22a, #f6e168); }
.legend { display: flex; gap: 18px; color: var(--muted); font-size: 13px; }
.legend span::before { content: ""; display: inline-block; width: 18px; height: 8px; margin-right: 7px; border-radius: 99px; }
.legend .l-sow::before { background: #7ad542; }
.legend .l-harvest::before { background: #f2cf58; }
.modal-actions { display: flex; justify-content: flex-end; margin-top: 4px; }

.notice { position: fixed; z-index: 70; left: 50%; top: 76px; padding: 10px 16px; border: 1px solid #82cc49; border-radius: 8px; background: rgba(18, 25, 28, .96); font-size: 13px; opacity: 0; transform: translate(-50%, -8px); pointer-events: none; transition: opacity .2s, transform .2s; }
.notice.show { opacity: 1; transform: translate(-50%, 0); }

/* ================= Responsive ================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .preview-frame { aspect-ratio: 16 / 10.2; min-height: 300px; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gameplay-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .btn-ghost { display: none; }
  .pv-stats { display: none; }
  .pv-right { margin-left: auto; }
  .pv-minimap-wrap { bottom: auto; top: 8px; right: 8px; }
  .features-grid { grid-template-columns: minmax(0, 1fr); }
  .cal { --label: 96px; }
  .m-short { display: none; }
  .m-narrow { display: inline; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .nav-inner { padding: 0 10px; gap: 6px; }
  .site-brand { gap: 7px; }
  .brand-emblem { width: 26px; height: 26px; }
  .brand-words b { font-size: 13.5px; }
  .brand-words small { display: none; }
  .nav-actions { gap: 6px; }
  .lang { height: 32px; padding: 0 7px; font-size: 11.5px; line-height: 30px; }
  .site-nav .btn-green { height: 32px; padding: 0 10px; font-size: 12px; gap: 5px; }
  .hero { padding: 26px 14px 48px; }
  .preview-frame { aspect-ratio: 16 / 11.2; min-height: 230px; }
  .pv-bar { padding: 0 7px; gap: 5px; height: 34px; }
  .pv-brand b { font-size: 10px; }
  .pv-brand small { display: none; }
  .cash { padding: 0 6px; font-size: 10px; height: 22px; }
  .pv-body { grid-template-columns: 30px minmax(0, 1fr); }
  .pv-side { gap: 2px; padding: 4px 0; }
  .pv-side-btn { width: 22px; height: 22px; font-size: 12.5px; }
  .pv-minimap { width: 66px; height: 38px; }
  .pv-zoom-btns span { width: 15px; height: 15px; font-size: 10px; }
  .pv-bottom-hud { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 5px; left: 6px; right: 6px; bottom: 6px; }
  .pv-hud-card:nth-child(2) { display: none; }
  .pv-hud-card { padding: 5px 6px; font-size: 9px; gap: 3px; }
}
