
main { width: min(1280px, calc(100% - 32px)); margin: 0 auto; }
.hero { min-height: 500px; display: grid; align-items: center; position: relative; padding: 70px 0 42px; }
.eagle { position: absolute; left: 4%; top: 14%; font-size: clamp(3.4rem, 7vw, 7rem); filter: drop-shadow(0 14px 20px rgba(0,0,0,.55)); animation: glide 8s ease-in-out infinite; }
.eyebrow { color: var(--brand); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 950; }
h1 { margin: 0; font-size: clamp(3rem, 7vw, 5.9rem); line-height: .94; letter-spacing: -.075em; text-shadow: 0 12px 45px rgba(0,0,0,.5); }
h1 span { color: var(--brand); }
.hero p { max-width: 600px; color: rgba(255,255,255,.9); font-size: 1.12rem; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.preview-grid { display: grid; grid-template-columns: .85fr 1.25fr .8fr; gap: 16px; align-items: start; }
.card { padding: 18px; }
.card h2 { margin: 0 0 8px; font-size: 1.06rem; }
.profile-main { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.avatar { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg,#486f4c,#9bd36f); color: #10220f; font-size: 2rem; font-weight: 950; border: 3px solid rgba(255,255,255,.55); }
.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.stat-grid div { background: rgba(255,255,255,.08); border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.stat-grid strong { display:block; color: var(--brand); font-size:1.35rem; }
.actions { display:grid; gap:8px; }
.actions button { display:grid; grid-template-columns:34px 1fr 18px; gap:10px; width:100%; border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.08); color:#fff; border-radius:13px; padding:12px 14px; text-align:left; cursor:pointer; }
.actions button::after { content:"›"; color:var(--brand); font-weight:950; }
.map-preview { height: 480px; padding:0; overflow:hidden; }
.fake-map { height:100%; background: linear-gradient(135deg, rgba(122,201,67,.28), rgba(20,80,67,.6)), url("https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=1300&q=80") center/cover; position:relative; }
.pin { position:absolute; width:18px; height:18px; border-radius:50%; background:var(--brand); box-shadow:0 0 0 8px rgba(122,201,67,.22); }
.pin.one { left:30%; top:35%; } .pin.two { left:64%; top:50%; } .pin.three { left:50%; top:68%; }
.list { display:grid; gap:10px; }
.item { border-bottom: 1px solid var(--line); padding: 10px 0; }
.item strong { display:block; }
.item span { color:var(--muted); font-size:.86rem; }
.gives { margin: 18px 0 28px; padding: 22px; }
.impact-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:16px; }
.impact-grid div { background:rgba(255,255,255,.08); border:1px solid var(--line); border-radius:16px; padding:14px; }
@keyframes glide { 0%,100%{transform:translate3d(0,0,0) rotate(-4deg)} 50%{transform:translate3d(22px,-12px,0) rotate(3deg)} }
@media (max-width: 1020px) { .preview-grid { grid-template-columns:1fr; } .map-preview{height:420px;} }
@media (max-width: 560px) {
  h1 { font-size: clamp(3rem, 15vw, 4.35rem); line-height:1.03; }
  .stat-grid,.impact-grid{grid-template-columns:1fr;}
  .hero-actions{flex-direction:column;}
  .btn{width:100%;}
}

.map-preview {
  min-height: 480px;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.map-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(5,22,18,.72);
}
.map-headline span {
  color: var(--brand);
  font-weight: 900;
}
#home-map {
  height: 430px;
  width: 100%;
  filter: saturate(.8) brightness(.86);
}
.map-fallback {
  height: 430px;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, rgba(122,201,67,.22), rgba(20,80,67,.72)), url("https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=1300&q=80") center/cover;
}
.leaflet-container {
  background: #17352f;
}
@media (max-width: 1020px) {
  #home-map, .map-fallback { height: 420px; }
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(5,22,18,.66);
  border-bottom: 1px solid var(--line);
}
.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  font-weight: 850;
}
.marker-dot {
  width: 11px;
  height: 11px;
  display: inline-block;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,255,255,.08);
}
.marker-dot.my { background: #7ac943; }
.marker-dot.public { background: #2f80ed; }
.marker-dot.community { background: #56ccf2; }
.marker-dot.rare { background: #f2c94c; }
.marker-dot.group { background: #bb6bd9; }
.marker-dot.alert { background: #eb5757; }
.map-legend-full {
  border-top: 1px solid var(--line);
}
.custom-pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.92);
  box-shadow: 0 0 0 6px rgba(122,201,67,.18), 0 8px 18px rgba(0,0,0,.38);
}
.custom-pin.my { background: #7ac943; }
.custom-pin.public { background: #2f80ed; }
.custom-pin.community { background: #56ccf2; }
.custom-pin.rare { background: #f2c94c; }
.custom-pin.group { background: #bb6bd9; }
.custom-pin.alert { background: #eb5757; }
@media (max-width: 560px) {
  .map-legend { gap: 6px; padding: 8px; }
  .map-legend span { font-size: .72rem; padding: 6px 8px; }
}

/* Mobile + real map fixes */
.fake-map { display: none !important; }
.map-preview {
  min-height: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
}
#home-map {
  height: 430px;
  width: 100%;
  filter: saturate(.82) brightness(.88);
  background: #17352f;
}
.map-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(5,22,18,.72);
}
.map-headline span { color: var(--brand); font-weight: 900; }
.leaflet-container { background: #17352f; }
@media (max-width: 560px) {
  main { width: min(100% - 22px, 1280px); }
  .hero { min-height: 460px; padding: 46px 0 30px; }
  .eagle { font-size: 3.7rem; left: 8%; top: 16%; }
  .eyebrow { font-size: .68rem; line-height: 1.45; letter-spacing: .1em; }
  h1 { font-size: clamp(2.45rem, 12vw, 3.45rem); line-height: 1.05; letter-spacing: -.06em; }
  .hero p { font-size: .98rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .profile-main { align-items: flex-start; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .actions button {
    grid-template-columns: 30px 1fr 18px;
    align-items: center;
    min-height: 56px;
    padding: 10px 12px;
  }
  .actions button br { display: none; }
  #home-map { height: 360px; }
}

/* Guest mode mobile polish */
@media (max-width: 560px) {
  .actions button {
    display: grid;
    grid-template-columns: 34px 1fr 18px !important;
    align-items: center !important;
    min-height: 58px;
    text-align: left;
  }
  .actions button::after {
    align-self: center;
    justify-self: end;
  }
}
