* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #020302; }
body { font-family: Arial, Helvetica, sans-serif; color: #fff; overflow-x: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-shell { width: 100%; min-height: 100vh; background: #020302; }
.visual { position: relative; width: 100%; line-height: 0; background: #020302; }
.mockup { display: block; width: 100%; height: auto; user-select: none; pointer-events: none; }

/* Click areas are invisible and only handle pointer events.
   Hover/press feedback is deliberately kept away from the button edges,
   so there is no second outline that can drift relative to the artwork. */
.hotspot {
  position: absolute;
  display: block;
  border: 0;
  outline: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  z-index: 5;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.hotspot:focus,
.hotspot:focus-visible {
  outline: 0;
  box-shadow: none;
}

/* Soft INNER highlight only. It fades to transparent well before the baked-in border. */
.hs-buy-top::after,
.hs-buy-hero::after,
.hs-buy-footer::after,
.hs-chart::after,
.hs-view-tokenomics::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 20%;
  bottom: 20%;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 38%,
    rgba(255,255,255,.26) 0%,
    rgba(157,255,105,.13) 34%,
    rgba(116,255,45,.055) 56%,
    rgba(116,255,45,0) 78%);
  filter: blur(2px);
  transition: opacity .12s ease;
}

.hs-buy-top:hover::after,
.hs-buy-hero:hover::after,
.hs-buy-footer:hover::after,
.hs-chart:hover::after,
.hs-view-tokenomics:hover::after {
  opacity: 1;
}

.hs-buy-top:active::after,
.hs-buy-hero:active::after,
.hs-buy-footer:active::after,
.hs-chart:active::after,
.hs-view-tokenomics:active::after {
  opacity: .45;
  background: radial-gradient(ellipse at 50% 52%,
    rgba(0,0,0,.30) 0%,
    rgba(0,0,0,.13) 40%,
    rgba(0,0,0,0) 76%);
}

/* Navigation/copy/gallery controls: no border or rectangle at all;
   just a tiny soft center glow. */
.hs-home::after,
.hs-about::after,
.hs-tokenomics::after,
.hs-roadmap::after,
.hs-memes::after,
.hs-faq::after,
.hs-view-memes::after,
.hs-ca::after {
  content: "";
  position: absolute;
  inset: 28% 14%;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse, rgba(137,255,72,.15), rgba(137,255,72,0) 72%);
  transition: opacity .12s ease;
}
.hs-home:hover::after,
.hs-about:hover::after,
.hs-tokenomics:hover::after,
.hs-roadmap:hover::after,
.hs-memes:hover::after,
.hs-faq:hover::after,
.hs-view-memes:hover::after,
.hs-ca:hover::after { opacity: 1; }
.hs-home:active::after,
.hs-about:active::after,
.hs-tokenomics:active::after,
.hs-roadmap:active::after,
.hs-memes:active::after,
.hs-faq:active::after,
.hs-view-memes:active::after,
.hs-ca:active::after { opacity: .35; }

/* Coordinates mapped to the current 1672×941 mockup. */
.hs-home       { left: 32.2%; top: 1.3%; width: 4.2%; height: 5.4%; }
.hs-about      { left: 37.1%; top: 1.3%; width: 4.7%; height: 5.4%; }
.hs-tokenomics { left: 42.3%; top: 1.3%; width: 7.1%; height: 5.4%; }
.hs-roadmap    { left: 50.6%; top: 1.3%; width: 5.7%; height: 5.4%; }
.hs-memes      { left: 57.4%; top: 1.3%; width: 4.8%; height: 5.4%; }
.hs-faq        { left: 63.4%; top: 1.3%; width: 3.6%; height: 5.4%; }

.hs-buy-top  { left: 83.91%; top: 1.17%; width: 12.98%; height: 5.42%; border-radius: 13px; }
.hs-buy-hero { left: 9.33%; top: 42.62%; width: 15.55%; height: 7.34%; border-radius: 13px; }
.hs-chart    { left: 25.72%; top: 42.62%; width: 10.55%; height: 7.34%; border-radius: 13px; }
.hs-ca       { left: 10.9%; top: 50.55%; width: 28.3%; height: 3.7%; }

.hs-view-tokenomics { left: 9.66%; top: 83.53%; width: 9.26%; height: 3.78%; border-radius: 9px; }
.hs-view-memes      { left: 57.4%; top: 61.5%; width: 7.3%; height: 4.2%; }
.hs-buy-footer      { left: 81.86%; top: 91.07%; width: 14.06%; height: 6.08%; border-radius: 13px; }

/* Social icons exist only when their URL exists in config.js. */
.social-tray {
  position: absolute;
  right: 13.7%;
  top: 1.15%;
  height: 5.4%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(5px, .45vw, 10px);
  z-index: 8;
  line-height: normal;
}
.social {
  display: grid;
  place-items: center;
  width: clamp(27px, 2.45vw, 44px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(130,255,57,.48);
  background: linear-gradient(180deg, rgba(16,20,16,.98), rgba(3,5,3,.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.15),
    0 2px 0 rgba(0,0,0,.85),
    0 0 10px rgba(104,255,31,.10);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.social img { width: 56%; height: 56%; display: block; }
.social:hover {
  transform: translateY(-1px);
  border-color: rgba(130,255,57,.95);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 3px 0 rgba(0,0,0,.9),
    0 0 16px rgba(104,255,31,.28);
}
.social:active { transform: translateY(1px); }
.social.hidden { display: none; }
.social-tray.empty { display: none; }

/* Live contract address overlay. This covers the old mockup placeholder and
   always reflects contractAddress from config.js. */
.ca-display {
  position: absolute;
  left: 11.35%;
  top: 50.75%;
  width: 27.6%;
  height: 3.15%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: .45em;
  padding: 0 .35em;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(7px, .73vw, 13px);
  letter-spacing: -.02em;
  background: linear-gradient(90deg, rgba(3,5,3,.99) 0%, rgba(3,5,3,.97) 91%, rgba(3,5,3,0) 100%);
  pointer-events: none;
}
.ca-prefix { color: #aeb5ad; flex: 0 0 auto; }
.ca-value { color: #78ff32; min-width: 0; overflow: hidden; text-overflow: clip; }
.ca-copy-mark { color: #74ff30; flex: 0 0 auto; font-size: 1.05em; }
.ca-display.empty { display: none; }

.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  background: rgba(7,10,7,.94);
  color: #dfffd2;
  border: 1px solid #67ff1a;
  box-shadow: 0 0 24px rgba(103,255,26,.18);
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.2;
  transition: .22s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.modal { position: fixed; inset: 0; z-index: 40; display: none; }
.modal.open { display: grid; place-items: center; }
.modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.78); backdrop-filter: blur(6px); }
.modal-card {
  position: relative;
  z-index: 2;
  width: min(680px, calc(100% - 32px));
  max-height: min(75vh, 680px);
  overflow: auto;
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(180deg,#101510,#080b08);
  border: 1px solid #35412f;
  box-shadow: 0 0 70px rgba(113,255,30,.16);
  line-height: 1.55;
}
.modal-card h2 { margin: 0 36px 16px 0; font-size: 30px; color: #89ff38; }
.modal-card p, .modal-card li { color: #d6ded2; }
.modal-close {
  position: absolute; right: 14px; top: 10px;
  width: 38px; height: 38px;
  color: #fff; background: transparent; border: 1px solid #364133;
  border-radius: 10px; font-size: 28px; cursor: pointer;
}
.modal-close:hover { border-color: #7dff2b; color: #7dff2b; }

@media (max-width: 760px) {
  .toast { bottom: 18px; width: max-content; max-width: calc(100% - 28px); text-align: center; }
  .modal-card { padding: 22px; }
  .modal-card h2 { font-size: 24px; }
  .social-tray { right: 13.5%; gap: 3px; }
}
