/* =============================================================================
   BitGame Nodes (bitgamenodes.com) — páginas internas: Mis nodos, monedero, cuenta, soporte, acceso.
   Sistema HERMANO de la oficina de bitgame20.com (26-11-2026, pedido del usuario: «estética parecida a bitgame20,
   con otros tonos igual de profesionales, que se note que es hermano pero no un clon»):
     · lo mismo: noche casi negra, cristal con borde de luz, botones SÓLIDOS (sin degradados) y luces suaves;
     · lo distinto: tonos del logo de los nodos, turquesa (#2FC6FF) y verde (#2ECC71) en lugar del azul de la
       oficina; el naranja (#FF9F1C) queda solo para comprar, como en la portada.
   Va encima de app.css: cambia sus variables (--c-*) solo en esta cara (body.n-appbody).
   ============================================================================= */
.n-appbody {
  --c-bg:     4 17 24;      /* #041118 fondo                       */
  --c-panel:  6 23 32;      /* #061720 barras                      */
  --c-card:   9 30 41;      /* #091E29 tarjetas                    */
  --c-card-2: 14 43 57;     /* #0E2B39 hover                       */
  --c-field:  3 13 19;      /* #030D13 campos                      */
  --c-line:   120 214 235;
  --c-dim:    186 220 230;
  --c-mute:   124 163 176;
  --n-ease: cubic-bezier(0.32, 0.72, 0, 1);
  --n-cyan: #2FC6FF;
  --n-green: #2ECC71;
  --n-orange: #FF9F1C;
  --n-ink: #04131C;
  background-color: #041118;
  background-image:
    radial-gradient(900px 640px at 0% 0%, rgb(47 198 255 / .12), transparent 70%),
    radial-gradient(820px 620px at 100% 100%, rgb(46 204 113 / .08), transparent 70%);
  background-attachment: fixed;
}
.n-app__shell { max-width: 1200px; margin: 0 auto; padding: 112px 24px 64px; }
.n-app__ro { position: fixed; top: 96px; left: 50%; transform: translateX(-50%); z-index: 40; width: min(960px, calc(100% - 32px)); border-radius: 16px; }
.n-app__main { min-height: 50vh; }

/* -------------------------------------------------------- cabecera (cristal turquesa) */
.n-appbody .n-head--dark .n-head__bar, .n-appbody .n-head--dark.is-scrolled .n-head__bar {
  background: rgb(4 17 24 / .78); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-color: rgb(120 214 235 / .16); }
.n-appbody .n-head--dark .n-head__nav a:hover, .n-appbody .n-head--dark .n-head__link:hover,
.n-appbody .n-head--dark .n-head__link.is-on { background: rgb(47 198 255 / .12); }

/* ------------------------------------------------------------ pestañas de la cuenta */
.n-app__tabs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px; border-radius: 24px; margin-bottom: 24px;
  background: linear-gradient(rgb(7 26 36 / .82), rgb(7 26 36 / .82)) padding-box,
              linear-gradient(140deg, rgb(47 198 255 / .45), rgb(255 255 255 / .04) 45%, rgb(46 204 113 / .35)) border-box;
  border: 1px solid transparent; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.n-app__tabs a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: 16px; font-weight: 600; font-size: 14px; line-height: 20px;
  color: rgb(var(--c-dim)); transition: background-color 300ms var(--n-ease), color 300ms var(--n-ease), box-shadow 300ms var(--n-ease); }
.n-app__tabs a:hover { background: rgb(255 255 255 / .05); color: #fff; }
.n-app__tabs a.is-on { background: var(--n-cyan); color: var(--n-ink); box-shadow: 0 10px 24px -12px rgb(47 198 255 / .9); }
.n-app__tabs a .ic { margin: -4px 0; }
.n-app__dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 9999px; background: var(--n-orange); }
.n-app__tabs-sp { flex: 1; }
.n-app__bal { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 16px; border-radius: 12px; background: rgb(255 255 255 / .03);
  box-shadow: inset 0 0 0 1px rgb(120 214 235 / .16); font-size: 14px; line-height: 20px; color: rgb(var(--c-dim)); }
.n-app__bal small { font-size: 12px; line-height: 16px; }
.n-app__bal b { color: #fff; font-size: 16px; line-height: 24px; }
.n-app__out button { border: 0; cursor: pointer; background: transparent; color: rgb(var(--c-mute)); font: 600 14px/20px 'Poppins', 'Noto Sans KR', sans-serif; padding: 8px 12px; border-radius: 12px;
  transition: background-color 300ms var(--n-ease), color 300ms var(--n-ease); }
.n-app__out button:hover { color: #fff; background: rgb(255 255 255 / .05); }
.n-app__flash { margin-bottom: 16px; padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 20px; }
.n-app__flash.is-ok { background: rgb(46 204 113 / .12); color: #7BE3A8; box-shadow: inset 0 0 0 1px rgb(46 204 113 / .25); }
.n-app__flash.is-error { background: rgb(255 99 99 / .12); color: #FF9B9B; box-shadow: inset 0 0 0 1px rgb(255 99 99 / .25); }

/* ------------------------------------------------- piezas comunes (cajero, cuenta, soporte) */
.n-appbody .btn { border-radius: 12px; transition: background-color 300ms var(--n-ease), transform 300ms var(--n-ease), box-shadow 300ms var(--n-ease), filter 300ms var(--n-ease); }
.n-appbody .btn:active { transform: translateY(1px) scale(.98); }
.n-appbody .btn-gold { background: var(--n-orange); color: #0A1A4A; box-shadow: 0 10px 28px -12px rgb(255 159 28 / .75); filter: none; }
.n-appbody .btn-gold:hover { background: #FFB24A; transform: translateY(-1px); }
.n-appbody .btn-ghost { background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(120 214 235 / .18); }
.n-appbody .btn-ghost:hover { background: rgb(47 198 255 / .1); box-shadow: inset 0 0 0 1px rgb(47 198 255 / .45); }
.n-appbody .btn-outline { border-color: rgb(186 220 230 / .26); }
.n-appbody .btn-outline:hover { border-color: rgb(47 198 255 / .6); background: rgb(47 198 255 / .06); }
.n-appbody .card, .n-appbody .auth-shell, .nm-card {
  background: linear-gradient(rgb(8 28 38 / .8), rgb(8 28 38 / .8)) padding-box,
              linear-gradient(140deg, rgb(47 198 255 / .5), rgb(255 255 255 / .04) 42%, rgb(46 204 113 / .32)) border-box;
  border: 1px solid transparent; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.n-appbody .card { border-radius: 20px; box-shadow: 0 32px 64px -44px rgb(0 0 0 / .95); }
.n-appbody .field { border-radius: 12px; background: rgb(3 13 19 / .85); border-color: rgb(120 214 235 / .16); }
.n-appbody .field:focus { border-color: rgb(47 198 255 / .8); box-shadow: 0 0 0 3px rgb(47 198 255 / .18); }
.n-appbody .wtab.is-on { color: var(--n-cyan); border-color: var(--n-cyan); }
.n-appbody .chip-amt { border-radius: 12px; }

/* ---------------------------------------------------------------- Mis nodos: cabecera */
.nm-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 40px; border-radius: 28px;
  color: #fff; isolation: isolate;
  background: linear-gradient(rgb(6 24 33 / .86), rgb(6 24 33 / .86)) padding-box,
              linear-gradient(140deg, rgb(47 198 255 / .6), rgb(255 255 255 / .05) 45%, rgb(46 204 113 / .45)) border-box;
  border: 1px solid transparent; box-shadow: 0 40px 80px -50px rgb(0 0 0 / .95); }
/* Fondo (26-11-2026, pedido del usuario: sin puntitos, un banner bonito con la maquinita en 3D): vídeo en bucle del
   aparato sobre su pedestal con anillos de luz. Ocupa toda la tarjeta; el aparato queda a la derecha y la mitad
   izquierda, oscura, lleva el texto. Una sombra suave de izquierda a derecha asegura que el texto se lea. */
.nm-hero { min-height: 420px; }
.nm-hero .nm-hero__vid { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 60% 55%; pointer-events: none; }
.nm-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgb(4 17 24 / .94) 0%, rgb(4 17 24 / .78) 36%, rgb(4 17 24 / .2) 58%, rgb(4 17 24 / 0) 70%); }
.nm-hero h1 { font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.nm-hero p { margin-top: 8px; max-width: 560px; color: rgb(var(--c-dim)); font-size: 16px; line-height: 24px; text-wrap: pretty; }
.nm-hero__stats { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.nm-stat { min-width: 128px; padding: 12px 16px; border-radius: 16px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(120 214 235 / .18); }
.nm-stat small { display: block; font-size: 12px; line-height: 16px; color: rgb(var(--c-mute)); }
.nm-stat b { font-size: 24px; line-height: 32px; font-variant-numeric: tabular-nums; }
.nm-stat:first-child b { color: var(--n-cyan); }
.nm-stat:nth-child(2) b { color: var(--n-orange); }
.nm-hero__img { justify-self: center; width: 100%; max-width: 340px; filter: drop-shadow(0 28px 36px rgb(0 0 0 / .55)); animation: n-float 6s cubic-bezier(0.32, 0.72, 0, 1) infinite; }

/* ------------------------------------------------------------------ Mis nodos: cuerpo */
.nm-grid { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; align-items: start; }
.nm-grid > * { min-width: 0; }
.nm-card { padding: 24px; border-radius: 24px; box-shadow: 0 32px 64px -44px rgb(0 0 0 / .95); }
.nm-card h2 { font-size: 20px; line-height: 28px; font-weight: 700; }
.nm-card .nm-sub { margin-top: 4px; color: rgb(var(--c-mute)); font-size: 14px; line-height: 20px; }
.nm-count { padding: 4px 12px; border-radius: 9999px; background: rgb(47 198 255 / .12); color: var(--n-cyan); font-size: 12px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.nm-buy { position: sticky; top: 104px; }
.nm-list { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.nm-node { position: relative; min-width: 0; padding: 16px; border-radius: 16px; background: rgb(3 13 19 / .6); box-shadow: inset 0 0 0 1px rgb(120 214 235 / .14);
  transition: transform 300ms var(--n-ease), box-shadow 300ms var(--n-ease); }
.nm-node:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgb(47 198 255 / .55), 0 18px 36px -22px rgb(47 198 255 / .6); }
.nm-node__top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.nm-node__top img { width: 56px; height: auto; flex: none; filter: drop-shadow(0 8px 10px rgb(0 0 0 / .45)); }
.nm-node__num { font-size: 20px; line-height: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.nm-node__type { font-size: 12px; line-height: 16px; color: rgb(var(--c-mute)); }
.nm-node dl { margin-top: 12px; display: grid; gap: 4px; font-size: 14px; line-height: 20px; }
.nm-node dl div { display: flex; justify-content: space-between; gap: 8px; min-width: 0; }
.nm-node dt { color: rgb(var(--c-mute)); }
.nm-node dd { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.nm-st { display: inline-block; padding: 0 8px; border-radius: 9999px; font-size: 12px; line-height: 20px; font-weight: 600; }
.nm-st--active { background: rgb(46 204 113 / .14); color: #7BE3A8; }
.nm-st--reserved { background: rgb(47 198 255 / .12); color: var(--n-cyan); }
.nm-st--suspended { background: rgb(255 200 61 / .14); color: #FFD772; }
.nm-st--revoked { background: rgb(255 99 99 / .12); color: #FF9B9B; }
.nm-node__acts { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.nm-empty { margin-top: 16px; display: grid; justify-items: center; gap: 12px; text-align: center; padding: 32px 16px; border-radius: 16px; border: 1px dashed rgb(120 214 235 / .3); color: rgb(var(--c-dim)); }
.nm-empty img { width: 160px; }

/* páginas: primera, alrededor de la actual y última (con miles de nodos no se dibujan todas) */
.nm-pager { margin-top: 20px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.nm-pg { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 12px; font-size: 14px; line-height: 20px; font-weight: 600;
  color: rgb(var(--c-dim)); background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(120 214 235 / .16); font-variant-numeric: tabular-nums;
  transition: background-color 300ms var(--n-ease), color 300ms var(--n-ease), box-shadow 300ms var(--n-ease); }
a.nm-pg:hover { color: #fff; background: rgb(47 198 255 / .12); box-shadow: inset 0 0 0 1px rgb(47 198 255 / .5); }
.nm-pg.is-on { background: var(--n-cyan); color: var(--n-ink); box-shadow: 0 10px 24px -12px rgb(47 198 255 / .9); }
.nm-pg--gap { background: none; box-shadow: none; min-width: 24px; padding: 0; color: rgb(var(--c-mute)); }
.nm-pager__info { width: 100%; text-align: center; font-size: 12px; line-height: 16px; color: rgb(var(--c-mute)); }

.nm-soon { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nm-soon li { display: flex; gap: 12px; padding: 16px; border-radius: 16px; background: rgb(3 13 19 / .55); box-shadow: inset 0 0 0 1px rgb(120 214 235 / .12); }
.nm-soon .ic { margin: -4px 0; }
.nm-soon h3 { font-size: 16px; line-height: 24px; font-weight: 700; }
.nm-soon p { color: rgb(var(--c-mute)); font-size: 14px; line-height: 20px; }
.nm-soon em { display: inline-block; white-space: nowrap; margin-top: 4px; padding: 0 8px; border-radius: 9999px; background: rgb(46 204 113 / .16); color: #7BE3A8; font-style: normal; font-size: 12px; line-height: 20px; font-weight: 600; }
.nm-orders { margin-top: 12px; width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.nm-orders th { text-align: left; color: rgb(var(--c-mute)); font-weight: 600; padding: 8px; }
.nm-orders td { padding: 8px; border-top: 1px solid rgb(120 214 235 / .1); }
@media (max-width: 1080px) {
  .nm-grid { grid-template-columns: minmax(0, 1fr); }
  .nm-buy { position: static; }
  .nm-soon { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .n-app__shell { padding: 88px 16px 48px; }
  .n-app__tabs a > span:not(.ic) { display: none; }
  .n-app__tabs a { padding: 8px; }
  .nm-hero { grid-template-columns: minmax(0, 1fr); padding: 24px; min-height: 0; }
  .nm-hero h1 { font-size: 30px; line-height: 36px; }
  .nm-hero__img { max-width: 220px; order: -1; }
  /* En el móvil el vídeo va arriba, de borde a borde, y se funde con la tarjeta; el texto, debajo. */
  .nm-hero .nm-hero__vid { position: relative; inset: auto; z-index: 0; order: -1; width: calc(100% + 48px); height: auto; aspect-ratio: 16 / 9; margin: -24px -24px -8px;
    object-position: 80% 50%; -webkit-mask-image: linear-gradient(#000 76%, transparent); mask-image: linear-gradient(#000 76%, transparent); }
  .nm-hero::before { display: none; }
  .nm-orders th:nth-child(3), .nm-orders td:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nm-hero__img { animation: none; }
}
/* Teléfonos: el vídeo de la cabecera de Mis nodos, más alto (4:3), para que el aparato se vea grande. */
@media (max-width: 640px) { .nm-hero .nm-hero__vid { aspect-ratio: 4 / 3; } }
