/* =========================================================
   ROBINHOG // MINT + TRADE PAGE
========================================================= */

.nav-links a.active { color: var(--green); }

/* ================= MINT ================= */
.mint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.reel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 44px rgba(198, 255, 0, 0.3);
  aspect-ratio: 1 / 1;
}
.reel img#reelImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reel-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--green);
  color: #0a0f04;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 0 16px var(--green-glow);
  animation: badgePulse 1.4s ease-in-out infinite;
}
@keyframes badgePulse { 0%,100% { opacity: 1; } 50% { opacity: 0.55; } }
.reel-caption { text-align: center; color: var(--muted); font-size: 14px; margin: 12px 0 0; }

/* Mint card */
.mint-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
}
.mint-supply {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 1px;
  color: var(--green);
  text-align: center;
}
.supply-bar {
  height: 10px;
  background: rgba(198, 255, 0, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin: 12px 0 24px;
}
.supply-fill {
  height: 100%;
  width: 0%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green-glow);
  transition: width 0.4s ease;
}

.mint-price-row, .qty-row, .total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.total-row { border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.mint-label { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.mint-price, .mint-total {
  font-weight: 800;
  color: var(--text);
  font-size: 18px;
}
.mint-total { color: var(--green); }

.qty-control {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
}
.qty-control button {
  width: 38px; height: 38px;
  background: transparent;
  border: none;
  color: var(--green);
  font-size: 24px;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1;
}
.qty-control button:hover { background: rgba(198, 255, 0, 0.12); }
.qty-control span {
  min-width: 40px;
  text-align: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
}

.mint-btn { width: 100%; font-size: 17px; padding: 16px; }
.mint-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.mint-status {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  min-height: 20px;
  margin: 14px 0 0;
  word-break: break-word;
}
.mint-status.error { color: #ff6b6b; }
.mint-status.success { color: var(--green); }

.mint-badges { justify-content: center; margin-top: 20px; }

/* ---- OpenSea "coming soon" card ---- */
.mint-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}
.soon-pill {
  background: var(--green);
  color: #0a0f04;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: 999px;
  box-shadow: 0 0 16px var(--green-glow);
  margin-bottom: 18px;
}
.mint-soon h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  letter-spacing: 1px;
  color: #fff;
  margin: 0 0 12px;
}
.mint-soon p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.mint-soon .mint-btn { width: 100%; }
.soon-note { font-size: 14px; margin: 16px 0 0 !important; }

/* ================= TRADE ================= */
.trade { text-align: center; }
.trade-card {
  background: radial-gradient(circle at 50% 0%, rgba(198,255,0,0.12), transparent 60%), var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 50px 30px;
  max-width: 680px;
  margin: 0 auto;
}
.trade-logo {
  width: 110px; height: 110px;
  border-radius: 50%;
  box-shadow: 0 0 30px var(--green-glow);
  margin-bottom: 16px;
}
.trade-card p { color: var(--muted); font-size: 17px; margin: 0 0 24px; }
.trade-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ================= RESPONSIVE ================= */
@media (max-width: 820px) {
  .mint-grid { grid-template-columns: 1fr; max-width: 460px; }
  .mint-preview { order: 1; }
  .mint-card { order: 2; }
}
