header p {
  color: #555;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}

main {
  width: 100%;
  max-width: 520px;
  padding: 0 20px;
}

.card {
  background: #12121a;
  border: 1px solid #1e1e2e;
  border-radius: 3px;
  padding: 24px;
  margin-bottom: 16px;
}

.stats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.stat {
  flex: 1;
  text-align: center;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  font-size: 0.7rem;
  color: #555;
  letter-spacing: 0.15em;
  margin-top: 4px;
}

.btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 3px;
  font-family: 'Space Mono', monospace;
  font-size: 1rem;
  cursor: pointer;
  letter-spacing: 0.15em;
  transition: all 0.2s;
}

#connect-btn {
  background: #1e1e2e;
  color: #b066ff;
  border: 1px solid #2a2a3a;
}
#connect-btn:hover { background: #2a2a3a; }

#bless-btn {
  background: linear-gradient(135deg, #6a007c, #3c007c);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}
#bless-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #7c0033, #6a007c);
  transform: translateY(-1px);
}
#bless-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.bless-subtitle {
  text-align: center;
  font-size: 0.7rem;
  color: #666;
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin-top: 14px;
}
.bless-subtitle .sep { color: #b066ff; opacity: 0.55; margin: 0 4px; }

.gas-tip {
  text-align: center;
  font-size: 0.62rem;
  color: #555;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-top: 6px;
}
.gas-tip .sep { color: #b066ff; opacity: 0.45; margin: 0 4px; }

#status {
  text-align: center;
  font-size: 0.8rem;
  color: #555;
  margin-top: 8px;
  min-height: 20px;
}
#status.error { color: #ff6666; }
#status.success { color: #66ffc4; }

.no-wallet {
  text-align: center;
  padding: 40px 20px;
  color: #555;
  font-size: 0.85rem;
  line-height: 1.8;
}
.no-wallet a {
  color: #b066ff;
  text-decoration: none;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.gallery img {
  width: 100%;
  border-radius: 3px;
  image-rendering: pixelated;
  background: #1a1a2a;
}
.gallery-title {
  font-size: 0.75rem;
  color: #444;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.hidden { display: none; }

.next-blessing {
  text-align: center;
  font-size: 0.72rem;
  color: #777;
  letter-spacing: 0.04em;
  margin-top: 14px;
  line-height: 1.6;
}
.next-blessing a { color: #b066ff; text-decoration: none; }
.next-blessing a:hover { text-decoration: underline; }
.next-blessing .est { color: #555; }
.next-blessing.ready { color: #66ffc4; }

.wallet-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #1e1e2e;
  color: #b066ff;
  border: 1px solid #2a2a3a;
  margin-bottom: 8px;
}
.wallet-opt:last-child { margin-bottom: 0; }
.wallet-opt:hover { background: #2a2a3a; }
.wallet-opt img { width: 22px; height: 22px; border-radius: 4px; }

.recent-feed {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
}
.recent-feed a {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid #1e1e2e;
  transition: border-color 0.15s;
}
.recent-feed a:hover { border-color: #3c007c; }
.recent-feed img {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
  background: #1a1a2a;
}

.last-blessing {
  text-align: center;
  font-size: 0.6rem;
  color: #444;
  margin-top: 8px;
}
.last-blessing a { color: #666; text-decoration: none; }
.last-blessing a:hover { color: #b066ff; }

#info {
  text-align: center;
  font-size: 0.6rem;
  color: #444;
  letter-spacing: 0.05em;
  padding: 0 20px 20px;
  line-height: 1.8;
}
#info span { color: #666; }
