/* Base Reset */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Noto Sans, "Apple Color Emoji", "Segoe UI Emoji";
  color: #e6e6e6;
  background: #000;
  line-height: 1.6;
}

/* Background Video */
.video-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #000;
}
.video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.8) contrast(1.05) saturate(1.05);
}
.video-bg .video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.35));
  z-index: 1;
}

/* Layout */
.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 10;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.tagline {
  font-size: 12px;
  color: #bdbdbd;
}
.primary-nav { display: flex; gap: 12px; }
.nav-link {
  color: #e6e6e6;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-link:hover { background: rgba(255, 255, 255, 0.12); }

.content {
  padding: 40px 20px 80px;
  max-width: 1080px;
  margin: 0 auto;
}

.card {
  background: rgba(245, 245, 245, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  border-radius: 16px;
}
.hero {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding: 16px;
  background: rgba(245, 245, 245, 0.08);
}
.hero-title { font-size: 56px; margin: 0; letter-spacing: 1px; }
.hero-subtitle { margin: 0; color: #cfcfcf; }

.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}
.btn:hover { background: rgba(255, 255, 255, 0.16); }
.btn-primary { background: rgba(59, 130, 246, 0.25); border-color: rgba(59, 130, 246, 0.4); }
.btn-primary:hover { background: rgba(59, 130, 246, 0.35); }
.btn-secondary { background: rgba(255, 255, 255, 0.1); }
.btn-buy { background: rgba(34, 197, 94, 0.22); border-color: rgba(34, 197, 94, 0.4); }
.btn-buy:hover { background: rgba(34, 197, 94, 0.32); }

.contracts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
.contract-card { padding: 16px; }
.chain { margin: 0 0 8px; font-size: 18px; color: #b9e0ff; }
.address-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.address {
  flex: 1 1 auto;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 6px 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.copy-btn {
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.copy-btn:hover { background: rgba(255, 255, 255, 0.16); }
.actions { margin-top: 12px; }

.disclaimer {
  margin-top: 28px;
  font-size: 12px;
  color: #b3b3b3;
  padding: 14px 16px;
}

.site-footer {
  position: sticky;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 20px;
  color: #bdbdbd;
  font-size: 12px;
}

/* Toast */
#toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 20;
}
#toast.show { opacity: 1; }

.noscript {
  position: fixed;
  inset: 0 0 auto 0;
  background: #111;
  color: #fff;
  padding: 10px 16px;
  text-align: center;
  z-index: 30;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-title { font-size: 42px; }
}
@media (max-width: 720px) {
  .contracts { grid-template-columns: 1fr; }
  .site-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}


