/* =========================================================================
   layout.css - шапка, навигация, hero, секции, футер
   ========================================================================= */

/* ── ШАПКА ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    background      0.45s cubic-bezier(0.23, 1, 0.32, 1),
    border-color    0.45s cubic-bezier(0.23, 1, 0.32, 1),
    backdrop-filter 0.45s ease,
    -webkit-backdrop-filter 0.45s ease;
}

/* Класс добавляется JS при скролле */
.site-header.scrolled {
  background: rgba(10, 10, 12, 0.72);
  border-bottom-color: var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: #fff;
  transition: opacity var(--t-fast);
}
.brand:hover { opacity: 0.85; }

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(184,255,60,0.65));
  line-height: 0;
}

.brand b { color: var(--accent); font-weight: 700; }

/* Навигация - центр */
.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.8rem;
}
.nav a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color var(--t-fast);
}
.nav a:hover,
.nav a.active { color: var(--text); }

/* Правый блок */
.header-right { display: flex; align-items: center; gap: 10px; }

.lang {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}
.lang button {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 6px 10px;
  cursor: pointer;
  transition: var(--t-fast);
}
.lang button.on { background: var(--accent-glow); color: var(--accent); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: var(--header-h);
  overflow: hidden;
}

/* grid removed */

/* (badge styles kept but element is removed from HTML) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border-hi);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative; z-index: 2;
  animation: fadeUp 0.9s var(--t) both;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

#cube-canvas {
  display: block;
  position: relative;
  z-index: 2;
  margin: 18px 0;
}

.hero-wordmark { position: relative; z-index: 2; animation: fadeUp 0.9s 0.1s var(--t) both; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(54px, 8vw, 104px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #fff;
}
.hero-title b { color: var(--accent); font-weight: 700; }
.hero-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 1.8rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  z-index: 2;
}
.scroll-hint span {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.scroll-hint .arrow {
  width: 16px; height: 16px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  animation: bounce 1.6s ease-in-out infinite;
}

/* ── СЕКЦИИ ── */
.section { padding-block: clamp(64px, 10vw, 120px); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 12px; }
.section-head p  { margin-top: 16px; font-size: 17px; }

.placeholder {
  border: 1px dashed var(--border-hi);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: center;
}

/* ── ФУТЕР ── */
.site-footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  border-top: 1px solid var(--border);
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding-block: 6px;
  padding-inline: var(--gutter);
  margin-inline: 0;
  max-width: none;
}
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-dim);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--accent); }
.footer-links a i { font-size: 15px; }
.footer-copy { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

/* ── АНИМАЦИИ ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; transform: scale(0.75); }
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%      { transform: rotate(45deg) translateY(6px); }
}

/* ── ПОДКЛЮЧЁННЫЙ КОШЕЛЁК (адрес) ── */
.wallet-address {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(184,255,60,.08);
  border: 1px solid rgba(184,255,60,.28);
  border-radius: var(--radius-sm);
  color: var(--accent);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.wallet-chip-av {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  width: 20px; height: 20px;
}
.wallet-chip-av svg { display: block; border-radius: 50%; }
.wallet-address:hover {
  background: rgba(184,255,60,.15);
  border-color: rgba(184,255,60,.5);
  box-shadow: 0 0 12px rgba(184,255,60,.12);
}
.wallet-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(184,255,60,.8);
  flex-shrink: 0;
  animation: walletPulse 2.5s ease-in-out infinite;
}
@keyframes walletPulse {
  0%,100% { box-shadow: 0 0 4px rgba(184,255,60,.6); }
  50%      { box-shadow: 0 0 10px rgba(184,255,60,.9); }
}

/* ── ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКА (глобус) ── */
.lang-globe {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted);
  padding: 5px 9px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: color var(--t-fast), border-color var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.lang-globe:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.lang-globe svg { font-size: 15px; flex-shrink: 0; }
.lang-globe--mobile {
  border: none;
  font-size: 16px;
  color: var(--text-dim);
  padding: 8px 0;
  gap: 10px;
}
.lang-globe--mobile svg { font-size: 22px; }
.lang-globe--mobile:hover { color: var(--accent); border: none; }

/* ── БУРГЕР ── */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  transition: border-color var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.burger:hover { border-color: var(--border-hi); }
.burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(0.23,1,0.32,1), opacity 0.2s ease;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── МОБИЛЬНОЕ МЕНЮ ── */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  z-index: 98;
  background: rgba(10,10,12,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  padding: 1.5rem var(--gutter) 2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.23,1,0.32,1);
  overflow-y: auto;
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dim);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color var(--t-fast), padding-left 0.2s ease;
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--accent); padding-left: 8px; }

.mobile-nav-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.mobile-nav a.active .mobile-nav-dot,
.mobile-nav a:hover .mobile-nav-dot { opacity: 1; }

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-nav-footer .btn { justify-content: center; width: 100%; }
.mobile-nav-footer .lang {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  width: fit-content;
}

/* ── АДАПТИВ ── */
/* ── ПОПАП АККАУНТА (wallet.js) ── */
.wm-account {
  position: absolute;
  z-index: 600;
  min-width: 230px;
  background: #18181c;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.2s cubic-bezier(0.23,1,0.32,1);
}
.wm-account.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
/* Блок адреса */
.wm-ac-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 12px;
}
.wm-ac-avatar {
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  width: 40px; height: 40px;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.12);
}
.wm-ac-avatar svg { display: block; }
.wm-ac-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wm-ac-addr {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.wm-ac-wallet {
  font-size: 11px;
  color: var(--muted);
}
.wm-account-sep {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 2px 0;
}
.wm-account-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 9px;
  color: var(--text-dim);
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background 0.13s, color 0.13s;
}
.wm-account-btn:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}
.wm-account-btn--danger { color: #ff6b6b; }
.wm-account-btn--danger:hover {
  background: rgba(255,80,80,0.1);
  color: #ff5050;
}

/* ── ЧИП БАЛАНСА GEM ── */
.gem-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 12px 4px 6px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.gem-chip:hover {
  background: rgba(184,255,60,0.06);
  border-color: rgba(184,255,60,0.3);
}
.gem-chip-icon {
  width: 28px; height: 28px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px rgba(184,255,60,0.5));
}
.gem-chip-amount { color: #fff; letter-spacing: 0.02em; }
.gem-chip:hover .gem-chip-amount { color: var(--accent); }

/* ── КОЛОКОЛЬЧИК УВЕДОМЛЕНИЙ ── */
.notif-bell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  cursor: pointer;
  transition: color var(--t-fast), border-color var(--t-fast);
  flex-shrink: 0;
}
.notif-bell:hover { color: #fff; border-color: var(--border-hi); }

/* ── ПАНЕЛЬ УВЕДОМЛЕНИЙ ── */
.notif-panel {
  position: absolute;
  z-index: 600;
  width: 300px;
  background: #18181c;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.2s cubic-bezier(0.23,1,0.32,1);
  overflow: hidden;
}
.notif-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.notif-head {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.notif-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  gap: 8px;
  color: var(--muted);
}
.notif-empty-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  margin: 0;
}
.notif-empty-sub {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  text-align: center;
}

/* ── МОДАЛ ВЫБОРА КОШЕЛЬКА (wallet.js) ── */
.wm-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.wm-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.wm-box {
  background: #111115;
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  padding: 24px;
  width: min(380px, calc(100vw - 32px));
  transform: translateY(12px);
  transition: transform 0.28s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}
.wm-overlay.open .wm-box {
  transform: translateY(0);
}
.wm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.wm-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.wm-close {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.wm-close:hover { color: #fff; border-color: var(--border-hi); }
.wm-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.wm-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 14px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  transition: background 0.18s, border-color 0.18s;
  position: relative;
  overflow: hidden;
}
.wm-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.09);
  border-color: var(--border-hi);
}
.wm-btn--wc {
  border-color: rgba(59,153,252,0.35);
}
.wm-btn--wc:hover:not(:disabled) {
  border-color: rgba(59,153,252,0.65);
  background: rgba(59,153,252,0.08);
}
.wm-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px; height: 32px;
}
.wm-btn-icon img { border-radius: 8px; }
.wm-btn-name { flex: 1; }
.wm-sub {
  font-size: 12px;
  color: var(--muted);
  margin: -8px 0 16px;
  line-height: 1.5;
}
.wm-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wm-learn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--t-fast);
  width: fit-content;
}
.wm-learn:hover { color: var(--accent); }
.wm-terms {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.wm-terms a {
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t-fast);
}
.wm-terms a:hover { color: var(--accent); }
/* ── WalletConnect loading screen ── */
.wm-wc-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 24px;
  gap: 6px;
}
.wm-wc-logo {
  margin-bottom: 18px;
  opacity: 0.9;
}
.wm-wc-spinner-wrap {
  position: relative;
  width: 52px; height: 52px;
  margin-bottom: 16px;
}
.wm-wc-arc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(59,153,252,0.18);
  border-top-color: #3B99FC;
  animation: wcSpin 0.9s linear infinite;
}
@keyframes wcSpin { to { transform: rotate(360deg); } }
.wm-wc-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.wm-wc-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.wm-more-btn {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  margin-top: 4px;
  transition: background 0.15s, color 0.15s;
}
.wm-more-btn:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.wm-back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0 8px;
  transition: color 0.15s;
}
.wm-back-btn:hover { color: #fff; }
.wm-more-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}
.wm-no-wallet {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  padding: 12px 0;
  line-height: 1.7;
}
.wm-no-wallet a { color: var(--accent); text-decoration: underline; }
.wm-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: wmSpin 0.65s linear infinite;
  margin-left: auto;
  flex-shrink: 0;
}
@keyframes wmSpin {
  to { transform: rotate(360deg); }
}

/* ── МОДАЛ НИКНЕЙМА ── */
.nm-box {
  text-align: center;
  padding: 28px 28px 24px;
  position: relative;
}
.nm-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
}
.nm-cube-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  background: rgba(184, 255, 60, 0.06);
  border: 1px solid rgba(184, 255, 60, 0.18);
  border-radius: 50%;
}
.nm-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.nm-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.nm-input-wrap {
  margin-bottom: 14px;
}
.nm-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 15px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.18s;
  font-family: var(--font-body);
}
.nm-input:focus { border-color: var(--accent); }
.nm-input::placeholder { color: var(--muted); }
.nm-avail {
  display: block;
  font-size: 12px;
  margin-top: 6px;
  text-align: left;
  min-height: 16px;
  padding-left: 2px;
}
.nm-avail--ok       { color: var(--accent); }
.nm-avail--err      { color: #ff6b6b; }
.nm-avail--checking { color: var(--muted); font-style: italic; }
.nm-terms-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
  cursor: pointer;
  text-align: left;
}
.nm-terms-row a { color: var(--accent); text-decoration: underline; }
.nm-check {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer;
}
.nm-continue {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
  background: #9be024;
  color: #0a0a0a;
  font-weight: 700;
  animation: none;
  box-shadow: 0 0 18px rgba(155, 224, 36, 0.25);
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
}
.nm-continue:hover {
  background: #a9ec38;
  color: #0a0a0a;
  box-shadow: 0 0 22px rgba(155, 224, 36, 0.35);
  transform: translateY(-1px);
}
.nm-continue:active {
  transform: translateY(0) scale(0.98);
}
.nm-continue:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.nm-skip {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  padding: 4px;
  text-decoration: underline;
  transition: color 0.15s;
}
.nm-skip:hover { color: var(--text); }

@media (max-width: 860px) {
  :root { --gutter: 1.25rem; }
  .nav { display: none; }
  .burger { display: flex; }
  .btn-wallet { display: none; }
  .lang { display: none; }
}

@media (max-width: 480px) {
  :root { --header-h: 56px; }
  #cube-canvas { max-width: 260px !important; max-height: 260px !important; }
  .section-head p { font-size: 15px; }
  .card { padding: 20px; }
}
