/* ===============================
RESET
================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* ===============================
   BRAND COLORS (GLOBAL)
================================ */
:root {
  /* Verde corporativo */
  --green-main: #00e045;

  /* Neones / glow */
  --green-glow-strong: rgba(0, 224, 69, 0.85);
  --green-glow: rgba(0, 224, 69, 0.55);
  --green-glow-soft: rgba(0, 224, 69, 0.28);

  /* Fondos oscuros */
  --bg-main: #050707;
  --bg-soft: #0b0b0b;
  --bg-input: #0e1412;

  /* Texto */
  --text-main: #eafff3;
  --text-muted: #9bbfaf;
}

.color-green {
  color: var(--green-main);
}

.bg-green {
  background: var(--green-main);
  color: #050707;
}




img {
  display: block;
  max-width: 100%;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}

:root {
  --sidebar-width: 260px;
}

/* ===============================
   SPLASH SCREEN BASE
================================ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #050707; /* negro base */
  overflow: hidden;


}

/* Degradado Nigeria SUAVE encima */
.splash::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    120deg,
    rgba(0, 135, 81, 0.25),
    rgba(255, 255, 255, 0.18),
    rgba(0, 135, 81, 0.25)
  );

  background-size: 300% 300%;
  animation: nigeriaShift 8s ease-in-out infinite;

  opacity: 0.65;
  pointer-events: none;
}

/* ===============================
   SPLASH CONTENT
================================ */
.splash-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: splashFadeIn 1s ease forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* ===============================
   LOGO CONTAINER
================================ */
.splash-logo {
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  margin-bottom: 26px;

  filter:
    drop-shadow(0 0 20px rgba(0, 255, 163, 0.55))
    drop-shadow(0 0 40px rgba(0, 255, 163, 0.25));

  animation: logoPulse 2.6s ease-in-out infinite;
}

.splash-logo svg {
  width: 100%;
  display: block;
  width: 180px;
  height: auto;
}

/* ===============================
   BIT9JA LOGO DRAW (SVG)
================================ */
.bit9ja-logo path {
  fill-opacity: 0;
  stroke: var(--green-main);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;

  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;

  animation:
    drawPath 4.5s ease forwards,
    fillPath 1.2s ease forwards;
}

/* delays progresivos (dibujado lento y elegante) */
.bit9ja-logo path:nth-child(1) { animation-delay: 0s, 4.4s; }
.bit9ja-logo path:nth-child(2) { animation-delay: 0.25s, 4.6s; }
.bit9ja-logo path:nth-child(3) { animation-delay: 0.5s, 4.8s; }
.bit9ja-logo path:nth-child(4) { animation-delay: 0.75s, 5s; }
.bit9ja-logo path:nth-child(5) { animation-delay: 1s, 5.2s; }

/* mantener colores originales del SVG si existen */
.bit9ja-logo .cls-2,
.bit9ja-logo .cls-3,
.bit9ja-logo .cls-4 {
  stroke: #ffb600;
}

/* ===============================
   LOADER
================================ */
.loader {
  margin: 12px auto 18px;
  width: 220px;
}

.loader span {
  display: block;
  margin-bottom: 6px;
  color: var(--green-main);
  font-weight: 700;
  font-size: 14px;
}

.loader-bar {
  height: 6px;
  background: #0e1412;
  border-radius: 6px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green-main), #00ffaa);
  transition: width 0.3s ease;
}

/* ===============================
   TEXT
================================ */
.splash-text {
  font-size: 14px;
  letter-spacing: 0.8px;
  color: #e6fff1;
}

.splash-text span {
  display: block;
  margin-top: 6px;
  color: var(--green-main);
  text-shadow: 0 0 10px rgba(0, 255, 163, 0.55);
}

/* ===============================
   EXIT
================================ */
.splash.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

/* ===============================
   ANIMATIONS
================================ */
@keyframes drawPath {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fillPath {
  to {
    fill-opacity: 1;
    stroke-opacity: 0;
  }
}

@keyframes nigeriaShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes logoPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes splashFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
BASE
================================ */
body {
  font-family: 'Mulish', sans-serif;
  background: #0b0f0d;
  color: #fff;
  overflow-x: hidden;
}

/* ===============================
HEADER
================================ */
.header {
   position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
height: 80px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 16px;
  background: #0b0f0d;

  box-shadow:
    0 0 0 1px rgba(0,255,163,.15),
    0 8px 24px rgba(0,255,163,.18);
}

main {
  padding-top: var(--header-height);
}

/* LEFT */
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 42px;
}

.hamburger {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger img {
  width: 40px;
}

/* CENTER */
.header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}

/* RIGHT */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===============================
HEADER COMPONENTS
================================ */
.icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0e2b1d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon img {
  width: 22px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #0e2b1d;
}

/* ===============================
TABS
================================ */
.tabs-pill {
  display: flex;
  gap: 4px;
  background: #111;
  padding: 4px;
  border-radius: 999px;
}

.pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.pill img {
  width: 18px;
}

.pill.active {
  background: #19c400;
  color: #000;
}

/* ===============================
SEARCH
================================ */
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #0a0a0a;
  border: 1px solid rgba(0,255,163,.35);
  min-width: 260px;
  max-width: 520px;
}

.search-icon {
  width: 16px;
  opacity: .7;
}

.search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #8fffbc;
  font-size: 13px;
}

/* ===============================
DEPOSIT
================================ */
.deposit-box {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c97b00, #ffb300);
  color:#000;
}

.amount {
  padding: 0 10px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.deposit-btn {
  background: #ffc400;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
}

/* ===============================
AVATAR MENU
================================ */
.avatar-menu {
  position: absolute;
  top: 64px;
  right: 16px;
  width: 220px;
  background: #0e1412;
  border-radius: 12px;
  display: none;
  flex-direction: column;
  z-index: 1200;
}

.avatar-menu.open {
  display: flex;
}

.avatar-menu a {
  padding: 10px 16px;
  font-size: 14px;
  color: #ccc;
}

.avatar-menu a:hover {
  background: #19c400;
  color: #000;
}

/* ===============================
SIDEBAR
================================ */
.sidebar {
  position: fixed;
  top: 64px;
  left: 0;
  height: calc(100vh - 64px);
  width: var(--sidebar-width);
  background: #0e1412;
  transform: translateX(-100%);
  transition: transform .3s ease;
  z-index: 1000;
  box-sizing: border-box;
  overflow-y: auto;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #1f2a25 transparent;
}

/* Chrome, Edge, Safari */
.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #1f2a25;
  border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background-color: #2ee57a; /* o un verde más oscuro si no quieres que resalte */
}

.icon img,
.nav-left img,
.nav-right img,
.submenu-arrow img {
  width: 18px;
  height: 18px;
}
.sidebar.open {
  transform: translateX(0);
}

/* ===============================
SIDEBAR CONTENT
================================ */
.wallet-cards {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===============================
CARD BASE
================================ */

.wallet-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0c1f15, #050d08);
  box-shadow:
    inset 0 0 0 1px rgba(0,255,140,0.08),
    0 12px 30px rgba(0,0,0,0.6);
  position: relative;
  flex-wrap: wrap;
}

/* ===============================
ICON
================================ */

.coin-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,140,0.3), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.coin-icon img {
  width: 26px;
  height: 26px;
}

/* ===============================
INFO
================================ */

.coin-info {
  display: flex;
  flex-direction: column;
}

.coin-name {
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.coin-price {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.coin-price small {
  font-size: 11px;
  opacity: 0.6;
}

/* ===============================
CHANGE BADGE
================================ */

.coin-change {
  margin-left: auto;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}

.coin-change.up {
  color:var(--green-main);
  background: rgba(0,255,106,0.15);
}

.coin-change.down {
  color: #ff4d4d;
  background: rgba(255,77,77,0.15);
}

/* ===============================
ACTIONS
================================ */

.coin-actions {
  width: 100%;
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.coin-actions button {
  flex: 1;
  padding: 8px 0;
  border-radius: 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all .2s ease;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(0,255,140,0.4);
  color: #00ff8c;
}

.btn-outline:hover {
  background: rgba(0,255,140,0.08);
}

.btn-solid {
  background: #ffc400;
  border: none;
  color: #000;
  font-weight: 600;
  border-radius: 50px;
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,255,140,0.4);
}

/* ===============================
SKELETON LOADING
================================ */

.wallet-card.skeleton {
  background: #06110c;
  box-shadow: none;
}

.sk-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.sk-info {
  flex: 1;
}

.sk-line {
  height: 10px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.sk-line.big {
  width: 70%;
  height: 14px;
}

.sk-line.small {
  width: 40%;
}

.sk-badge {
  width: 50px;
  height: 20px;
  border-radius: 8px;
}

.skeleton * {
  background: linear-gradient(
    90deg,
    #0a1a12 25%,
    #0f2a1d 37%,
    #0a1a12 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ===============================
RESPONSIVE
================================ */

@media (max-width: 600px) {

  .wallet-card {
    padding: 14px;
  }

  .coin-icon {
    width: 38px;
    height: 38px;
  }

  .coin-icon img {
    width: 22px;
    height: 22px;
  }

  .coin-price {
    font-size: 14px;
  }

  .coin-actions button {
    font-size: 11px;
  }
}


/* ===============================
SIDE NAV BASE
================================ */

.side-nav {
  padding: 12px;

  /* 🔥 SCROLL REAL */
  height: calc(100vh - 70px); /* ajusta según tu header */
  overflow-y: auto;
  overflow-x: hidden;

  scrollbar-width: thin;
  scrollbar-color: var(--green-main) transparent;
}

/* Webkit scrollbar */
.side-nav::-webkit-scrollbar {
  width: 4px;
}

.side-nav::-webkit-scrollbar-thumb {
  background:var(--green-main);
  border-radius: 10px;
}

/* ===============================
NAV GROUP
================================ */

.nav-group {
  margin-bottom: 12px;
}

/* ===============================
NAV ITEM (BOTONES PRINCIPALES)
================================ */

.nav-item {
  width: 100%;
  height: 48px;
  margin-bottom: 8px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 16px;

  background: linear-gradient(180deg, #070707, #020202);
  border-radius: 50px;

  box-shadow:
    inset 0 0 0 1px rgba(0,255,106,0.15),
    0 4px 14px rgba(0,0,0,0.6);

  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;

  color: var(--green-main);
  cursor: pointer;

  transition: all 0.25s ease;
}

/* HOVER */
.nav-item:hover {
  background: linear-gradient(135deg, var(--green-main), #00c95a);
  color: #022b14;
  transform: translateY(-1px);
}

/* TEXTO */
.nav-item span {
  transition: color 0.2s ease;
}

.nav-item:hover span {
  color: #022b14;
}

/* ===============================
LEFT ICON + TEXT
================================ */

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-left img {
  width: 18px;
  height: 18px;
  transition: filter 0.2s ease;
}

.nav-item:hover .nav-left img {
  filter: brightness(0);
}

/* ===============================
RIGHT ARROW
================================ */

.nav-right {
  width: 18px;
  height: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

.nav-right img {
  width: 18px;
  height: 18px;
  opacity: 0.6;
  transition: transform 0.25s ease, filter 0.2s ease;
}

.nav-item:hover .nav-right img {
  filter: brightness(0);
  opacity: 1;
}

/* ROTACIÓN AL ABRIR */
.nav-item.open .nav-right img {
  transform: rotate(180deg);
}

/* ===============================
ITEMS SIN SUBMENU
================================ */

.nav-item.no-submenu .nav-right {
  display: none;
}

/* ===============================
SUBMENU
================================ */

.submenu {
  display: none;

  margin: 6px 0 10px 10px;
  padding: 10px 0 12px 26px;

  background: linear-gradient(135deg, #0b1d14, #050c09);
  border-left: 2px solid rgba(0,255,106,0.25);
  border-radius: 0 14px 14px 0;
}

/* LINKS SUBMENU */
.submenu a {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 8px 0;

  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;

  color: #b7d6c1;
  opacity: 0.85;

  transition: all 0.2s ease;
}

.submenu a:hover {
  opacity: 1;
  color: var(--green-main);
  transform: translateX(4px);
}

/* ICONOS SUBMENU */
.submenu img {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

/* ===============================
ACTIVE STATE (OPCIONAL)
================================ */

.nav-item.active {
  background: linear-gradient(135deg, var(--green-main), #00c95a);
  color: #022b14;
}

.nav-item.active img {
  filter: brightness(0);
}

/* ===============================
MOBILE REFINES
================================ */

@media (max-width: 600px) {

  .side-nav {
    padding: 10px;
  }

  .nav-item {
    height: 46px;
    font-size: 15px;
  }

  .nav-left img {
    width: 17px;
    height: 17px;
  }

  .submenu {
    padding-left: 22px;
  }

  .submenu a {
    font-size: 13px;
  }
}


/* ===============================
CONTENT PUSH (DESKTOP)
================================ */
.push-open .content {
  margin-left: var(--sidebar-width);
  transition: margin .3s ease;
}
/* ===============================
AUTH BUTTONS
================================ */
/* ===== MODAL BASE ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal.active {
  display: flex;
}

/* ===== MODAL BOX ===== */
.modal-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 28px;
  border-radius: 16px;
  background: #0b0f14;
  color: #fff;
  animation: modalIn 0.25s ease;
}

/* ===== NEON EFFECT ===== */
.modal-box.neon {
  border: 1px solid rgba(0, 255, 140, 0.5);
  box-shadow:
    0 0 15px rgba(0, 255, 140, 0.35),
    0 0 40px rgba(0, 255, 140, 0.15);
}

/* ===== CLOSE BUTTON ===== */
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: #00ff8c;
  font-size: 18px;
  cursor: pointer;
}

/* ===== TITLES ===== */
.modal-title {
  font-size: 24px;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 14px;
  color: #9aa4af;
  margin-bottom: 20px;
}

/* ===== INPUTS ===== */
.modal-box input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: #121826;
  border: 1px solid #1f2937;
  color: #fff;
}

/* ===== PRIMARY BUTTON ===== */
.primary-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #00ff8c, #00c76f);
  color: #000;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
}

/* ===== SOCIAL LOGIN ===== */
.social-login {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.social {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #1f2937;
  background: #121826;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.social.google { border-color: #ea4335; }
.social.facebook { border-color: #1877f2; }
.social.twitter { border-color: #1da1f2; }

/* ===== DIVIDER ===== */
.divider {
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  margin: 12px 0;
}

/* ===== ANIMATION ===== */
@keyframes modalIn {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.auth-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-login {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid #19c400;
  color: #19c400;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: .2s;
}

.btn-login:hover {
  background: #19c400;
  color: #fff;
}

.btn-register {
  padding: 8px 18px;
  background: #19c400;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
  transition: .2s;
}

.btn-register:hover {
  box-shadow: 0 4px 14px rgba(25,196,0,.45);
}
/* ===============================
AUTH BUTTONS
================================ */

.auth-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-login {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid #19c400;
  color: #19c400;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: .2s;
}

.btn-login:hover {
  background: #19c400;
  color: #fff;
}

.btn-register {
  padding: 8px 18px;
  background: #19c400;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
  transition: .2s;
}

.btn-register:hover {
  box-shadow: 0 4px 14px rgba(25,196,0,.45);
}
/* ===============================
   AUTH PANEL ENHANCEMENT
================================ */

.auth-panel {
  width: 440px;
  padding: 30px 28px 32px;
}

.auth-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}

.auth-title {
  font-family: "MonumentExtended", sans-serif;
  font-size: 20px;
  line-height: 1.25;
  color: var(--green-main);
  text-shadow:
    0 0 12px rgba(0,255,163,0.6),
    0 0 28px rgba(0,255,163,0.35);
}

.auth-title span {
  color: #ffc400;
}

.auth-subtitle {
  font-size: 13px;
  color: #9aa5a1;
  margin-bottom: 18px;
}

/* X CLOSE */
.auth-close {
  font-size: 18px;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s ease;
}

.auth-close:hover {
  color: var(--green-main);
  transform: rotate(90deg);
}

/* BOTÓN PRINCIPAL */
.auth-btn {
  margin-top: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

/* INPUTS MÁS PRO */
.modal-box input {
  padding: 14px 16px;
  border-radius: 12px;
}
.auth-panel {
  width: 420px;
  padding: 28px 26px 30px;
  background: linear-gradient(
    180deg,
    #0e1412,
    #0b0f0d
  );
  border-radius: 18px;
  position: relative;

  box-shadow:
    0 0 0 1px rgba(0,255,163,0.15),
    0 20px 60px rgba(0,0,0,0.8);
}
.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.auth-title {
  font-family: "MonumentExtended", sans-serif;
  font-size: 18px;
  line-height: 1.3;
  color: var(--green-main);
  text-shadow:
    0 0 12px rgba(0,255,163,0.6),
    0 0 24px rgba(0,255,163,0.35);
}


.auth-close {
  font-size: 18px;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.auth-close:hover {
  color: var(--green-main);
  transform: rotate(90deg);
}
.auth-subtitle {
  font-size: 13px;
  color: #9aa5a1;
  margin-bottom: 20px;
}
.auth-form input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: #0a0a0a;
  border: 1px solid rgba(0,255,163,0.2);
  color: #8fffbc;
}

.auth-form input:focus {
  border-color: var(--green-main);
  box-shadow: 0 0 12px rgba(0,255,163,0.35);
}
.auth-btn {
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  background: var(--green-main);
  color: #000;
  font-weight: 800;
  letter-spacing: 0.8px;
  margin-top: 10px;
}

/* ===============================
   CHAT FLOAT BUTTON
================================ */
.chat-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 9000;

  width: 56px;
  height: 56px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background:var(--green-main);
  color: #050707;
  font-size: 24px;
  cursor: pointer;

  box-shadow:
    0 0 12px rgba(0,255,106,0.6),
    0 0 28px rgba(0,255,106,0.35);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.chat-float img{

  width: 40px;
}

.chat-float:hover {
  transform: scale(1.08);
  box-shadow:
    0 0 18px rgba(0,255,106,0.8),
    0 0 36px rgba(0,255,106,0.55);
}

/* ===============================
   CHAT BOX
================================ */
.chat-box {
  position: fixed;
  bottom: 96px;
  right: 26px;
  z-index: 9000;

  width: 320px;
  height: 420px;

  background: #050707;
  border-radius: 16px;

  box-shadow:
    0 0 18px rgba(0,255,106,0.45),
    0 0 42px rgba(0,255,106,0.25);

  display: flex;
  flex-direction: column;

  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);

  transition: all 0.35s ease;
}

.chat-box.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ===============================
   HEADER
================================ */
.chat-header {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,255,106,0.2);

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: var(--green-main);
  font-weight: 700;
}

.chat-header button {
  background: none;
  border: none;
  color: var(--green-main);
  font-size: 18px;
  cursor: pointer;
}

/* ===============================
   BODY
================================ */
.chat-body {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
}

.chat-msg {
  max-width: 80%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.chat-msg.bot {
  background: rgba(0,255,106,0.15);
  color: #eafff3;
}
/* ===============================
   CHAT FLOAT
================================ */
.chat-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 9000;

  width: 56px;
  height: 56px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--green-main);
  color: #050707;
  font-size: 24px;
  cursor: pointer;

  box-shadow:
    0 0 14px rgba(0,255,106,0.7),
    0 0 32px rgba(0,255,106,0.4);

  transition: transform .25s ease;
}

.chat-float:hover {
  transform: scale(1.1);
}

/* ===============================
   CHAT BOX
================================ */
.chat-box {
  position: fixed;
  bottom: 96px;
  right: 26px;
  width: 340px;
  height: 460px;
  background: #050707;
  border-radius: 18px;
  display: flex;
  flex-direction: column;

  box-shadow:
    0 0 18px rgba(0,255,106,.45),
    0 0 46px rgba(0,255,106,.25);

  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all .35s ease;
}

.chat-box.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chat-box.minimized {
  height: 60px;
  overflow: hidden;
}

/* ===============================
   HEADER
================================ */
.chat-header {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,255,106,.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-title {
  color: var(--green-main);
  font-weight: 700;
  display: flex;
  gap: 8px;
}

.chat-actions {
  display: flex;
  gap: 8px;
}

.chat-actions button,
.chat-telegram {
  background: none;
  border: none;
  color: var(--green-main);
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}

/* ===============================
   BODY
================================ */
.chat-body {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
}

.chat-msg {
  max-width: 78%;
  margin-bottom: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
}

.chat-msg.bot {
  background: rgba(0,255,106,.15);
  color: #eafff3;
}

.chat-msg.user {
  background: var(--green-main);
  color: #050707;
  margin-left: auto;
}

/* ===============================
   TYPING
================================ */
.typing {
  padding: 0 14px;
  height: 18px;
  display: none;
}

.typing span {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  background: var(--green-main);
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}

.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }

@keyframes typing {
  0% { opacity: .3; }
  50% { opacity: 1; }
  100% { opacity: .3; }
}

/* ===============================
   INPUT
================================ */
.chat-input {
  display: flex;
  padding: 10px;
  border-top: 1px solid rgba(0,255,106,.2);
}

.chat-input input {
  flex: 1;
  background: #0e1412;
  border: none;
  color: #eafff3;
  padding: 10px;
  border-radius: 8px;
  outline: none;
}

.chat-input button {
  margin-left: 8px;
  background: var(--green-main);
  border: none;
  border-radius: 8px;
  padding: 0 14px;
  cursor: pointer;
}

/* ===============================
   INPUT
================================ */
.chat-input {
  display: flex;
  padding: 10px;
  border-top: 1px solid rgba(0,255,106,0.2);
}

.chat-input input {
  flex: 1;
  background: #0e1412;
  border: none;
  outline: none;
  color: #eafff3;
  padding: 10px;
  border-radius: 8px;
}

.chat-input button {
  margin-left: 8px;
  background: var(--green-main);
  border: none;
  border-radius: 8px;
  padding: 0 14px;
  cursor: pointer;
  color: #050707;
  font-size: 16px;
}
/* ===============================
MOBILE
================================ */

@media (max-width: 1023px) {


 .nav-item {
    height: 42px;
    border-radius: 12px;
  }

  .nav-left img {
    width: 16px;
    height: 16px;
  }

  .nav-right {
    width: 16px;
    height: 16px;
  }

  .nav-right img {
    width: 7px;
    height: 7px;
  }

  .submenu a {
    font-size: 12px;
  }
  /* HEADER MOBILE */
  .header {
    display: flex;
    justify-content: space-between;
  }

  .header-center {
    display: none;
  }

  /* SIDEBAR MOBILE */
  .sidebar {
    width: 280px;
  }

  .push-open .content {
    margin-left: 0;
  }

  .nav-item {
    border-radius: 12px;
    padding: 10px 12px;
  }
  .submenu a,
  .submenu-item {
    font-size: 12px;
  }

  .submenu-arrow {
    width: 12px;
    height: 12px;
  }

  .submenu-arrow img,
  .submenu-arrow svg {
    width: 6px;
    height: 6px;
  }

}

/* ===============================
   TELEGRAM FLOAT BUTTON
================================ */
.telegram-float {
  position: fixed;
  bottom: 92px; /* arriba del chat */
  right: 22px;
  z-index: 9999;

  width: 56px;
  height: 56px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: linear-gradient(135deg, #2aabee, #1b8fc4);

  box-shadow:
    0 0 20px rgba(42,171,238,0.55),
    0 0 40px rgba(42,171,238,0.25);

  cursor: pointer;
  transition: all 0.3s ease;
}

.telegram-float svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* HOVER */
.telegram-float:hover {
  transform: scale(1.1);
  box-shadow:
    0 0 28px rgba(42,171,238,0.85),
    0 0 52px rgba(42,171,238,0.45);
}

@media (max-width: 1023px) {

  /* ===============================
  RESET MOBILE SAFETY
  ================================ */
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  html.menu-open,
  body.menu-open {
    overflow: hidden;
  }

  /* ===============================
  HEADER MOBILE
  ================================ */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    height: 64px;
    padding: 0 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 7000; /* ⬆️ ahora sobre el sidebar */
  }

  .header-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .logo {
    height: 34px;
    max-width: 140px;
  }

  /* ===============================
  HAMBURGER FIX
  ================================ */
  .hamburger {
    width: 42px;
    height: 42px;

    position: relative;
    z-index: 8000; /* ⬆️ SIEMPRE visible */
  }

  .hamburger img {
    display: block;
    width: 26px;
    height: 26px;
  }

  /* ocultamos desktop stuff */
  .header-center {
    display: none !important;
  }

  .header-right {
    gap: 6px;
  }

  .btn-login,
  .btn-register {
    padding: 6px 10px;
    font-size: 12px;
  }

  /* ===============================
  MAIN OFFSET
  ================================ */
  main,
  .content {
    padding-top: 64px;
  }

  /* ===============================
  FULLSCREEN MENU (SIDEBAR)
  ================================ */
  .sidebar {
    position: fixed;
    inset: 0;

    width: 100vw;
    height: 100vh;

    background: #0e1412;

    transform: translateX(-100%);
    transition: transform 0.35s ease;

    z-index: 6000;

    overflow-y: auto;
    padding-top: 72px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  /* ===============================
  SIDEBAR CONTENT
  ================================ */
  .wallet-cards {
    padding: 16px;
  }

  .side-nav {
    padding: 12px 16px 32px;
  }

  .nav-item {
    height: 48px;
    border-radius: 14px;
    font-size: 16px;
  }

  .submenu {
    padding-left: 20px;
  }

  .submenu a {
    font-size: 14px;
    padding: 6px 0;
  }
}

/* ===============================
BOTTOM NAV BASE
================================ */

.bottom-nav {
  display: none;
}

/* ===============================
MOBILE VERSION
================================ */

@media (max-width: 768px) {

  /* OCULTAR HEADER CENTER EN MOBILE */
  .header-center {
    display: none;
  }

  /* ===============================
     BOTTOM NAV
  ================================ */
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;

    display: flex;
    align-items: center;
    justify-content: space-between; /* NO cambiar */

    gap: 10px;
    padding: 12px 16px;

    background: #0b0b0b;
    border-top: 1px solid rgba(255,255,255,0.06);

    z-index: 1200;
    overflow: visible; /* CLAVE para el neón */
  }

  /* NEÓN SUPERIOR */
  .bottom-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 2px;

    background: linear-gradient(
      90deg,
      transparent,
      var(--green-main),
      transparent
    );

    box-shadow:
      0 0 10px rgba(0,255,106,0.9),
      0 0 22px rgba(0,255,106,0.6);
  }

  /* ===============================
     CONTENIDO
  ================================ */

  .bottom-nav > * {
    display: flex;
    align-items: center;
  }

  /* REUTILIZA ESTILO EXISTENTE */
  .bottom-nav .tabs-pill {
    flex-shrink: 0;
  }

  .bottom-nav .search-box {
    flex: 1;
    max-width: 200px;
  }

  .bottom-nav .search-box input {
    width: 100%;
    background: #111;
    border-radius: 999px;
    padding: 9px 14px 9px 36px;
    font-size: 13px;
  }

  .bottom-nav .search-icon {
    left: 14px;
    width: 14px;
  }

  .bottom-nav .deposit-box {
    flex-shrink: 0;
  }

  .bottom-nav .deposit-btn {
    padding: 9px 14px;
    font-size: 13px;
    border-radius: 999px;
  }
   /* OCULTAR MONTO EN MOBILE */
  .bottom-nav .deposit-box .amount {
    display: none;
  }

  /* BOTÓN MÁS COMPACTO */
  .bottom-nav .deposit-box {
    padding: 4px;
  }

  .bottom-nav .deposit-btn {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
  }

  /* ===============================
     ESPACIO PARA CONTENIDO
  ================================ */
  body {
    padding-bottom: 86px;
  }

  /* ===============================
     CHAT BOX
  ================================ */
  .chat-box {
    bottom: 176px; /* por encima del bottom nav */
    right: 14px;

    width: calc(100% - 28px);
    max-width: 360px;
    height: 420px;
  }

}


/* ===============================
   CHAT BUTTON FIX (MOBILE)
================================ */

.chat-toggle {
  position: fixed;
  bottom: 96px;
  right: 26px;
  z-index: 999;
}

@media (max-width: 768px) {

  /* SUBIMOS BOTÓN DEL CHAT */
  .chat-toggle {
    bottom: 168px; /* MISMO NIVEL QUE EL CHAT */
    right: 14px;
  }

  /* SUBIMOS TAMBIÉN EL PANEL */
  .chat-box {
    bottom: 168px;
  }

}

/* ===============================
   CHAT + BOTTOM NAV FIX (MOBILE)
================================ */

@media (max-width: 1023px) {

  /* Altura real del bottom nav */
  :root {
    --bottom-nav-height: 80px;
    --chat-gap: 24px;
  }

  /* BOTÓN FLOTANTE DEL CHAT */
  .chat-float {
    bottom: calc(var(--bottom-nav-height) + var(--chat-gap));
    right: 16px;
  }

  /* PANEL DEL CHAT */
  .chat-box {
    bottom: calc(var(--bottom-nav-height) + var(--chat-gap));
    right: 16px;
    width: calc(100vw - 32px);
    max-width: 360px;
    height: 420px;
  }

}

/* ===============================
   MODAL OVERLAY
================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-overlay.active {
  display: flex;
}

/* ===============================
   MODAL LAYOUT
================================ */
.modal-layout {
  width: 95%;
  max-width: 1100px;
  height: 90vh;
  background: #0e1412;
  border-radius: 20px;
  box-shadow: 0 0 50px rgba(0,255,170,0.22);
  display: flex;
  overflow: hidden;
  position: relative;
}

/* ===============================
   SIDEBAR
================================ */
.modal-sidebar {
  width: 240px;
  background: linear-gradient(180deg, #171c21, #14181d);
  padding: 18px 0;
  flex-shrink: 0;
}

.modal-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.modal-sidebar li {
  padding: 15px 24px;
  font-size: 14px;
  color: #cfd3d7;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.modal-sidebar li.active,
.modal-sidebar li:hover {
  background: #222a31;
  color: #ffffff;
}

/* ===============================
   MAIN
================================ */
.modal-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ===============================
   HEADER
================================ */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.modal-header h2 {
  font-size: 18px;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s ease;
}

.modal-close:hover {
  opacity: 1;
}

.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
}

/* ===============================
   CONTENT
================================ */
.modal-content {
  padding: 24px 26px;
  overflow-y: auto;
}

/* ===============================
   TABS
================================ */
.modal-tabs {
  display: flex;
  gap: 18px;
  margin-bottom: 32px;
}

.tab {
  flex: 1;
  background: #1a2220;
  border: none;
  color: #9ea7a3;
  padding: 15px 20px;
  font-size: 15px;
  border-radius: 16px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}

.tab.active {
  background: linear-gradient(135deg, #2f443c, #24352f);
  color: #ffffff;
}

/* ===============================
   CRYPTO ROW
================================ */
.crypto-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 30px;
}

.crypto-row::-webkit-scrollbar {
  height: 4px;
}

.crypto-row::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}

.crypto-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 14px;
  border-radius: 999px;
  background: #18211e;
  border: none;
  color: #ffffff;
  white-space: nowrap;
  cursor: pointer;
  transition: all .25s ease;
}

.crypto-pill img {
  width: 22px;
  height: 22px;
}

.crypto-pill:hover {
  background: #213029;
}

.crypto-pill.active {
  background: linear-gradient(145deg, #1e302a, #18211e);
  box-shadow: 0 0 18px rgba(0,255,170,0.45);
}

/* ===============================
   FORM
================================ */
.field {
  margin-bottom: 20px;
}

.field label {
  font-size: 13px;
  margin-bottom: 8px;
  display: block;
  color: #aab3af;
}

.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: #1a2220;
  border: none;
  color: #ffffff;
}

/* ===============================
   BONUS
================================ */
.bonus-box {
  background: linear-gradient(90deg, #3a2f1c, #2c3a2f);
  padding: 16px;
  border-radius: 14px;
  margin-bottom: 24px;
}

/* ===============================
   QR + ADDRESS
================================ */
.qr-section {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.fake-qr {
  width: 150px;
  height: 150px;
  background: repeating-linear-gradient(
    45deg,
    #000,
    #000 10px,
    #0f0 10px,
    #0f0 20px
  );
  border-radius: 12px;
}

.address {
  background: #1a2220;
  padding: 12px;
  border-radius: 12px;
  font-size: 13px;
  word-break: break-all;
}

/* ===============================
   WARNING
================================ */
.warning-box {
  margin-top: 24px;
  background: #1f3a33;
  padding: 14px;
  border-radius: 14px;
  font-size: 13px;
}



/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {

  .modal-layout {
    flex-direction: column;
    height: 95vh;
  }

  .modal-sidebar {
    position: absolute;
    left: -100%;
    top: 0;
    height: 100%;
    width: 220px;
    z-index: 20;
    transition: left .3s ease;
  }

  .modal-sidebar.open {
    left: 0;
  }

  .sidebar-toggle {
    display: block;
  }

  .modal-content {
    padding: 20px;
  }

  .crypto-row {
    gap: 14px;
  }

  .crypto-pill {
    padding: 10px 18px;
  }
}
