body {
  margin: 0;
  background-color: #0d1117;
  color: #e6edf3;
  font-family: 'Segoe UI', sans-serif;
  min-height: 100vh;
}


/* HEADER */
header {
  text-align: center;
  padding: 20px;
  border-bottom: 1px solid #222;
}

header h1 {
  font-size: 24px;
  color: #facc15;
}

.card {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #ff6b6b;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-3px);
}



/* CONTENEDOR DE ASSETS – AHORA HORIZONTAL */
.assets-container {
  display: flex;
  justify-content: center;   /* centra las cards horizontalmente */
  gap: 20px;                 /* espacio entre cards */
  padding: 20px;
  flex-wrap: wrap;            /* si la pantalla es pequeña, baja a la siguiente línea */
}

/* CADA CARD */
.asset-card {
  background-color: #161b22;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  width: 250px;               /* ancho fijo para que se vean lado a lado */
  flex-shrink: 0;             /* no se achican demasiado */
}

/* TÍTULO DE CADA CARD */
.asset-card h2 {
  font-size: 18px;
  color: #58a6ff;
  text-align: center;
  margin-bottom: 10px;
}

/* PRECIO */
.precio {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 8px;
}

/* FILA RSI + TREND */
.row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

/* RSI Y TREND */
.rsi, .trend {
  font-weight: bold;
  font-size: 14px;
}

/* FASE Y ACCIÓN */
.fase, .accion {
  text-align: center;
  font-weight: bold;
  padding: 6px;
  border-radius: 6px;
  color: #000;
  margin-bottom: 5px;
  width: 100%;
}

.legend-container {
  max-width: 600px;
  margin: 20px auto 40px auto;
  background-color: #161b22;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.legend-container h2 {
  color: #facc15;
  text-align: center;
  margin-bottom: 10px;
}

.legend-container ul {
  list-style: none;
  font-size: 14px;
  color: #e6edf3;
}

.legend-container li {
  margin: 6px 0;
}



.green-dot { color: #2ea043; font-weight: bold; }
.yellow-dot { color: #d29922; font-weight: bold; }
.red-dot { color: #f85149; font-weight: bold; }

/* RESPONSIVE */
@media (max-width: 600px) {
  .legend-container {
    width: 95%;
  }
}

.bingx-float-btn {
  position: fixed;
  bottom: 80px; /* se puede ajustar */
  right: 20px; /* se puede ajustar */
  background: #ffd700; /* dorado */
  color: #0d1117; /* texto oscuro, contraste */
  padding: 14px 25px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  z-index: 9999;
}

.bingx-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0,0,0,0.6);
  background: #e6c200; /* dorado más oscuro al hover */
}



/* RESPONSIVE */
@media (max-width: 600px) {
  .assets-container {
    flex-direction: column;   /* en pantallas chicas vuelven a columna */
    align-items: center;
  }
}

