/* AUREN — layout, responsive, extra animations */

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes slidein { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes route-in { from { transform: translateY(10px); } to { transform: translateY(0); } }

.route-in { animation: route-in .4s var(--ease) both; }

#root { min-height: 100vh; }

.au-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.au-btn:active { transform: translateY(0); }
.au-panel-hover { transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.au-panel-hover:hover { border-color: var(--line-cyan); transform: translateY(-3px); box-shadow: 0 10px 40px rgba(0,0,0,0.3), var(--glow-soft); }

.hero-canvas-wrap { pointer-events: none; }

/* node table grid */
.node-row {
  display: grid;
  grid-template-columns: 1.4fr 1.3fr 1fr 1fr 1.1fr 0.7fr 0.8fr 0.4fr;
  gap: 14px; align-items: center; padding: 14px 22px;
  border-top: 1px solid var(--line);
}
.node-head { border-top: none; }

select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239AA9B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px !important; }
option { background: var(--surface-2); color: #fff; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .token-grid, .wallet-top, .explorer-grid, .stake-grid, .uc-wrap { grid-template-columns: 1fr !important; }
  .feat-grid, .how-grid, .road-grid, .live-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .how-line { display: none !important; }
  .dash-main { grid-template-columns: 1fr !important; }
}

@media (max-width: 860px) {
  .mk-links, .mk-cta { display: none !important; }
  .mk-burger { display: block !important; }
  .app-burger { display: block !important; }
  .top-search { display: none !important; }
  .auth-shell { grid-template-columns: 1fr !important; }
  .auth-brand { display: none !important; }
  .ps-grid, .settings-grid { grid-template-columns: 1fr !important; }
  .dash-stats { grid-template-columns: repeat(2, 1fr) !important; }
  .dash-net { grid-template-columns: repeat(2, 1fr) !important; }
  /* sidebar -> drawer */
  .app-sidebar {
    position: fixed !important; left: 0; top: 0;
    transform: translateX(-100%); transition: transform .3s var(--ease);
  }
  .app-sidebar.open { transform: translateX(0); }
  .node-row { grid-template-columns: 1.4fr 1fr 1fr 0.5fr; }
  .node-row > *:nth-child(5), .node-row > *:nth-child(6), .node-row > *:nth-child(7) { display: none; }
}

@media (max-width: 560px) {
  .feat-grid, .how-grid, .road-grid, .live-grid, .dash-stats, .dash-net { grid-template-columns: 1fr !important; }
  .node-row { grid-template-columns: 1.6fr 1fr 0.5fr; }
  .node-row > *:nth-child(2) { display: none; }
}

/* hide sidebar overlay on desktop */
@media (min-width: 861px) { .side-overlay { display: none !important; } }
