/* Jurassic Wars — sito vetrina */
:root {
  --ink: #2a1b12;
  --amber: #ffa21f;
  --amber-l: #ffd27a;
  --leaf: #4caf50;
  --sand: #f3dfb8;
  --sand-d: #e7c07c;
  --wood: #6b4226;
  --bg: #fff7e8;
  --text: #2a1b12;
  --muted: #6b5640;
  --card: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px;
  border-radius: 12px; border: 3px solid var(--ink); background: linear-gradient(#a8743f, var(--wood));
  color: #fff6e6; font-weight: 800; text-decoration: none; box-shadow: 0 4px 0 var(--ink); cursor: pointer;
  transition: transform .06s; font-size: 16px; font-family: inherit;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn.primary { background: linear-gradient(#ffc04d, #f08a14); color: var(--ink); }
.btn.big { font-size: 19px; padding: 13px 20px; }
.btn.small { font-size: 14px; padding: 7px 12px; border-width: 2px; box-shadow: 0 3px 0 var(--ink); }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; padding: 10px 20px;
  background: rgba(43, 30, 20, .95); color: #fff6e6; border-bottom: 3px solid var(--ink); backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 900; text-decoration: none; font-size: 18px; }
.brand img { border-radius: 8px; border: 2px solid var(--ink); }
.nav nav { display: flex; gap: 16px; margin-left: auto; }
.nav nav a { text-decoration: none; font-weight: 700; opacity: .85; }
.nav nav a:hover { opacity: 1; color: var(--amber-l); }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center;
  padding: 48px max(20px, 6vw) 64px;
  background:
    radial-gradient(ellipse at 80% 110%, #6aa84f 0 30%, transparent 31%),
    linear-gradient(#5aa0d8 0%, #9fd3f2 60%, #e7c07c 60.2%, #d4a862 100%);
  border-bottom: 4px solid var(--ink); position: relative; overflow: hidden;
}
.kicker { margin: 0 0 8px; font-weight: 800; color: #fff; text-shadow: 0 2px 0 var(--ink); text-transform: uppercase; letter-spacing: 1px; font-size: 14px; }
.logo {
  margin: 0; font-weight: 900; line-height: .9; font-size: clamp(54px, 9vw, 112px); color: var(--amber);
  -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; text-shadow: 0 7px 0 var(--ink); transform: rotate(-2deg);
}
.logo span { display: block; color: var(--leaf); font-size: .8em; margin-left: .4em; }
.lead { font-size: 19px; max-width: 34em; background: rgba(255, 247, 232, .92); border: 3px solid var(--ink); border-radius: 16px; padding: 14px 18px; box-shadow: 0 5px 0 var(--ink); margin: 22px 0; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.stores { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.store { background: #111; color: #fff; border-radius: 10px; padding: 7px 12px; font-weight: 700; font-size: 14px; border: 2px solid #444; }

.hero-art { position: relative; display: flex; justify-content: center; }
.phone {
  width: min(560px, 100%); aspect-ratio: 860 / 400; border-radius: 30px; padding: 12px; background: #1a1a1a;
  border: 4px solid var(--ink); box-shadow: 0 10px 0 var(--ink), 0 30px 60px rgba(0,0,0,.35); transform: rotate(2deg);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.hero-dino { position: absolute; right: -10px; bottom: -70px; filter: drop-shadow(0 6px 0 rgba(0,0,0,.15)); }

/* sezioni */
.section { padding: 64px max(20px, 6vw); }
.section.alt { background: var(--sand); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); }
.title { margin: 0 0 8px; text-align: center; font-size: clamp(30px, 5vw, 46px); font-weight: 900; }
.title span { color: var(--amber); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.subtitle { text-align: center; color: var(--muted); margin: 0 auto 28px; max-width: 40em; font-size: 18px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.card { background: var(--card); border: 3px solid var(--ink); border-radius: 18px; padding: 18px; box-shadow: 0 6px 0 var(--ink); }
.card .ico { font-size: 34px; }
.card h3 { margin: 6px 0; }
.card p { margin: 0; color: var(--muted); }

.units { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.unit { background: var(--card); border: 3px solid var(--ink); border-radius: 18px; overflow: hidden; box-shadow: 0 6px 0 var(--ink); display: flex; flex-direction: column; }
.unit-art { background: radial-gradient(ellipse at 50% 90%, #d4a862 0 35%, transparent 36%), linear-gradient(#bfe3f7, #e7c07c); display: flex; justify-content: center; padding: 12px 0 4px; border-bottom: 3px solid var(--ink); }
.unit-body { padding: 14px 16px 16px; }
.unit h3 { margin: 4px 0; }
.unit p { margin: 0 0 10px; color: var(--muted); }
.role { display: inline-block; background: var(--amber); border: 2px solid var(--ink); border-radius: 8px; padding: 0 8px; font-weight: 800; font-size: 13px; }
.stat { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; margin: 4px 0; }
.stat i { height: 10px; background: #eee2c8; border-radius: 6px; border: 2px solid var(--ink); overflow: hidden; }
.stat b { display: block; height: 100%; background: var(--leaf); }
.unit .cost { margin: 10px 0 0; font-weight: 800; color: var(--text); }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.shots figure { margin: 0; background: var(--card); border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 0 6px 0 var(--ink); }
.shots img { aspect-ratio: 860 / 400; object-fit: cover; width: 100%; }
.shots figcaption { padding: 10px 14px; font-weight: 700; }

.factions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.faction { border: 3px solid var(--ink); border-radius: 18px; padding: 18px; box-shadow: 0 6px 0 var(--ink); color: #fff; position: relative; }
.faction h3 { margin: 0 0 6px; }
.faction p { margin: 0 0 12px; opacity: .95; }
.faction.blue { background: linear-gradient(135deg, #2f8cff, #1b4f9c); }
.faction.red { background: linear-gradient(135deg, #ff4a3d, #9c2218); }
.faction.green { background: linear-gradient(135deg, #59b84d, #2e6b25); }
.tag { display: inline-block; background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 8px; padding: 0 8px; font-weight: 800; font-size: 13px; }
.tag.soon { background: var(--amber-l); }

.roadmap { list-style: none; padding: 0; margin: 28px auto 0; max-width: 720px; counter-reset: step; }
.roadmap li { position: relative; padding: 0 0 22px 52px; display: flex; flex-direction: column; }
.roadmap li::before {
  counter-increment: step; content: counter(step); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 900;
}
.roadmap li::after { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 3px; background: var(--ink); }
.roadmap li:last-child::after { display: none; }
.roadmap li.done::before { content: "✓"; background: var(--leaf); color: #fff; }
.roadmap b { font-size: 18px; }
.roadmap span { color: var(--muted); }

.signup { text-align: center; }
.signup-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.signup-form input { padding: 12px 14px; font-size: 16px; border-radius: 12px; border: 3px solid var(--ink); min-width: min(320px, 100%); font-family: inherit; }
.form-msg { min-height: 1.5em; font-weight: 700; color: var(--muted); }

.faq { max-width: 760px; margin: 28px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--card); border: 3px solid var(--ink); border-radius: 14px; padding: 12px 16px; box-shadow: 0 4px 0 var(--ink); }
.faq summary { font-weight: 800; cursor: pointer; }
.faq p { margin: 8px 0 0; color: var(--muted); }

.footer { background: #2b1e14; color: #f3dfb8; text-align: center; padding: 26px 20px; border-top: 4px solid var(--ink); }
.footer p { margin: 4px 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero-dino { display: none; }
  .features, .units, .factions, .shots { grid-template-columns: 1fr 1fr; }
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 560px) {
  .features, .units, .factions, .shots { grid-template-columns: 1fr; }
  .lead { font-size: 17px; }
  .section { padding: 44px 16px; }
}
