:root {
  color-scheme: light;
  --cream: #fbf7ee;
  --ink: #11130f;
  --green: #258319;
  --green-dark: #17620e;
  --yellow: #f7c928;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #eee9df; }
body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at 50% 0, #fff 0, #f4efe5 60%, #e6dfd3 100%);
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  justify-content: center;
  padding: 0;
  color: var(--ink);
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: #111;
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }
.page-shell {
  width: min(1122px, 100vw);
  position: relative;
  line-height: 0;
  background: #f8f3e9;
  box-shadow: 0 20px 70px rgba(31, 28, 20, .16);
  overflow: hidden;
}
.site-image { width: 100%; height: auto; display: block; user-select: none; }
.hotspot {
  position: absolute;
  display: block;
  border: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
  z-index: 4;
  border-radius: 14px;
  transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.hotspot:hover { background: rgba(255,255,255,.12); box-shadow: 0 0 0 3px rgba(37,131,25,.22); }
.hotspot:active { transform: scale(.985); }
.hotspot:focus-visible,
.contract-button:focus-visible,
.dialog-close:focus-visible,
.dialog-actions a:focus-visible {
  outline: 4px solid rgba(0, 128, 0, .78);
  outline-offset: 3px;
}
/* Percent positions based on approved 1122×1402 design */
.buy-top       { left: 80.0%; top: 5.55%; width: 15.2%; height: 3.8%; }
.nav-home      { left: 34.2%; top: 5.65%; width: 7.2%;  height: 2.9%; }
.nav-about     { left: 42.5%; top: 5.65%; width: 8.0%;  height: 2.9%; }
.nav-lore      { left: 51.2%; top: 5.65%; width: 7.2%;  height: 2.9%; }
.nav-community { left: 59.2%; top: 5.65%; width: 12.3%; height: 2.9%; }
.launch-noxa   { left: 7.35%; top: 39.35%; width: 20.9%; height: 4.3%; }
.view-chart    { left: 29.05%; top: 39.35%; width: 16.8%; height: 4.3%; }
.join-x        { left: 7.35%; top: 44.95%; width: 17.6%; height: 4.0%; }
.join-telegram { left: 26.05%; top: 44.95%; width: 20.7%; height: 4.0%; }
.social-x      { left: 7.45%; top: 49.55%; width: 15.0%; height: 3.25%; }
.social-tg     { left: 22.7%; top: 49.55%; width: 18.2%; height: 3.25%; }
.footer-x      { left: 77.9%; top: 93.0%; width: 5.0%; height: 3.4%; }
.footer-tg     { left: 84.3%; top: 93.0%; width: 5.0%; height: 3.4%; }
.footer-rh     { left: 90.6%; top: 93.0%; width: 5.0%; height: 3.4%; }
.contract-panel {
  position: absolute;
  z-index: 6;
  left: 7.45%;
  top: 53.46%;
  width: 38.4%;
  height: 3.68%;
  display: flex;
  align-items: center;
  gap: 1.2%;
  padding: 0.55% 0.75% 0.55% 1.15%;
  border: 1.5px solid #a8b89d;
  border-radius: 13px;
  background: rgba(251,248,240,.985);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
  line-height: 1;
}
.contract-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: clamp(7px, 1.35vw, 16px);
  white-space: nowrap;
}
.contract-label { flex: 0 0 auto; }
.contract-value {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #4d5748;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82em;
}
.contract-panel.live .contract-value { color: #111; }
.contract-button {
  flex: 0 0 auto;
  height: 100%;
  min-width: 22%;
  padding: 0 3.5%;
  border: 2px solid #145a0c;
  border-radius: 9px;
  background: linear-gradient(#43a733, #218417);
  color: #fff;
  font: 800 clamp(7px, 1.18vw, 14px)/1 Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 2px 0 #0f4c09;
}
.contract-button:hover { filter: brightness(1.06); }
.contract-button:active { transform: translateY(1px); box-shadow: 0 1px 0 #0f4c09; }
.footer-copy {
  position: absolute;
  z-index: 6;
  left: 5.1%;
  top: 96.2%;
  width: 26%;
  height: 1.55%;
  display: flex;
  align-items: center;
  background: #fbf7ed;
  font: 600 clamp(5px, .88vw, 10px)/1 Arial, sans-serif;
  line-height: 1;
}
.scroll-point { position: absolute; left: 0; width: 1px; height: 1px; }
.point-top { top: 0; }
.point-lore { top: 26%; }
.point-community { top: 43%; }
.point-about { top: 58%; }
.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(22px);
  background: #111;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font: 800 14px/1 Arial, sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.launch-dialog {
  width: min(460px, calc(100vw - 32px));
  border: 4px solid #111;
  border-radius: 24px;
  padding: 28px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 10px 12px 0 rgba(0,0,0,.18);
  text-align: center;
}
.launch-dialog::backdrop { background: rgba(12,18,10,.68); backdrop-filter: blur(4px); }
.launch-dialog h2 { margin: 8px 0 12px; font-size: 28px; line-height: 1.05; }
.launch-dialog p { margin: 10px 0; font-size: 16px; line-height: 1.45; }
.dialog-warning { color: #9b1b16; }
.dialog-dog { font-size: 54px; line-height: 1; }
.dialog-close {
  position: absolute;
  right: 13px;
  top: 10px;
  border: 0;
  background: transparent;
  font: 700 32px/1 Arial, sans-serif;
  cursor: pointer;
}
.dialog-actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }
.dialog-actions a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid #111;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  color: #111;
  background: #fff;
}
.dialog-actions a:first-child { background: var(--yellow); }
.dialog-actions a:last-child { background: #2d97d5; color: #fff; }
@media (max-width: 600px) {
  body { background: #f8f3e9; }
  .page-shell { box-shadow: none; }
  .hotspot { border-radius: 7px; }
  .contract-panel { border-radius: 6px; border-width: 1px; padding-left: 1%; }
  .contract-copy { gap: 2px; }
  .contract-button { border-width: 1px; border-radius: 4px; box-shadow: 0 1px 0 #0f4c09; }
  .footer-copy { font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
