*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e5f1ff;
  background: #020617;
  overflow-x: hidden;
}

/* Fundo gradiente */
.bg-gradient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.25), transparent 55%),
    radial-gradient(circle at top right, rgba(129, 140, 248, 0.18), transparent 55%),
    radial-gradient(circle at bottom, rgba(59, 130, 246, 0.22), transparent 55%);
  opacity: 0.9;
  z-index: -2;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.95));
  z-index: -1;
}

/* Topo */
.top-bar {
  max-width: 1100px;
  margin: 1.5rem auto 0.75rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 0 18px rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
}

.top-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo {
  width: 70px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
  background: #020617;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #e5f1ff;
}

.brand-subtitle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.top-right {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.chip {
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.7);
  background: rgba(15, 23, 42, 0.9);
  padding: 0.35rem 0.9rem;
  font-size: 0.7rem;
  color: #e5f1ff;
  cursor: pointer;
  white-space: nowrap;
}

.chip-outline {
  border-color: rgba(148, 163, 184, 0.6);
  color: #cbd5f5;
}

.chip-soft {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(15, 23, 42, 0.7);
  color: #bfdbfe;
}

/* Layout principal */
.layout {
  max-width: 1100px;
  margin: 1.5rem auto 3rem;
  padding: 0 1rem 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.65), rgba(15, 23, 42, 0.98));
  border-radius: 1.1rem;
  border: 1px solid rgba(30, 64, 175, 0.9);
  padding: 1.3rem 1.4rem 1.1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.35), transparent 60%);
  opacity: 0.9;
  mix-blend-mode: screen;
  pointer-events: none;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #bfdbfe;
  margin-bottom: 0.25rem;
}

.card-subtitle {
  font-size: 0.9rem;
  color: #e5f1ff;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #dbeafe;
  margin-bottom: 0.5rem;
}

.quote {
  font-style: italic;
  color: #e0f2fe;
  border-left: 2px solid rgba(56, 189, 248, 0.7);
  padding-left: 0.6rem;
  margin: 0.7rem 0;
}

.foot-text {
  font-size: 0.7rem;
  opacity: 0.85;
  margin-top: 0.3rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.3rem;
}

.mini-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #bae6fd;
  margin-bottom: 0.35rem;
}

.list {
  list-style: disc;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  color: #dbeafe;
}

.list li + li {
  margin-top: 0.25rem;
}

.tag-row {
  margin-top: 0.9rem;
}

/* Contrato / botões */
.contract-address {
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.78rem;
  padding: 0.5rem 0.7rem;
  border-radius: 0.5rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.7);
  display: inline-block;
  margin: 0.3rem 0 0.7rem;
  word-break: break-all;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.btn {
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  font-size: 0.78rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(to right, #38bdf8, #4f46e5);
  color: #0b1120;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.7);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.8);
  color: #e5f1ff;
}

.badge-verified,
.badge-network {
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: #e0f2fe;
}

.badge-network {
  border-color: rgba(59, 130, 246, 0.7);
  color: #dbeafe;
}

/* Rodapé */
.footer {
  max-width: 1100px;
  margin: 0 auto 2.2rem;
  padding: 0 1rem;
  text-align: center;
  font-size: 0.72rem;
  color: #9ca3af;
}

.footer p + p {
  margin-top: 0.2rem;
}

/* Responsivo */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 1.1rem;
  }

  .top-right {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .layout {
    padding: 0 0.7rem 2rem;
  }

  .top-bar {
    margin: 1rem 0.7rem 0.5rem;
    padding: 0.75rem 0.9rem;
  }

  .card {
    padding: 1.1rem 1rem 1rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}
